@wix/blog 1.0.719 → 1.0.721
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/context-blog-feed.js +1580 -1325
- package/build/cjs/context-blog-feed.js.map +1 -1
- package/build/cjs/context-category-item.js +71 -65
- package/build/cjs/context-category-item.js.map +1 -1
- package/build/cjs/context-post-by-id.js +1458 -1203
- package/build/cjs/context-post-by-id.js.map +1 -1
- package/build/cjs/context-post-by-slug.js +1635 -1380
- package/build/cjs/context-post-by-slug.js.map +1 -1
- package/build/cjs/context-post-list-item.js +1218 -963
- package/build/cjs/context-post-list-item.js.map +1 -1
- package/build/cjs/context-post.d.ts +1 -1
- package/build/cjs/context-post.js +37 -31
- package/build/cjs/context-post.js.map +1 -1
- package/build/cjs/context-related-posts.js +1254 -999
- package/build/cjs/context-related-posts.js.map +1 -1
- package/build/cjs/context-tag-item.js +71 -65
- package/build/cjs/context-tag-item.js.map +1 -1
- package/build/es/context-blog-feed.mjs +1580 -1325
- package/build/es/context-blog-feed.mjs.map +1 -1
- package/build/es/context-category-item.mjs +71 -65
- package/build/es/context-category-item.mjs.map +1 -1
- package/build/es/context-post-by-id.mjs +1458 -1203
- package/build/es/context-post-by-id.mjs.map +1 -1
- package/build/es/context-post-by-slug.mjs +1635 -1380
- package/build/es/context-post-by-slug.mjs.map +1 -1
- package/build/es/context-post-list-item.mjs +1218 -963
- package/build/es/context-post-list-item.mjs.map +1 -1
- package/build/es/context-post.d.mts +1 -1
- package/build/es/context-post.mjs +37 -31
- package/build/es/context-post.mjs.map +1 -1
- package/build/es/context-related-posts.mjs +1254 -999
- package/build/es/context-related-posts.mjs.map +1 -1
- package/build/es/context-tag-item.mjs +71 -65
- package/build/es/context-tag-item.mjs.map +1 -1
- package/build/internal/cjs/context-post.d.ts +1 -1
- package/build/internal/es/context-post.d.mts +1 -1
- package/context-runtime/context-blog-feed/runtime.js +4 -4
- package/context-runtime/context-category-item/runtime.js +2 -2
- package/context-runtime/context-post/runtime.d.ts +1 -1
- package/context-runtime/context-post/runtime.js +2 -2
- package/context-runtime/context-post-by-id/runtime.js +4 -4
- package/context-runtime/context-post-by-slug/runtime.js +4 -4
- package/context-runtime/context-post-list-item/runtime.js +4 -4
- package/context-runtime/context-related-posts/runtime.js +4 -4
- package/context-runtime/context-tag-item/runtime.js +2 -2
- package/package.json +2 -2
|
@@ -30,10 +30,10 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
30
30
|
// context-post-list-item.ts
|
|
31
31
|
var context_post_list_item_exports = {};
|
|
32
32
|
__export(context_post_list_item_exports, {
|
|
33
|
-
PostItemContextProvider: () =>
|
|
34
|
-
default: () =>
|
|
35
|
-
injectAccessTokenGetter: () =>
|
|
36
|
-
usePostListItemContext: () =>
|
|
33
|
+
PostItemContextProvider: () => iu,
|
|
34
|
+
default: () => iu,
|
|
35
|
+
injectAccessTokenGetter: () => au,
|
|
36
|
+
usePostListItemContext: () => nu
|
|
37
37
|
});
|
|
38
38
|
module.exports = __toCommonJS(context_post_list_item_exports);
|
|
39
39
|
|
|
@@ -44,16 +44,24 @@ var import_services_manager_react = require("@wix/services-manager-react");
|
|
|
44
44
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
45
45
|
var import_meta = {};
|
|
46
46
|
var p = Object.defineProperty;
|
|
47
|
-
var m = (e6, t2) => {
|
|
47
|
+
var m = (e6, t2, n2) => () => {
|
|
48
|
+
if (n2) throw n2[0];
|
|
49
|
+
try {
|
|
50
|
+
return e6 && (t2 = e6(e6 = 0)), t2;
|
|
51
|
+
} catch (e7) {
|
|
52
|
+
throw n2 = [e7], e7;
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
var h = (e6, t2) => {
|
|
48
56
|
let n2 = {};
|
|
49
57
|
for (var r2 in e6) p(n2, r2, { get: e6[r2], enumerable: true });
|
|
50
58
|
return t2 || p(n2, Symbol.toStringTag, { value: `Module` }), n2;
|
|
51
59
|
};
|
|
52
|
-
var
|
|
53
|
-
function
|
|
60
|
+
var g = {};
|
|
61
|
+
function _(e6, t2 = false, n2 = (e7) => e7) {
|
|
54
62
|
return () => ({ __type: `event-definition`, type: e6, isDomainEvent: t2, transformations: n2 });
|
|
55
63
|
}
|
|
56
|
-
var
|
|
64
|
+
var v = (e6) => {
|
|
57
65
|
switch (e6) {
|
|
58
66
|
case `get`:
|
|
59
67
|
case `GET`:
|
|
@@ -80,11 +88,11 @@ var _ = (e6) => {
|
|
|
80
88
|
throw Error(`Unknown method: ${e6}`);
|
|
81
89
|
}
|
|
82
90
|
};
|
|
83
|
-
var
|
|
91
|
+
var y = (e6) => (t2) => async (n2) => {
|
|
84
92
|
let r2, i2 = (t3) => {
|
|
85
93
|
if (r2 = e6(n2)(t3), r2.url === void 0) throw Error(`Url was not successfully created for this request, please reach out to support channels for assistance.`);
|
|
86
94
|
let { method: i3, url: a2, params: o2 } = r2;
|
|
87
|
-
return { ...r2, method:
|
|
95
|
+
return { ...r2, method: v(i3), url: a2, data: r2.data, params: o2 };
|
|
88
96
|
};
|
|
89
97
|
try {
|
|
90
98
|
let e7 = await t2.request(i2);
|
|
@@ -97,10 +105,10 @@ var v = (e6) => (t2) => async (n2) => {
|
|
|
97
105
|
throw typeof e7 == `object` && e7 && `response` in e7 && typeof e7.response == `object` && e7.response !== null && `data` in e7.response ? e7.response.data : e7;
|
|
98
106
|
}
|
|
99
107
|
};
|
|
100
|
-
var
|
|
101
|
-
var
|
|
102
|
-
var
|
|
103
|
-
var
|
|
108
|
+
var b = (e6) => e6.__isAmbassador ? true : !!e6().__isAmbassador;
|
|
109
|
+
var x = `__metadata`;
|
|
110
|
+
var S = `edge.wixapis.com`;
|
|
111
|
+
var C = class extends Error {
|
|
104
112
|
message;
|
|
105
113
|
response;
|
|
106
114
|
constructor(e6, t2) {
|
|
@@ -108,108 +116,108 @@ var S = class extends Error {
|
|
|
108
116
|
}
|
|
109
117
|
async details() {
|
|
110
118
|
let e6 = await this.response.json();
|
|
111
|
-
return
|
|
119
|
+
return ee(this.response.status, e6?.message, e6?.details, { requestId: this.response.headers.get(`X-Wix-Request-Id`), details: e6 });
|
|
112
120
|
}
|
|
113
121
|
};
|
|
114
|
-
var
|
|
122
|
+
var ee = (e6, t2, n2, r2) => ({ details: { ...!n2?.validationError && { applicationError: { description: t2, code: e6, data: r2 } }, ...n2 }, message: t2, requestId: r2?.requestId });
|
|
115
123
|
var w = (e6) => e6?.method && [`post`, `put`, `patch`].includes(e6.method.toLocaleLowerCase()) && e6.body ? { "Content-Type": `application/json` } : {};
|
|
116
124
|
var T = (e6) => e6 && typeof e6 == `object` && !Array.isArray(e6);
|
|
117
|
-
var
|
|
118
|
-
function
|
|
125
|
+
var te = (e6) => e6.__type === `host`;
|
|
126
|
+
function ne(e6, t2) {
|
|
119
127
|
return e6.create(t2);
|
|
120
128
|
}
|
|
121
|
-
var
|
|
122
|
-
function
|
|
123
|
-
return { [
|
|
129
|
+
var re = `x-wix-bi-gateway`;
|
|
130
|
+
function ie(e6, t2, n2) {
|
|
131
|
+
return { [re]: ae({ environment: `js-sdk${n2 ? `-${n2}` : ``}`, "package-name": e6.packageName ?? t2?.PACKAGE_NAME, "method-fqn": e6.methodFqn, entity: e6.entityFqdn }) };
|
|
124
132
|
}
|
|
125
|
-
function
|
|
133
|
+
function ae(e6) {
|
|
126
134
|
return Object.entries(e6).filter(([e7, t2]) => !!t2).map(([e7, t2]) => `${e7}=${t2}`).join(`,`);
|
|
127
135
|
}
|
|
128
|
-
function
|
|
129
|
-
let t2 = globalThis.__wix_context__, n2 = { client:
|
|
130
|
-
globalThis.__wix_context__ = void 0,
|
|
136
|
+
function oe(e6) {
|
|
137
|
+
let t2 = globalThis.__wix_context__, n2 = { client: g.client, elevatedClient: g.elevatedClient }, r2;
|
|
138
|
+
globalThis.__wix_context__ = void 0, g.client = void 0, g.elevatedClient = void 0, typeof $wixContext < `u` && (r2 = { client: $wixContext?.client, elevatedClient: $wixContext?.elevatedClient }, delete $wixContext.client, delete $wixContext.elevatedClient);
|
|
131
139
|
try {
|
|
132
140
|
return e6();
|
|
133
141
|
} finally {
|
|
134
|
-
globalThis.__wix_context__ = t2,
|
|
142
|
+
globalThis.__wix_context__ = t2, g.client = n2.client, g.elevatedClient = n2.elevatedClient, typeof $wixContext < `u` && ($wixContext.client = r2.client, $wixContext.elevatedClient = r2.elevatedClient);
|
|
135
143
|
}
|
|
136
144
|
}
|
|
137
|
-
var
|
|
138
|
-
function
|
|
139
|
-
return
|
|
145
|
+
var se = { id: `_id`, createdDate: `_createdDate`, updatedDate: `_updatedDate` };
|
|
146
|
+
function ce(e6) {
|
|
147
|
+
return pe(e6).map((e7) => e7.toLocaleUpperCase()).join(`_`);
|
|
140
148
|
}
|
|
141
|
-
var
|
|
142
|
-
var
|
|
143
|
-
var
|
|
144
|
-
var
|
|
145
|
-
function
|
|
149
|
+
var le = /([\p{Ll}\d])(\p{Lu})/gu;
|
|
150
|
+
var ue = /(\p{Lu})([\p{Lu}][\p{Ll}])/gu;
|
|
151
|
+
var de = `$1\0$2`;
|
|
152
|
+
var fe = /[^\p{L}\d]+/giu;
|
|
153
|
+
function pe(e6) {
|
|
146
154
|
let t2 = e6.trim();
|
|
147
|
-
t2 = t2.replace(
|
|
155
|
+
t2 = t2.replace(le, de).replace(ue, de), t2 = t2.replace(fe, `\0`);
|
|
148
156
|
let n2 = 0, r2 = t2.length;
|
|
149
157
|
for (; t2.charAt(n2) === `\0`; ) n2++;
|
|
150
158
|
if (n2 === r2) return [];
|
|
151
159
|
for (; t2.charAt(r2 - 1) === `\0`; ) r2--;
|
|
152
160
|
return t2.slice(n2, r2).split(/\0/g);
|
|
153
161
|
}
|
|
154
|
-
var
|
|
155
|
-
var
|
|
156
|
-
var
|
|
157
|
-
function
|
|
162
|
+
var me = (e6) => `validationError` in (e6.response?.data?.details ?? {});
|
|
163
|
+
var he = (e6) => `applicationError` in (e6.response?.data?.details ?? {});
|
|
164
|
+
var ge = (e6) => (e6.response?.status ?? -1) >= 400 && (e6.response?.status ?? -1) < 500;
|
|
165
|
+
function _e(e6, t2 = { explicitPathsToArguments: {}, spreadPathsToArguments: {}, singleArgumentUnchanged: false }, n2 = []) {
|
|
158
166
|
if (typeof e6 != `object` || !e6) throw e6;
|
|
159
|
-
if (
|
|
160
|
-
if (
|
|
161
|
-
if (
|
|
162
|
-
let t3 = e6.response?.status, n3 = e6.response?.statusText ?? `UNKNOWN`, r2 = e6.response?.data?.message ?? n3, i2 = { applicationError: { description: n3, code:
|
|
163
|
-
return
|
|
167
|
+
if (me(e6)) return ve(e6, t2, n2);
|
|
168
|
+
if (he(e6)) return ye(e6);
|
|
169
|
+
if (ge(e6)) {
|
|
170
|
+
let t3 = e6.response?.status, n3 = e6.response?.statusText ?? `UNKNOWN`, r2 = e6.response?.data?.message ?? n3, i2 = { applicationError: { description: n3, code: ce(n3), data: {} }, requestId: e6.requestId };
|
|
171
|
+
return E(e6, { message: JSON.stringify({ message: r2, details: i2 }, null, 2), extraProperties: { details: i2, status: t3 } });
|
|
164
172
|
}
|
|
165
|
-
return
|
|
173
|
+
return be(e6);
|
|
166
174
|
}
|
|
167
|
-
var
|
|
168
|
-
let r2 = e6.response?.data, i2 = e6.requestId, { fieldViolations: a2 } = r2.details.validationError, o2 =
|
|
169
|
-
return
|
|
175
|
+
var ve = (e6, t2, n2) => {
|
|
176
|
+
let r2 = e6.response?.data, i2 = e6.requestId, { fieldViolations: a2 } = r2.details.validationError, o2 = xe(t2, a2, n2)?.sort((e7, t3) => e7.field < t3.field ? -1 : 1), s2 = `INVALID_ARGUMENT: ${o2?.map(({ field: e7, description: t3 }) => `"${e7}" ${t3}`)?.join(`, `)}`, c2 = { validationError: { fieldViolations: o2 }, requestId: i2 };
|
|
177
|
+
return E(e6, { message: JSON.stringify({ message: s2, details: c2 }, null, 2), extraProperties: { details: c2, status: e6.response?.status, requestId: i2 } });
|
|
170
178
|
};
|
|
171
|
-
var
|
|
172
|
-
var
|
|
173
|
-
let t2 = e6.response?.status, n2 = e6.response?.statusText ?? `UNKNOWN`, r2 = e6.response?.data?.message ?? n2, i2 = e6.response?.data?.details?.applicationError?.description ?? n2, a2 = e6.response?.data?.details?.applicationError?.code ??
|
|
174
|
-
return
|
|
179
|
+
var E = (e6, { message: t2, extraProperties: n2 }) => Object.assign(e6, { ...n2, message: t2 });
|
|
180
|
+
var ye = (e6) => {
|
|
181
|
+
let t2 = e6.response?.status, n2 = e6.response?.statusText ?? `UNKNOWN`, r2 = e6.response?.data?.message ?? n2, i2 = e6.response?.data?.details?.applicationError?.description ?? n2, a2 = e6.response?.data?.details?.applicationError?.code ?? ce(n2), o2 = e6.response?.data?.details?.applicationError?.data ?? {}, s2 = r2 === i2 ? r2 : `${r2}: ${i2}`, c2 = { applicationError: { description: i2, code: a2, data: o2 }, requestId: e6.requestId };
|
|
182
|
+
return E(e6, { message: JSON.stringify({ message: s2, details: c2 }, null, 2), extraProperties: { details: c2, status: t2, requestId: e6.requestId } });
|
|
175
183
|
};
|
|
176
|
-
var
|
|
177
|
-
var
|
|
184
|
+
var be = (e6) => E(e6, { message: e6.requestId ? `System error occurred, request-id: ${e6.requestId}` : `System error occurred: ${JSON.stringify(e6)}`, extraProperties: { requestId: e6.requestId, status: e6.response?.status, code: ce(e6.response?.statusText ?? `UNKNOWN`), ...!e6.response && { runtimeError: e6 } } });
|
|
185
|
+
var xe = ({ spreadPathsToArguments: e6, explicitPathsToArguments: t2, singleArgumentUnchanged: n2 }, r2, i2) => {
|
|
178
186
|
let a2 = { ...e6, ...t2 }, o2 = Object.keys(a2);
|
|
179
187
|
return r2?.filter((e7) => !r2.some((t3) => t3.field.length > e7.field.length && t3.field.startsWith(e7.field) && o2.includes(t3.field))).map((e7) => {
|
|
180
188
|
let r3 = t2[e7.field];
|
|
181
|
-
if (r3) return { ...e7, field:
|
|
189
|
+
if (r3) return { ...e7, field: Se(r3, i2) };
|
|
182
190
|
let s2 = o2?.sort((e8, t3) => t3.length - e8.length)?.find((t3) => e7.field.startsWith(t3));
|
|
183
191
|
if (s2) {
|
|
184
192
|
let t3 = a2[s2];
|
|
185
|
-
if (t3) return { ...e7, field: e7.field.replace(s2,
|
|
193
|
+
if (t3) return { ...e7, field: e7.field.replace(s2, Se(t3, i2)) };
|
|
186
194
|
}
|
|
187
195
|
return n2 ? { ...e7, field: `${i2[0]}.${e7.field}` } : e7;
|
|
188
196
|
});
|
|
189
197
|
};
|
|
190
|
-
var
|
|
191
|
-
let n2 =
|
|
198
|
+
var Se = (e6, t2) => {
|
|
199
|
+
let n2 = Ce(e6);
|
|
192
200
|
return n2 == null ? e6 : e6.replace(`$[${n2}]`, t2[n2]);
|
|
193
201
|
};
|
|
194
|
-
var
|
|
202
|
+
var Ce = (e6) => {
|
|
195
203
|
let t2 = e6.match(/\$\[(?<argIndex>\d+)\]/);
|
|
196
204
|
return t2 && t2.groups && Number(t2.groups.argIndex);
|
|
197
205
|
};
|
|
198
|
-
function
|
|
199
|
-
return
|
|
206
|
+
function we(e6, t2, n2, r2, i2, a2, o2, s2, c2, l2, u2) {
|
|
207
|
+
return oe(() => e6({ request: async (e7) => {
|
|
200
208
|
let i3 = e7({ host: s2?.HTTPHost || `www.wixapis.com` }), a3 = i3;
|
|
201
209
|
a3.method === `GET` && a3.fallback?.length && (a3.params?.toString().length ?? 0) > 4e3 && (a3 = i3.fallback[0]);
|
|
202
|
-
let o3 = s2?.HTTPHost ?? `www.wixapis.com`, u3 = `https://${l2 ?
|
|
210
|
+
let o3 = s2?.HTTPHost ?? `www.wixapis.com`, u3 = `https://${l2 ? S : o3}${a3.url}`;
|
|
203
211
|
a3.params && a3.params.toString() && (u3 += `?${a3.params.toString()}`);
|
|
204
212
|
try {
|
|
205
|
-
let e8 =
|
|
213
|
+
let e8 = ie(i3, t2, c2), o4 = { method: a3.method, ...a3.data && { body: JSON.stringify(a3.data) }, headers: { ...e8 } }, s3 = await n2(u3, o4);
|
|
206
214
|
if (s3.status !== 200) {
|
|
207
215
|
let e9 = null;
|
|
208
216
|
try {
|
|
209
217
|
e9 = await s3.json();
|
|
210
218
|
} catch {
|
|
211
219
|
}
|
|
212
|
-
let t3 =
|
|
220
|
+
let t3 = Ee(s3.status, e9?.message ?? s3.statusText, e9?.details, { requestId: s3.headers.get(`X-Wix-Request-Id`), details: e9 }), n3 = _e(t3);
|
|
213
221
|
throw r2?.handleError(n3, { requestOptions: { url: a3.url, method: a3.method, entityFqdn: i3.entityFqdn, methodFqn: i3.methodFqn } }), t3;
|
|
214
222
|
}
|
|
215
223
|
let l3 = await s3.json();
|
|
@@ -219,18 +227,18 @@ function Se(e6, t2, n2, r2, i2, a2, o2, s2, c2, l2, u2) {
|
|
|
219
227
|
}
|
|
220
228
|
}, fetchWithAuth: n2, wixAPIFetch: i2, getActiveToken: a2, getAuthHeaders: o2 }, { validateRequestSchema: u2 }));
|
|
221
229
|
}
|
|
222
|
-
var
|
|
230
|
+
var Te = class extends Error {
|
|
223
231
|
response;
|
|
224
232
|
requestId;
|
|
225
233
|
constructor(e6) {
|
|
226
234
|
super(), this.response = e6.response, this.requestId = e6.requestId;
|
|
227
235
|
}
|
|
228
236
|
};
|
|
229
|
-
var
|
|
230
|
-
var
|
|
231
|
-
function
|
|
237
|
+
var Ee = (e6, t2, n2, r2) => new Te({ response: { data: { details: { ...!n2?.validationError && { applicationError: { description: t2, code: e6, data: r2 } }, ...n2 }, message: t2 }, status: e6 }, requestId: r2?.requestId });
|
|
238
|
+
var De = `.`;
|
|
239
|
+
function Oe(e6, t2, n2) {
|
|
232
240
|
if (e6 == null) throw Error(`Cannot set value on null or undefined`);
|
|
233
|
-
let r2 =
|
|
241
|
+
let r2 = ke(t2), i2 = e6;
|
|
234
242
|
for (let e7 = 0; e7 < r2.length; e7++) {
|
|
235
243
|
let t3 = r2[e7];
|
|
236
244
|
if (e7 === r2.length - 1) {
|
|
@@ -242,21 +250,21 @@ function Ee(e6, t2, n2) {
|
|
|
242
250
|
}
|
|
243
251
|
return e6;
|
|
244
252
|
}
|
|
245
|
-
function
|
|
246
|
-
return Array.isArray(e6) ? e6 : e6.split(
|
|
253
|
+
function ke(e6) {
|
|
254
|
+
return Array.isArray(e6) ? e6 : e6.split(De).map((e7) => Ae(e7) ? Number(e7) : e7);
|
|
247
255
|
}
|
|
248
|
-
function
|
|
256
|
+
function Ae(e6) {
|
|
249
257
|
return /^\d+$/.test(e6);
|
|
250
258
|
}
|
|
251
|
-
function
|
|
259
|
+
function je(e6) {
|
|
252
260
|
let t2 = {};
|
|
253
|
-
for (let [n2, r2] of Object.entries(e6))
|
|
261
|
+
for (let [n2, r2] of Object.entries(e6)) Me(n2) || Oe(t2, ke(n2), r2);
|
|
254
262
|
return t2;
|
|
255
263
|
}
|
|
256
|
-
function
|
|
264
|
+
function Me(e6) {
|
|
257
265
|
return e6 === `__proto__` || e6 === `constructor` || e6 === `prototype`;
|
|
258
266
|
}
|
|
259
|
-
var
|
|
267
|
+
var Ne = class {
|
|
260
268
|
BRACKET_PATTERN = /\[(\d+)\]/g;
|
|
261
269
|
NUMERIC_PATTERN = /^\d+$/;
|
|
262
270
|
ESCAPED_DOT_PATTERN = /\\\./g;
|
|
@@ -279,7 +287,7 @@ var je = class {
|
|
|
279
287
|
return e6.replace(this.ESCAPED_DOT_PLACEHOLDER, `\\.`).replace(this.ESCAPED_RIGHT_BRACKET_PLACEHOLDER, `\\]`).replace(this.ESCAPED_LEFT_BRACKET_PLACEHOLDER, `\\[`);
|
|
280
288
|
}
|
|
281
289
|
unflatten() {
|
|
282
|
-
return this.cleanedModifiedFields = Object.fromEntries(Object.entries(this.modifiedFields).map(([e6, t2]) => [this.replaceEscapedCharacters(this.bracketToDotNotation(e6)), t2])),
|
|
290
|
+
return this.cleanedModifiedFields = Object.fromEntries(Object.entries(this.modifiedFields).map(([e6, t2]) => [this.replaceEscapedCharacters(this.bracketToDotNotation(e6)), t2])), je(this.cleanedModifiedFields);
|
|
283
291
|
}
|
|
284
292
|
flatten(e6) {
|
|
285
293
|
let t2 = {};
|
|
@@ -299,12 +307,12 @@ var je = class {
|
|
|
299
307
|
if (!Array.isArray(n2)) throw Error(`Expected array at path ${this.buildPathString(r2)}, but got ${typeof n2}`);
|
|
300
308
|
r2.push(`[${e7}]`), n2 = n2[parseInt(e7, 10)];
|
|
301
309
|
}, a2 = (e7, t3) => {
|
|
302
|
-
let i3 = e7 in
|
|
310
|
+
let i3 = e7 in se ? se[e7] : void 0;
|
|
303
311
|
if (i3 && i3 in t3) {
|
|
304
312
|
r2.push(i3), n2 = t3[i3];
|
|
305
313
|
return;
|
|
306
314
|
}
|
|
307
|
-
let a3 =
|
|
315
|
+
let a3 = Le(e7);
|
|
308
316
|
if (a3 && a3 in t3) r2.push(a3), n2 = t3[a3];
|
|
309
317
|
else throw Error(`Cannot find key '${e7}' or its transformations at path ${this.buildPathString(r2)}`);
|
|
310
318
|
}, o2 = (e7, t3) => {
|
|
@@ -328,28 +336,28 @@ var je = class {
|
|
|
328
336
|
return e6.replace(this.BRACKET_PATTERN, (t2, n2, r2) => r2 > 0 && e6[r2 - 1] === `\\` ? t2 : `.` + n2);
|
|
329
337
|
}
|
|
330
338
|
};
|
|
331
|
-
function
|
|
339
|
+
function Pe(e6, t2) {
|
|
332
340
|
let n2 = e6?.modifiedFields;
|
|
333
341
|
if (!n2) return null;
|
|
334
|
-
let r2 =
|
|
342
|
+
let r2 = Fe(n2);
|
|
335
343
|
if (!r2) return null;
|
|
336
344
|
let { unflattenedModifiedFields: i2, modifiedFieldsManipulator: a2 } = r2;
|
|
337
345
|
e6 = { ...e6, modifiedFields: i2 };
|
|
338
346
|
let o2 = t2(e6), s2 = o2?.modifiedFields;
|
|
339
347
|
if (!s2) return null;
|
|
340
|
-
let c2 =
|
|
348
|
+
let c2 = Ie(s2, a2);
|
|
341
349
|
return c2 === null ? null : (o2.modifiedFields = c2, o2);
|
|
342
350
|
}
|
|
343
|
-
function
|
|
351
|
+
function Fe(e6) {
|
|
344
352
|
if (typeof e6 == `object` && e6 && !Array.isArray(e6)) try {
|
|
345
|
-
let t2 = new
|
|
353
|
+
let t2 = new Ne(e6);
|
|
346
354
|
return { unflattenedModifiedFields: t2.unflatten(), modifiedFieldsManipulator: t2 };
|
|
347
355
|
} catch {
|
|
348
356
|
return null;
|
|
349
357
|
}
|
|
350
358
|
return null;
|
|
351
359
|
}
|
|
352
|
-
function
|
|
360
|
+
function Ie(e6, t2) {
|
|
353
361
|
if (typeof e6 == `object` && e6 && !Array.isArray(e6)) try {
|
|
354
362
|
return t2.flatten(e6);
|
|
355
363
|
} catch {
|
|
@@ -357,10 +365,10 @@ function Pe(e6, t2) {
|
|
|
357
365
|
}
|
|
358
366
|
return null;
|
|
359
367
|
}
|
|
360
|
-
function
|
|
368
|
+
function Le(e6) {
|
|
361
369
|
return e6.replace(/[-_\s]+(.)?/g, (e7, t2) => t2 ? t2.toUpperCase() : ``).replace(/^./, (e7) => e7.toLowerCase());
|
|
362
370
|
}
|
|
363
|
-
function
|
|
371
|
+
function Re() {
|
|
364
372
|
return { emit(e6, ...t2) {
|
|
365
373
|
for (let n2 = 0, r2 = this.events[e6] || [], i2 = r2.length; n2 < i2; n2++) r2[n2](...t2);
|
|
366
374
|
}, events: {}, on(e6, t2) {
|
|
@@ -369,8 +377,8 @@ function Ie() {
|
|
|
369
377
|
};
|
|
370
378
|
} };
|
|
371
379
|
}
|
|
372
|
-
var
|
|
373
|
-
function
|
|
380
|
+
var ze = (e6) => e6.__type === `event-definition`;
|
|
381
|
+
function Be(e6, t2, n2, r2) {
|
|
374
382
|
let i2;
|
|
375
383
|
if (e6.isDomainEvent) {
|
|
376
384
|
let { deletedEvent: e7, actionEvent: t3, createdEvent: a3, updatedEvent: o3, ...s3 } = n2, c2 = { ...r2, ...s3 };
|
|
@@ -381,14 +389,14 @@ function Re(e6, t2, n2, r2) {
|
|
|
381
389
|
let e7 = s2.modifiedFields;
|
|
382
390
|
if (typeof e7 == `object` && e7 && !Array.isArray(e7)) {
|
|
383
391
|
o2 = structuredClone(i2);
|
|
384
|
-
let e8 =
|
|
392
|
+
let e8 = Pe(s2, a2);
|
|
385
393
|
if (e8) return t2(e8);
|
|
386
394
|
}
|
|
387
395
|
}
|
|
388
396
|
return t2(a2(o2));
|
|
389
397
|
}
|
|
390
|
-
function
|
|
391
|
-
let t2 = /* @__PURE__ */ new Map(), n2 =
|
|
398
|
+
function Ve(e6) {
|
|
399
|
+
let t2 = /* @__PURE__ */ new Map(), n2 = Re();
|
|
392
400
|
return { initModule(e7) {
|
|
393
401
|
return (r2) => {
|
|
394
402
|
let i2 = t2.get(e7.type) ?? [];
|
|
@@ -398,7 +406,7 @@ function ze(e6) {
|
|
|
398
406
|
let { eventType: r2, identity: i2, instanceId: a2, payload: o2, accountInfo: s2 } = await this.parseJWT(e7), c2 = [...n3.expectedEvents, ...Array.from(t2.keys()).map((e8) => ({ type: e8 }))];
|
|
399
407
|
if (c2.length > 0 && !c2.some(({ type: e8 }) => e8 === r2)) throw Error(`Unexpected event type: ${r2}. Expected one of: ${c2.map((e8) => e8.type).join(`, `)}`);
|
|
400
408
|
let l2 = t2.get(r2) ?? [];
|
|
401
|
-
return await Promise.all(l2.map(({ eventDefinition: e8, handler: t3 }) =>
|
|
409
|
+
return await Promise.all(l2.map(({ eventDefinition: e8, handler: t3 }) => Be(e8, t3, o2, { instanceId: a2, identity: i2, accountInfo: s2 }))), { instanceId: a2, eventType: r2, payload: o2, identity: i2, accountInfo: s2 };
|
|
402
410
|
}, async processRequest(e7, t3) {
|
|
403
411
|
let n3 = await e7.text();
|
|
404
412
|
return this.process(n3, t3);
|
|
@@ -417,12 +425,12 @@ function ze(e6) {
|
|
|
417
425
|
let n3 = Array.from(t2.keys()).map((e8) => ({ type: e8 }));
|
|
418
426
|
if (n3.length > 0 && !n3.some(({ type: t3 }) => t3 === e7.eventType)) throw Error(`Unexpected event type: ${e7.eventType}. Expected one of: ${n3.map((e8) => e8.type).join(`, `)}`);
|
|
419
427
|
let r2 = t2.get(e7.eventType) ?? [];
|
|
420
|
-
await Promise.all(r2.map(({ eventDefinition: t3, handler: n4 }) =>
|
|
421
|
-
}, apps: { AppInstalled:
|
|
428
|
+
await Promise.all(r2.map(({ eventDefinition: t3, handler: n4 }) => Be(t3, n4, e7.payload, { instanceId: e7.instanceId, identity: e7.identity })));
|
|
429
|
+
}, apps: { AppInstalled: _(`AppInstalled`)(), AppRemoved: _(`AppRemoved`)() } } };
|
|
422
430
|
}
|
|
423
|
-
var
|
|
424
|
-
function
|
|
425
|
-
let t2 = /* @__PURE__ */ new Map(), n2 =
|
|
431
|
+
var He = (e6) => e6.__type === `service-plugin-definition`;
|
|
432
|
+
function Ue(e6) {
|
|
433
|
+
let t2 = /* @__PURE__ */ new Map(), n2 = Re();
|
|
426
434
|
return { initModule(e7) {
|
|
427
435
|
return (r2) => {
|
|
428
436
|
let i2 = t2.get(e7.componentType.toLowerCase()) ?? [];
|
|
@@ -463,43 +471,43 @@ function Ve(e6) {
|
|
|
463
471
|
return s2.transformations.toREST(await c2(s2.transformations.fromREST(e7)));
|
|
464
472
|
} } };
|
|
465
473
|
}
|
|
466
|
-
var
|
|
467
|
-
function
|
|
474
|
+
var D = `X-Wix-Consistent`;
|
|
475
|
+
function We(e6) {
|
|
468
476
|
let t2 = e6.headers || { Authorization: `` }, n2 = { getAuthHeaders: (e7) => Promise.resolve({ headers: {} }) }, r2 = e6.auth, i2 = typeof r2 == `function` ? r2 : () => r2 ?? n2, a2 = () => i2().getAuthHeaders(e6.host), o2 = () => e6.fetch ?? fetch, s2 = async (n3, r3) => {
|
|
469
|
-
let i3 = o2(), s3 = await a2(), c3 = { ...r3?.headers ?? {}, ...s3.headers, ...e6.host?.essentials?.passThroughHeaders, ...t2[`X-Wix-Consistent`] ? { [
|
|
477
|
+
let i3 = o2(), s3 = await a2(), c3 = { ...r3?.headers ?? {}, ...s3.headers, ...e6.host?.essentials?.passThroughHeaders, ...t2[`X-Wix-Consistent`] ? { [D]: t2[D] } : {} }, l3 = e6.host?.getErrorHandler?.();
|
|
470
478
|
try {
|
|
471
479
|
if (typeof n3 == `string` || n3 instanceof URL) {
|
|
472
480
|
let e7 = await i3(n3, { ...r3, headers: c3 });
|
|
473
481
|
l3?.handleError(e7, { requestOptions: { url: n3.toString(), method: r3?.method } });
|
|
474
|
-
let a3 =
|
|
475
|
-
return a3 && (t2[
|
|
482
|
+
let a3 = Ge(e7);
|
|
483
|
+
return a3 && (t2[D] = a3), e7;
|
|
476
484
|
}
|
|
477
485
|
{
|
|
478
486
|
for (let [e8, t3] of Object.entries(c3)) typeof t3 == `string` && n3.headers.set(e8, t3);
|
|
479
487
|
let e7 = await i3(n3, r3);
|
|
480
488
|
l3?.handleError(e7, { requestOptions: { url: n3.url, method: r3?.method } });
|
|
481
|
-
let a3 =
|
|
482
|
-
return a3 && (t2[
|
|
489
|
+
let a3 = Ge(e7);
|
|
490
|
+
return a3 && (t2[D] = a3), e7;
|
|
483
491
|
}
|
|
484
492
|
} catch (e7) {
|
|
485
493
|
throw l3?.handleError(e7, { requestOptions: { url: typeof n3 == `string` || n3 instanceof URL ? n3.toString() : n3.url, method: r3?.method } }), e7;
|
|
486
494
|
}
|
|
487
|
-
}, { client: c2, initModule: l2 } =
|
|
488
|
-
let i3 = o2(), s3 = await a2(), c3 = w(r3), l3 = await i3(n3, { ...r3, headers: { ...c3, ...t2, ...s3?.headers, ...r3?.headers, ...e6.host?.essentials?.passThroughHeaders, ...t2[`X-Wix-Consistent`] ? { [
|
|
489
|
-
return u3 && (t2[
|
|
495
|
+
}, { client: c2, initModule: l2 } = Ue(i2), { client: u2, initModule: d2 } = Ve(i2), f2 = async (n3, r3) => {
|
|
496
|
+
let i3 = o2(), s3 = await a2(), c3 = w(r3), l3 = await i3(n3, { ...r3, headers: { ...c3, ...t2, ...s3?.headers, ...r3?.headers, ...e6.host?.essentials?.passThroughHeaders, ...t2[`X-Wix-Consistent`] ? { [D]: t2[D] } : {} } }), u3 = Ge(l3);
|
|
497
|
+
return u3 && (t2[D] = u3), l3;
|
|
490
498
|
}, p2 = (t3, n3) => {
|
|
491
|
-
if (
|
|
492
|
-
if (
|
|
493
|
-
if (
|
|
499
|
+
if (ze(t3)) return d2(t3);
|
|
500
|
+
if (He(t3)) return l2(t3);
|
|
501
|
+
if (te(t3) && e6.host) return ne(t3, e6.host);
|
|
494
502
|
if (typeof t3 == `function`) {
|
|
495
503
|
if (`__type` in t3 && t3.__type === `wix_spi_error`) return t3;
|
|
496
504
|
let r3 = e6.host?.apiBaseUrl ?? `www.wixapis.com`, o3 = e6.useCDN === void 0 ? i2().shouldUseCDN : e6.useCDN;
|
|
497
|
-
return
|
|
505
|
+
return we(oe(() => b(t3)) ? y(t3) : t3, n3 ?? {}, f2, e6.host?.getErrorHandler?.(), (e7, t4) => {
|
|
498
506
|
let n4 = new URL(e7, `https://${r3}`);
|
|
499
507
|
return n4.host = r3, n4.protocol = `https`, f2(n4.toString(), t4);
|
|
500
508
|
}, i2().getActiveToken, async () => a2(), { HTTPHost: r3 }, e6.host?.name, o3, e6.validateRequestSchema);
|
|
501
509
|
}
|
|
502
|
-
return T(t3) ? Object.fromEntries(Object.entries(t3).map(([e7, n4]) => [e7, p2(n4, t3[
|
|
510
|
+
return T(t3) ? Object.fromEntries(Object.entries(t3).map(([e7, n4]) => [e7, p2(n4, t3[x])])) : t3;
|
|
503
511
|
}, m2 = (e7) => {
|
|
504
512
|
for (let n3 in e7) t2[n3] = e7[n3];
|
|
505
513
|
};
|
|
@@ -507,33 +515,33 @@ function He(e6) {
|
|
|
507
515
|
let t3 = i2();
|
|
508
516
|
return t3.getAuthHeaders = t3.getAuthHeaders.bind(void 0, e6.host), t3;
|
|
509
517
|
}, setHeaders: m2, use: p2, enableContext(e7, t3 = { elevated: false }) {
|
|
510
|
-
e7 === `global` ? globalThis.__wix_context__ == null ? t3.elevated ? globalThis.__wix_context__ = { elevatedClient: this } : globalThis.__wix_context__ = { client: this } : t3.elevated ? globalThis.__wix_context__.elevatedClient = this : globalThis.__wix_context__.client = this : t3.elevated ?
|
|
518
|
+
e7 === `global` ? globalThis.__wix_context__ == null ? t3.elevated ? globalThis.__wix_context__ = { elevatedClient: this } : globalThis.__wix_context__ = { client: this } : t3.elevated ? globalThis.__wix_context__.elevatedClient = this : globalThis.__wix_context__.client = this : t3.elevated ? g.elevatedClient = this : g.client = this;
|
|
511
519
|
}, fetch: (t3, n3) => {
|
|
512
520
|
let r3 = e6.host?.apiBaseUrl ?? `www.wixapis.com`, i3 = new URL(t3, `https://${r3}`);
|
|
513
521
|
return i3.host = r3, i3.protocol = `https`, f2(i3.toString(), n3);
|
|
514
522
|
}, fetchWithAuth: s2, async graphql(t3, n3, r3 = { apiVersion: `alpha` }) {
|
|
515
523
|
let i3 = e6?.host?.apiBaseUrl ?? `www.wixapis.com`, a3 = await f2(`https://${i3}/graphql/${r3.apiVersion}`, { method: `POST`, headers: { "Content-Type": `application/json` }, body: JSON.stringify({ query: t3, variables: n3 }) });
|
|
516
|
-
if (a3.status !== 200) throw new
|
|
524
|
+
if (a3.status !== 200) throw new C(`GraphQL request failed with status ${a3.status}`, a3);
|
|
517
525
|
let { data: o3, errors: s3 } = await a3.json();
|
|
518
526
|
return { data: o3 ?? {}, errors: s3 };
|
|
519
527
|
}, webhooks: u2, servicePlugins: c2 };
|
|
520
528
|
}
|
|
521
|
-
function
|
|
529
|
+
function Ge(e6) {
|
|
522
530
|
return e6.headers?.get(`X-Wix-Consistent`) ?? e6.headers?.get(`x-wix-consistent`);
|
|
523
531
|
}
|
|
524
|
-
var
|
|
525
|
-
var
|
|
526
|
-
var
|
|
527
|
-
var
|
|
528
|
-
var
|
|
529
|
-
function
|
|
532
|
+
var Ke = { _id: `id`, _createdDate: `createdDate`, _updatedDate: `updatedDate` };
|
|
533
|
+
var qe = { id: `_id`, createdDate: `_createdDate`, updatedDate: `_updatedDate` };
|
|
534
|
+
var Je = `items`;
|
|
535
|
+
var Ye = `pagingMetadata`;
|
|
536
|
+
var Xe = Ke;
|
|
537
|
+
function Ze(e6, t2) {
|
|
530
538
|
return e6?.split(`.`).map((e7) => t2?.[e7] ?? e7).join(`.`);
|
|
531
539
|
}
|
|
532
|
-
var
|
|
533
|
-
function
|
|
534
|
-
return (e6 ===
|
|
540
|
+
var Qe = `sort.fieldName`;
|
|
541
|
+
function $e(e6, t2, n2) {
|
|
542
|
+
return (e6 === Qe || e6.endsWith(`.${Qe}`)) && typeof t2 == `string` ? Ze(t2, n2) : t2;
|
|
535
543
|
}
|
|
536
|
-
function
|
|
544
|
+
function et(e6, t2, n2) {
|
|
537
545
|
let r2 = (e7) => n2.includes(e7), i2 = (e7, n3) => {
|
|
538
546
|
if (Array.isArray(e7)) e7.forEach((e8) => {
|
|
539
547
|
i2(e8, n3);
|
|
@@ -543,160 +551,160 @@ function Qe(e6, t2, n2) {
|
|
|
543
551
|
Object.keys(a2).forEach((e8) => {
|
|
544
552
|
let o2 = n3 === `` ? e8 : `${n3}.${e8}`;
|
|
545
553
|
if (r2(o2)) return;
|
|
546
|
-
let s2 =
|
|
547
|
-
s2 !== e8 && !(s2 in a2) && (a2[s2] = a2[e8], delete a2[e8]), a2[s2] =
|
|
554
|
+
let s2 = tt(e8, t2);
|
|
555
|
+
s2 !== e8 && !(s2 in a2) && (a2[s2] = a2[e8], delete a2[e8]), a2[s2] = $e(o2, a2[s2], t2), i2(a2[s2], o2);
|
|
548
556
|
});
|
|
549
557
|
}
|
|
550
558
|
};
|
|
551
559
|
return i2(e6, ``), e6;
|
|
552
560
|
}
|
|
553
|
-
function
|
|
561
|
+
function tt(e6, t2) {
|
|
554
562
|
let n2;
|
|
555
563
|
return n2 = e6.includes(`.`) ? e6.split(`.`).map((e7) => t2[e7] ?? e7).join(`.`) : t2[e6] ?? e6, n2;
|
|
556
564
|
}
|
|
557
|
-
function
|
|
558
|
-
return
|
|
565
|
+
function O(e6, t2 = []) {
|
|
566
|
+
return et(e6, Ke, t2);
|
|
559
567
|
}
|
|
560
|
-
function
|
|
561
|
-
return
|
|
568
|
+
function nt(e6, t2 = []) {
|
|
569
|
+
return et(e6, qe, t2);
|
|
562
570
|
}
|
|
563
|
-
function
|
|
571
|
+
function rt(e6) {
|
|
564
572
|
return e6?.toISOString();
|
|
565
573
|
}
|
|
566
|
-
function
|
|
574
|
+
function it(e6) {
|
|
567
575
|
return e6 ? new Date(e6) : void 0;
|
|
568
576
|
}
|
|
569
|
-
var
|
|
570
|
-
function
|
|
577
|
+
var at = /* @__PURE__ */ new WeakMap();
|
|
578
|
+
function ot() {
|
|
571
579
|
return { leaves: void 0, fields: void 0, mapFields: void 0, anyField: void 0 };
|
|
572
580
|
}
|
|
573
|
-
function
|
|
581
|
+
function st(e6, t2) {
|
|
574
582
|
let n2 = e6.get(t2);
|
|
575
|
-
return n2 || (n2 =
|
|
583
|
+
return n2 || (n2 = ot(), e6.set(t2, n2)), n2;
|
|
576
584
|
}
|
|
577
|
-
function
|
|
578
|
-
return t2 === `*` ? (e6.anyField ??=
|
|
585
|
+
function ct(e6, t2) {
|
|
586
|
+
return t2 === `*` ? (e6.anyField ??= ot(), e6.anyField) : t2.endsWith(`{}`) ? (e6.mapFields ??= /* @__PURE__ */ new Map(), st(e6.mapFields, t2.slice(0, -2))) : (e6.fields ??= /* @__PURE__ */ new Map(), st(e6.fields, t2));
|
|
579
587
|
}
|
|
580
|
-
function
|
|
581
|
-
let t2 =
|
|
588
|
+
function lt(e6) {
|
|
589
|
+
let t2 = ot();
|
|
582
590
|
for (let n2 of e6) {
|
|
583
|
-
let e7 = n2.path.split(`.`).reduce(
|
|
591
|
+
let e7 = n2.path.split(`.`).reduce(ct, t2);
|
|
584
592
|
e7.leaves ??= [], e7.leaves.push(n2);
|
|
585
593
|
}
|
|
586
594
|
return t2;
|
|
587
595
|
}
|
|
588
|
-
function
|
|
589
|
-
let t2 =
|
|
590
|
-
return t2 || (t2 =
|
|
596
|
+
function ut(e6) {
|
|
597
|
+
let t2 = at.get(e6);
|
|
598
|
+
return t2 || (t2 = lt(e6), at.set(e6, t2)), t2;
|
|
591
599
|
}
|
|
592
|
-
function
|
|
600
|
+
function dt(e6) {
|
|
593
601
|
return typeof e6 == `object` && !!e6;
|
|
594
602
|
}
|
|
595
|
-
function
|
|
596
|
-
return t2 ? Array.isArray(e6) ? e6.map(r2) : e6 : n2 ?
|
|
603
|
+
function ft(e6, { isRepeated: t2, isMap: n2 }, r2) {
|
|
604
|
+
return t2 ? Array.isArray(e6) ? e6.map(r2) : e6 : n2 ? dt(e6) ? Object.fromEntries(Object.entries(e6).map(([e7, t3]) => [e7, r2(t3)])) : e6 : r2(e6);
|
|
597
605
|
}
|
|
598
|
-
function
|
|
599
|
-
|
|
606
|
+
function k(e6, t2, n2) {
|
|
607
|
+
dt(e6) && ht(e6, t2, n2);
|
|
600
608
|
}
|
|
601
|
-
function
|
|
609
|
+
function pt(e6, t2, n2) {
|
|
602
610
|
for (let [r2, i2] of t2) {
|
|
603
611
|
if (!(r2 in e6)) continue;
|
|
604
|
-
if (i2.leaves) for (let t4 of i2.leaves) e6[r2] =
|
|
612
|
+
if (i2.leaves) for (let t4 of i2.leaves) e6[r2] = ft(e6[r2], t4, n2);
|
|
605
613
|
let t3 = e6[r2];
|
|
606
|
-
Array.isArray(t3) ? t3.forEach((e7) =>
|
|
614
|
+
Array.isArray(t3) ? t3.forEach((e7) => k(e7, i2, n2)) : k(t3, i2, n2);
|
|
607
615
|
}
|
|
608
616
|
}
|
|
609
|
-
function
|
|
617
|
+
function mt(e6, t2, n2) {
|
|
610
618
|
for (let [r2, i2] of t2) {
|
|
611
619
|
let t3 = e6[r2];
|
|
612
|
-
|
|
620
|
+
dt(t3) && Object.values(t3).forEach((e7) => k(e7, i2, n2));
|
|
613
621
|
}
|
|
614
622
|
}
|
|
615
|
-
function
|
|
616
|
-
t2 &&
|
|
623
|
+
function ht(e6, { fields: t2, mapFields: n2, anyField: r2 }, i2) {
|
|
624
|
+
t2 && pt(e6, t2, i2), n2 && mt(e6, n2, i2), r2 && Object.values(e6).forEach((e7) => k(e7, r2, i2));
|
|
617
625
|
}
|
|
618
626
|
function A(e6, t2) {
|
|
619
|
-
if (!
|
|
620
|
-
for (let { paths: n2, transformFn: r2 } of t2)
|
|
627
|
+
if (!dt(e6)) return e6;
|
|
628
|
+
for (let { paths: n2, transformFn: r2 } of t2) ht(e6, ut(n2), r2);
|
|
621
629
|
return e6;
|
|
622
630
|
}
|
|
623
|
-
function
|
|
624
|
-
return
|
|
631
|
+
function gt(e6) {
|
|
632
|
+
return xt(e6).map((e7) => e7.toLocaleUpperCase()).join(`_`);
|
|
625
633
|
}
|
|
626
|
-
var
|
|
627
|
-
var
|
|
628
|
-
var
|
|
629
|
-
var
|
|
630
|
-
function
|
|
634
|
+
var _t = /([\p{Ll}\d])(\p{Lu})/gu;
|
|
635
|
+
var vt = /(\p{Lu})([\p{Lu}][\p{Ll}])/gu;
|
|
636
|
+
var yt = `$1\0$2`;
|
|
637
|
+
var bt = /[^\p{L}\d]+/giu;
|
|
638
|
+
function xt(e6) {
|
|
631
639
|
let t2 = e6.trim();
|
|
632
|
-
t2 = t2.replace(
|
|
640
|
+
t2 = t2.replace(_t, yt).replace(vt, yt), t2 = t2.replace(bt, `\0`);
|
|
633
641
|
let n2 = 0, r2 = t2.length;
|
|
634
642
|
for (; t2.charAt(n2) === `\0`; ) n2++;
|
|
635
643
|
if (n2 === r2) return [];
|
|
636
644
|
for (; t2.charAt(r2 - 1) === `\0`; ) r2--;
|
|
637
645
|
return t2.slice(n2, r2).split(/\0/g);
|
|
638
646
|
}
|
|
639
|
-
var
|
|
640
|
-
var
|
|
641
|
-
var
|
|
647
|
+
var St = (e6) => `validationError` in (e6.response?.data?.details ?? {});
|
|
648
|
+
var Ct = (e6) => `applicationError` in (e6.response?.data?.details ?? {});
|
|
649
|
+
var wt = (e6) => (e6.response?.status ?? -1) >= 400 && (e6.response?.status ?? -1) < 500;
|
|
642
650
|
function j(e6, t2 = { explicitPathsToArguments: {}, spreadPathsToArguments: {}, singleArgumentUnchanged: false }, n2 = []) {
|
|
643
651
|
if (typeof e6 != `object` || !e6) throw e6;
|
|
644
|
-
if (
|
|
645
|
-
if (
|
|
646
|
-
if (
|
|
647
|
-
let t3 = e6.response?.status, n3 = e6.response?.statusText ?? `UNKNOWN`, r2 = e6.response?.data?.message ?? n3, i2 = { applicationError: { description: n3, code:
|
|
648
|
-
return
|
|
652
|
+
if (St(e6)) return Tt(e6, t2, n2);
|
|
653
|
+
if (Ct(e6)) return Dt(e6);
|
|
654
|
+
if (wt(e6)) {
|
|
655
|
+
let t3 = e6.response?.status, n3 = e6.response?.statusText ?? `UNKNOWN`, r2 = e6.response?.data?.message ?? n3, i2 = { applicationError: { description: n3, code: gt(n3), data: {} }, requestId: e6.requestId };
|
|
656
|
+
return Et(e6, { message: JSON.stringify({ message: r2, details: i2 }, null, 2), extraProperties: { details: i2, status: t3 } });
|
|
649
657
|
}
|
|
650
|
-
return
|
|
658
|
+
return Ot(e6);
|
|
651
659
|
}
|
|
652
|
-
var
|
|
653
|
-
let r2 = e6.response?.data, i2 = e6.requestId, { fieldViolations: a2 } = r2.details.validationError, o2 =
|
|
654
|
-
return
|
|
660
|
+
var Tt = (e6, t2, n2) => {
|
|
661
|
+
let r2 = e6.response?.data, i2 = e6.requestId, { fieldViolations: a2 } = r2.details.validationError, o2 = kt(t2, a2, n2)?.sort((e7, t3) => e7.field < t3.field ? -1 : 1), s2 = `INVALID_ARGUMENT: ${o2?.map(({ field: e7, description: t3 }) => `"${e7}" ${t3}`)?.join(`, `)}`, c2 = { validationError: { fieldViolations: o2 }, requestId: i2 };
|
|
662
|
+
return Et(e6, { message: JSON.stringify({ message: s2, details: c2 }, null, 2), extraProperties: { details: c2, status: e6.response?.status, requestId: i2 } });
|
|
655
663
|
};
|
|
656
|
-
var
|
|
657
|
-
var
|
|
658
|
-
let t2 = e6.response?.status, n2 = e6.response?.statusText ?? `UNKNOWN`, r2 = e6.response?.data?.message ?? n2, i2 = e6.response?.data?.details?.applicationError?.description ?? n2, a2 = e6.response?.data?.details?.applicationError?.code ??
|
|
659
|
-
return
|
|
664
|
+
var Et = (e6, { message: t2, extraProperties: n2 }) => Object.assign(e6, { ...n2, message: t2 });
|
|
665
|
+
var Dt = (e6) => {
|
|
666
|
+
let t2 = e6.response?.status, n2 = e6.response?.statusText ?? `UNKNOWN`, r2 = e6.response?.data?.message ?? n2, i2 = e6.response?.data?.details?.applicationError?.description ?? n2, a2 = e6.response?.data?.details?.applicationError?.code ?? gt(n2), o2 = e6.response?.data?.details?.applicationError?.data ?? {}, s2 = r2 === i2 ? r2 : `${r2}: ${i2}`, c2 = { applicationError: { description: i2, code: a2, data: o2 }, requestId: e6.requestId };
|
|
667
|
+
return Et(e6, { message: JSON.stringify({ message: s2, details: c2 }, null, 2), extraProperties: { details: c2, status: t2, requestId: e6.requestId } });
|
|
660
668
|
};
|
|
661
|
-
var
|
|
662
|
-
var
|
|
669
|
+
var Ot = (e6) => Et(e6, { message: e6.requestId ? `System error occurred, request-id: ${e6.requestId}` : `System error occurred: ${JSON.stringify(e6)}`, extraProperties: { requestId: e6.requestId, status: e6.response?.status, code: gt(e6.response?.statusText ?? `UNKNOWN`), ...!e6.response && { runtimeError: e6 } } });
|
|
670
|
+
var kt = ({ spreadPathsToArguments: e6, explicitPathsToArguments: t2, singleArgumentUnchanged: n2 }, r2, i2) => {
|
|
663
671
|
let a2 = { ...e6, ...t2 }, o2 = Object.keys(a2);
|
|
664
672
|
return r2?.filter((e7) => !r2.some((t3) => t3.field.length > e7.field.length && t3.field.startsWith(e7.field) && o2.includes(t3.field))).map((e7) => {
|
|
665
673
|
let r3 = t2[e7.field];
|
|
666
|
-
if (r3) return { ...e7, field:
|
|
674
|
+
if (r3) return { ...e7, field: At(r3, i2) };
|
|
667
675
|
let s2 = o2?.sort((e8, t3) => t3.length - e8.length)?.find((t3) => e7.field.startsWith(t3));
|
|
668
676
|
if (s2) {
|
|
669
677
|
let t3 = a2[s2];
|
|
670
|
-
if (t3) return { ...e7, field: e7.field.replace(s2,
|
|
678
|
+
if (t3) return { ...e7, field: e7.field.replace(s2, At(t3, i2)) };
|
|
671
679
|
}
|
|
672
680
|
return n2 ? { ...e7, field: `${i2[0]}.${e7.field}` } : e7;
|
|
673
681
|
});
|
|
674
682
|
};
|
|
675
|
-
var
|
|
676
|
-
let n2 =
|
|
683
|
+
var At = (e6, t2) => {
|
|
684
|
+
let n2 = jt(e6);
|
|
677
685
|
return n2 == null ? e6 : e6.replace(`$[${n2}]`, t2[n2]);
|
|
678
686
|
};
|
|
679
|
-
var
|
|
687
|
+
var jt = (e6) => {
|
|
680
688
|
let t2 = e6.match(/\$\[(?<argIndex>\d+)\]/);
|
|
681
689
|
return t2 && t2.groups && Number(t2.groups.argIndex);
|
|
682
690
|
};
|
|
683
|
-
function
|
|
691
|
+
function Mt() {
|
|
684
692
|
let e6 = typeof $wixContext < `u` && $wixContext.initWixModules ? $wixContext.initWixModules : globalThis.__wix_context__ !== void 0 && globalThis.__wix_context__.initWixModules ? globalThis.__wix_context__.initWixModules : void 0;
|
|
685
693
|
if (e6) return { initWixModules(t3, n3) {
|
|
686
|
-
return
|
|
694
|
+
return Nt(() => e6(t3, n3));
|
|
687
695
|
}, fetchWithAuth() {
|
|
688
696
|
throw Error(`fetchWithAuth is not available in this context`);
|
|
689
697
|
}, graphql() {
|
|
690
698
|
throw Error(`graphql is not available in this context`);
|
|
691
699
|
} };
|
|
692
|
-
let t2 = typeof $wixContext < `u` ? $wixContext.client :
|
|
700
|
+
let t2 = typeof $wixContext < `u` ? $wixContext.client : g.client === void 0 ? globalThis.__wix_context__ === void 0 ? void 0 : globalThis.__wix_context__.client : g.client, n2 = typeof $wixContext < `u` ? $wixContext.elevatedClient : g.elevatedClient === void 0 ? globalThis.__wix_context__ === void 0 ? void 0 : globalThis.__wix_context__.elevatedClient : g.elevatedClient;
|
|
693
701
|
if (t2 || n2) return { initWixModules(e7, r2) {
|
|
694
702
|
if (r2) {
|
|
695
703
|
if (!n2) throw Error(`An elevated client is required to use elevated modules. Make sure to initialize the Wix context with an elevated client before using elevated SDK modules`);
|
|
696
|
-
return
|
|
704
|
+
return Nt(() => n2.use(e7));
|
|
697
705
|
}
|
|
698
706
|
if (!t2) throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);
|
|
699
|
-
return
|
|
707
|
+
return Nt(() => t2.use(e7));
|
|
700
708
|
}, fetchWithAuth: (e7, n3) => {
|
|
701
709
|
if (!t2) throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);
|
|
702
710
|
return t2.fetchWithAuth(e7, n3);
|
|
@@ -708,110 +716,110 @@ function At() {
|
|
|
708
716
|
return t2.graphql(e7, n3, r2);
|
|
709
717
|
} };
|
|
710
718
|
}
|
|
711
|
-
function
|
|
712
|
-
let t2 = globalThis.__wix_context__, n2 = { client:
|
|
713
|
-
globalThis.__wix_context__ = void 0,
|
|
719
|
+
function Nt(e6) {
|
|
720
|
+
let t2 = globalThis.__wix_context__, n2 = { client: g.client, elevatedClient: g.elevatedClient }, r2;
|
|
721
|
+
globalThis.__wix_context__ = void 0, g.client = void 0, g.elevatedClient = void 0, typeof $wixContext < `u` && (r2 = { client: $wixContext?.client, elevatedClient: $wixContext?.elevatedClient }, delete $wixContext.client, delete $wixContext.elevatedClient);
|
|
714
722
|
try {
|
|
715
723
|
return e6();
|
|
716
724
|
} finally {
|
|
717
|
-
globalThis.__wix_context__ = t2,
|
|
725
|
+
globalThis.__wix_context__ = t2, g.client = n2.client, g.elevatedClient = n2.elevatedClient, typeof $wixContext < `u` && ($wixContext.client = r2.client, $wixContext.elevatedClient = r2.elevatedClient);
|
|
718
726
|
}
|
|
719
727
|
}
|
|
720
|
-
function
|
|
728
|
+
function Pt(e6, t2) {
|
|
721
729
|
return (...n2) => {
|
|
722
|
-
let r2 =
|
|
730
|
+
let r2 = Mt();
|
|
723
731
|
return r2 ? r2.initWixModules(e6, t2).apply(void 0, n2) : e6.apply(void 0, n2);
|
|
724
732
|
};
|
|
725
733
|
}
|
|
726
|
-
function
|
|
727
|
-
return
|
|
734
|
+
function Ft(e6, t2 = false) {
|
|
735
|
+
return Pt(e6, t2);
|
|
728
736
|
}
|
|
729
|
-
function
|
|
730
|
-
let n2 =
|
|
731
|
-
return t2 && r2 ? new URLSearchParams({ ".r":
|
|
737
|
+
function It(e6, t2) {
|
|
738
|
+
let n2 = Rt(e6), r2 = Object.entries(n2).some(([e7, t3]) => e7.includes(`.`) || Array.isArray(t3) && t3.some((e8) => typeof e8 == `object`));
|
|
739
|
+
return t2 && r2 ? new URLSearchParams({ ".r": Bt(JSON.stringify(e6)) }) : Object.entries(n2).reduce((e7, [t3, n3]) => ((Array.isArray(n3) ? n3 : [n3]).forEach((r3) => {
|
|
732
740
|
r3 == null || Array.isArray(n3) && typeof r3 == `object` || e7.append(t3, r3);
|
|
733
741
|
}), e7), new URLSearchParams());
|
|
734
742
|
}
|
|
735
|
-
function
|
|
736
|
-
let t2 =
|
|
737
|
-
return on(
|
|
743
|
+
function Lt(e6) {
|
|
744
|
+
let t2 = $t(Zt(e6.host), e6.domainToMappings);
|
|
745
|
+
return ln(on(e6.protoPath, e6.data || {}), t2);
|
|
738
746
|
}
|
|
739
|
-
function
|
|
747
|
+
function Rt(e6, t2 = ``) {
|
|
740
748
|
let n2 = {};
|
|
741
749
|
return Object.entries(e6).forEach(([e7, r2]) => {
|
|
742
|
-
let i2 = typeof r2 == `object` && !!r2 && !Array.isArray(r2), a2 =
|
|
750
|
+
let i2 = typeof r2 == `object` && !!r2 && !Array.isArray(r2), a2 = zt(t2, e7);
|
|
743
751
|
if (i2) {
|
|
744
|
-
let e8 =
|
|
752
|
+
let e8 = Rt(r2, a2);
|
|
745
753
|
Object.assign(n2, e8);
|
|
746
754
|
} else n2[a2] = r2;
|
|
747
755
|
}), n2;
|
|
748
756
|
}
|
|
749
|
-
function
|
|
757
|
+
function zt(e6, t2) {
|
|
750
758
|
return `${e6}${e6 ? `.` : ``}${t2}`;
|
|
751
759
|
}
|
|
752
|
-
var
|
|
760
|
+
var Bt = (e6) => {
|
|
753
761
|
let t2 = new TextEncoder().encode(e6);
|
|
754
762
|
return (typeof btoa < `u` ? btoa(String.fromCodePoint(...t2)) : Buffer.from(e6, `utf-8`).toString(`base64`)).replace(/=/g, ``).replace(/\+/g, `-`).replace(/\//g, `_`);
|
|
755
763
|
};
|
|
756
|
-
var
|
|
757
|
-
var
|
|
758
|
-
var
|
|
759
|
-
var
|
|
760
|
-
var
|
|
761
|
-
var
|
|
762
|
-
var
|
|
763
|
-
var
|
|
764
|
-
var
|
|
765
|
-
var
|
|
766
|
-
function
|
|
767
|
-
return
|
|
768
|
-
}
|
|
769
|
-
function
|
|
770
|
-
return
|
|
771
|
-
}
|
|
772
|
-
function
|
|
764
|
+
var Vt = [`wix.com`, `editorx.com`];
|
|
765
|
+
var Ht = `_`;
|
|
766
|
+
var Ut = `*.`;
|
|
767
|
+
var Wt = RegExp(`\\.(${Vt.join(`|`)})$`);
|
|
768
|
+
var Gt = [`42.wixprod.net`, `uw2-edt-1.wixprod.net`, `virginia-edt.wixprod.net`];
|
|
769
|
+
var Kt = { "payments.base44.com": `manage.wix.com`, "create.editorx.com": `editor.editorx.com` };
|
|
770
|
+
var qt = `dev.wix-code.com`;
|
|
771
|
+
var Jt = /{(.*)}/;
|
|
772
|
+
var Yt = RegExp(`\\.(${Gt.join(`|`)})$`);
|
|
773
|
+
var Xt = RegExp(`.*\\.${qt}$`);
|
|
774
|
+
function Zt(e6) {
|
|
775
|
+
return Qt(e6).replace(Wt, `._base_domain_`).replace(Yt, `._api_base_domain_`).replace(Xt, `*.dev.wix-code.com`);
|
|
776
|
+
}
|
|
777
|
+
function Qt(e6) {
|
|
778
|
+
return Kt[e6] ?? e6;
|
|
779
|
+
}
|
|
780
|
+
function $t(e6, t2) {
|
|
773
781
|
let n2 = t2[e6];
|
|
774
782
|
if (n2) return n2;
|
|
775
|
-
let r2 =
|
|
783
|
+
let r2 = en(e6, t2) ?? tn(e6, t2);
|
|
776
784
|
if (!r2) {
|
|
777
|
-
if (
|
|
778
|
-
let e7 = t2[
|
|
785
|
+
if (rn(e6)) {
|
|
786
|
+
let e7 = t2[an];
|
|
779
787
|
if (e7) return e7;
|
|
780
788
|
}
|
|
781
|
-
let n3 = t2[
|
|
789
|
+
let n3 = t2[Ht];
|
|
782
790
|
if (n3) return n3;
|
|
783
791
|
}
|
|
784
792
|
return r2 ?? [];
|
|
785
793
|
}
|
|
786
|
-
function
|
|
794
|
+
function en(e6, t2) {
|
|
787
795
|
return Object.entries(t2).find(([t3]) => {
|
|
788
796
|
let [, ...n2] = e6.split(`.`);
|
|
789
797
|
return n2.join(`.`) === t3;
|
|
790
798
|
})?.[1];
|
|
791
799
|
}
|
|
792
|
-
function
|
|
793
|
-
let [n2] = Object.entries(t2).filter(([t3]) =>
|
|
800
|
+
function tn(e6, t2) {
|
|
801
|
+
let [n2] = Object.entries(t2).filter(([t3]) => nn(e6, t3)).sort(([e7], [t3]) => t3.length - e7.length);
|
|
794
802
|
if (!n2) return;
|
|
795
803
|
let [, r2] = n2;
|
|
796
804
|
return r2;
|
|
797
805
|
}
|
|
798
|
-
function
|
|
799
|
-
if (!t2.startsWith(
|
|
806
|
+
function nn(e6, t2) {
|
|
807
|
+
if (!t2.startsWith(Ut)) return false;
|
|
800
808
|
let n2 = t2.slice(1);
|
|
801
809
|
return e6.length > n2.length && e6.endsWith(n2);
|
|
802
810
|
}
|
|
803
|
-
function
|
|
811
|
+
function rn(e6) {
|
|
804
812
|
return !!e6.match(/\._base_domain_$/);
|
|
805
813
|
}
|
|
806
|
-
var
|
|
807
|
-
function
|
|
808
|
-
return e6.split(`/`).map((e7) =>
|
|
814
|
+
var an = `www._base_domain_`;
|
|
815
|
+
function on(e6, t2) {
|
|
816
|
+
return e6.split(`/`).map((e7) => sn(e7, t2)).join(`/`);
|
|
809
817
|
}
|
|
810
|
-
function
|
|
811
|
-
let n2 = e6.match(
|
|
812
|
-
return r2 ?
|
|
818
|
+
function sn(e6, t2) {
|
|
819
|
+
let n2 = e6.match(Jt) || [], r2 = n2[1];
|
|
820
|
+
return r2 ? cn(t2, r2, e6, e6.replace(n2[0], ``)) : e6;
|
|
813
821
|
}
|
|
814
|
-
function
|
|
822
|
+
function cn(e6, t2, n2, r2) {
|
|
815
823
|
let i2 = e6;
|
|
816
824
|
for (let e7 of t2.split(`.`)) {
|
|
817
825
|
if (!i2) return n2;
|
|
@@ -819,22 +827,22 @@ function an(e6, t2, n2, r2) {
|
|
|
819
827
|
}
|
|
820
828
|
return `${i2}${r2}`;
|
|
821
829
|
}
|
|
822
|
-
function
|
|
830
|
+
function ln(e6, t2) {
|
|
823
831
|
let n2 = t2?.find((t3) => e6.startsWith(t3.destPath));
|
|
824
832
|
return n2 ? n2.srcPath + e6.slice(n2.destPath.length) : e6;
|
|
825
833
|
}
|
|
826
|
-
function
|
|
834
|
+
function un(e6) {
|
|
827
835
|
return e6 === `NaN` ? NaN : e6 === `Infinity` ? 1 / 0 : e6 === `-Infinity` ? -1 / 0 : e6;
|
|
828
836
|
}
|
|
829
|
-
var
|
|
830
|
-
var
|
|
837
|
+
var dn = `modulepreload`;
|
|
838
|
+
var fn = function(e6, t2) {
|
|
831
839
|
return new URL(e6, t2).href;
|
|
832
840
|
};
|
|
833
|
-
var
|
|
834
|
-
var
|
|
841
|
+
var pn = {};
|
|
842
|
+
var mn = function(e6) {
|
|
835
843
|
return e6.pathname.endsWith(`.css`);
|
|
836
844
|
};
|
|
837
|
-
var
|
|
845
|
+
var hn = function(e6, t2, n2) {
|
|
838
846
|
if (t2 in e6) return e6[t2];
|
|
839
847
|
let r2 = n2();
|
|
840
848
|
if (!r2) {
|
|
@@ -848,7 +856,7 @@ var fn = function(e6, t2, n2) {
|
|
|
848
856
|
});
|
|
849
857
|
return e6[t2] = i2, i2;
|
|
850
858
|
};
|
|
851
|
-
var
|
|
859
|
+
var M = function(e6, t2, n2) {
|
|
852
860
|
let r2 = Promise.resolve();
|
|
853
861
|
if (t2 && t2.length > 0) {
|
|
854
862
|
let o3 = function(e8) {
|
|
@@ -859,9 +867,9 @@ var pn = function(e6, t2, n2) {
|
|
|
859
867
|
var o2 = o3, s2 = s3;
|
|
860
868
|
let e7, i3 = document.querySelector(`meta[property=csp-nonce]`), a2 = i3?.nonce || i3?.getAttribute(`nonce`);
|
|
861
869
|
r2 = o3(t2.map((t3) => {
|
|
862
|
-
t3 =
|
|
863
|
-
let r3 = s3(t3), i4 =
|
|
864
|
-
return
|
|
870
|
+
t3 = fn(t3, n2);
|
|
871
|
+
let r3 = s3(t3), i4 = mn(r3);
|
|
872
|
+
return hn(pn, r3.href, () => {
|
|
865
873
|
if (e7 === void 0) {
|
|
866
874
|
e7 = { all: /* @__PURE__ */ new Set(), styles: /* @__PURE__ */ new Set() };
|
|
867
875
|
let t5 = document.getElementsByTagName(`link`);
|
|
@@ -872,7 +880,7 @@ var pn = function(e6, t2, n2) {
|
|
|
872
880
|
}
|
|
873
881
|
if ((i4 ? e7.styles : e7.all).has(r3.href)) return;
|
|
874
882
|
let t4 = document.createElement(`link`);
|
|
875
|
-
if (t4.rel = i4 ? `stylesheet` :
|
|
883
|
+
if (t4.rel = i4 ? `stylesheet` : dn, i4 || (t4.as = `script`), t4.crossOrigin = ``, t4.href = r3.href, a2 && t4.setAttribute(`nonce`, a2), document.head.appendChild(t4), i4) return new Promise((e8, n3) => {
|
|
876
884
|
t4.addEventListener(`load`, e8), t4.addEventListener(`error`, () => n3(Error(`Unable to preload CSS for ${r3}`)));
|
|
877
885
|
});
|
|
878
886
|
});
|
|
@@ -887,30 +895,36 @@ var pn = function(e6, t2, n2) {
|
|
|
887
895
|
return e6().catch(i2);
|
|
888
896
|
});
|
|
889
897
|
};
|
|
890
|
-
var
|
|
891
|
-
var hn = `00000000-0000-0000-0000-000000000000`;
|
|
892
|
-
var gn = `false`;
|
|
898
|
+
var gn = `x-wix-currency`;
|
|
893
899
|
var _n = () => {
|
|
894
|
-
let e6 =
|
|
895
|
-
if (e6) return { [
|
|
900
|
+
let e6 = N(`currency`);
|
|
901
|
+
if (e6) return { [gn]: e6 };
|
|
896
902
|
};
|
|
897
|
-
|
|
903
|
+
var vn = `x-wix-linguist`;
|
|
904
|
+
var yn = `00000000-0000-0000-0000-000000000000`;
|
|
905
|
+
var bn = `false`;
|
|
906
|
+
var xn = () => {
|
|
907
|
+
let e6 = N(`language`), t2 = N(`locale`);
|
|
908
|
+
if (e6) return { [vn]: [e6, t2 || e6, bn, yn].join(`|`) };
|
|
909
|
+
};
|
|
910
|
+
function Sn() {
|
|
898
911
|
let e6 = null, t2 = null;
|
|
899
912
|
return { promise: new Promise((n2, r2) => {
|
|
900
913
|
e6 = n2, t2 = r2;
|
|
901
914
|
}), resolve: e6, reject: t2 };
|
|
902
915
|
}
|
|
903
|
-
var
|
|
904
|
-
var
|
|
905
|
-
var
|
|
906
|
-
let { applicationId: n2, componentId: r2 } = t2 ?? {}, i2 = typeof window < `u` ? window.wixEmbedsAPI : void 0, a2 = e6(t2), o2 =
|
|
907
|
-
return { ...a2, apiBaseUrl: o2, getMonitoringClient: i2?.getMonitoringClientFunction?.(n2, r2), essentials: { language:
|
|
908
|
-
|
|
916
|
+
var Cn = () => (typeof window < `u` ? window.commonConfig : void 0) ?? globalThis.commonConfig;
|
|
917
|
+
var N = (e6) => Cn()?.[e6];
|
|
918
|
+
var wn = ({ createHost: e6 }) => ({ __type: `host`, create: (e7) => ({}), host: (t2) => {
|
|
919
|
+
let { applicationId: n2, componentId: r2 } = t2 ?? {}, i2 = typeof window < `u` ? window.wixEmbedsAPI : void 0, a2 = e6(t2), o2 = En();
|
|
920
|
+
return { ...a2, apiBaseUrl: o2, getMonitoringClient: i2?.getMonitoringClientFunction?.(n2, r2), essentials: { language: N(`language`), locale: N(`locale`), get passThroughHeaders() {
|
|
921
|
+
let e7 = { ...xn(), ..._n() };
|
|
922
|
+
return Object.keys(e7).length > 0 ? e7 : void 0;
|
|
909
923
|
} } };
|
|
910
924
|
}, auth: (e7) => {
|
|
911
925
|
let t2 = typeof window < `u` ? window.wixEmbedsAPI : void 0;
|
|
912
|
-
!e7 &&
|
|
913
|
-
let n2 = false, { resolve: r2, promise: i2 } =
|
|
926
|
+
!e7 && Tn() && (e7 = t2?.getAccessTokenFunction?.());
|
|
927
|
+
let n2 = false, { resolve: r2, promise: i2 } = Sn();
|
|
914
928
|
return { getAuthHeaders: async () => {
|
|
915
929
|
if (!e7 && n2 && (e7 = await i2), !e7) throw Error(`Failed to resolve auth token`);
|
|
916
930
|
return { headers: { Authorization: await e7() } };
|
|
@@ -918,60 +932,60 @@ var bn = ({ createHost: e6 }) => ({ __type: `host`, create: (e7) => ({}), host:
|
|
|
918
932
|
r2(e8);
|
|
919
933
|
}) };
|
|
920
934
|
} });
|
|
921
|
-
function
|
|
935
|
+
function Tn() {
|
|
922
936
|
return typeof document < `u` && document.currentScript?.tagName === `SCRIPT`;
|
|
923
937
|
}
|
|
924
|
-
function
|
|
938
|
+
function En() {
|
|
925
939
|
let e6 = (typeof window < `u` ? window.wixEmbedsAPI : void 0)?.getExternalBaseUrl?.();
|
|
926
940
|
if (!e6) return;
|
|
927
941
|
let t2 = new URL(e6);
|
|
928
942
|
return t2?.pathname && t2.pathname !== `/` ? `${t2.hostname}${t2.pathname}` : t2.hostname;
|
|
929
943
|
}
|
|
930
|
-
var
|
|
944
|
+
var Dn = ({ clientSdk: e6, applicationId: t2 }) => ({ invoke: async ({ namespace: n2, method: r2, args: i2 }) => {
|
|
931
945
|
if (!e6) throw Error(`Wix Site SDK only works in a Wix site environment. Learn more: https://dev.wix.com/docs/sdk/host-modules/site/introduction`);
|
|
932
946
|
return e6.invoke({ namespace: n2, method: r2, args: i2, applicationId: t2, accessToken: `accessToken` });
|
|
933
947
|
}, getAccessToken: () => {
|
|
934
948
|
throw Error(`Not implemented`);
|
|
935
949
|
}, observeState: () => ({ disconnect: () => {
|
|
936
950
|
} }) });
|
|
937
|
-
var
|
|
951
|
+
var On = wn({ createHost: function(e6) {
|
|
938
952
|
let t2 = (typeof $wixContext < `u` ? $wixContext.clientSdk : void 0) ?? e6?.clientSdk ?? (typeof window < `u` ? window?.clientSdk : void 0), { applicationId: n2 } = e6 || {};
|
|
939
953
|
if (!n2) throw Error(`"createHost" was called without a required field "applicationId"`);
|
|
940
|
-
return { channel:
|
|
954
|
+
return { channel: Dn({ clientSdk: t2, applicationId: n2 }), close: () => {
|
|
941
955
|
} };
|
|
942
956
|
} });
|
|
943
|
-
var
|
|
944
|
-
let n2 =
|
|
945
|
-
return
|
|
946
|
-
};
|
|
947
|
-
var
|
|
948
|
-
var
|
|
949
|
-
var
|
|
950
|
-
function
|
|
951
|
-
let s2 =
|
|
957
|
+
var kn = (e6, t2) => {
|
|
958
|
+
let n2 = On.host({ applicationId: e6, componentId: t2 }), r2 = On.auth();
|
|
959
|
+
return We({ auth: r2, host: n2 }).enableContext(`module`), r2.getAccessTokenInjector();
|
|
960
|
+
};
|
|
961
|
+
var An = (e6) => kn(`14bcded7-0066-7c35-14d7-466cb3f09103`, e6);
|
|
962
|
+
var jn = { post: `post`, feed: `feed`, relatedPosts: `related-posts`, comments: `comments`, seo: `seo`, likes: `likes` };
|
|
963
|
+
var Mn = (e6, t2) => e6 && typeof e6[t2] == `function` ? e6 : null;
|
|
964
|
+
function Nn(e6, t2, { feature: n2, action: r2, level: i2 = `error`, tags: a2, contexts: o2 }) {
|
|
965
|
+
let s2 = Mn(e6, `captureException`);
|
|
952
966
|
if (!s2) return;
|
|
953
967
|
let c2 = t2 instanceof Error ? t2 : Error(String(t2));
|
|
954
968
|
s2.captureException(c2, { level: i2, tags: { feature: n2, action: r2, ...a2 }, ...o2 ? { contexts: o2 } : {} });
|
|
955
969
|
}
|
|
956
|
-
function
|
|
970
|
+
function Pn(e6) {
|
|
957
971
|
return Object.keys(e6).length === 1 && `$and` in e6 && Array.isArray(e6.$and);
|
|
958
972
|
}
|
|
959
|
-
function
|
|
973
|
+
function Fn(e6) {
|
|
960
974
|
return Object.keys(e6).length === 1 && `$or` in e6 && Array.isArray(e6.$or);
|
|
961
975
|
}
|
|
962
|
-
function
|
|
976
|
+
function In(e6) {
|
|
963
977
|
return Object.keys(e6).length === 1 && `$not` in e6 && typeof e6.$not == `object`;
|
|
964
978
|
}
|
|
965
|
-
function
|
|
966
|
-
return e6 === void 0 || Object.keys(e6).length === 0 ? t2 : t2 === void 0 || Object.keys(t2).length === 0 ? e6 : { $and: [...
|
|
979
|
+
function P(e6, t2) {
|
|
980
|
+
return e6 === void 0 || Object.keys(e6).length === 0 ? t2 : t2 === void 0 || Object.keys(t2).length === 0 ? e6 : { $and: [...Pn(e6) ? e6.$and : [e6], ...Pn(t2) ? t2.$and : [t2]] };
|
|
967
981
|
}
|
|
968
|
-
function
|
|
969
|
-
return e6 === void 0 || Object.keys(e6).length === 0 ? t2 : t2 === void 0 || Object.keys(t2).length === 0 ? e6 : { $or: [...
|
|
982
|
+
function Ln(e6, t2) {
|
|
983
|
+
return e6 === void 0 || Object.keys(e6).length === 0 ? t2 : t2 === void 0 || Object.keys(t2).length === 0 ? e6 : { $or: [...Fn(e6) ? e6.$or : [e6], ...Fn(t2) ? t2.$or : [t2]] };
|
|
970
984
|
}
|
|
971
|
-
function
|
|
972
|
-
if (e6 !== void 0 && Object.keys(e6).length !== 0) return
|
|
985
|
+
function Rn(e6) {
|
|
986
|
+
if (e6 !== void 0 && Object.keys(e6).length !== 0) return In(e6) ? e6.$not : { $not: e6 };
|
|
973
987
|
}
|
|
974
|
-
var
|
|
988
|
+
var zn = class {
|
|
975
989
|
_items;
|
|
976
990
|
_fetchNextPage;
|
|
977
991
|
_fetchPrevPage;
|
|
@@ -1001,7 +1015,7 @@ var Fn = class {
|
|
|
1001
1015
|
return await this._fetchPrevPage();
|
|
1002
1016
|
}
|
|
1003
1017
|
};
|
|
1004
|
-
var
|
|
1018
|
+
var Bn = class extends zn {
|
|
1005
1019
|
_nextCursor;
|
|
1006
1020
|
_prevCursor;
|
|
1007
1021
|
cursors;
|
|
@@ -1015,7 +1029,7 @@ var In = class extends Fn {
|
|
|
1015
1029
|
return !!this._prevCursor;
|
|
1016
1030
|
}
|
|
1017
1031
|
};
|
|
1018
|
-
var
|
|
1032
|
+
var Vn = class extends zn {
|
|
1019
1033
|
_totalCount;
|
|
1020
1034
|
_offset;
|
|
1021
1035
|
_tooManyToCount;
|
|
@@ -1038,76 +1052,76 @@ var Ln = class extends Fn {
|
|
|
1038
1052
|
return !!(this._limit !== 0 && this.currentPage && this.currentPage > 0);
|
|
1039
1053
|
}
|
|
1040
1054
|
};
|
|
1041
|
-
function
|
|
1055
|
+
function Hn(e6) {
|
|
1042
1056
|
let t2 = (n2) => ({ query: n2, async find() {
|
|
1043
1057
|
try {
|
|
1044
|
-
let r2 = e6.requestTransformer(e6.pagingMethod === `CURSOR` && n2.cursorPaging.cursor ? { cursorPaging: n2.cursorPaging } : n2), i2 = await e6.func(r2), { [
|
|
1058
|
+
let r2 = e6.requestTransformer(e6.pagingMethod === `CURSOR` && n2.cursorPaging.cursor ? { cursorPaging: n2.cursorPaging } : n2), i2 = await e6.func(r2), { [Je]: a2, [Ye]: o2 } = e6.responseTransformer(i2);
|
|
1045
1059
|
if (e6.pagingMethod === `OFFSET`) {
|
|
1046
1060
|
let e7 = n2;
|
|
1047
|
-
return new
|
|
1061
|
+
return new Vn({ items: a2 ?? [], fetchNextPage: () => t2({ ...e7, paging: { offset: e7.paging.offset + e7.paging.limit, limit: e7.paging.limit } }).find(), fetchPrevPage: () => t2({ ...n2, paging: { offset: Math.max(e7.paging.offset - e7.paging.limit, 0), limit: e7.paging.limit } }).find(), offset: e7.paging.offset, limit: e7.paging.limit, totalCount: o2?.total, tooManyToCount: o2?.tooManyToCount, originQuery: this });
|
|
1048
1062
|
}
|
|
1049
1063
|
let s2 = n2.cursorPaging;
|
|
1050
|
-
return new
|
|
1064
|
+
return new Bn({ items: a2 ?? [], limit: s2.limit, originQuery: this, fetchNextPage: () => t2({ ...n2, cursorPaging: { cursor: o2?.cursors?.next ?? void 0, limit: s2.limit } }).find(), fetchPrevPage: () => t2({ ...n2, cursorPaging: { cursor: o2?.cursors?.prev ?? void 0, limit: s2.limit } }).find(), prevCursor: o2?.cursors?.prev ?? void 0, nextCursor: o2?.cursors?.next ?? void 0 });
|
|
1051
1065
|
} catch (t3) {
|
|
1052
1066
|
throw e6.errorTransformer(t3);
|
|
1053
1067
|
}
|
|
1054
1068
|
}, skipTo(e7) {
|
|
1055
1069
|
return t2({ ...n2, cursorPaging: { cursor: e7, limit: n2.cursorPaging.limit } });
|
|
1056
1070
|
}, eq(r2, i2) {
|
|
1057
|
-
let a2 = i2 === void 0 ? null : i2, o2 = { [
|
|
1058
|
-
return t2({ ...n2, filter:
|
|
1071
|
+
let a2 = i2 === void 0 ? null : i2, o2 = { [F(e6.transformationPaths, r2)]: a2 };
|
|
1072
|
+
return t2({ ...n2, filter: P(n2.filter, o2) });
|
|
1059
1073
|
}, ne(r2, i2) {
|
|
1060
|
-
let a2 = i2 === void 0 ? null : i2, o2 = { [
|
|
1061
|
-
return t2({ ...n2, filter:
|
|
1074
|
+
let a2 = i2 === void 0 ? null : i2, o2 = { [F(e6.transformationPaths, r2)]: { $ne: a2 } };
|
|
1075
|
+
return t2({ ...n2, filter: P(n2.filter, o2) });
|
|
1062
1076
|
}, ge(r2, i2) {
|
|
1063
|
-
let a2 = { [
|
|
1064
|
-
return t2({ ...n2, filter:
|
|
1077
|
+
let a2 = { [F(e6.transformationPaths, r2)]: { $gte: i2 } };
|
|
1078
|
+
return t2({ ...n2, filter: P(n2.filter, a2) });
|
|
1065
1079
|
}, gt(r2, i2) {
|
|
1066
|
-
let a2 = { [
|
|
1067
|
-
return t2({ ...n2, filter:
|
|
1080
|
+
let a2 = { [F(e6.transformationPaths, r2)]: { $gt: i2 } };
|
|
1081
|
+
return t2({ ...n2, filter: P(n2.filter, a2) });
|
|
1068
1082
|
}, le(r2, i2) {
|
|
1069
|
-
let a2 = { [
|
|
1070
|
-
return t2({ ...n2, filter:
|
|
1083
|
+
let a2 = { [F(e6.transformationPaths, r2)]: { $lte: i2 } };
|
|
1084
|
+
return t2({ ...n2, filter: P(n2.filter, a2) });
|
|
1071
1085
|
}, lt(r2, i2) {
|
|
1072
|
-
let a2 = { [
|
|
1073
|
-
return t2({ ...n2, filter:
|
|
1086
|
+
let a2 = { [F(e6.transformationPaths, r2)]: { $lt: i2 } };
|
|
1087
|
+
return t2({ ...n2, filter: P(n2.filter, a2) });
|
|
1074
1088
|
}, isNotEmpty(e7) {
|
|
1075
1089
|
return this.ne(e7, null);
|
|
1076
1090
|
}, isEmpty(e7) {
|
|
1077
1091
|
return this.eq(e7, null);
|
|
1078
1092
|
}, startsWith(r2, i2) {
|
|
1079
|
-
let a2 = { [
|
|
1080
|
-
return t2({ ...n2, filter:
|
|
1093
|
+
let a2 = { [F(e6.transformationPaths, r2)]: { $startsWith: i2 } };
|
|
1094
|
+
return t2({ ...n2, filter: P(n2.filter, a2) });
|
|
1081
1095
|
}, endsWith(r2, i2) {
|
|
1082
|
-
let a2 = { [
|
|
1083
|
-
return t2({ ...n2, filter:
|
|
1096
|
+
let a2 = { [F(e6.transformationPaths, r2)]: { $endsWith: i2 } };
|
|
1097
|
+
return t2({ ...n2, filter: P(n2.filter, a2) });
|
|
1084
1098
|
}, contains(r2, i2) {
|
|
1085
|
-
let a2 = { [
|
|
1086
|
-
return t2({ ...n2, filter:
|
|
1099
|
+
let a2 = { [F(e6.transformationPaths, r2)]: { $contains: i2 } };
|
|
1100
|
+
return t2({ ...n2, filter: P(n2.filter, a2) });
|
|
1087
1101
|
}, hasSome(r2, ...i2) {
|
|
1088
|
-
let a2 = { [
|
|
1089
|
-
return t2({ ...n2, filter:
|
|
1102
|
+
let a2 = { [F(e6.transformationPaths, r2)]: { $hasSome: Array.isArray(i2[0]) ? i2[0] : i2 } };
|
|
1103
|
+
return t2({ ...n2, filter: P(n2.filter, a2) });
|
|
1090
1104
|
}, hasAll(r2, ...i2) {
|
|
1091
|
-
let a2 = { [
|
|
1092
|
-
return t2({ ...n2, filter:
|
|
1105
|
+
let a2 = { [F(e6.transformationPaths, r2)]: { $hasAll: Array.isArray(i2[0]) ? i2[0] : i2 } };
|
|
1106
|
+
return t2({ ...n2, filter: P(n2.filter, a2) });
|
|
1093
1107
|
}, between(e7, t3, n3) {
|
|
1094
1108
|
return this.ge(e7, t3).lt(e7, n3);
|
|
1095
1109
|
}, in(r2, i2) {
|
|
1096
|
-
let a2 = { [
|
|
1097
|
-
return t2({ ...n2, filter:
|
|
1110
|
+
let a2 = { [F(e6.transformationPaths, r2)]: { $in: i2 } };
|
|
1111
|
+
return t2({ ...n2, filter: P(n2.filter, a2) });
|
|
1098
1112
|
}, exists(r2, i2 = true) {
|
|
1099
|
-
let a2 = { [
|
|
1100
|
-
return t2({ ...n2, filter:
|
|
1113
|
+
let a2 = { [F(e6.transformationPaths, r2)]: { $exists: i2 } };
|
|
1114
|
+
return t2({ ...n2, filter: P(n2.filter, a2) });
|
|
1101
1115
|
}, or(e7) {
|
|
1102
|
-
return t2({ ...n2, filter:
|
|
1116
|
+
return t2({ ...n2, filter: Ln(n2.filter, e7.query.filter) });
|
|
1103
1117
|
}, and(e7) {
|
|
1104
|
-
return t2({ ...n2, filter:
|
|
1118
|
+
return t2({ ...n2, filter: P(n2.filter, e7.query.filter) });
|
|
1105
1119
|
}, not(e7) {
|
|
1106
|
-
return t2({ ...n2, filter:
|
|
1120
|
+
return t2({ ...n2, filter: Rn(e7.query.filter) });
|
|
1107
1121
|
}, ascending(...r2) {
|
|
1108
|
-
return t2({ ...n2, sort: [...n2.sort ?? [], ...r2.map((t3) => ({ fieldName:
|
|
1122
|
+
return t2({ ...n2, sort: [...n2.sort ?? [], ...r2.map((t3) => ({ fieldName: F(e6.transformationPaths, t3), order: `ASC` }))] });
|
|
1109
1123
|
}, descending(...r2) {
|
|
1110
|
-
return t2({ ...n2, sort: [...n2.sort ?? [], ...r2.map((t3) => ({ fieldName:
|
|
1124
|
+
return t2({ ...n2, sort: [...n2.sort ?? [], ...r2.map((t3) => ({ fieldName: F(e6.transformationPaths, t3), order: `DESC` }))] });
|
|
1111
1125
|
}, skip(e7) {
|
|
1112
1126
|
return t2({ ...n2, paging: { offset: e7, limit: `limit` in n2.paging ? n2.paging.limit : 50 } });
|
|
1113
1127
|
}, limit(r2) {
|
|
@@ -1120,84 +1134,84 @@ function Rn(e6) {
|
|
|
1120
1134
|
} });
|
|
1121
1135
|
return t2({ filter: {}, ...e6.pagingMethod === `OFFSET` ? { paging: { offset: 0, limit: 50 } } : { cursorPaging: { limit: 50 } } });
|
|
1122
1136
|
}
|
|
1123
|
-
function
|
|
1137
|
+
function F(e6, t2) {
|
|
1124
1138
|
let n2 = Object.entries(e6).find(([e7]) => e7 === t2 || t2.startsWith(`${e7}.`))?.[0];
|
|
1125
|
-
return n2 ? t2.replace(n2, e6[n2]) :
|
|
1126
|
-
}
|
|
1127
|
-
var
|
|
1128
|
-
var
|
|
1129
|
-
var
|
|
1130
|
-
var
|
|
1131
|
-
var
|
|
1132
|
-
var
|
|
1133
|
-
function
|
|
1139
|
+
return n2 ? t2.replace(n2, e6[n2]) : Ze(t2, { ...e6, ...Xe });
|
|
1140
|
+
}
|
|
1141
|
+
var Un = `filter`;
|
|
1142
|
+
var Wn = `sort`;
|
|
1143
|
+
var Gn = `cursorPaging`;
|
|
1144
|
+
var Kn = `paging`;
|
|
1145
|
+
var qn = [Un, Wn, Gn];
|
|
1146
|
+
var Jn = [Un, Wn, Kn];
|
|
1147
|
+
function Yn(e6, t2) {
|
|
1134
1148
|
return !e6 || typeof e6 != `object` ? false : t2.some((t3) => e6.hasOwnProperty(t3));
|
|
1135
1149
|
}
|
|
1136
|
-
function
|
|
1137
|
-
return
|
|
1150
|
+
function Xn(e6) {
|
|
1151
|
+
return Yn(e6, qn);
|
|
1138
1152
|
}
|
|
1139
|
-
function
|
|
1140
|
-
return
|
|
1153
|
+
function Zn(e6) {
|
|
1154
|
+
return Yn(e6, Jn);
|
|
1141
1155
|
}
|
|
1142
|
-
function
|
|
1156
|
+
function Qn(e6) {
|
|
1143
1157
|
let { hasOptionsParameter: t2 } = e6;
|
|
1144
1158
|
return function(...n2) {
|
|
1145
|
-
return t2 ?
|
|
1159
|
+
return t2 ? er(n2, e6) : $n(n2, e6);
|
|
1146
1160
|
};
|
|
1147
1161
|
}
|
|
1148
|
-
function
|
|
1162
|
+
function $n(e6, t2) {
|
|
1149
1163
|
return e6.length === 0 ? t2.builderQueryFunction() : t2.typedQueryFunction(e6[0]);
|
|
1150
1164
|
}
|
|
1151
|
-
function
|
|
1165
|
+
function er(e6, t2) {
|
|
1152
1166
|
switch (e6.length) {
|
|
1153
1167
|
case 0:
|
|
1154
1168
|
return t2.builderQueryFunction();
|
|
1155
1169
|
case 1:
|
|
1156
|
-
return
|
|
1170
|
+
return Xn(e6[0]) || Zn(e6[0]) ? t2.typedQueryFunction(e6[0]) : t2.builderQueryFunction(e6[0]);
|
|
1157
1171
|
default:
|
|
1158
1172
|
return t2.typedQueryFunction(e6[0], e6[1]);
|
|
1159
1173
|
}
|
|
1160
1174
|
}
|
|
1161
|
-
var
|
|
1162
|
-
var
|
|
1163
|
-
function
|
|
1164
|
-
return
|
|
1175
|
+
var tr = [{ path: `like.createdDate` }];
|
|
1176
|
+
var nr = [{ path: `likes.createdDate` }];
|
|
1177
|
+
function rr(e6) {
|
|
1178
|
+
return Lt(Object.assign(e6, { domainToMappings: { _: [{ srcPath: `/_api/blog-like-service`, destPath: `` }], "api._api_base_domain_": [{ srcPath: `/blog-like-service`, destPath: `` }], "social-blog._base_domain_": [{ srcPath: `/_api/blog-like-service`, destPath: `` }], "manage._base_domain_": [{ srcPath: `/_api/blog-like-service`, destPath: `` }], "apps._base_domain_": [{ srcPath: `/_api/blog-like-service`, destPath: `` }], "www.wixapis.com": [{ srcPath: `/blog/v1/likes`, destPath: `/v1/likes` }], "*.dev.wix-code.com": [{ srcPath: `/blog/v1/likes`, destPath: `/v1/likes` }] } }));
|
|
1165
1179
|
}
|
|
1166
|
-
var
|
|
1167
|
-
function
|
|
1180
|
+
var ir = `@wix/auto_sdk_blog_likes`;
|
|
1181
|
+
function ar(e6) {
|
|
1168
1182
|
function t2({ host: t3 }) {
|
|
1169
|
-
let n2 = A(e6, [{ transformFn:
|
|
1170
|
-
return { entityFqdn: `wix.blog.v1.like`, method: `POST`, methodFqn: `wix.blog.v1.LikeService.CreateLike`, packageName:
|
|
1183
|
+
let n2 = A(e6, [{ transformFn: rt, paths: tr }]);
|
|
1184
|
+
return { entityFqdn: `wix.blog.v1.like`, method: `POST`, methodFqn: `wix.blog.v1.LikeService.CreateLike`, packageName: ir, migrationOptions: { optInTransformResponse: true }, url: rr({ protoPath: `/v1/likes`, data: n2, host: t3 }), data: n2, transformResponse: (e7) => A(e7, [{ transformFn: it, paths: tr }]) };
|
|
1171
1185
|
}
|
|
1172
1186
|
return t2;
|
|
1173
1187
|
}
|
|
1174
|
-
function
|
|
1188
|
+
function or(e6) {
|
|
1175
1189
|
function t2({ host: t3 }) {
|
|
1176
|
-
return { entityFqdn: `wix.blog.v1.like`, method: `POST`, methodFqn: `wix.blog.v1.LikeService.QueryLikes`, packageName:
|
|
1190
|
+
return { entityFqdn: `wix.blog.v1.like`, method: `POST`, methodFqn: `wix.blog.v1.LikeService.QueryLikes`, packageName: ir, migrationOptions: { optInTransformResponse: true }, url: rr({ protoPath: `/v1/likes/query`, data: e6, host: t3 }), data: e6, transformResponse: (e7) => A(e7, [{ transformFn: it, paths: nr }]) };
|
|
1177
1191
|
}
|
|
1178
1192
|
return t2;
|
|
1179
1193
|
}
|
|
1180
|
-
function
|
|
1194
|
+
function sr(e6) {
|
|
1181
1195
|
function t2({ host: t3 }) {
|
|
1182
|
-
return { entityFqdn: `wix.blog.v1.like`, method: `DELETE`, methodFqn: `wix.blog.v1.LikeService.DeleteLikeByFqdnAndEntityId`, packageName:
|
|
1196
|
+
return { entityFqdn: `wix.blog.v1.like`, method: `DELETE`, methodFqn: `wix.blog.v1.LikeService.DeleteLikeByFqdnAndEntityId`, packageName: ir, migrationOptions: { optInTransformResponse: true }, url: rr({ protoPath: `/v1/likes/fqdn/{fqdn}/entity-id/{entityId}`, data: e6, host: t3 }), params: It(e6) };
|
|
1183
1197
|
}
|
|
1184
1198
|
return t2;
|
|
1185
1199
|
}
|
|
1186
|
-
async function
|
|
1187
|
-
let { httpClient: t2, sideEffects: n2 } = arguments[1], r2 =
|
|
1200
|
+
async function cr(e6) {
|
|
1201
|
+
let { httpClient: t2, sideEffects: n2 } = arguments[1], r2 = ar(O({ like: e6?.like }));
|
|
1188
1202
|
n2?.onSiteCall?.();
|
|
1189
1203
|
try {
|
|
1190
1204
|
let e7 = await t2.request(r2);
|
|
1191
|
-
return n2?.onSuccess?.(e7),
|
|
1205
|
+
return n2?.onSuccess?.(e7), nt(e7.data)?.like;
|
|
1192
1206
|
} catch (e7) {
|
|
1193
1207
|
let t3 = j(e7, { spreadPathsToArguments: {}, explicitPathsToArguments: { like: `$[0].like` }, singleArgumentUnchanged: false }, [`options`]);
|
|
1194
1208
|
throw n2?.onError?.(e7), t3;
|
|
1195
1209
|
}
|
|
1196
1210
|
}
|
|
1197
|
-
function
|
|
1211
|
+
function lr() {
|
|
1198
1212
|
let { httpClient: e6, sideEffects: t2 } = arguments[0];
|
|
1199
|
-
return
|
|
1200
|
-
let r2 =
|
|
1213
|
+
return Hn({ func: async (n2) => {
|
|
1214
|
+
let r2 = or(n2);
|
|
1201
1215
|
t2?.onSiteCall?.();
|
|
1202
1216
|
try {
|
|
1203
1217
|
let n3 = await e6.request(r2);
|
|
@@ -1207,27 +1221,27 @@ function ar() {
|
|
|
1207
1221
|
}
|
|
1208
1222
|
}, requestTransformer: (e7) => {
|
|
1209
1223
|
let t3 = [e7, {}];
|
|
1210
|
-
return
|
|
1224
|
+
return O({ ...t3?.[1], query: t3?.[0] });
|
|
1211
1225
|
}, responseTransformer: ({ data: e7 }) => {
|
|
1212
|
-
let t3 =
|
|
1226
|
+
let t3 = nt(A(e7, []));
|
|
1213
1227
|
return { items: t3?.likes, pagingMetadata: t3?.pagingMetadata };
|
|
1214
1228
|
}, errorTransformer: (e7) => {
|
|
1215
1229
|
throw j(e7, { spreadPathsToArguments: {}, explicitPathsToArguments: { query: `$[0]` }, singleArgumentUnchanged: false });
|
|
1216
1230
|
}, pagingMethod: `CURSOR`, transformationPaths: {} });
|
|
1217
1231
|
}
|
|
1218
|
-
async function
|
|
1219
|
-
let { httpClient: t2, sideEffects: n2 } = arguments[1], r2 =
|
|
1232
|
+
async function ur(e6) {
|
|
1233
|
+
let { httpClient: t2, sideEffects: n2 } = arguments[1], r2 = or(O({ query: e6 }));
|
|
1220
1234
|
n2?.onSiteCall?.();
|
|
1221
1235
|
try {
|
|
1222
1236
|
let e7 = await t2.request(r2);
|
|
1223
|
-
return n2?.onSuccess?.(e7),
|
|
1237
|
+
return n2?.onSuccess?.(e7), nt(e7.data);
|
|
1224
1238
|
} catch (e7) {
|
|
1225
1239
|
let t3 = j(e7, { spreadPathsToArguments: {}, explicitPathsToArguments: { query: `$[0]` }, singleArgumentUnchanged: false }, [`query`]);
|
|
1226
1240
|
throw n2?.onError?.(e7), t3;
|
|
1227
1241
|
}
|
|
1228
1242
|
}
|
|
1229
|
-
async function
|
|
1230
|
-
let { httpClient: t2, sideEffects: n2 } = arguments[1], r2 =
|
|
1243
|
+
async function dr(e6) {
|
|
1244
|
+
let { httpClient: t2, sideEffects: n2 } = arguments[1], r2 = sr(O({ fqdn: e6?.fqdn, entityId: e6?.entityId }));
|
|
1231
1245
|
n2?.onSiteCall?.();
|
|
1232
1246
|
try {
|
|
1233
1247
|
let e7 = await t2.request(r2);
|
|
@@ -1237,68 +1251,68 @@ async function sr(e6) {
|
|
|
1237
1251
|
throw n2?.onError?.(e7), t3;
|
|
1238
1252
|
}
|
|
1239
1253
|
}
|
|
1240
|
-
function
|
|
1241
|
-
return (t2) =>
|
|
1254
|
+
function fr(e6) {
|
|
1255
|
+
return (t2) => cr(t2, { httpClient: e6 });
|
|
1242
1256
|
}
|
|
1243
|
-
function
|
|
1244
|
-
return () =>
|
|
1257
|
+
function pr(e6) {
|
|
1258
|
+
return () => lr({ httpClient: e6 });
|
|
1245
1259
|
}
|
|
1246
|
-
function
|
|
1247
|
-
return (t2) =>
|
|
1260
|
+
function mr(e6) {
|
|
1261
|
+
return (t2) => ur(t2, { httpClient: e6 });
|
|
1248
1262
|
}
|
|
1249
|
-
function
|
|
1250
|
-
return (t2) =>
|
|
1263
|
+
function hr(e6) {
|
|
1264
|
+
return (t2) => dr(t2, { httpClient: e6 });
|
|
1251
1265
|
}
|
|
1252
|
-
function
|
|
1253
|
-
let t2 =
|
|
1266
|
+
function gr(e6) {
|
|
1267
|
+
let t2 = Qn({ builderQueryFunction: () => pr(e6)(), typedQueryFunction: (t3) => mr(e6)(t3), hasOptionsParameter: false });
|
|
1254
1268
|
function n2(e7) {
|
|
1255
1269
|
return t2(...arguments);
|
|
1256
1270
|
}
|
|
1257
1271
|
return n2;
|
|
1258
1272
|
}
|
|
1259
|
-
var
|
|
1260
|
-
var
|
|
1261
|
-
var
|
|
1262
|
-
var
|
|
1263
|
-
function
|
|
1264
|
-
return
|
|
1273
|
+
var _r = Ft(fr);
|
|
1274
|
+
var vr = Ft(hr);
|
|
1275
|
+
var yr = Ft(gr);
|
|
1276
|
+
var br = [{ path: `metrics.averageRating` }];
|
|
1277
|
+
function xr(e6) {
|
|
1278
|
+
return Lt(Object.assign(e6, { domainToMappings: { _: [{ srcPath: `/_api/communities-blog-node-api/v3/posts`, destPath: `/v3/posts` }], "apps._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/posts`, destPath: `/v3/posts` }], "www._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/posts`, destPath: `/v3/posts` }], "www.wixapis.com": [{ srcPath: `/v3/posts`, destPath: `/v3/posts` }, { srcPath: `/blog/v3/posts`, destPath: `/v3/posts` }, { srcPath: `/_api/v3/posts`, destPath: `/v3/posts` }], "manage._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/posts`, destPath: `/v3/posts` }, { srcPath: `/_api/post-service-api-proxy/v3/bulk/posts`, destPath: `/v3/bulk/posts` }], "*.dev.wix-code.com": [{ srcPath: `/_api/communities-blog-node-api/v3/posts`, destPath: `/v3/posts` }], "editor._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/posts`, destPath: `/v3/posts` }], "blocks._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/posts`, destPath: `/v3/posts` }], "create.editorx": [{ srcPath: `/_api/communities-blog-node-api/v3/posts`, destPath: `/v3/posts` }], "editor.wixapps.net": [{ srcPath: `/_api/communities-blog-node-api/v3/posts`, destPath: `/v3/posts` }], "dev._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/posts`, destPath: `/v3/posts` }] } }));
|
|
1265
1279
|
}
|
|
1266
|
-
var
|
|
1267
|
-
function
|
|
1280
|
+
var Sr = `@wix/auto_sdk_blog_posts`;
|
|
1281
|
+
function Cr(e6) {
|
|
1268
1282
|
function t2({ host: t3 }) {
|
|
1269
|
-
return { entityFqdn: `wix.blog.v3.post`, method: `GET`, methodFqn: `com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostMetrics`, packageName:
|
|
1283
|
+
return { entityFqdn: `wix.blog.v3.post`, method: `GET`, methodFqn: `com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostMetrics`, packageName: Sr, migrationOptions: { optInTransformResponse: true }, url: xr({ protoPath: `/v3/posts/{postId}/metrics`, data: e6, host: t3 }), params: It(e6), transformResponse: (e7) => A(e7, [{ transformFn: un, paths: br }]) };
|
|
1270
1284
|
}
|
|
1271
1285
|
return t2;
|
|
1272
1286
|
}
|
|
1273
|
-
async function
|
|
1274
|
-
let { httpClient: t2, sideEffects: n2 } = arguments[1], r2 =
|
|
1287
|
+
async function wr(e6) {
|
|
1288
|
+
let { httpClient: t2, sideEffects: n2 } = arguments[1], r2 = Cr(O({ postId: e6 }, []));
|
|
1275
1289
|
n2?.onSiteCall?.();
|
|
1276
1290
|
try {
|
|
1277
1291
|
let e7 = await t2.request(r2);
|
|
1278
|
-
return n2?.onSuccess?.(e7),
|
|
1292
|
+
return n2?.onSuccess?.(e7), nt(e7.data, []);
|
|
1279
1293
|
} catch (e7) {
|
|
1280
1294
|
let t3 = j(e7, { spreadPathsToArguments: {}, explicitPathsToArguments: { postId: `$[0]` }, singleArgumentUnchanged: false }, [`postId`]);
|
|
1281
1295
|
throw n2?.onError?.(e7), t3;
|
|
1282
1296
|
}
|
|
1283
1297
|
}
|
|
1284
|
-
function
|
|
1285
|
-
return (t2) =>
|
|
1298
|
+
function Tr(e6) {
|
|
1299
|
+
return (t2) => wr(t2, { httpClient: e6 });
|
|
1286
1300
|
}
|
|
1287
|
-
var
|
|
1288
|
-
var
|
|
1289
|
-
var
|
|
1290
|
-
await
|
|
1301
|
+
var Er = Ft(Tr);
|
|
1302
|
+
var Dr = `wix.blog.v3.post`;
|
|
1303
|
+
var Or = async (e6) => {
|
|
1304
|
+
await _r({ like: { entityId: e6, fqdn: Dr } });
|
|
1291
1305
|
};
|
|
1292
|
-
var
|
|
1293
|
-
await
|
|
1306
|
+
var kr = async (e6) => {
|
|
1307
|
+
await vr({ fqdn: Dr, entityId: e6 });
|
|
1294
1308
|
};
|
|
1295
|
-
var
|
|
1296
|
-
var
|
|
1297
|
-
var
|
|
1309
|
+
var Ar = 100;
|
|
1310
|
+
var I;
|
|
1311
|
+
var jr = (e6) => {
|
|
1298
1312
|
let t2 = [...e6.keys()];
|
|
1299
|
-
for (let n2 = 0; n2 < t2.length; n2 +=
|
|
1300
|
-
let r2 = t2.slice(n2, n2 +
|
|
1301
|
-
|
|
1313
|
+
for (let n2 = 0; n2 < t2.length; n2 += Ar) {
|
|
1314
|
+
let r2 = t2.slice(n2, n2 + Ar);
|
|
1315
|
+
yr().eq(`fqdn`, Dr).in(`entityId`, r2).limit(r2.length).find().then(({ items: t3 }) => {
|
|
1302
1316
|
let n3 = new Set(t3.map((e7) => e7.entityId));
|
|
1303
1317
|
for (let t4 of r2) e6.get(t4)?.forEach((e7) => e7.resolve(n3.has(t4)));
|
|
1304
1318
|
}, (t3) => {
|
|
@@ -1306,54 +1320,54 @@ var Dr = (e6) => {
|
|
|
1306
1320
|
});
|
|
1307
1321
|
}
|
|
1308
1322
|
};
|
|
1309
|
-
var
|
|
1310
|
-
if (!
|
|
1323
|
+
var Mr = (e6) => new Promise((t2, n2) => {
|
|
1324
|
+
if (!I) {
|
|
1311
1325
|
let e7 = /* @__PURE__ */ new Map();
|
|
1312
|
-
|
|
1313
|
-
|
|
1326
|
+
I = e7, setTimeout(() => {
|
|
1327
|
+
I = void 0, jr(e7);
|
|
1314
1328
|
});
|
|
1315
1329
|
}
|
|
1316
|
-
|
|
1330
|
+
I.set(e6, [...I.get(e6) ?? [], { resolve: t2, reject: n2 }]);
|
|
1317
1331
|
});
|
|
1318
|
-
var
|
|
1319
|
-
var
|
|
1320
|
-
let [n2, r2] = await Promise.allSettled([
|
|
1321
|
-
return { liked: n2.status === `fulfilled` && n2.value, likeCount:
|
|
1332
|
+
var Nr = (e6) => typeof e6 == `number` ? e6 : void 0;
|
|
1333
|
+
var Pr = async (e6, t2 = true) => {
|
|
1334
|
+
let [n2, r2] = await Promise.allSettled([Mr(e6), t2 ? Er(e6) : void 0]), i2 = r2.status === `fulfilled` ? r2.value?.metrics : void 0;
|
|
1335
|
+
return { liked: n2.status === `fulfilled` && n2.value, likeCount: Nr(i2?.likes), viewCount: Nr(i2?.views), commentCount: Nr(i2?.comments) };
|
|
1322
1336
|
};
|
|
1323
|
-
function
|
|
1337
|
+
function L(e6) {
|
|
1324
1338
|
return e6;
|
|
1325
1339
|
}
|
|
1326
|
-
var
|
|
1327
|
-
var
|
|
1340
|
+
var Fr = L(`@wix/site-service-editor-context`);
|
|
1341
|
+
var Ir = () => {
|
|
1328
1342
|
try {
|
|
1329
|
-
return !!(0, import_services_manager_react.useService)(
|
|
1343
|
+
return !!(0, import_services_manager_react.useService)(Fr).previewMode;
|
|
1330
1344
|
} catch {
|
|
1331
1345
|
return false;
|
|
1332
1346
|
}
|
|
1333
1347
|
};
|
|
1334
|
-
var
|
|
1335
|
-
var
|
|
1348
|
+
var Lr = L(`@wix/viewer-service-site-members`);
|
|
1349
|
+
var Rr = () => {
|
|
1336
1350
|
try {
|
|
1337
|
-
return (0, import_services_manager_react.useService)(
|
|
1351
|
+
return (0, import_services_manager_react.useService)(Lr);
|
|
1338
1352
|
} catch {
|
|
1339
1353
|
return;
|
|
1340
1354
|
}
|
|
1341
1355
|
};
|
|
1342
|
-
var
|
|
1343
|
-
var
|
|
1344
|
-
var
|
|
1356
|
+
var zr = { liked: false, baselineLiked: false, freshLikeCount: void 0, viewCount: void 0, commentCount: void 0, isLikeCountLoaded: false };
|
|
1357
|
+
var R = `wix-blog:post-like-toggled`;
|
|
1358
|
+
var Br = () => {
|
|
1345
1359
|
let e6 = window;
|
|
1346
|
-
return e6[
|
|
1360
|
+
return e6[R] ??= /* @__PURE__ */ new Map();
|
|
1347
1361
|
};
|
|
1348
|
-
var
|
|
1349
|
-
|
|
1362
|
+
var Vr = (e6) => {
|
|
1363
|
+
Br().set(e6.postId, e6.liked), window.dispatchEvent(new CustomEvent(R, { detail: e6 }));
|
|
1350
1364
|
};
|
|
1351
|
-
var
|
|
1352
|
-
var
|
|
1353
|
-
let d2 =
|
|
1365
|
+
var Hr = (e6, t2) => ({ isLiked: e6.liked, likeCount: Math.max(0, (e6.freshLikeCount ?? t2) + Number(e6.liked) - Number(e6.baselineLiked)), isLikeCountLoaded: e6.isLikeCountLoaded, viewCount: e6.viewCount, commentCount: e6.commentCount });
|
|
1366
|
+
var Ur = (e6, t2, n2 = false, a2, u2 = true) => {
|
|
1367
|
+
let d2 = Ir() || n2, [f2, p2] = (0, import_react.useState)(zr), m2 = (0, import_react.useRef)(zr), h2 = (0, import_react.useRef)(t2), g2 = (0, import_react.useRef)(/* @__PURE__ */ new Set()), _2 = (0, import_react.useRef)(false), v2 = (0, import_react.useRef)(false), y2 = (0, import_react.useRef)(void 0), b2 = Rr(), [x2, S2] = (0, import_react.useState)(0);
|
|
1354
1368
|
(0, import_react.useEffect)(() => {
|
|
1355
1369
|
let e7 = b2?.addMemberLoginListener?.(() => {
|
|
1356
|
-
|
|
1370
|
+
Br().clear(), S2((e8) => e8 + 1);
|
|
1357
1371
|
});
|
|
1358
1372
|
return () => {
|
|
1359
1373
|
e7 !== void 0 && b2?.removeMemberLoginListener?.(e7);
|
|
@@ -1362,21 +1376,21 @@ var zr = (e6, t2, n2 = false, a2, u2 = true) => {
|
|
|
1362
1376
|
let C2 = (0, import_react.useCallback)((e7) => {
|
|
1363
1377
|
let t3 = m2.current, n3 = { ...t3, ...e7 };
|
|
1364
1378
|
Object.keys(n3).every((e8) => n3[e8] === t3[e8]) || (m2.current = n3, g2.current.forEach((e8) => e8()), (0, import_react.startTransition)(() => p2(n3)));
|
|
1365
|
-
}, []),
|
|
1379
|
+
}, []), ee2 = (0, import_react.useMemo)(() => ({ get: () => Hr(m2.current, h2.current), subscribe: (e7) => (g2.current.add(e7), () => {
|
|
1366
1380
|
g2.current.delete(e7);
|
|
1367
1381
|
}) }), []);
|
|
1368
1382
|
(0, import_react.useEffect)(() => {
|
|
1369
1383
|
h2.current !== t2 && (h2.current = t2, g2.current.forEach((e7) => e7()));
|
|
1370
1384
|
}, [t2]), (0, import_react.useEffect)(() => {
|
|
1371
|
-
if (y2.current !== e6 && (y2.current = e6, C2(
|
|
1385
|
+
if (y2.current !== e6 && (y2.current = e6, C2(zr)), v2.current = false, !e6 || d2) {
|
|
1372
1386
|
C2({ isLikeCountLoaded: true });
|
|
1373
1387
|
return;
|
|
1374
1388
|
}
|
|
1375
1389
|
let t3 = false;
|
|
1376
|
-
return
|
|
1390
|
+
return Pr(e6, u2).then(({ liked: e7, likeCount: n3, viewCount: r2, commentCount: i2 }) => {
|
|
1377
1391
|
t3 || C2({ isLikeCountLoaded: true, viewCount: r2, commentCount: i2, baselineLiked: e7, freshLikeCount: n3, ...!v2.current && { liked: e7 } });
|
|
1378
1392
|
}).catch((n3) => {
|
|
1379
|
-
t3 || C2({ isLikeCountLoaded: true }),
|
|
1393
|
+
t3 || C2({ isLikeCountLoaded: true }), Nn(a2, n3, { feature: jn.likes, action: `read-like-state`, level: `warning`, contexts: { likes: { postId: e6 } } });
|
|
1380
1394
|
}), () => {
|
|
1381
1395
|
t3 = true;
|
|
1382
1396
|
};
|
|
@@ -1384,54 +1398,54 @@ var zr = (e6, t2, n2 = false, a2, u2 = true) => {
|
|
|
1384
1398
|
if (!e6) return;
|
|
1385
1399
|
let t3 = (e7) => {
|
|
1386
1400
|
v2.current = true, C2({ liked: e7 });
|
|
1387
|
-
}, n3 =
|
|
1401
|
+
}, n3 = Br().get(e6);
|
|
1388
1402
|
n3 !== void 0 && t3(n3);
|
|
1389
1403
|
let r2 = (n4) => {
|
|
1390
1404
|
let { detail: r3 } = n4;
|
|
1391
1405
|
r3.postId === e6 && t3(r3.liked);
|
|
1392
1406
|
};
|
|
1393
|
-
return window.addEventListener(
|
|
1407
|
+
return window.addEventListener(R, r2), () => window.removeEventListener(R, r2);
|
|
1394
1408
|
}, [e6, C2]);
|
|
1395
|
-
let
|
|
1409
|
+
let w2 = (0, import_react.useCallback)(async (t3) => {
|
|
1396
1410
|
if (!e6 || _2.current) return;
|
|
1397
1411
|
v2.current = true;
|
|
1398
1412
|
let n3 = !m2.current.liked;
|
|
1399
|
-
if (C2({ liked: n3 }),
|
|
1413
|
+
if (C2({ liked: n3 }), Vr({ postId: e6, liked: n3 }), !d2) {
|
|
1400
1414
|
_2.current = true;
|
|
1401
1415
|
try {
|
|
1402
|
-
await (n3 ?
|
|
1416
|
+
await (n3 ? Or(e6) : kr(e6));
|
|
1403
1417
|
} catch (t4) {
|
|
1404
|
-
C2({ liked: !n3 }),
|
|
1418
|
+
C2({ liked: !n3 }), Vr({ postId: e6, liked: !n3 }), Nn(a2, t4, { feature: jn.likes, action: n3 ? `like-post` : `unlike-post`, contexts: { likes: { postId: e6 } } });
|
|
1405
1419
|
} finally {
|
|
1406
1420
|
_2.current = false;
|
|
1407
1421
|
}
|
|
1408
1422
|
}
|
|
1409
1423
|
}, [e6, d2, a2, C2]);
|
|
1410
|
-
return { ...
|
|
1424
|
+
return { ...Hr(f2, t2), toggleLike: w2, liveLikes: ee2 };
|
|
1411
1425
|
};
|
|
1412
|
-
var
|
|
1413
|
-
var
|
|
1414
|
-
var
|
|
1426
|
+
var Wr = L(`@wix/site-service-locale`);
|
|
1427
|
+
var Gr = L(`@wix/site-service-renderer-configuration`);
|
|
1428
|
+
var Kr = () => {
|
|
1415
1429
|
let e6;
|
|
1416
1430
|
try {
|
|
1417
|
-
let { multilingualEnabled: t3,
|
|
1418
|
-
t3 &&
|
|
1431
|
+
let { multilingualEnabled: t3, locales: n3, languageCode: r2 } = (0, import_services_manager_react.useService)(Gr), i2 = n3.filter((e7) => e7.languageCode === r2), a2 = n3.find(({ id: e7 }) => e7 === r2) ?? (i2.length === 1 ? i2[0] : void 0);
|
|
1432
|
+
t3 && a2 && !a2.primaryLocale && (e6 = a2.regionalFormat);
|
|
1419
1433
|
} catch {
|
|
1420
1434
|
}
|
|
1421
1435
|
let t2, n2;
|
|
1422
1436
|
try {
|
|
1423
|
-
({ locale: t2, language: n2 } = (0, import_services_manager_react.useService)(
|
|
1437
|
+
({ locale: t2, language: n2 } = (0, import_services_manager_react.useService)(Wr));
|
|
1424
1438
|
} catch {
|
|
1425
1439
|
}
|
|
1426
1440
|
return e6 || t2 || n2;
|
|
1427
1441
|
};
|
|
1428
|
-
var
|
|
1442
|
+
var qr = () => {
|
|
1429
1443
|
let e6 = /* @__PURE__ */ new Map();
|
|
1430
1444
|
return { getOrInsert: (t2, n2) => (e6.has(t2) || e6.set(t2, n2().finally(() => {
|
|
1431
1445
|
e6.delete(t2);
|
|
1432
1446
|
})), e6.get(t2)) };
|
|
1433
1447
|
};
|
|
1434
|
-
var
|
|
1448
|
+
var Jr = async (e6) => {
|
|
1435
1449
|
try {
|
|
1436
1450
|
let { default: t2 } = await e6();
|
|
1437
1451
|
return t2;
|
|
@@ -1439,9 +1453,9 @@ var Wr = async (e6) => {
|
|
|
1439
1453
|
return;
|
|
1440
1454
|
}
|
|
1441
1455
|
};
|
|
1442
|
-
var
|
|
1443
|
-
let r2 =
|
|
1444
|
-
let [i3, a2] = await Promise.all([
|
|
1456
|
+
var Yr = ({ isDev: e6, loadMessages: t2, loadDevMessages: n2 }) => {
|
|
1457
|
+
let r2 = qr(), i2 = async (r3) => {
|
|
1458
|
+
let [i3, a2] = await Promise.all([Jr(() => t2(r3)), !e6 || !n2 ? void 0 : Jr(() => n2(r3))]);
|
|
1445
1459
|
if (i3 && a2) return { ...i3, ...a2 };
|
|
1446
1460
|
if (i3) return i3;
|
|
1447
1461
|
if (a2) return a2;
|
|
@@ -1449,32 +1463,32 @@ var Gr = ({ isDev: e6, loadMessages: t2, loadDevMessages: n2 }) => {
|
|
|
1449
1463
|
};
|
|
1450
1464
|
return (e7) => r2.getOrInsert(e7, () => i2(e7));
|
|
1451
1465
|
};
|
|
1452
|
-
var
|
|
1453
|
-
var
|
|
1466
|
+
var z = (e6) => typeof e6 == `string`;
|
|
1467
|
+
var B = () => {
|
|
1454
1468
|
let e6, t2, n2 = new Promise((n3, r2) => {
|
|
1455
1469
|
e6 = n3, t2 = r2;
|
|
1456
1470
|
});
|
|
1457
1471
|
return n2.resolve = e6, n2.reject = t2, n2;
|
|
1458
1472
|
};
|
|
1459
|
-
var
|
|
1460
|
-
var
|
|
1473
|
+
var V = (e6) => e6 == null ? `` : String(e6);
|
|
1474
|
+
var Xr = (e6, t2, n2) => {
|
|
1461
1475
|
e6.forEach((e7) => {
|
|
1462
1476
|
t2[e7] && (n2[e7] = t2[e7]);
|
|
1463
1477
|
});
|
|
1464
1478
|
};
|
|
1465
|
-
var
|
|
1466
|
-
var
|
|
1467
|
-
var
|
|
1479
|
+
var Zr = /###/g;
|
|
1480
|
+
var Qr = (e6) => e6 && e6.includes(`###`) ? e6.replace(Zr, `.`) : e6;
|
|
1481
|
+
var $r = (e6) => !e6 || z(e6);
|
|
1468
1482
|
var H = (e6, t2, n2) => {
|
|
1469
|
-
let r2 =
|
|
1483
|
+
let r2 = z(t2) ? t2.split(`.`) : t2, i2 = 0;
|
|
1470
1484
|
for (; i2 < r2.length - 1; ) {
|
|
1471
|
-
if (
|
|
1472
|
-
let t3 =
|
|
1485
|
+
if ($r(e6)) return {};
|
|
1486
|
+
let t3 = Qr(r2[i2]);
|
|
1473
1487
|
!e6[t3] && n2 && (e6[t3] = new n2()), e6 = Object.prototype.hasOwnProperty.call(e6, t3) ? e6[t3] : {}, ++i2;
|
|
1474
1488
|
}
|
|
1475
|
-
return
|
|
1489
|
+
return $r(e6) ? {} : { obj: e6, k: Qr(r2[i2]) };
|
|
1476
1490
|
};
|
|
1477
|
-
var
|
|
1491
|
+
var ei = (e6, t2, n2) => {
|
|
1478
1492
|
let { obj: r2, k: i2 } = H(e6, t2, Object);
|
|
1479
1493
|
if (r2 !== void 0 || t2.length === 1) {
|
|
1480
1494
|
r2[i2] = n2;
|
|
@@ -1484,26 +1498,26 @@ var Zr = (e6, t2, n2) => {
|
|
|
1484
1498
|
for (; s2.obj === void 0 && o2.length; ) a2 = `${o2[o2.length - 1]}.${a2}`, o2 = o2.slice(0, o2.length - 1), s2 = H(e6, o2, Object), s2?.obj && s2.obj[`${s2.k}.${a2}`] !== void 0 && (s2.obj = void 0);
|
|
1485
1499
|
s2.obj[`${s2.k}.${a2}`] = n2;
|
|
1486
1500
|
};
|
|
1487
|
-
var
|
|
1501
|
+
var ti = (e6, t2, n2, r2) => {
|
|
1488
1502
|
let { obj: i2, k: a2 } = H(e6, t2, Object);
|
|
1489
1503
|
i2[a2] = i2[a2] || [], i2[a2].push(n2);
|
|
1490
1504
|
};
|
|
1491
|
-
var
|
|
1505
|
+
var ni = (e6, t2) => {
|
|
1492
1506
|
let { obj: n2, k: r2 } = H(e6, t2);
|
|
1493
1507
|
if (n2 && Object.prototype.hasOwnProperty.call(n2, r2)) return n2[r2];
|
|
1494
1508
|
};
|
|
1495
|
-
var
|
|
1496
|
-
let r2 =
|
|
1497
|
-
return r2 === void 0 ?
|
|
1509
|
+
var ri = (e6, t2, n2) => {
|
|
1510
|
+
let r2 = ni(e6, n2);
|
|
1511
|
+
return r2 === void 0 ? ni(t2, n2) : r2;
|
|
1498
1512
|
};
|
|
1499
|
-
var
|
|
1500
|
-
for (let r2 in t2) r2 !== `__proto__` && r2 !== `constructor` && (Object.prototype.hasOwnProperty.call(e6, r2) ?
|
|
1513
|
+
var ii = (e6, t2, n2) => {
|
|
1514
|
+
for (let r2 in t2) r2 !== `__proto__` && r2 !== `constructor` && (Object.prototype.hasOwnProperty.call(e6, r2) ? z(e6[r2]) || e6[r2] instanceof String || z(t2[r2]) || t2[r2] instanceof String ? n2 && (e6[r2] = t2[r2]) : ii(e6[r2], t2[r2], n2) : e6[r2] = t2[r2]);
|
|
1501
1515
|
return e6;
|
|
1502
1516
|
};
|
|
1503
|
-
var
|
|
1504
|
-
var
|
|
1505
|
-
var
|
|
1506
|
-
var
|
|
1517
|
+
var U = (e6) => e6.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, `\\$&`);
|
|
1518
|
+
var ai = { "&": `&`, "<": `<`, ">": `>`, '"': `"`, "'": `'`, "/": `/` };
|
|
1519
|
+
var oi = (e6) => z(e6) ? e6.replace(/[&<>"'\/]/g, (e7) => ai[e7]) : e6;
|
|
1520
|
+
var si = class {
|
|
1507
1521
|
constructor(e6) {
|
|
1508
1522
|
this.capacity = e6, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
|
|
1509
1523
|
}
|
|
@@ -1514,27 +1528,27 @@ var ri = class {
|
|
|
1514
1528
|
return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e6, n2), this.regExpQueue.push(e6), n2;
|
|
1515
1529
|
}
|
|
1516
1530
|
};
|
|
1517
|
-
var
|
|
1518
|
-
var
|
|
1519
|
-
var
|
|
1531
|
+
var ci = [` `, `,`, `?`, `!`, `;`];
|
|
1532
|
+
var li = new si(20);
|
|
1533
|
+
var ui = (e6, t2, n2) => {
|
|
1520
1534
|
t2 ||= ``, n2 ||= ``;
|
|
1521
|
-
let r2 =
|
|
1535
|
+
let r2 = ci.filter((e7) => !t2.includes(e7) && !n2.includes(e7));
|
|
1522
1536
|
if (r2.length === 0) return true;
|
|
1523
|
-
let i2 =
|
|
1537
|
+
let i2 = li.getRegExp(`(${r2.map((e7) => e7 === `?` ? `\\?` : e7).join(`|`)})`), a2 = !i2.test(e6);
|
|
1524
1538
|
if (!a2) {
|
|
1525
1539
|
let t3 = e6.indexOf(n2);
|
|
1526
1540
|
t3 > 0 && !i2.test(e6.substring(0, t3)) && (a2 = true);
|
|
1527
1541
|
}
|
|
1528
1542
|
return a2;
|
|
1529
1543
|
};
|
|
1530
|
-
var
|
|
1544
|
+
var di = (e6, t2, n2 = `.`) => {
|
|
1531
1545
|
if (!e6) return;
|
|
1532
1546
|
if (e6[t2]) return Object.prototype.hasOwnProperty.call(e6, t2) ? e6[t2] : void 0;
|
|
1533
1547
|
let r2 = t2.split(n2), i2 = e6;
|
|
1534
1548
|
for (let e7 = 0; e7 < r2.length; ) {
|
|
1535
1549
|
if (!i2 || typeof i2 != `object`) return;
|
|
1536
1550
|
let t3, a2 = ``;
|
|
1537
|
-
for (let o2 = e7; o2 < r2.length; ++o2) if (o2 !== e7 && (a2 += n2), a2 += r2[o2], t3 = i2[a2], t3 !== void 0) {
|
|
1551
|
+
for (let o2 = e7; o2 < r2.length; ++o2) if (o2 !== e7 && (a2 += n2), a2 += r2[o2], t3 = i2[a2], (typeof t3 == `function` || a2 === `__proto__`) && !Object.prototype.hasOwnProperty.call(i2, a2) && (t3 = void 0), t3 !== void 0) {
|
|
1538
1552
|
if ([`string`, `number`, `boolean`].includes(typeof t3) && o2 < r2.length - 1) continue;
|
|
1539
1553
|
e7 += o2 - e7 + 1;
|
|
1540
1554
|
break;
|
|
@@ -1543,8 +1557,8 @@ var si = (e6, t2, n2 = `.`) => {
|
|
|
1543
1557
|
}
|
|
1544
1558
|
return i2;
|
|
1545
1559
|
};
|
|
1546
|
-
var
|
|
1547
|
-
var
|
|
1560
|
+
var W = (e6) => e6?.replace(/_/g, `-`);
|
|
1561
|
+
var fi = { type: `logger`, log(e6) {
|
|
1548
1562
|
this.output(`log`, e6);
|
|
1549
1563
|
}, warn(e6) {
|
|
1550
1564
|
this.output(`warn`, e6);
|
|
@@ -1553,12 +1567,12 @@ var ci = { type: `logger`, log(e6) {
|
|
|
1553
1567
|
}, output(e6, t2) {
|
|
1554
1568
|
console?.[e6]?.apply?.(console, t2);
|
|
1555
1569
|
} };
|
|
1556
|
-
var
|
|
1570
|
+
var G = new class e2 {
|
|
1557
1571
|
constructor(e6, t2 = {}) {
|
|
1558
1572
|
this.init(e6, t2);
|
|
1559
1573
|
}
|
|
1560
1574
|
init(e6, t2 = {}) {
|
|
1561
|
-
this.prefix = t2.prefix || `i18next:`, this.logger = e6 ||
|
|
1575
|
+
this.prefix = t2.prefix || `i18next:`, this.logger = e6 || fi, this.options = t2, this.debug = t2.debug;
|
|
1562
1576
|
}
|
|
1563
1577
|
log(...e6) {
|
|
1564
1578
|
return this.forward(e6, `log`, ``, true);
|
|
@@ -1573,7 +1587,7 @@ var K = new class e2 {
|
|
|
1573
1587
|
return this.forward(e6, `warn`, `WARNING DEPRECATED: `, true);
|
|
1574
1588
|
}
|
|
1575
1589
|
forward(e6, t2, n2, r2) {
|
|
1576
|
-
return r2 && !this.debug ? null : (e6 = e6.map((e7) =>
|
|
1590
|
+
return r2 && !this.debug ? null : (e6 = e6.map((e7) => z(e7) ? e7.replace(/[\r\n\x00-\x1F\x7F]/g, ` `) : e7), z(e6[0]) && (e6[0] = `${n2}${this.prefix} ${e6[0]}`), this.logger[t2](e6));
|
|
1577
1591
|
}
|
|
1578
1592
|
create(t2) {
|
|
1579
1593
|
return new e2(this.logger, { prefix: `${this.prefix}:${t2}:`, ...this.options });
|
|
@@ -1582,7 +1596,7 @@ var K = new class e2 {
|
|
|
1582
1596
|
return t2 ||= this.options, t2.prefix = t2.prefix || this.prefix, new e2(this.logger, t2);
|
|
1583
1597
|
}
|
|
1584
1598
|
}();
|
|
1585
|
-
var
|
|
1599
|
+
var pi = class {
|
|
1586
1600
|
constructor() {
|
|
1587
1601
|
this.observers = {};
|
|
1588
1602
|
}
|
|
@@ -1610,8 +1624,8 @@ var li = class {
|
|
|
1610
1624
|
});
|
|
1611
1625
|
}
|
|
1612
1626
|
};
|
|
1613
|
-
var
|
|
1614
|
-
var
|
|
1627
|
+
var mi = /* @__PURE__ */ new WeakSet();
|
|
1628
|
+
var hi = class extends pi {
|
|
1615
1629
|
constructor(e6, t2 = { ns: [`translation`], defaultNS: `translation` }) {
|
|
1616
1630
|
super(), this.data = e6 || {}, this.options = t2, this.options.keySeparator === void 0 && (this.options.keySeparator = `.`), this.options.ignoreJSONStructure === void 0 && (this.options.ignoreJSONStructure = true);
|
|
1617
1631
|
}
|
|
@@ -1624,23 +1638,23 @@ var di = class extends li {
|
|
|
1624
1638
|
}
|
|
1625
1639
|
getResource(e6, t2, n2, r2 = {}) {
|
|
1626
1640
|
let i2 = r2.keySeparator === void 0 ? this.options.keySeparator : r2.keySeparator, a2 = r2.ignoreJSONStructure === void 0 ? this.options.ignoreJSONStructure : r2.ignoreJSONStructure, o2;
|
|
1627
|
-
e6.includes(`.`) ? o2 = e6.split(`.`) : (o2 = [e6, t2], n2 && (Array.isArray(n2) ? o2.push(...n2) :
|
|
1628
|
-
let s2 =
|
|
1629
|
-
return
|
|
1641
|
+
e6.includes(`.`) ? o2 = e6.split(`.`) : (o2 = [e6, t2], n2 && (Array.isArray(n2) ? o2.push(...n2) : z(n2) && i2 ? o2.push(...n2.split(i2)) : o2.push(n2)));
|
|
1642
|
+
let s2 = ni(this.data, o2);
|
|
1643
|
+
return s2 == null && !t2 && !n2 && e6.includes(`.`) && (e6 = o2[0], t2 = o2[1], n2 = o2.slice(2).join(`.`)), s2 != null || !a2 || !z(n2) ? s2 : di(this.data?.[e6]?.[t2], n2, i2);
|
|
1630
1644
|
}
|
|
1631
1645
|
addResource(e6, t2, n2, r2, i2 = { silent: false }) {
|
|
1632
1646
|
let a2 = i2.keySeparator === void 0 ? this.options.keySeparator : i2.keySeparator, o2 = [e6, t2];
|
|
1633
|
-
n2 && (o2 = o2.concat(a2 ? n2.split(a2) : n2)), e6.includes(`.`) && (o2 = e6.split(`.`), r2 = t2, t2 = o2[1]), this.addNamespaces(t2),
|
|
1647
|
+
n2 && (o2 = o2.concat(a2 ? n2.split(a2) : n2)), e6.includes(`.`) && (o2 = e6.split(`.`), r2 = t2, t2 = o2[1]), this.addNamespaces(t2), ei(this.data, o2, r2), i2.silent || this.emit(`added`, e6, t2, n2, r2);
|
|
1634
1648
|
}
|
|
1635
1649
|
addResources(e6, t2, n2, r2 = { silent: false }) {
|
|
1636
|
-
for (let r3 in n2) (
|
|
1650
|
+
for (let r3 in n2) (z(n2[r3]) || Array.isArray(n2[r3])) && this.addResource(e6, t2, r3, n2[r3], { silent: true });
|
|
1637
1651
|
r2.silent || this.emit(`added`, e6, t2, n2);
|
|
1638
1652
|
}
|
|
1639
1653
|
addResourceBundle(e6, t2, n2, r2, i2, a2 = { silent: false, skipCopy: false }) {
|
|
1640
1654
|
let o2 = [e6, t2];
|
|
1641
1655
|
e6.includes(`.`) && (o2 = e6.split(`.`), r2 = n2, n2 = t2, t2 = o2[1]), this.addNamespaces(t2);
|
|
1642
|
-
let s2 =
|
|
1643
|
-
a2.skipCopy || (n2 = JSON.parse(JSON.stringify(n2))), r2 ?
|
|
1656
|
+
let s2 = ni(this.data, o2) || {};
|
|
1657
|
+
a2.skipCopy || (n2 = JSON.parse(JSON.stringify(n2))), r2 ? ii(s2, n2, i2) : s2 = { ...s2, ...n2 }, ei(this.data, o2, s2), a2.silent || this.emit(`added`, e6, t2, n2);
|
|
1644
1658
|
}
|
|
1645
1659
|
removeResourceBundle(e6, t2) {
|
|
1646
1660
|
this.hasResourceBundle(e6, t2) && delete this.data[e6][t2], this.removeNamespaces(t2), this.emit(`removed`, e6, t2);
|
|
@@ -1658,37 +1672,37 @@ var di = class extends li {
|
|
|
1658
1672
|
let t2 = this.getDataByLanguage(e6);
|
|
1659
1673
|
return !!(t2 && Object.keys(t2) || []).find((e7) => {
|
|
1660
1674
|
let n2 = t2[e7];
|
|
1661
|
-
return
|
|
1675
|
+
return mi.has(n2) ? true : !n2 || Object.keys(n2).length === 0 ? false : (typeof n2 == `object` && mi.add(n2), true);
|
|
1662
1676
|
});
|
|
1663
1677
|
}
|
|
1664
1678
|
toJSON() {
|
|
1665
1679
|
return this.data;
|
|
1666
1680
|
}
|
|
1667
1681
|
};
|
|
1668
|
-
var
|
|
1682
|
+
var gi = { processors: {}, addPostProcessor(e6) {
|
|
1669
1683
|
this.processors[e6.name] = e6;
|
|
1670
1684
|
}, handle(e6, t2, n2, r2, i2) {
|
|
1671
1685
|
return e6.forEach((e7) => {
|
|
1672
1686
|
t2 = this.processors[e7]?.process(t2, n2, r2, i2) ?? t2;
|
|
1673
1687
|
}), t2;
|
|
1674
1688
|
} };
|
|
1675
|
-
var
|
|
1676
|
-
function
|
|
1689
|
+
var _i = Symbol(`i18next/PATH_KEY`);
|
|
1690
|
+
function vi() {
|
|
1677
1691
|
let e6 = [], t2 = /* @__PURE__ */ Object.create(null), n2;
|
|
1678
|
-
return t2.get = (r2, i2) => (n2?.revoke?.(), i2 ===
|
|
1692
|
+
return t2.get = (r2, i2) => (n2?.revoke?.(), i2 === _i ? e6 : (e6.push(i2), n2 = Proxy.revocable(r2, t2), n2.proxy)), Proxy.revocable(/* @__PURE__ */ Object.create(null), t2).proxy;
|
|
1679
1693
|
}
|
|
1680
|
-
function
|
|
1681
|
-
let { [
|
|
1694
|
+
function K(e6, t2) {
|
|
1695
|
+
let { [_i]: n2 } = e6(vi()), r2 = t2?.keySeparator ?? `.`, i2 = t2?.nsSeparator ?? `:`, a2 = t2?.enableSelector === `strict`;
|
|
1682
1696
|
if (n2.length > 1 && i2) {
|
|
1683
1697
|
let e7 = t2?.ns, o2 = a2 ? Array.isArray(e7) ? e7 : e7 ? [e7] : null : Array.isArray(e7) ? e7 : null;
|
|
1684
1698
|
if (o2 && (a2 ? o2 : o2.length > 1 ? o2.slice(1) : []).includes(n2[0])) return `${n2[0]}${i2}${n2.slice(1).join(r2)}`;
|
|
1685
1699
|
}
|
|
1686
1700
|
return n2.join(r2);
|
|
1687
1701
|
}
|
|
1688
|
-
var
|
|
1689
|
-
var
|
|
1702
|
+
var yi = (e6) => !z(e6) && typeof e6 != `boolean` && typeof e6 != `number`;
|
|
1703
|
+
var bi = class e3 extends pi {
|
|
1690
1704
|
constructor(e6, t2 = {}) {
|
|
1691
|
-
super(),
|
|
1705
|
+
super(), Xr([`resourceStore`, `languageUtils`, `pluralResolver`, `interpolator`, `backendConnector`, `i18nFormat`, `utils`], e6, this), this.options = t2, this.options.keySeparator === void 0 && (this.options.keySeparator = `.`), this.logger = G.create(`translator`), this.checkedLoadedFor = {};
|
|
1692
1706
|
}
|
|
1693
1707
|
changeLanguage(e6) {
|
|
1694
1708
|
e6 && (this.language = e6);
|
|
@@ -1698,53 +1712,53 @@ var gi = class e3 extends li {
|
|
|
1698
1712
|
if (e6 == null) return false;
|
|
1699
1713
|
let r2 = this.resolve(e6, n2);
|
|
1700
1714
|
if (r2?.res === void 0) return false;
|
|
1701
|
-
let i2 =
|
|
1715
|
+
let i2 = yi(r2.res);
|
|
1702
1716
|
return !(n2.returnObjects === false && i2);
|
|
1703
1717
|
}
|
|
1704
1718
|
extractFromKey(e6, t2) {
|
|
1705
1719
|
let n2 = t2.nsSeparator === void 0 ? this.options.nsSeparator : t2.nsSeparator;
|
|
1706
1720
|
n2 === void 0 && (n2 = `:`);
|
|
1707
|
-
let r2 = t2.keySeparator === void 0 ? this.options.keySeparator : t2.keySeparator, i2 = t2.ns || this.options.defaultNS || [], a2 = n2 && e6.includes(n2), o2 = !this.options.userDefinedKeySeparator && !t2.keySeparator && !this.options.userDefinedNsSeparator && !t2.nsSeparator && !
|
|
1721
|
+
let r2 = t2.keySeparator === void 0 ? this.options.keySeparator : t2.keySeparator, i2 = t2.ns || this.options.defaultNS || [], a2 = n2 && e6.includes(n2), o2 = !this.options.userDefinedKeySeparator && !t2.keySeparator && !this.options.userDefinedNsSeparator && !t2.nsSeparator && !ui(e6, n2, r2);
|
|
1708
1722
|
if (a2 && !o2) {
|
|
1709
1723
|
let t3 = e6.match(this.interpolator.nestingRegexp);
|
|
1710
|
-
if (t3 && t3.length > 0) return { key: e6, namespaces:
|
|
1724
|
+
if (t3 && t3.length > 0) return { key: e6, namespaces: z(i2) ? [i2] : i2 };
|
|
1711
1725
|
let a3 = e6.split(n2);
|
|
1712
1726
|
(n2 !== r2 || n2 === r2 && this.options.ns.includes(a3[0])) && (i2 = a3.shift()), e6 = a3.join(r2);
|
|
1713
1727
|
}
|
|
1714
|
-
return { key: e6, namespaces:
|
|
1728
|
+
return { key: e6, namespaces: z(i2) ? [i2] : i2 };
|
|
1715
1729
|
}
|
|
1716
1730
|
translate(t2, n2, r2) {
|
|
1717
1731
|
let i2 = typeof n2 == `object` ? { ...n2 } : n2;
|
|
1718
1732
|
if (typeof i2 != `object` && this.options.overloadTranslationOptionHandler && (i2 = this.options.overloadTranslationOptionHandler(arguments)), typeof i2 == `object` && (i2 = { ...i2 }), i2 ||= {}, t2 == null) return ``;
|
|
1719
|
-
typeof t2 == `function` && (t2 =
|
|
1733
|
+
typeof t2 == `function` && (t2 = K(t2, { ...this.options, ...i2 })), Array.isArray(t2) || (t2 = [String(t2)]), t2 = t2.map((e6) => typeof e6 == `function` ? K(e6, { ...this.options, ...i2 }) : String(e6));
|
|
1720
1734
|
let a2 = i2.returnDetails === void 0 ? this.options.returnDetails : i2.returnDetails, o2 = i2.keySeparator === void 0 ? this.options.keySeparator : i2.keySeparator, { key: s2, namespaces: c2 } = this.extractFromKey(t2[t2.length - 1], i2), l2 = c2[c2.length - 1], u2 = i2.nsSeparator === void 0 ? this.options.nsSeparator : i2.nsSeparator;
|
|
1721
1735
|
u2 === void 0 && (u2 = `:`);
|
|
1722
1736
|
let d2 = i2.lng || this.language, f2 = i2.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
|
|
1723
1737
|
if (d2?.toLowerCase() === `cimode`) return f2 ? a2 ? { res: `${l2}${u2}${s2}`, usedKey: s2, exactUsedKey: s2, usedLng: d2, usedNS: l2, usedParams: this.getUsedParamsDetails(i2) } : `${l2}${u2}${s2}` : a2 ? { res: s2, usedKey: s2, exactUsedKey: s2, usedLng: d2, usedNS: l2, usedParams: this.getUsedParamsDetails(i2) } : s2;
|
|
1724
|
-
let p2 = this.resolve(t2, i2), m2 = p2?.res, h2 = p2?.usedKey || s2, g2 = p2?.exactUsedKey || s2, _2 = [`[object Number]`, `[object Function]`, `[object RegExp]`], v2 = i2.joinArrays === void 0 ? this.options.joinArrays : i2.joinArrays, y2 = !this.i18nFormat || this.i18nFormat.handleAsObject, b2 = i2.count !== void 0 && !
|
|
1725
|
-
y2 && !m2 && x2 && (
|
|
1726
|
-
let
|
|
1727
|
-
if (y2 &&
|
|
1738
|
+
let p2 = this.resolve(t2, i2), m2 = p2?.res, h2 = p2?.usedKey || s2, g2 = p2?.exactUsedKey || s2, _2 = [`[object Number]`, `[object Function]`, `[object RegExp]`], v2 = i2.joinArrays === void 0 ? this.options.joinArrays : i2.joinArrays, y2 = !this.i18nFormat || this.i18nFormat.handleAsObject, b2 = i2.count !== void 0 && !z(i2.count), x2 = e3.hasDefaultValue(i2), S2 = b2 ? this.pluralResolver.getSuffix(d2, i2.count, i2) : ``, C2 = i2.ordinal && b2 ? this.pluralResolver.getSuffix(d2, i2.count, { ordinal: false }) : ``, ee2 = b2 && !i2.ordinal && i2.count === 0, w2 = ee2 && i2[`defaultValue${this.options.pluralSeparator}zero`] || i2[`defaultValue${S2}`] || i2[`defaultValue${C2}`] || i2.defaultValue, T2 = m2;
|
|
1739
|
+
y2 && !m2 && x2 && (T2 = w2);
|
|
1740
|
+
let te2 = yi(T2), ne2 = Object.prototype.toString.apply(T2);
|
|
1741
|
+
if (y2 && T2 && te2 && !_2.includes(ne2) && !(z(v2) && Array.isArray(T2))) {
|
|
1728
1742
|
if (!i2.returnObjects && !this.options.returnObjects) {
|
|
1729
1743
|
this.options.returnedObjectHandler || this.logger.warn(`accessing an object - but returnObjects options is not enabled!`);
|
|
1730
|
-
let e6 = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(h2,
|
|
1744
|
+
let e6 = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(h2, T2, { ...i2, ns: c2 }) : `key '${s2} (${this.language})' returned an object instead of string.`;
|
|
1731
1745
|
return a2 ? (p2.res = e6, p2.usedParams = this.getUsedParamsDetails(i2), p2) : e6;
|
|
1732
1746
|
}
|
|
1733
1747
|
if (o2) {
|
|
1734
|
-
let e6 = Array.isArray(
|
|
1735
|
-
for (let e7 in
|
|
1748
|
+
let e6 = Array.isArray(T2), t3 = e6 ? [] : {}, n3 = e6 ? g2 : h2;
|
|
1749
|
+
for (let e7 in T2) if (Object.prototype.hasOwnProperty.call(T2, e7)) {
|
|
1736
1750
|
let r3 = `${n3}${o2}${e7}`;
|
|
1737
|
-
t3[e7] = x2 && !m2 ? this.translate(r3, { ...i2, defaultValue:
|
|
1751
|
+
t3[e7] = x2 && !m2 ? this.translate(r3, { ...i2, defaultValue: yi(w2) ? w2[e7] : void 0, joinArrays: false, ns: c2 }) : this.translate(r3, { ...i2, joinArrays: false, ns: c2 }), t3[e7] === r3 && (t3[e7] = T2[e7]);
|
|
1738
1752
|
}
|
|
1739
1753
|
m2 = t3;
|
|
1740
1754
|
}
|
|
1741
|
-
} else if (y2 &&
|
|
1755
|
+
} else if (y2 && z(v2) && Array.isArray(m2)) m2 = m2.join(v2), m2 &&= this.extendTranslation(m2, t2, i2, p2, r2);
|
|
1742
1756
|
else {
|
|
1743
1757
|
let e6 = false, n3 = false;
|
|
1744
|
-
!this.isValidLookup(m2) && x2 && (e6 = true, m2 =
|
|
1745
|
-
let a3 = (i2.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && n3 ? void 0 : m2, c3 = x2 &&
|
|
1758
|
+
!this.isValidLookup(m2) && x2 && (e6 = true, m2 = w2), this.isValidLookup(m2) || (n3 = true, m2 = s2);
|
|
1759
|
+
let a3 = (i2.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && n3 ? void 0 : m2, c3 = x2 && w2 !== m2 && this.options.updateMissing;
|
|
1746
1760
|
if (n3 || e6 || c3) {
|
|
1747
|
-
if (this.logger.log(c3 ? `updateKey` : `missingKey`, d2, l2, b2 && !c3 ? `${s2}${this.pluralResolver.getSuffix(d2, i2.count, i2)}` : s2, c3 ?
|
|
1761
|
+
if (this.logger.log(c3 ? `updateKey` : `missingKey`, d2, l2, b2 && !c3 ? `${s2}${this.pluralResolver.getSuffix(d2, i2.count, i2)}` : s2, c3 ? w2 : m2), o2) {
|
|
1748
1762
|
let e8 = this.resolve(s2, { ...i2, keySeparator: false });
|
|
1749
1763
|
e8 && e8.res && this.logger.warn(`Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.`);
|
|
1750
1764
|
}
|
|
@@ -1757,10 +1771,10 @@ var gi = class e3 extends li {
|
|
|
1757
1771
|
};
|
|
1758
1772
|
this.options.saveMissing && (this.options.saveMissingPlurals && b2 ? e7.forEach((e8) => {
|
|
1759
1773
|
let t4 = this.pluralResolver.getSuffixes(e8, i2);
|
|
1760
|
-
|
|
1761
|
-
n4([e8], s2 + t5, i2[`defaultValue${t5}`] ||
|
|
1774
|
+
ee2 && i2[`defaultValue${this.options.pluralSeparator}zero`] && !t4.includes(`${this.options.pluralSeparator}zero`) && t4.push(`${this.options.pluralSeparator}zero`), t4.forEach((t5) => {
|
|
1775
|
+
n4([e8], s2 + t5, i2[`defaultValue${t5}`] || w2);
|
|
1762
1776
|
});
|
|
1763
|
-
}) : n4(e7, s2,
|
|
1777
|
+
}) : n4(e7, s2, w2));
|
|
1764
1778
|
}
|
|
1765
1779
|
m2 = this.extendTranslation(m2, t2, i2, p2, r2), n3 && m2 === s2 && this.options.appendNamespaceToMissingKey && (m2 = `${l2}${u2}${s2}`), (n3 || e6) && this.options.parseMissingKeyHandler && (m2 = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${l2}${u2}${s2}` : s2, e6 ? m2 : void 0, i2));
|
|
1766
1780
|
}
|
|
@@ -1770,30 +1784,30 @@ var gi = class e3 extends li {
|
|
|
1770
1784
|
if (this.i18nFormat?.parse) e6 = this.i18nFormat.parse(e6, { ...this.options.interpolation.defaultVariables, ...n2 }, n2.lng || this.language || r2.usedLng, r2.usedNS, r2.usedKey, { resolved: r2 });
|
|
1771
1785
|
else if (!n2.skipInterpolation) {
|
|
1772
1786
|
n2.interpolation && this.interpolator.init({ ...n2, interpolation: { ...this.options.interpolation, ...n2.interpolation } });
|
|
1773
|
-
let a3 =
|
|
1787
|
+
let a3 = z(e6) && (n2?.interpolation?.skipOnVariables === void 0 ? this.options.interpolation.skipOnVariables : n2.interpolation.skipOnVariables), o3;
|
|
1774
1788
|
if (a3) {
|
|
1775
1789
|
let t3 = e6.match(this.interpolator.nestingRegexp);
|
|
1776
1790
|
o3 = t3 && t3.length;
|
|
1777
1791
|
}
|
|
1778
|
-
let s2 = n2.replace && !
|
|
1792
|
+
let s2 = n2.replace && !z(n2.replace) ? n2.replace : n2;
|
|
1779
1793
|
if (this.options.interpolation.defaultVariables && (s2 = { ...this.options.interpolation.defaultVariables, ...s2 }), e6 = this.interpolator.interpolate(e6, s2, n2.lng || this.language || r2.usedLng, n2), a3) {
|
|
1780
1794
|
let t3 = e6.match(this.interpolator.nestingRegexp), r3 = t3 && t3.length;
|
|
1781
1795
|
o3 < r3 && (n2.nest = false);
|
|
1782
1796
|
}
|
|
1783
1797
|
!n2.lng && r2 && r2.res && (n2.lng = this.language || r2.usedLng), n2.nest !== false && (e6 = this.interpolator.nest(e6, (...e7) => i2?.[0] === e7[0] && !n2.context ? (this.logger.warn(`It seems you are nesting recursively key: ${e7[0]} in key: ${t2[0]}`), null) : this.translate(...e7, t2), n2)), n2.interpolation && this.interpolator.reset();
|
|
1784
1798
|
}
|
|
1785
|
-
let a2 = n2.postProcess || this.options.postProcess, o2 =
|
|
1786
|
-
return e6 != null && o2?.length && n2.applyPostProcessor !== false && (e6 =
|
|
1799
|
+
let a2 = n2.postProcess || this.options.postProcess, o2 = z(a2) ? [a2] : a2;
|
|
1800
|
+
return e6 != null && o2?.length && n2.applyPostProcessor !== false && (e6 = gi.handle(o2, e6, t2, this.options && this.options.postProcessPassResolved ? { i18nResolved: { ...r2, usedParams: this.getUsedParamsDetails(n2) }, ...n2 } : n2, this)), e6;
|
|
1787
1801
|
}
|
|
1788
1802
|
resolve(e6, t2 = {}) {
|
|
1789
1803
|
let n2, r2, i2, a2, o2;
|
|
1790
|
-
return
|
|
1804
|
+
return z(e6) && (e6 = [e6]), Array.isArray(e6) && (e6 = e6.map((e7) => typeof e7 == `function` ? K(e7, { ...this.options, ...t2 }) : e7)), e6.forEach((e7) => {
|
|
1791
1805
|
if (this.isValidLookup(n2)) return;
|
|
1792
1806
|
let s2 = this.extractFromKey(e7, t2), c2 = s2.key;
|
|
1793
1807
|
r2 = c2;
|
|
1794
1808
|
let l2 = s2.namespaces;
|
|
1795
1809
|
this.options.fallbackNS && (l2 = l2.concat(this.options.fallbackNS));
|
|
1796
|
-
let u2 = t2.count !== void 0 && !
|
|
1810
|
+
let u2 = t2.count !== void 0 && !z(t2.count), d2 = u2 && !t2.ordinal && t2.count === 0, f2 = t2.context !== void 0 && (z(t2.context) || typeof t2.context == `number`) && t2.context !== ``, p2 = t2.lngs ? t2.lngs : this.languageUtils.toResolveHierarchy(t2.lng || this.language, t2.fallbackLng);
|
|
1797
1811
|
l2.forEach((e8) => {
|
|
1798
1812
|
this.isValidLookup(n2) || (o2 = e8, !this.checkedLoadedFor[`${p2[0]}-${e8}`] && this.utils?.hasLoadedNamespace && !this.utils?.hasLoadedNamespace(o2) && (this.checkedLoadedFor[`${p2[0]}-${e8}`] = true, this.logger.warn(`key "${r2}" for languages "${p2.join(`, `)}" won't get resolved as namespace "${o2}" was not yet loaded`, `This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`)), p2.forEach((r3) => {
|
|
1799
1813
|
if (this.isValidLookup(n2)) return;
|
|
@@ -1822,7 +1836,7 @@ var gi = class e3 extends li {
|
|
|
1822
1836
|
return this.i18nFormat?.getResource ? this.i18nFormat.getResource(e6, t2, n2, r2) : this.resourceStore.getResource(e6, t2, n2, r2);
|
|
1823
1837
|
}
|
|
1824
1838
|
getUsedParamsDetails(e6 = {}) {
|
|
1825
|
-
let t2 = [`defaultValue`, `ordinal`, `context`, `replace`, `lng`, `lngs`, `fallbackLng`, `ns`, `keySeparator`, `nsSeparator`, `returnObjects`, `returnDetails`, `joinArrays`, `postProcess`, `interpolation`], n2 = e6.replace && !
|
|
1839
|
+
let t2 = [`defaultValue`, `ordinal`, `context`, `replace`, `lng`, `lngs`, `fallbackLng`, `ns`, `keySeparator`, `nsSeparator`, `returnObjects`, `returnDetails`, `joinArrays`, `postProcess`, `interpolation`], n2 = e6.replace && !z(e6.replace), r2 = n2 ? e6.replace : e6;
|
|
1826
1840
|
if (n2 && e6.count !== void 0 && (r2 = { ...r2, count: e6.count }), this.options.interpolation.defaultVariables && (r2 = { ...this.options.interpolation.defaultVariables, ...r2 }), !n2) {
|
|
1827
1841
|
r2 = { ...r2 };
|
|
1828
1842
|
for (let e7 of t2) delete r2[e7];
|
|
@@ -1834,25 +1848,25 @@ var gi = class e3 extends li {
|
|
|
1834
1848
|
return false;
|
|
1835
1849
|
}
|
|
1836
1850
|
};
|
|
1837
|
-
var
|
|
1851
|
+
var xi = class {
|
|
1838
1852
|
constructor(e6) {
|
|
1839
|
-
this.options = e6, this.supportedLngs = this.options.supportedLngs || false, this.logger =
|
|
1853
|
+
this.options = e6, this.supportedLngs = this.options.supportedLngs || false, this.logger = G.create(`languageUtils`), this.resolveHierarchyCache = {};
|
|
1840
1854
|
}
|
|
1841
1855
|
clearCache() {
|
|
1842
1856
|
this.resolveHierarchyCache = {};
|
|
1843
1857
|
}
|
|
1844
1858
|
getScriptPartFromCode(e6) {
|
|
1845
|
-
if (e6 =
|
|
1859
|
+
if (e6 = W(e6), !e6 || !e6.includes(`-`)) return null;
|
|
1846
1860
|
let t2 = e6.split(`-`);
|
|
1847
1861
|
return t2.length === 2 || (t2.pop(), t2[t2.length - 1].toLowerCase() === `x`) ? null : this.formatLanguageCode(t2.join(`-`));
|
|
1848
1862
|
}
|
|
1849
1863
|
getLanguagePartFromCode(e6) {
|
|
1850
|
-
if (e6 =
|
|
1864
|
+
if (e6 = W(e6), !e6 || !e6.includes(`-`)) return e6;
|
|
1851
1865
|
let t2 = e6.split(`-`);
|
|
1852
1866
|
return this.formatLanguageCode(t2[0]);
|
|
1853
1867
|
}
|
|
1854
1868
|
formatLanguageCode(e6) {
|
|
1855
|
-
if (
|
|
1869
|
+
if (z(e6) && e6.includes(`-`)) {
|
|
1856
1870
|
let t2;
|
|
1857
1871
|
try {
|
|
1858
1872
|
t2 = Intl.getCanonicalLocales(e6)[0];
|
|
@@ -1878,12 +1892,12 @@ var _i = class {
|
|
|
1878
1892
|
if (this.isSupportedCode(n2)) return t2 = n2;
|
|
1879
1893
|
let r2 = this.getLanguagePartFromCode(e7);
|
|
1880
1894
|
if (this.isSupportedCode(r2)) return t2 = r2;
|
|
1881
|
-
t2 = this.options.supportedLngs.find((e8) => e8 === r2 ? true : !e8.includes(`-`) && !r2.includes(`-`) ? false :
|
|
1895
|
+
t2 = this.options.supportedLngs.find((e8) => e8 === r2 ? true : !e8.includes(`-`) && !r2.includes(`-`) ? false : !(!e8.includes(`-`) || r2.includes(`-`) || e8.slice(0, e8.indexOf(`-`)) !== r2));
|
|
1882
1896
|
}), t2 ||= this.getFallbackCodes(this.options.fallbackLng)[0], t2;
|
|
1883
1897
|
}
|
|
1884
1898
|
getFallbackCodes(e6, t2) {
|
|
1885
1899
|
if (!e6) return [];
|
|
1886
|
-
if (typeof e6 == `function` && (e6 = e6(t2)),
|
|
1900
|
+
if (typeof e6 == `function` && (e6 = e6(t2)), z(e6) && (e6 = [e6]), Array.isArray(e6)) return e6;
|
|
1887
1901
|
if (!t2) return e6.default || [];
|
|
1888
1902
|
let n2 = e6[t2];
|
|
1889
1903
|
return n2 ||= e6[this.getScriptPartFromCode(t2)], n2 ||= e6[this.formatLanguageCode(t2)], n2 ||= e6[this.getLanguagePartFromCode(t2)], n2 ||= e6.default, n2 || [];
|
|
@@ -1891,7 +1905,7 @@ var _i = class {
|
|
|
1891
1905
|
toResolveHierarchy(e6, t2) {
|
|
1892
1906
|
let n2 = this.options.fallbackLng, r2 = Array.isArray(n2) ? n2.join(`|`) : n2;
|
|
1893
1907
|
r2 !== this._cachedFallbackLng && (this.resolveHierarchyCache = {}, this._cachedFallbackLng = r2);
|
|
1894
|
-
let i2 = t2 === void 0 || t2 === false ||
|
|
1908
|
+
let i2 = t2 === void 0 || t2 === false || z(t2), a2 = t2 === void 0 && typeof this.options.fallbackLng == `function`, o2 = z(e6) && i2 && !a2, s2 = null;
|
|
1895
1909
|
if (o2) {
|
|
1896
1910
|
let n3;
|
|
1897
1911
|
n3 = t2 === void 0 ? `undefined` : t2 === false ? `boolean:false` : `string:${t2}`, s2 = `${e6.length}:${e6}|${n3}`;
|
|
@@ -1903,30 +1917,30 @@ var _i = class {
|
|
|
1903
1917
|
let c2 = this.getFallbackCodes((t2 === false ? [] : t2) || this.options.fallbackLng || [], e6), l2 = [], u2 = (e7) => {
|
|
1904
1918
|
e7 && (this.isSupportedCode(e7) ? l2.push(e7) : this.logger.warn(`rejecting language code not found in supportedLngs: ${e7}`));
|
|
1905
1919
|
};
|
|
1906
|
-
return
|
|
1920
|
+
return z(e6) && (e6.includes(`-`) || e6.includes(`_`)) ? (this.options.load !== `languageOnly` && u2(this.formatLanguageCode(e6)), this.options.load !== `languageOnly` && this.options.load !== `currentOnly` && u2(this.getScriptPartFromCode(e6)), this.options.load !== `currentOnly` && u2(this.getLanguagePartFromCode(e6))) : z(e6) && u2(this.formatLanguageCode(e6)), c2.forEach((e7) => {
|
|
1907
1921
|
let t3 = this.formatLanguageCode(e7);
|
|
1908
1922
|
l2.includes(t3) || u2(t3);
|
|
1909
1923
|
}), s2 === null ? l2 : (this.resolveHierarchyCache[s2] = l2, l2.slice());
|
|
1910
1924
|
}
|
|
1911
1925
|
};
|
|
1912
|
-
var
|
|
1913
|
-
var
|
|
1914
|
-
var
|
|
1926
|
+
var Si = { zero: 0, one: 1, two: 2, few: 3, many: 4, other: 5 };
|
|
1927
|
+
var Ci = { select: (e6) => e6 === 1 ? `one` : `other`, resolvedOptions: () => ({ pluralCategories: [`one`, `other`] }) };
|
|
1928
|
+
var wi = class {
|
|
1915
1929
|
constructor(e6, t2 = {}) {
|
|
1916
|
-
this.languageUtils = e6, this.options = t2, this.logger =
|
|
1930
|
+
this.languageUtils = e6, this.options = t2, this.logger = G.create(`pluralResolver`), this.pluralRulesCache = {};
|
|
1917
1931
|
}
|
|
1918
1932
|
clearCache() {
|
|
1919
1933
|
this.pluralRulesCache = {};
|
|
1920
1934
|
}
|
|
1921
1935
|
getRule(e6, t2 = {}) {
|
|
1922
|
-
let n2 =
|
|
1936
|
+
let n2 = W(e6 === `dev` ? `en` : e6), r2 = t2.ordinal ? `ordinal` : `cardinal`, i2 = JSON.stringify({ cleanedCode: n2, type: r2 });
|
|
1923
1937
|
if (i2 in this.pluralRulesCache) return this.pluralRulesCache[i2];
|
|
1924
1938
|
let a2;
|
|
1925
1939
|
try {
|
|
1926
1940
|
a2 = new Intl.PluralRules(n2, { type: r2 });
|
|
1927
1941
|
} catch {
|
|
1928
|
-
if (typeof Intl > `u`) return this.logger.error(`No Intl support, please use an Intl polyfill!`),
|
|
1929
|
-
if (!e6.match(/-|_/)) return
|
|
1942
|
+
if (typeof Intl > `u`) return this.logger.error(`No Intl support, please use an Intl polyfill!`), Ci;
|
|
1943
|
+
if (!e6.match(/-|_/)) return Ci;
|
|
1930
1944
|
let n3 = this.languageUtils.getLanguagePartFromCode(e6);
|
|
1931
1945
|
a2 = this.getRule(n3, t2);
|
|
1932
1946
|
}
|
|
@@ -1941,26 +1955,25 @@ var bi = class {
|
|
|
1941
1955
|
}
|
|
1942
1956
|
getSuffixes(e6, t2 = {}) {
|
|
1943
1957
|
let n2 = this.getRule(e6, t2);
|
|
1944
|
-
return n2 ||= this.getRule(`dev`, t2), n2 ? n2.resolvedOptions().pluralCategories.sort((e7, t3) =>
|
|
1958
|
+
return n2 ||= this.getRule(`dev`, t2), n2 ? n2.resolvedOptions().pluralCategories.sort((e7, t3) => Si[e7] - Si[t3]).map((e7) => `${this.options.prepend}${t2.ordinal ? `ordinal${this.options.prepend}` : ``}${e7}`) : [];
|
|
1945
1959
|
}
|
|
1946
1960
|
getSuffix(e6, t2, n2 = {}) {
|
|
1947
1961
|
let r2 = this.getRule(e6, n2);
|
|
1948
1962
|
return r2 ? `${this.options.prepend}${n2.ordinal ? `ordinal${this.options.prepend}` : ``}${r2.select(t2)}` : (this.logger.warn(`no plural rule found for: ${e6}`), this.getSuffix(`dev`, t2, n2));
|
|
1949
1963
|
}
|
|
1950
1964
|
};
|
|
1951
|
-
var
|
|
1952
|
-
let a2 =
|
|
1953
|
-
return !a2 && i2 &&
|
|
1965
|
+
var Ti = (e6, t2, n2, r2 = `.`, i2 = true) => {
|
|
1966
|
+
let a2 = ri(e6, t2, n2);
|
|
1967
|
+
return !a2 && i2 && z(n2) && (a2 = di(e6, n2, r2), a2 === void 0 && (a2 = di(t2, n2, r2))), a2;
|
|
1954
1968
|
};
|
|
1955
|
-
var
|
|
1956
|
-
var Ci = class {
|
|
1969
|
+
var Ei = class {
|
|
1957
1970
|
constructor(e6 = {}) {
|
|
1958
|
-
this.logger =
|
|
1971
|
+
this.logger = G.create(`interpolator`), this.options = e6, this.format = e6?.interpolation?.format || ((e7) => e7), this.init(e6);
|
|
1959
1972
|
}
|
|
1960
1973
|
init(e6 = {}) {
|
|
1961
1974
|
e6.interpolation ||= { escapeValue: true };
|
|
1962
1975
|
let { escape: t2, escapeValue: n2, useRawValueToEscape: r2, prefix: i2, prefixEscaped: a2, suffix: o2, suffixEscaped: s2, formatSeparator: c2, unescapeSuffix: l2, unescapePrefix: u2, nestingPrefix: d2, nestingPrefixEscaped: f2, nestingSuffix: p2, nestingSuffixEscaped: m2, nestingOptionsSeparator: h2, maxReplaces: g2, alwaysFormat: _2 } = e6.interpolation;
|
|
1963
|
-
this.escape = t2 === void 0 ?
|
|
1976
|
+
this.escape = t2 === void 0 ? oi : t2, this.escapeValue = n2 === void 0 || n2, this.useRawValueToEscape = r2 !== void 0 && r2, this.prefix = i2 ? U(i2) : a2 || `{{`, this.suffix = o2 ? U(o2) : s2 || `}}`, this.formatSeparator = c2 || `,`, this.unescapePrefix = l2 ? `` : u2 ? U(u2) : `-`, this.unescapeSuffix = this.unescapePrefix ? `` : l2 ? U(l2) : ``, this.nestingPrefix = d2 ? U(d2) : f2 || U(`$t(`), this.nestingSuffix = p2 ? U(p2) : m2 || U(`)`), this.nestingOptionsSeparator = h2 || `,`, this.maxReplaces = g2 || 1e3, this.alwaysFormat = _2 !== void 0 && _2, this.resetRegExp();
|
|
1964
1977
|
}
|
|
1965
1978
|
reset() {
|
|
1966
1979
|
this.options && this.init(this.options);
|
|
@@ -1972,29 +1985,34 @@ var Ci = class {
|
|
|
1972
1985
|
interpolate(e6, t2, n2, r2) {
|
|
1973
1986
|
let i2, a2, o2, s2 = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, c2 = (e7) => {
|
|
1974
1987
|
if (!e7.includes(this.formatSeparator)) {
|
|
1975
|
-
let i4 =
|
|
1988
|
+
let i4 = Ti(t2, s2, e7, this.options.keySeparator, this.options.ignoreJSONStructure);
|
|
1976
1989
|
return this.alwaysFormat ? this.format(i4, void 0, n2, { ...r2, ...t2, interpolationkey: e7 }) : i4;
|
|
1977
1990
|
}
|
|
1978
1991
|
let i3 = e7.split(this.formatSeparator), a3 = i3.shift().trim(), o3 = i3.join(this.formatSeparator).trim();
|
|
1979
|
-
return this.format(
|
|
1992
|
+
return this.format(Ti(t2, s2, a3, this.options.keySeparator, this.options.ignoreJSONStructure), o3, n2, { ...r2, ...t2, interpolationkey: a3 });
|
|
1980
1993
|
};
|
|
1981
1994
|
this.resetRegExp(), !this.escapeValue && typeof e6 == `string` && /\$t\([^)]*\{[^}]*\{\{/.test(e6) && this.logger.warn(`nesting options string contains interpolated variables with escapeValue: false \u2014 if any of those values are attacker-controlled they can inject additional nesting options (e.g. redirect lng/ns). Sanitise untrusted input before passing it to t(), or keep escapeValue: true.`);
|
|
1982
|
-
let l2 = r2?.missingInterpolationHandler || this.options.missingInterpolationHandler, u2 = r2?.interpolation?.skipOnVariables === void 0 ? this.options.interpolation.skipOnVariables : r2.interpolation.skipOnVariables;
|
|
1983
|
-
return
|
|
1995
|
+
let l2 = r2?.missingInterpolationHandler || this.options.missingInterpolationHandler, u2 = r2?.interpolation?.skipOnVariables === void 0 ? this.options.interpolation.skipOnVariables : r2.interpolation.skipOnVariables, d2 = [{ regex: this.regexpUnescape, safeValue: (e7) => e7 }, { regex: this.regexp, safeValue: (e7) => this.escapeValue ? this.escape(e7) : e7 }], f2 = [], p2 = 0;
|
|
1996
|
+
return d2.forEach((t3) => {
|
|
1984
1997
|
for (o2 = 0; i2 = t3.regex.exec(e6); ) {
|
|
1985
|
-
let n3 = i2[
|
|
1986
|
-
if (
|
|
1998
|
+
let n3 = i2.index - p2, s3 = f2.find(([e7, t4]) => n3 >= e7 && n3 < t4);
|
|
1999
|
+
if (s3) {
|
|
2000
|
+
t3.regex.lastIndex = s3[1] + p2;
|
|
2001
|
+
continue;
|
|
2002
|
+
}
|
|
2003
|
+
let d3 = i2[1].trim();
|
|
2004
|
+
if (a2 = c2(d3), a2 === void 0) {
|
|
1987
2005
|
if (typeof l2 == `function`) {
|
|
1988
2006
|
let t4 = l2(e6, i2, r2);
|
|
1989
|
-
a2 =
|
|
1990
|
-
} else if (r2 && Object.prototype.hasOwnProperty.call(r2,
|
|
2007
|
+
a2 = z(t4) ? t4 : ``;
|
|
2008
|
+
} else if (r2 && Object.prototype.hasOwnProperty.call(r2, d3)) a2 = ``;
|
|
1991
2009
|
else if (u2) {
|
|
1992
2010
|
a2 = i2[0];
|
|
1993
2011
|
continue;
|
|
1994
|
-
} else this.logger.warn(`missed to pass in variable ${
|
|
1995
|
-
} else !
|
|
1996
|
-
let
|
|
1997
|
-
if (e6 = e6.
|
|
2012
|
+
} else this.logger.warn(`missed to pass in variable ${d3} for interpolating ${e6}`), a2 = ``;
|
|
2013
|
+
} else !z(a2) && !this.useRawValueToEscape && (a2 = V(a2));
|
|
2014
|
+
let m2 = V(t3.safeValue(a2));
|
|
2015
|
+
if (e6 = e6.slice(0, i2.index) + m2 + e6.slice(i2.index + i2[0].length), u2 ? (t3.regex === this.regexpUnescape ? f2.push([i2.index, i2.index + m2.length]) : p2 += m2.length - i2[0].length, t3.regex.lastIndex += m2.length, t3.regex.lastIndex -= i2[0].length) : t3.regex.lastIndex = 0, o2++, o2 >= this.maxReplaces) break;
|
|
1998
2016
|
}
|
|
1999
2017
|
}), e6;
|
|
2000
2018
|
}
|
|
@@ -2002,7 +2020,7 @@ var Ci = class {
|
|
|
2002
2020
|
let r2, i2, a2, o2 = (e7, t3) => {
|
|
2003
2021
|
let n3 = this.nestingOptionsSeparator;
|
|
2004
2022
|
if (!e7.includes(n3)) return e7;
|
|
2005
|
-
let r3 = e7.split(RegExp(`${
|
|
2023
|
+
let r3 = e7.split(RegExp(`${U(n3)}[ ]*{`)), i3 = `{${r3[1]}`;
|
|
2006
2024
|
e7 = r3[0], i3 = this.interpolate(i3, a2);
|
|
2007
2025
|
let o3 = i3.match(/'/g), s3 = i3.match(/"/g);
|
|
2008
2026
|
((o3?.length ?? 0) % 2 == 0 && !s3 || (s3?.length ?? 0) % 2 != 0) && (i3 = i3.replace(/'/g, `"`));
|
|
@@ -2015,15 +2033,15 @@ var Ci = class {
|
|
|
2015
2033
|
}, s2 = new RegExp(this.nestingRegexp), c2 = ``, l2 = 0;
|
|
2016
2034
|
for (; r2 = s2.exec(e6); ) {
|
|
2017
2035
|
let u2 = [];
|
|
2018
|
-
a2 = { ...n2 }, a2 = a2.replace && !
|
|
2036
|
+
a2 = { ...n2 }, a2 = a2.replace && !z(a2.replace) ? a2.replace : a2, a2.applyPostProcessor = false, delete a2.defaultValue;
|
|
2019
2037
|
let d2 = /{.*}/s.test(r2[1]) ? r2[1].lastIndexOf(`}`) + 1 : r2[1].indexOf(this.formatSeparator);
|
|
2020
|
-
if (d2 !== -1 && (u2 = r2[1].slice(d2).split(this.formatSeparator).map((e7) => e7.trim()).filter(Boolean), r2[1] = r2[1].slice(0, d2)), i2 = t2(o2.call(this, r2[1].trim(), a2), a2), i2 && r2[0] === e6 && !
|
|
2021
|
-
|
|
2038
|
+
if (d2 !== -1 && (u2 = r2[1].slice(d2).split(this.formatSeparator).map((e7) => e7.trim()).filter(Boolean), r2[1] = r2[1].slice(0, d2)), i2 = t2(o2.call(this, r2[1].trim(), a2), a2), i2 && r2[0] === e6 && !z(i2)) return i2;
|
|
2039
|
+
z(i2) || (i2 = V(i2)), i2 ||= (this.logger.warn(`missed to resolve ${r2[1]} for nesting ${e6}`), ``), u2.length && (i2 = u2.reduce((e7, t3) => this.format(e7, t3, n2.lng, { ...n2, interpolationkey: r2[1].trim() }), i2.trim())), c2 += e6.slice(l2, r2.index) + V(i2), l2 = s2.lastIndex, this.regexp.lastIndex = 0;
|
|
2022
2040
|
}
|
|
2023
2041
|
return l2 ? c2 + e6.slice(l2) : e6;
|
|
2024
2042
|
}
|
|
2025
2043
|
};
|
|
2026
|
-
var
|
|
2044
|
+
var Di = (e6) => {
|
|
2027
2045
|
let t2 = e6.toLowerCase().trim(), n2 = {};
|
|
2028
2046
|
if (e6.includes(`(`)) {
|
|
2029
2047
|
let r2 = e6.split(`(`);
|
|
@@ -2038,23 +2056,29 @@ var wi = (e6) => {
|
|
|
2038
2056
|
}
|
|
2039
2057
|
return { formatName: t2, formatOptions: n2 };
|
|
2040
2058
|
};
|
|
2041
|
-
var
|
|
2059
|
+
var Oi = (e6) => {
|
|
2042
2060
|
let t2 = {};
|
|
2043
2061
|
return (n2, r2, i2) => {
|
|
2044
2062
|
let a2 = i2;
|
|
2045
2063
|
i2 && i2.interpolationkey && i2.formatParams && i2.formatParams[i2.interpolationkey] && i2[i2.interpolationkey] && (a2 = { ...a2, [i2.interpolationkey]: void 0 });
|
|
2046
|
-
let o2
|
|
2047
|
-
|
|
2064
|
+
let o2;
|
|
2065
|
+
try {
|
|
2066
|
+
o2 = r2 + JSON.stringify(a2);
|
|
2067
|
+
} catch {
|
|
2068
|
+
return e6(W(r2), i2)(n2);
|
|
2069
|
+
}
|
|
2070
|
+
let s2 = t2[o2];
|
|
2071
|
+
return s2 || (s2 = e6(W(r2), i2), t2[o2] = s2), s2(n2);
|
|
2048
2072
|
};
|
|
2049
2073
|
};
|
|
2050
|
-
var
|
|
2051
|
-
var
|
|
2074
|
+
var ki = (e6) => (t2, n2, r2) => e6(W(n2), r2)(t2);
|
|
2075
|
+
var Ai = class {
|
|
2052
2076
|
constructor(e6 = {}) {
|
|
2053
|
-
this.logger =
|
|
2077
|
+
this.logger = G.create(`formatter`), this.options = e6, this.init(e6);
|
|
2054
2078
|
}
|
|
2055
2079
|
init(e6, t2 = { interpolation: {} }) {
|
|
2056
2080
|
this.formatSeparator = t2.interpolation.formatSeparator || `,`;
|
|
2057
|
-
let n2 = t2.cacheInBuiltFormats ?
|
|
2081
|
+
let n2 = t2.cacheInBuiltFormats ? Oi : ki;
|
|
2058
2082
|
this.formats = { number: n2((e7, t3) => {
|
|
2059
2083
|
let n3 = new Intl.NumberFormat(e7, { ...t3 });
|
|
2060
2084
|
return (e8) => n3.format(e8);
|
|
@@ -2076,7 +2100,7 @@ var Di = class {
|
|
|
2076
2100
|
this.formats[e6.toLowerCase().trim()] = t2;
|
|
2077
2101
|
}
|
|
2078
2102
|
addCached(e6, t2) {
|
|
2079
|
-
this.formats[e6.toLowerCase().trim()] =
|
|
2103
|
+
this.formats[e6.toLowerCase().trim()] = Oi(t2);
|
|
2080
2104
|
}
|
|
2081
2105
|
format(e6, t2, n2, r2 = {}) {
|
|
2082
2106
|
if (!t2 || e6 == null) return e6;
|
|
@@ -2087,7 +2111,7 @@ var Di = class {
|
|
|
2087
2111
|
a2.push(t3);
|
|
2088
2112
|
}
|
|
2089
2113
|
return a2.reduce((e7, t3) => {
|
|
2090
|
-
let { formatName: i3, formatOptions: a3 } =
|
|
2114
|
+
let { formatName: i3, formatOptions: a3 } = Di(t3);
|
|
2091
2115
|
if (this.formats[i3]) {
|
|
2092
2116
|
let t4 = e7;
|
|
2093
2117
|
try {
|
|
@@ -2102,12 +2126,12 @@ var Di = class {
|
|
|
2102
2126
|
}, e6);
|
|
2103
2127
|
}
|
|
2104
2128
|
};
|
|
2105
|
-
var
|
|
2129
|
+
var ji = (e6, t2) => {
|
|
2106
2130
|
e6.pending[t2] !== void 0 && (delete e6.pending[t2], e6.pendingCount--);
|
|
2107
2131
|
};
|
|
2108
|
-
var
|
|
2132
|
+
var Mi = class extends pi {
|
|
2109
2133
|
constructor(e6, t2, n2, r2 = {}) {
|
|
2110
|
-
super(), this.backend = e6, this.store = t2, this.services = n2, this.languageUtils = n2.languageUtils, this.options = r2, this.logger =
|
|
2134
|
+
super(), this.backend = e6, this.store = t2, this.services = n2, this.languageUtils = n2.languageUtils, this.options = r2, this.logger = G.create(`backendConnector`), this.waitingReads = [], this.maxParallelReads = r2.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = r2.maxRetries >= 0 ? r2.maxRetries : 5, this.retryTimeout = r2.retryTimeout >= 1 ? r2.retryTimeout : 350, this.state = {}, this.queue = [], this.backend?.init?.(n2, r2.backend, r2);
|
|
2111
2135
|
}
|
|
2112
2136
|
queueLoad(e6, t2, n2, r2) {
|
|
2113
2137
|
let i2 = {}, a2 = {}, o2 = {}, s2 = {};
|
|
@@ -2124,7 +2148,7 @@ var ki = class extends li {
|
|
|
2124
2148
|
t2 && this.emit(`failedLoading`, i2, a2, t2), !t2 && n2 && this.store.addResourceBundle(i2, a2, n2, void 0, void 0, { skipCopy: true }), this.state[e6] = t2 ? -1 : 2, t2 && n2 && (this.state[e6] = 0);
|
|
2125
2149
|
let o2 = {};
|
|
2126
2150
|
this.queue.forEach((n3) => {
|
|
2127
|
-
|
|
2151
|
+
ti(n3.loaded, [i2], a2), ji(n3, e6), t2 && n3.errors.push(t2), n3.pendingCount === 0 && !n3.done && (Object.keys(n3.loaded).forEach((e7) => {
|
|
2128
2152
|
o2[e7] || (o2[e7] = {});
|
|
2129
2153
|
let t3 = n3.loaded[e7];
|
|
2130
2154
|
t3.length && t3.forEach((t4) => {
|
|
@@ -2159,7 +2183,7 @@ var ki = class extends li {
|
|
|
2159
2183
|
}
|
|
2160
2184
|
prepareLoading(e6, t2, n2 = {}, r2) {
|
|
2161
2185
|
if (!this.backend) return this.logger.warn(`No backend was added via i18next.use. Will not load resources.`), r2 && r2();
|
|
2162
|
-
|
|
2186
|
+
z(e6) && (e6 = this.languageUtils.toResolveHierarchy(e6)), z(t2) && (t2 = [t2]);
|
|
2163
2187
|
let i2 = this.queueLoad(e6, t2, n2, r2);
|
|
2164
2188
|
if (!i2.toLoad.length) return i2.pending.length || r2(), null;
|
|
2165
2189
|
i2.toLoad.forEach((e7) => {
|
|
@@ -2196,9 +2220,9 @@ var ki = class extends li {
|
|
|
2196
2220
|
}
|
|
2197
2221
|
}
|
|
2198
2222
|
};
|
|
2199
|
-
var
|
|
2223
|
+
var Ni = () => ({ debug: false, initAsync: true, ns: [`translation`], defaultNS: [`translation`], fallbackLng: [`dev`], fallbackNS: false, supportedLngs: false, nonExplicitSupportedLngs: false, load: `all`, preload: false, keySeparator: `.`, nsSeparator: `:`, pluralSeparator: `_`, contextSeparator: `_`, enableSelector: false, partialBundledLanguages: false, saveMissing: false, updateMissing: false, saveMissingTo: `fallback`, saveMissingPlurals: true, missingKeyHandler: false, missingInterpolationHandler: false, postProcess: false, postProcessPassResolved: false, returnNull: false, returnEmptyString: true, returnObjects: false, joinArrays: false, returnedObjectHandler: false, parseMissingKeyHandler: false, appendNamespaceToMissingKey: false, appendNamespaceToCIMode: false, overloadTranslationOptionHandler: (e6) => {
|
|
2200
2224
|
let t2 = {};
|
|
2201
|
-
if (typeof e6[1] == `object` && (t2 = e6[1]),
|
|
2225
|
+
if (typeof e6[1] == `object` && (t2 = e6[1]), z(e6[1]) && (t2.defaultValue = e6[1]), z(e6[2]) && (t2.tDescription = e6[2]), typeof e6[2] == `object` || typeof e6[3] == `object`) {
|
|
2202
2226
|
let n2 = e6[3] || e6[2];
|
|
2203
2227
|
Object.keys(n2).forEach((e7) => {
|
|
2204
2228
|
t2[e7] = n2[e7];
|
|
@@ -2206,17 +2230,17 @@ var Ai = () => ({ debug: false, initAsync: true, ns: [`translation`], defaultNS:
|
|
|
2206
2230
|
}
|
|
2207
2231
|
return t2;
|
|
2208
2232
|
}, interpolation: { escapeValue: true, prefix: `{{`, suffix: `}}`, formatSeparator: `,`, unescapePrefix: `-`, nestingPrefix: `$t(`, nestingSuffix: `)`, nestingOptionsSeparator: `,`, maxReplaces: 1e3, skipOnVariables: true }, cacheInBuiltFormats: true });
|
|
2209
|
-
var
|
|
2210
|
-
var
|
|
2233
|
+
var Pi = (e6) => (z(e6.ns) && (e6.ns = [e6.ns]), z(e6.fallbackLng) && (e6.fallbackLng = [e6.fallbackLng]), z(e6.fallbackNS) && (e6.fallbackNS = [e6.fallbackNS]), e6.supportedLngs && !e6.supportedLngs.includes(`cimode`) && (e6.supportedLngs = e6.supportedLngs.concat([`cimode`])), e6);
|
|
2234
|
+
var Fi = () => {
|
|
2211
2235
|
};
|
|
2212
|
-
var
|
|
2236
|
+
var Ii = (e6) => {
|
|
2213
2237
|
Object.getOwnPropertyNames(Object.getPrototypeOf(e6)).forEach((t2) => {
|
|
2214
2238
|
typeof e6[t2] == `function` && (e6[t2] = e6[t2].bind(e6));
|
|
2215
2239
|
});
|
|
2216
2240
|
};
|
|
2217
|
-
var
|
|
2241
|
+
var q = class e4 extends pi {
|
|
2218
2242
|
constructor(e6 = {}, t2) {
|
|
2219
|
-
if (super(), this.options =
|
|
2243
|
+
if (super(), this.options = Pi(e6), this.services = {}, this.logger = G, this.modules = { external: [] }, Ii(this), t2 && !this.isInitialized && !e6.isClone) {
|
|
2220
2244
|
if (!this.options.initAsync) return this.init(e6, t2), this;
|
|
2221
2245
|
setTimeout(() => {
|
|
2222
2246
|
this.init(e6, t2);
|
|
@@ -2224,26 +2248,26 @@ var J = class e4 extends li {
|
|
|
2224
2248
|
}
|
|
2225
2249
|
}
|
|
2226
2250
|
init(e6 = {}, t2) {
|
|
2227
|
-
this.isInitializing = true, typeof e6 == `function` && (t2 = e6, e6 = {}), e6.defaultNS == null && e6.ns && (
|
|
2228
|
-
let n2 =
|
|
2229
|
-
this.options = { ...n2, ...this.options, ...
|
|
2251
|
+
this.isInitializing = true, typeof e6 == `function` && (t2 = e6, e6 = {}), e6.defaultNS == null && e6.ns && (z(e6.ns) ? e6.defaultNS = e6.ns : e6.ns.includes(`translation`) || (e6.defaultNS = e6.ns[0]));
|
|
2252
|
+
let n2 = Ni();
|
|
2253
|
+
this.options = { ...n2, ...this.options, ...Pi(e6) }, this.options.interpolation = { ...n2.interpolation, ...this.options.interpolation }, e6.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = e6.keySeparator), e6.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = e6.nsSeparator), typeof this.options.overloadTranslationOptionHandler != `function` && (this.options.overloadTranslationOptionHandler = n2.overloadTranslationOptionHandler);
|
|
2230
2254
|
let r2 = (e7) => e7 ? typeof e7 == `function` ? new e7() : e7 : null;
|
|
2231
2255
|
if (!this.options.isClone) {
|
|
2232
|
-
this.modules.logger ?
|
|
2256
|
+
this.modules.logger ? G.init(r2(this.modules.logger), this.options) : G.init(null, this.options);
|
|
2233
2257
|
let e7;
|
|
2234
|
-
e7 = this.modules.formatter ? this.modules.formatter :
|
|
2235
|
-
let t3 = new
|
|
2236
|
-
this.store = new
|
|
2258
|
+
e7 = this.modules.formatter ? this.modules.formatter : Ai;
|
|
2259
|
+
let t3 = new xi(this.options);
|
|
2260
|
+
this.store = new hi(this.options.resources, this.options);
|
|
2237
2261
|
let n3 = this.services;
|
|
2238
|
-
n3.logger =
|
|
2262
|
+
n3.logger = G, n3.resourceStore = this.store, n3.languageUtils = t3, n3.pluralResolver = new wi(t3, { prepend: this.options.pluralSeparator }), e7 && (n3.formatter = r2(e7), n3.formatter.init && n3.formatter.init(n3, this.options), this.options.interpolation.format = n3.formatter.format.bind(n3.formatter)), n3.interpolator = new Ei(this.options), n3.utils = { hasLoadedNamespace: this.hasLoadedNamespace.bind(this) }, n3.backendConnector = new Mi(r2(this.modules.backend), n3.resourceStore, n3, this.options), n3.backendConnector.on(`*`, (e8, ...t4) => {
|
|
2239
2263
|
this.emit(e8, ...t4);
|
|
2240
|
-
}), this.modules.languageDetector && (n3.languageDetector = r2(this.modules.languageDetector), n3.languageDetector.init && n3.languageDetector.init(n3, this.options.detection, this.options)), this.modules.i18nFormat && (n3.i18nFormat = r2(this.modules.i18nFormat), n3.i18nFormat.init && n3.i18nFormat.init(this)), this.translator = new
|
|
2264
|
+
}), this.modules.languageDetector && (n3.languageDetector = r2(this.modules.languageDetector), n3.languageDetector.init && n3.languageDetector.init(n3, this.options.detection, this.options)), this.modules.i18nFormat && (n3.i18nFormat = r2(this.modules.i18nFormat), n3.i18nFormat.init && n3.i18nFormat.init(this)), this.translator = new bi(this.services, this.options), this.translator.on(`*`, (e8, ...t4) => {
|
|
2241
2265
|
this.emit(e8, ...t4);
|
|
2242
2266
|
}), this.modules.external.forEach((e8) => {
|
|
2243
2267
|
e8.init && e8.init(this);
|
|
2244
2268
|
});
|
|
2245
2269
|
}
|
|
2246
|
-
if (this.format = this.options.interpolation.format, t2 ||=
|
|
2270
|
+
if (this.format = this.options.interpolation.format, t2 ||= Fi, this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
|
|
2247
2271
|
let e7 = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
|
|
2248
2272
|
e7.length > 0 && e7[0] !== `dev` && (this.options.lng = e7[0]);
|
|
2249
2273
|
}
|
|
@@ -2252,7 +2276,7 @@ var J = class e4 extends li {
|
|
|
2252
2276
|
}), [`addResource`, `addResources`, `addResourceBundle`, `removeResourceBundle`].forEach((e7) => {
|
|
2253
2277
|
this[e7] = (...t3) => (this.store[e7](...t3), this);
|
|
2254
2278
|
});
|
|
2255
|
-
let i2 =
|
|
2279
|
+
let i2 = B(), a2 = () => {
|
|
2256
2280
|
let e7 = (e8, n3) => {
|
|
2257
2281
|
this.isInitializing = false, this.isInitialized && !this.initializedStoreOnce && this.logger.warn(`init: i18next is already initialized. You should call init just once!`), this.isInitialized = true, this.options.isClone || this.logger.log(`initialized`, this.options), this.emit(`initialized`, this.options), i2.resolve(n3), t2(e8, n3);
|
|
2258
2282
|
};
|
|
@@ -2261,8 +2285,8 @@ var J = class e4 extends li {
|
|
|
2261
2285
|
};
|
|
2262
2286
|
return this.options.resources || !this.options.initAsync ? a2() : setTimeout(a2, 0), i2;
|
|
2263
2287
|
}
|
|
2264
|
-
loadResources(e6, t2 =
|
|
2265
|
-
let n2 = t2, r2 =
|
|
2288
|
+
loadResources(e6, t2 = Fi) {
|
|
2289
|
+
let n2 = t2, r2 = z(e6) ? e6 : this.language;
|
|
2266
2290
|
if (typeof e6 == `function` && (n2 = e6), !this.options.resources || this.options.partialBundledLanguages) {
|
|
2267
2291
|
if (r2?.toLowerCase() === `cimode` && (!this.options.preload || this.options.preload.length === 0)) return n2();
|
|
2268
2292
|
let e7 = [], t3 = (t4) => {
|
|
@@ -2276,15 +2300,15 @@ var J = class e4 extends li {
|
|
|
2276
2300
|
} else n2(null);
|
|
2277
2301
|
}
|
|
2278
2302
|
reloadResources(e6, t2, n2) {
|
|
2279
|
-
let r2 =
|
|
2280
|
-
return typeof e6 == `function` && (n2 = e6, e6 = void 0), typeof t2 == `function` && (n2 = t2, t2 = void 0), e6 ||= this.languages, t2 ||= this.options.ns, n2 ||=
|
|
2303
|
+
let r2 = B();
|
|
2304
|
+
return typeof e6 == `function` && (n2 = e6, e6 = void 0), typeof t2 == `function` && (n2 = t2, t2 = void 0), e6 ||= this.languages, t2 ||= this.options.ns, n2 ||= Fi, this.services.backendConnector.reload(e6, t2, (e7) => {
|
|
2281
2305
|
r2.resolve(), n2(e7);
|
|
2282
2306
|
}), r2;
|
|
2283
2307
|
}
|
|
2284
2308
|
use(e6) {
|
|
2285
2309
|
if (!e6) throw Error(`You are passing an undefined module! Please check the object you are passing to i18next.use()`);
|
|
2286
2310
|
if (!e6.type) throw Error(`You are passing a wrong module! Please check the object you are passing to i18next.use()`);
|
|
2287
|
-
return e6.type === `backend` && (this.modules.backend = e6), (e6.type === `logger` || e6.log && e6.warn && e6.error) && (this.modules.logger = e6), e6.type === `languageDetector` && (this.modules.languageDetector = e6), e6.type === `i18nFormat` && (this.modules.i18nFormat = e6), e6.type === `postProcessor` &&
|
|
2311
|
+
return e6.type === `backend` && (this.modules.backend = e6), (e6.type === `logger` || e6.log && e6.warn && e6.error) && (this.modules.logger = e6), e6.type === `languageDetector` && (this.modules.languageDetector = e6), e6.type === `i18nFormat` && (this.modules.i18nFormat = e6), e6.type === `postProcessor` && gi.addPostProcessor(e6), e6.type === `formatter` && (this.modules.formatter = e6), e6.type === `3rdParty` && this.modules.external.push(e6), this;
|
|
2288
2312
|
}
|
|
2289
2313
|
setResolvedLanguage(e6) {
|
|
2290
2314
|
if (e6 && this.languages && ![`cimode`, `dev`].includes(e6)) {
|
|
@@ -2300,7 +2324,7 @@ var J = class e4 extends li {
|
|
|
2300
2324
|
}
|
|
2301
2325
|
changeLanguage(e6, t2) {
|
|
2302
2326
|
this.isLanguageChangingTo = e6;
|
|
2303
|
-
let n2 =
|
|
2327
|
+
let n2 = B();
|
|
2304
2328
|
this.emit(`languageChanging`, e6);
|
|
2305
2329
|
let r2 = (e7) => {
|
|
2306
2330
|
this.language = e7, this.languages = this.services.languageUtils.toResolveHierarchy(e7), this.resolvedLanguage = void 0, this.setResolvedLanguage(e7);
|
|
@@ -2308,7 +2332,7 @@ var J = class e4 extends li {
|
|
|
2308
2332
|
a3 ? this.isLanguageChangingTo === e6 && (r2(a3), this.translator.changeLanguage(a3), this.isLanguageChangingTo = void 0, this.emit(`languageChanged`, a3), this.logger.log(`languageChanged`, a3)) : this.isLanguageChangingTo = void 0, n2.resolve((...e7) => this.t(...e7)), t2 && t2(i3, (...e7) => this.t(...e7));
|
|
2309
2333
|
}, a2 = (t3) => {
|
|
2310
2334
|
!e6 && !t3 && this.services.languageDetector && (t3 = []);
|
|
2311
|
-
let n3 =
|
|
2335
|
+
let n3 = z(t3) ? t3 : t3 && t3[0], a3 = this.store.hasLanguageSomeTranslations(n3) ? n3 : this.services.languageUtils.getBestMatchFromCodes(z(t3) ? [t3] : t3);
|
|
2312
2336
|
a3 && (this.language || r2(a3), this.translator.language || this.translator.changeLanguage(a3), this.services.languageDetector?.cacheUserLanguage?.(a3)), this.loadResources(a3, (e7) => {
|
|
2313
2337
|
i2(e7, a3);
|
|
2314
2338
|
});
|
|
@@ -2322,11 +2346,11 @@ var J = class e4 extends li {
|
|
|
2322
2346
|
let s2 = o2.ns !== void 0 && o2.ns !== null;
|
|
2323
2347
|
o2.ns = o2.ns || a2.ns, o2.keyPrefix !== `` && (o2.keyPrefix = o2.keyPrefix || n2 || a2.keyPrefix);
|
|
2324
2348
|
let c2 = { ...this.options, ...o2 };
|
|
2325
|
-
Array.isArray(i2) && !s2 && (c2.ns = i2), typeof o2.keyPrefix == `function` && (o2.keyPrefix =
|
|
2349
|
+
Array.isArray(i2) && !s2 && (c2.ns = i2), typeof o2.keyPrefix == `function` && (o2.keyPrefix = K(o2.keyPrefix, c2));
|
|
2326
2350
|
let l2 = this.options.keySeparator || `.`, u2;
|
|
2327
|
-
return o2.keyPrefix && Array.isArray(e7) ? u2 = e7.map((e8) => (typeof e8 == `function` && (e8 =
|
|
2351
|
+
return o2.keyPrefix && Array.isArray(e7) ? u2 = e7.map((e8) => (typeof e8 == `function` && (e8 = K(e8, c2)), `${o2.keyPrefix}${l2}${e8}`)) : (typeof e7 == `function` && (e7 = K(e7, c2)), u2 = o2.keyPrefix ? `${o2.keyPrefix}${l2}${e7}` : e7), this.t(u2, o2);
|
|
2328
2352
|
};
|
|
2329
|
-
return
|
|
2353
|
+
return z(e6) ? a2.lng = e6 : a2.lngs = e6, a2.ns = t2, a2.keyPrefix = n2, a2;
|
|
2330
2354
|
}
|
|
2331
2355
|
t(...e6) {
|
|
2332
2356
|
return this.translator?.translate(...e6);
|
|
@@ -2355,16 +2379,16 @@ var J = class e4 extends li {
|
|
|
2355
2379
|
return !(s2 && !a2(s2, e6) || r2 && !a2(i2, e6));
|
|
2356
2380
|
}
|
|
2357
2381
|
loadNamespaces(e6, t2) {
|
|
2358
|
-
let n2 =
|
|
2359
|
-
return this.options.ns ? (
|
|
2382
|
+
let n2 = B();
|
|
2383
|
+
return this.options.ns ? (z(e6) && (e6 = [e6]), e6.forEach((e7) => {
|
|
2360
2384
|
this.options.ns.includes(e7) || this.options.ns.push(e7);
|
|
2361
2385
|
}), this.loadResources((e7) => {
|
|
2362
2386
|
n2.resolve(), t2 && t2(e7);
|
|
2363
2387
|
}), n2) : (t2 && t2(), Promise.resolve());
|
|
2364
2388
|
}
|
|
2365
2389
|
loadLanguages(e6, t2) {
|
|
2366
|
-
let n2 =
|
|
2367
|
-
|
|
2390
|
+
let n2 = B();
|
|
2391
|
+
z(e6) && (e6 = [e6]);
|
|
2368
2392
|
let r2 = this.options.preload || [], i2 = e6.filter((e7) => !r2.includes(e7) && this.services.languageUtils.isSupportedCode(e7));
|
|
2369
2393
|
return i2.length ? (this.options.preload = r2.concat(i2), this.loadResources((e7) => {
|
|
2370
2394
|
n2.resolve(), t2 && t2(e7);
|
|
@@ -2380,24 +2404,33 @@ var J = class e4 extends li {
|
|
|
2380
2404
|
}
|
|
2381
2405
|
} catch {
|
|
2382
2406
|
}
|
|
2383
|
-
let t2 = `ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam.ckb`.split(`.`), n2 = this.services?.languageUtils || new
|
|
2407
|
+
let t2 = `ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam.ckb`.split(`.`), n2 = this.services?.languageUtils || new xi(Ni());
|
|
2384
2408
|
return e6.toLowerCase().indexOf(`-latn`) > 1 ? `ltr` : t2.includes(n2.getLanguagePartFromCode(e6)) || e6.toLowerCase().indexOf(`-arab`) > 1 ? `rtl` : `ltr`;
|
|
2385
2409
|
}
|
|
2386
2410
|
static createInstance(t2 = {}, n2) {
|
|
2387
2411
|
let r2 = new e4(t2, n2);
|
|
2388
2412
|
return r2.createInstance = e4.createInstance, r2;
|
|
2389
2413
|
}
|
|
2390
|
-
cloneInstance(t2 = {}, n2 =
|
|
2414
|
+
cloneInstance(t2 = {}, n2 = Fi) {
|
|
2391
2415
|
let r2 = t2.forkResourceStore;
|
|
2392
2416
|
r2 && delete t2.forkResourceStore;
|
|
2393
2417
|
let i2 = { ...this.options, preload: false, ...t2, isClone: true }, a2 = new e4(i2);
|
|
2394
2418
|
if ((t2.debug !== void 0 || t2.prefix !== void 0) && (a2.logger = a2.logger.clone(t2)), [`store`, `services`, `language`].forEach((e6) => {
|
|
2395
2419
|
a2[e6] = this[e6];
|
|
2396
|
-
}), a2.services = { ...this.services }, a2.services.utils = { hasLoadedNamespace: a2.hasLoadedNamespace.bind(a2) }, r2
|
|
2397
|
-
let e6 =
|
|
2398
|
-
|
|
2420
|
+
}), a2.services = { ...this.services }, a2.services.utils = { hasLoadedNamespace: a2.hasLoadedNamespace.bind(a2) }, r2) {
|
|
2421
|
+
let e6 = (t3) => {
|
|
2422
|
+
let n3 = Array.isArray(t3) ? [...t3] : { ...t3 };
|
|
2423
|
+
return Object.keys(n3).forEach((t4) => {
|
|
2424
|
+
n3[t4] && typeof n3[t4] == `object` && (n3[t4] = e6(n3[t4]));
|
|
2425
|
+
}), n3;
|
|
2426
|
+
};
|
|
2427
|
+
a2.store = new hi(e6(this.store.data), i2), a2.services.resourceStore = a2.store;
|
|
2428
|
+
}
|
|
2429
|
+
if (t2.interpolation) {
|
|
2430
|
+
let e6 = { ...Ni().interpolation, ...this.options.interpolation, ...t2.interpolation }, n3 = { ...i2, interpolation: e6 };
|
|
2431
|
+
a2.services.interpolator = new Ei(n3);
|
|
2399
2432
|
}
|
|
2400
|
-
return a2.translator = new
|
|
2433
|
+
return a2.translator = new bi(a2.services, i2), a2.translator.on(`*`, (e6, ...t3) => {
|
|
2401
2434
|
a2.emit(e6, ...t3);
|
|
2402
2435
|
}), a2.init(i2, n2), a2.translator.options = i2, a2.translator.backendConnector.services.utils = { hasLoadedNamespace: a2.hasLoadedNamespace.bind(a2) }, a2;
|
|
2403
2436
|
}
|
|
@@ -2405,9 +2438,9 @@ var J = class e4 extends li {
|
|
|
2405
2438
|
return { options: this.options, store: this.store, language: this.language, languages: this.languages, resolvedLanguage: this.resolvedLanguage };
|
|
2406
2439
|
}
|
|
2407
2440
|
}.createInstance();
|
|
2408
|
-
|
|
2409
|
-
var
|
|
2410
|
-
let s2 = { lng: e6, fallbackLng: `en`, keySeparator: false, react: { useSuspense: r2, bindI18n: a2 }, _polyfill: { isLoading: false } }, c2 =
|
|
2441
|
+
q.createInstance, q.dir, q.init, q.loadResources, q.reloadResources, q.use, q.changeLanguage, q.getFixedT, q.t, q.exists, q.setDefaultNamespace, q.hasLoadedNamespace, q.loadNamespaces, q.loadLanguages;
|
|
2442
|
+
var Li = ({ locale: e6, asyncMessagesLoader: t2, messages: n2, useSuspense: r2 = false, disableAutoInit: i2 = false, bindI18n: a2 }, { icu: o2 } = {}) => {
|
|
2443
|
+
let s2 = { lng: e6, fallbackLng: `en`, keySeparator: false, react: { useSuspense: r2, bindI18n: a2 }, _polyfill: { isLoading: false } }, c2 = q.createInstance(i2 ? s2 : void 0);
|
|
2411
2444
|
return o2 && c2.use(o2), t2 && c2.use({ type: `backend`, read: async (e7, n3, r3) => {
|
|
2412
2445
|
try {
|
|
2413
2446
|
return r3(null, await t2(e7));
|
|
@@ -2416,38 +2449,38 @@ var Pi = ({ locale: e6, asyncMessagesLoader: t2, messages: n2, useSuspense: r2 =
|
|
|
2416
2449
|
}
|
|
2417
2450
|
} }), n2 && (s2.resources = { [e6]: { translation: n2 } }), i2 || c2.init(s2), c2;
|
|
2418
2451
|
};
|
|
2419
|
-
function
|
|
2420
|
-
let n2 = t2 && t2.cache ? t2.cache :
|
|
2421
|
-
return (t2 && t2.strategy ? t2.strategy :
|
|
2452
|
+
function Ri(e6, t2) {
|
|
2453
|
+
let n2 = t2 && t2.cache ? t2.cache : Ji, r2 = t2 && t2.serializer ? t2.serializer : Ki;
|
|
2454
|
+
return (t2 && t2.strategy ? t2.strategy : Ui)(e6, { cache: n2, serializer: r2 });
|
|
2422
2455
|
}
|
|
2423
|
-
function
|
|
2456
|
+
function zi(e6) {
|
|
2424
2457
|
return e6 == null || typeof e6 == `number` || typeof e6 == `boolean`;
|
|
2425
2458
|
}
|
|
2426
|
-
function
|
|
2427
|
-
let i2 =
|
|
2459
|
+
function Bi(e6, t2, n2, r2) {
|
|
2460
|
+
let i2 = zi(r2) ? r2 : n2(r2), a2 = t2.get(i2);
|
|
2428
2461
|
return a2 === void 0 && (a2 = e6.call(this, r2), t2.set(i2, a2)), a2;
|
|
2429
2462
|
}
|
|
2430
|
-
function
|
|
2463
|
+
function Vi(e6, t2, n2) {
|
|
2431
2464
|
let r2 = Array.prototype.slice.call(arguments, 3), i2 = n2(r2), a2 = t2.get(i2);
|
|
2432
2465
|
return a2 === void 0 && (a2 = e6.apply(this, r2), t2.set(i2, a2)), a2;
|
|
2433
2466
|
}
|
|
2434
|
-
function
|
|
2467
|
+
function Hi(e6, t2, n2, r2, i2) {
|
|
2435
2468
|
return n2.bind(t2, e6, r2, i2);
|
|
2436
2469
|
}
|
|
2437
|
-
function
|
|
2438
|
-
let n2 = e6.length === 1 ?
|
|
2439
|
-
return
|
|
2470
|
+
function Ui(e6, t2) {
|
|
2471
|
+
let n2 = e6.length === 1 ? Bi : Vi;
|
|
2472
|
+
return Hi(e6, this, n2, t2.cache.create(), t2.serializer);
|
|
2440
2473
|
}
|
|
2441
|
-
function
|
|
2442
|
-
return
|
|
2474
|
+
function Wi(e6, t2) {
|
|
2475
|
+
return Hi(e6, this, Vi, t2.cache.create(), t2.serializer);
|
|
2443
2476
|
}
|
|
2444
|
-
function
|
|
2445
|
-
return
|
|
2477
|
+
function Gi(e6, t2) {
|
|
2478
|
+
return Hi(e6, this, Bi, t2.cache.create(), t2.serializer);
|
|
2446
2479
|
}
|
|
2447
|
-
var
|
|
2480
|
+
var Ki = function() {
|
|
2448
2481
|
return JSON.stringify(arguments);
|
|
2449
2482
|
};
|
|
2450
|
-
var
|
|
2483
|
+
var qi = class {
|
|
2451
2484
|
constructor() {
|
|
2452
2485
|
this.cache = /* @__PURE__ */ Object.create(null);
|
|
2453
2486
|
}
|
|
@@ -2458,14 +2491,14 @@ var Wi = class {
|
|
|
2458
2491
|
this.cache[e6] = t2;
|
|
2459
2492
|
}
|
|
2460
2493
|
};
|
|
2461
|
-
var
|
|
2462
|
-
return new
|
|
2494
|
+
var Ji = { create: function() {
|
|
2495
|
+
return new qi();
|
|
2463
2496
|
} };
|
|
2464
|
-
var
|
|
2465
|
-
var
|
|
2466
|
-
function
|
|
2497
|
+
var Yi = { variadic: Wi, monadic: Gi };
|
|
2498
|
+
var Xi = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
2499
|
+
function Zi(e6) {
|
|
2467
2500
|
let t2 = {};
|
|
2468
|
-
return e6.replace(
|
|
2501
|
+
return e6.replace(Xi, (e7) => {
|
|
2469
2502
|
let n2 = e7.length;
|
|
2470
2503
|
switch (e7[0]) {
|
|
2471
2504
|
case `G`:
|
|
@@ -2552,10 +2585,10 @@ function Ji(e6) {
|
|
|
2552
2585
|
return ``;
|
|
2553
2586
|
}), t2;
|
|
2554
2587
|
}
|
|
2555
|
-
var
|
|
2556
|
-
function
|
|
2588
|
+
var Qi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
2589
|
+
function $i(e6) {
|
|
2557
2590
|
if (e6.length === 0) throw Error(`Number skeleton cannot be empty`);
|
|
2558
|
-
let t2 = e6.split(
|
|
2591
|
+
let t2 = e6.split(Qi).filter((e7) => e7.length > 0), n2 = [];
|
|
2559
2592
|
for (let e7 of t2) {
|
|
2560
2593
|
let t3 = e7.split(`/`);
|
|
2561
2594
|
if (t3.length === 0) throw Error(`Invalid number skeleton`);
|
|
@@ -2565,20 +2598,20 @@ function Xi(e6) {
|
|
|
2565
2598
|
}
|
|
2566
2599
|
return n2;
|
|
2567
2600
|
}
|
|
2568
|
-
function
|
|
2601
|
+
function ea(e6) {
|
|
2569
2602
|
return e6.replace(/^(.*?)-/, ``);
|
|
2570
2603
|
}
|
|
2571
|
-
var
|
|
2572
|
-
var
|
|
2573
|
-
var
|
|
2574
|
-
var
|
|
2575
|
-
function
|
|
2604
|
+
var ta = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g;
|
|
2605
|
+
var na = /^(@+)?(\+|#+)?[rs]?$/g;
|
|
2606
|
+
var ra = /(\*)(0+)|(#+)(0+)|(0+)/g;
|
|
2607
|
+
var ia = /^(0+)$/;
|
|
2608
|
+
function aa(e6) {
|
|
2576
2609
|
let t2 = {};
|
|
2577
|
-
return e6[e6.length - 1] === `r` ? t2.roundingPriority = `morePrecision` : e6[e6.length - 1] === `s` && (t2.roundingPriority = `lessPrecision`), e6.replace(
|
|
2610
|
+
return e6[e6.length - 1] === `r` ? t2.roundingPriority = `morePrecision` : e6[e6.length - 1] === `s` && (t2.roundingPriority = `lessPrecision`), e6.replace(na, function(e7, n2, r2) {
|
|
2578
2611
|
return typeof r2 == `string` ? r2 === `+` ? t2.minimumSignificantDigits = n2.length : n2[0] === `#` ? t2.maximumSignificantDigits = n2.length : (t2.minimumSignificantDigits = n2.length, t2.maximumSignificantDigits = n2.length + (typeof r2 == `string` ? r2.length : 0)) : (t2.minimumSignificantDigits = n2.length, t2.maximumSignificantDigits = n2.length), ``;
|
|
2579
2612
|
}), t2;
|
|
2580
2613
|
}
|
|
2581
|
-
function
|
|
2614
|
+
function oa(e6) {
|
|
2582
2615
|
switch (e6) {
|
|
2583
2616
|
case `sign-auto`:
|
|
2584
2617
|
return { signDisplay: `auto` };
|
|
@@ -2602,19 +2635,19 @@ function ra(e6) {
|
|
|
2602
2635
|
return { signDisplay: `never` };
|
|
2603
2636
|
}
|
|
2604
2637
|
}
|
|
2605
|
-
function
|
|
2638
|
+
function sa(e6) {
|
|
2606
2639
|
let t2;
|
|
2607
2640
|
if (e6[0] === `E` && e6[1] === `E` ? (t2 = { notation: `engineering` }, e6 = e6.slice(2)) : e6[0] === `E` && (t2 = { notation: `scientific` }, e6 = e6.slice(1)), t2) {
|
|
2608
2641
|
let n2 = e6.slice(0, 2);
|
|
2609
|
-
if (n2 === `+!` ? (t2.signDisplay = `always`, e6 = e6.slice(2)) : n2 === `+?` && (t2.signDisplay = `exceptZero`, e6 = e6.slice(2)), !
|
|
2642
|
+
if (n2 === `+!` ? (t2.signDisplay = `always`, e6 = e6.slice(2)) : n2 === `+?` && (t2.signDisplay = `exceptZero`, e6 = e6.slice(2)), !ia.test(e6)) throw Error(`Malformed concise eng/scientific notation`);
|
|
2610
2643
|
t2.minimumIntegerDigits = e6.length;
|
|
2611
2644
|
}
|
|
2612
2645
|
return t2;
|
|
2613
2646
|
}
|
|
2614
|
-
function
|
|
2615
|
-
return
|
|
2647
|
+
function ca(e6) {
|
|
2648
|
+
return oa(e6) || {};
|
|
2616
2649
|
}
|
|
2617
|
-
function
|
|
2650
|
+
function la(e6) {
|
|
2618
2651
|
let t2 = {};
|
|
2619
2652
|
for (let n2 of e6) {
|
|
2620
2653
|
switch (n2.stem) {
|
|
@@ -2638,7 +2671,7 @@ function oa(e6) {
|
|
|
2638
2671
|
continue;
|
|
2639
2672
|
case `measure-unit`:
|
|
2640
2673
|
case `unit`:
|
|
2641
|
-
t2.style = `unit`, t2.unit =
|
|
2674
|
+
t2.style = `unit`, t2.unit = ea(n2.options[0]);
|
|
2642
2675
|
continue;
|
|
2643
2676
|
case `compact-short`:
|
|
2644
2677
|
case `K`:
|
|
@@ -2649,10 +2682,10 @@ function oa(e6) {
|
|
|
2649
2682
|
t2.notation = `compact`, t2.compactDisplay = `long`;
|
|
2650
2683
|
continue;
|
|
2651
2684
|
case `scientific`:
|
|
2652
|
-
t2 = { ...t2, notation: `scientific`, ...n2.options.reduce((e8, t3) => ({ ...e8, ...
|
|
2685
|
+
t2 = { ...t2, notation: `scientific`, ...n2.options.reduce((e8, t3) => ({ ...e8, ...ca(t3) }), {}) };
|
|
2653
2686
|
continue;
|
|
2654
2687
|
case `engineering`:
|
|
2655
|
-
t2 = { ...t2, notation: `engineering`, ...n2.options.reduce((e8, t3) => ({ ...e8, ...
|
|
2688
|
+
t2 = { ...t2, notation: `engineering`, ...n2.options.reduce((e8, t3) => ({ ...e8, ...ca(t3) }), {}) };
|
|
2656
2689
|
continue;
|
|
2657
2690
|
case `notation-simple`:
|
|
2658
2691
|
t2.notation = `standard`;
|
|
@@ -2695,7 +2728,7 @@ function oa(e6) {
|
|
|
2695
2728
|
continue;
|
|
2696
2729
|
case `integer-width`:
|
|
2697
2730
|
if (n2.options.length > 1) throw RangeError(`integer-width stems only accept a single optional option`);
|
|
2698
|
-
n2.options[0].replace(
|
|
2731
|
+
n2.options[0].replace(ra, function(e8, n3, r3, i2, a2, o2) {
|
|
2699
2732
|
if (n3) t2.minimumIntegerDigits = r3.length;
|
|
2700
2733
|
else if (i2 && a2) throw Error(`We currently do not support maximum integer digits`);
|
|
2701
2734
|
else if (o2) throw Error(`We currently do not support exact integer digits`);
|
|
@@ -2703,83 +2736,83 @@ function oa(e6) {
|
|
|
2703
2736
|
});
|
|
2704
2737
|
continue;
|
|
2705
2738
|
}
|
|
2706
|
-
if (
|
|
2739
|
+
if (ia.test(n2.stem)) {
|
|
2707
2740
|
t2.minimumIntegerDigits = n2.stem.length;
|
|
2708
2741
|
continue;
|
|
2709
2742
|
}
|
|
2710
|
-
if (
|
|
2743
|
+
if (ta.test(n2.stem)) {
|
|
2711
2744
|
if (n2.options.length > 1) throw RangeError(`Fraction-precision stems only accept a single optional option`);
|
|
2712
|
-
n2.stem.replace(
|
|
2745
|
+
n2.stem.replace(ta, function(e9, n3, r3, i2, a2, o2) {
|
|
2713
2746
|
return r3 === `*` ? t2.minimumFractionDigits = n3.length : i2 && i2[0] === `#` ? t2.maximumFractionDigits = i2.length : a2 && o2 ? (t2.minimumFractionDigits = a2.length, t2.maximumFractionDigits = a2.length + o2.length) : (t2.minimumFractionDigits = n3.length, t2.maximumFractionDigits = n3.length), ``;
|
|
2714
2747
|
});
|
|
2715
2748
|
let e8 = n2.options[0];
|
|
2716
|
-
e8 === `w` ? t2 = { ...t2, trailingZeroDisplay: `stripIfInteger` } : e8 && (t2 = { ...t2, ...
|
|
2749
|
+
e8 === `w` ? t2 = { ...t2, trailingZeroDisplay: `stripIfInteger` } : e8 && (t2 = { ...t2, ...aa(e8) });
|
|
2717
2750
|
continue;
|
|
2718
2751
|
}
|
|
2719
|
-
if (
|
|
2720
|
-
t2 = { ...t2, ...
|
|
2752
|
+
if (na.test(n2.stem)) {
|
|
2753
|
+
t2 = { ...t2, ...aa(n2.stem) };
|
|
2721
2754
|
continue;
|
|
2722
2755
|
}
|
|
2723
|
-
let e7 =
|
|
2756
|
+
let e7 = oa(n2.stem);
|
|
2724
2757
|
e7 && (t2 = { ...t2, ...e7 });
|
|
2725
|
-
let r2 =
|
|
2758
|
+
let r2 = sa(n2.stem);
|
|
2726
2759
|
r2 && (t2 = { ...t2, ...r2 });
|
|
2727
2760
|
}
|
|
2728
2761
|
return t2;
|
|
2729
2762
|
}
|
|
2730
|
-
var
|
|
2763
|
+
var ua = function(e6) {
|
|
2731
2764
|
return e6[e6.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = `EXPECT_ARGUMENT_CLOSING_BRACE`, e6[e6.EMPTY_ARGUMENT = 2] = `EMPTY_ARGUMENT`, e6[e6.MALFORMED_ARGUMENT = 3] = `MALFORMED_ARGUMENT`, e6[e6.EXPECT_ARGUMENT_TYPE = 4] = `EXPECT_ARGUMENT_TYPE`, e6[e6.INVALID_ARGUMENT_TYPE = 5] = `INVALID_ARGUMENT_TYPE`, e6[e6.EXPECT_ARGUMENT_STYLE = 6] = `EXPECT_ARGUMENT_STYLE`, e6[e6.INVALID_NUMBER_SKELETON = 7] = `INVALID_NUMBER_SKELETON`, e6[e6.INVALID_DATE_TIME_SKELETON = 8] = `INVALID_DATE_TIME_SKELETON`, e6[e6.EXPECT_NUMBER_SKELETON = 9] = `EXPECT_NUMBER_SKELETON`, e6[e6.EXPECT_DATE_TIME_SKELETON = 10] = `EXPECT_DATE_TIME_SKELETON`, e6[e6.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = `UNCLOSED_QUOTE_IN_ARGUMENT_STYLE`, e6[e6.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = `EXPECT_SELECT_ARGUMENT_OPTIONS`, e6[e6.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = `EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE`, e6[e6.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = `INVALID_PLURAL_ARGUMENT_OFFSET_VALUE`, e6[e6.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = `EXPECT_SELECT_ARGUMENT_SELECTOR`, e6[e6.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = `EXPECT_PLURAL_ARGUMENT_SELECTOR`, e6[e6.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = `EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT`, e6[e6.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = `EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT`, e6[e6.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = `INVALID_PLURAL_ARGUMENT_SELECTOR`, e6[e6.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = `DUPLICATE_PLURAL_ARGUMENT_SELECTOR`, e6[e6.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = `DUPLICATE_SELECT_ARGUMENT_SELECTOR`, e6[e6.MISSING_OTHER_CLAUSE = 22] = `MISSING_OTHER_CLAUSE`, e6[e6.INVALID_TAG = 23] = `INVALID_TAG`, e6[e6.INVALID_TAG_NAME = 25] = `INVALID_TAG_NAME`, e6[e6.UNMATCHED_CLOSING_TAG = 26] = `UNMATCHED_CLOSING_TAG`, e6[e6.UNCLOSED_TAG = 27] = `UNCLOSED_TAG`, e6;
|
|
2732
2765
|
}({});
|
|
2733
|
-
function
|
|
2766
|
+
function da(e6) {
|
|
2734
2767
|
return e6.type === 0;
|
|
2735
2768
|
}
|
|
2736
|
-
function
|
|
2769
|
+
function fa(e6) {
|
|
2737
2770
|
return e6.type === 1;
|
|
2738
2771
|
}
|
|
2739
|
-
function
|
|
2772
|
+
function pa(e6) {
|
|
2740
2773
|
return e6.type === 2;
|
|
2741
2774
|
}
|
|
2742
|
-
function
|
|
2775
|
+
function ma(e6) {
|
|
2743
2776
|
return e6.type === 3;
|
|
2744
2777
|
}
|
|
2745
|
-
function
|
|
2778
|
+
function ha(e6) {
|
|
2746
2779
|
return e6.type === 4;
|
|
2747
2780
|
}
|
|
2748
|
-
function
|
|
2781
|
+
function ga(e6) {
|
|
2749
2782
|
return e6.type === 5;
|
|
2750
2783
|
}
|
|
2751
|
-
function
|
|
2784
|
+
function _a(e6) {
|
|
2752
2785
|
return e6.type === 6;
|
|
2753
2786
|
}
|
|
2754
|
-
function
|
|
2787
|
+
function va(e6) {
|
|
2755
2788
|
return e6.type === 7;
|
|
2756
2789
|
}
|
|
2757
|
-
function
|
|
2790
|
+
function ya(e6) {
|
|
2758
2791
|
return e6.type === 8;
|
|
2759
2792
|
}
|
|
2760
|
-
function
|
|
2793
|
+
function ba(e6) {
|
|
2761
2794
|
return !!(e6 && typeof e6 == `object` && e6.type === 0);
|
|
2762
2795
|
}
|
|
2763
|
-
function
|
|
2796
|
+
function xa(e6) {
|
|
2764
2797
|
return !!(e6 && typeof e6 == `object` && e6.type === 1);
|
|
2765
2798
|
}
|
|
2766
|
-
var
|
|
2767
|
-
var
|
|
2768
|
-
function
|
|
2799
|
+
var Sa = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/;
|
|
2800
|
+
var J = { "001": [`H`, `h`], 419: [`h`, `H`, `hB`, `hb`], AC: [`H`, `h`, `hb`, `hB`], AD: [`H`, `hB`], AE: [`h`, `hB`, `hb`, `H`], AF: [`H`, `hb`, `hB`, `h`], AG: [`h`, `hb`, `H`, `hB`], AI: [`H`, `h`, `hb`, `hB`], AL: [`h`, `H`, `hB`], AM: [`H`, `hB`], AO: [`H`, `hB`], AR: [`h`, `H`, `hB`, `hb`], AS: [`h`, `H`], AT: [`H`, `hB`], AU: [`h`, `hb`, `H`, `hB`], AW: [`H`, `hB`], AX: [`H`], AZ: [`H`, `hB`, `h`], BA: [`H`, `hB`, `h`], BB: [`h`, `hb`, `H`, `hB`], BD: [`h`, `hB`, `H`], BE: [`H`, `hB`], BF: [`H`, `hB`], BG: [`H`, `hB`, `h`], BH: [`h`, `hB`, `hb`, `H`], BI: [`H`, `h`], BJ: [`H`, `hB`], BL: [`H`, `hB`], BM: [`h`, `hb`, `H`, `hB`], BN: [`hb`, `hB`, `h`, `H`], BO: [`h`, `H`, `hB`, `hb`], BQ: [`H`], BR: [`H`, `hB`], BS: [`h`, `hb`, `H`, `hB`], BT: [`h`, `H`], BW: [`H`, `h`, `hb`, `hB`], BY: [`H`, `h`], BZ: [`H`, `h`, `hb`, `hB`], CA: [`h`, `hb`, `H`, `hB`], CC: [`H`, `h`, `hb`, `hB`], CD: [`hB`, `H`], CF: [`H`, `h`, `hB`], CG: [`H`, `hB`], CH: [`H`, `hB`, `h`], CI: [`H`, `hB`], CK: [`H`, `h`, `hb`, `hB`], CL: [`h`, `H`, `hB`, `hb`], CM: [`H`, `h`, `hB`], CN: [`H`, `hB`, `hb`, `h`], CO: [`h`, `H`, `hB`, `hb`], CP: [`H`], CR: [`h`, `H`, `hB`, `hb`], CU: [`h`, `H`, `hB`, `hb`], CV: [`H`, `hB`], CW: [`H`, `hB`], CX: [`H`, `h`, `hb`, `hB`], CY: [`h`, `H`, `hb`, `hB`], CZ: [`H`], DE: [`H`, `hB`], DG: [`H`, `h`, `hb`, `hB`], DJ: [`h`, `H`], DK: [`H`], DM: [`h`, `hb`, `H`, `hB`], DO: [`h`, `H`, `hB`, `hb`], DZ: [`h`, `hB`, `hb`, `H`], EA: [`H`, `h`, `hB`, `hb`], EC: [`h`, `H`, `hB`, `hb`], EE: [`H`, `hB`], EG: [`h`, `hB`, `hb`, `H`], EH: [`h`, `hB`, `hb`, `H`], ER: [`h`, `H`], ES: [`H`, `hB`, `h`, `hb`], ET: [`hB`, `hb`, `h`, `H`], FI: [`H`], FJ: [`h`, `hb`, `H`, `hB`], FK: [`H`, `h`, `hb`, `hB`], FM: [`h`, `hb`, `H`, `hB`], FO: [`H`, `h`], FR: [`H`, `hB`], GA: [`H`, `hB`], GB: [`H`, `h`, `hb`, `hB`], GD: [`h`, `hb`, `H`, `hB`], GE: [`H`, `hB`, `h`], GF: [`H`, `hB`], GG: [`H`, `h`, `hb`, `hB`], GH: [`h`, `H`], GI: [`H`, `h`, `hb`, `hB`], GL: [`H`, `h`], GM: [`h`, `hb`, `H`, `hB`], GN: [`H`, `hB`], GP: [`H`, `hB`], GQ: [`H`, `hB`, `h`, `hb`], GR: [`h`, `H`, `hb`, `hB`], GS: [`H`, `h`, `hb`, `hB`], GT: [`h`, `H`, `hB`, `hb`], GU: [`h`, `hb`, `H`, `hB`], GW: [`H`, `hB`], GY: [`h`, `hb`, `H`, `hB`], HK: [`h`, `hB`, `hb`, `H`], HN: [`h`, `H`, `hB`, `hb`], HR: [`H`, `hB`], HU: [`H`, `h`], IC: [`H`, `h`, `hB`, `hb`], ID: [`H`], IE: [`H`, `h`, `hb`, `hB`], IL: [`H`, `hB`], IM: [`H`, `h`, `hb`, `hB`], IN: [`h`, `H`], IO: [`H`, `h`, `hb`, `hB`], IQ: [`h`, `hB`, `hb`, `H`], IR: [`hB`, `H`], IS: [`H`], IT: [`H`, `hB`], JE: [`H`, `h`, `hb`, `hB`], JM: [`h`, `hb`, `H`, `hB`], JO: [`h`, `hB`, `hb`, `H`], JP: [`H`, `K`, `h`], KE: [`hB`, `hb`, `H`, `h`], KG: [`H`, `h`, `hB`, `hb`], KH: [`hB`, `h`, `H`, `hb`], KI: [`h`, `hb`, `H`, `hB`], KM: [`H`, `h`, `hB`, `hb`], KN: [`h`, `hb`, `H`, `hB`], KP: [`h`, `H`, `hB`, `hb`], KR: [`h`, `H`, `hB`, `hb`], KW: [`h`, `hB`, `hb`, `H`], KY: [`h`, `hb`, `H`, `hB`], KZ: [`H`, `hB`], LA: [`H`, `hb`, `hB`, `h`], LB: [`h`, `hB`, `hb`, `H`], LC: [`h`, `hb`, `H`, `hB`], LI: [`H`, `hB`, `h`], LK: [`H`, `h`, `hB`, `hb`], LR: [`h`, `hb`, `H`, `hB`], LS: [`h`, `H`], LT: [`H`, `h`, `hb`, `hB`], LU: [`H`, `h`, `hB`], LV: [`H`, `hB`, `hb`, `h`], LY: [`h`, `hB`, `hb`, `H`], MA: [`H`, `h`, `hB`, `hb`], MC: [`H`, `hB`], MD: [`H`, `hB`], ME: [`H`, `hB`, `h`], MF: [`H`, `hB`], MG: [`H`, `h`], MH: [`h`, `hb`, `H`, `hB`], MK: [`H`, `h`, `hb`, `hB`], ML: [`H`], MM: [`hB`, `hb`, `H`, `h`], MN: [`H`, `h`, `hb`, `hB`], MO: [`h`, `hB`, `hb`, `H`], MP: [`h`, `hb`, `H`, `hB`], MQ: [`H`, `hB`], MR: [`h`, `hB`, `hb`, `H`], MS: [`H`, `h`, `hb`, `hB`], MT: [`H`, `h`], MU: [`H`, `h`], MV: [`H`, `h`], MW: [`h`, `hb`, `H`, `hB`], MX: [`h`, `H`, `hB`, `hb`], MY: [`hb`, `hB`, `h`, `H`], MZ: [`H`, `hB`], NA: [`h`, `H`, `hB`, `hb`], NC: [`H`, `hB`], NE: [`H`], NF: [`H`, `h`, `hb`, `hB`], NG: [`H`, `h`, `hb`, `hB`], NI: [`h`, `H`, `hB`, `hb`], NL: [`H`, `hB`], NO: [`H`, `h`], NP: [`H`, `h`, `hB`], NR: [`H`, `h`, `hb`, `hB`], NU: [`H`, `h`, `hb`, `hB`], NZ: [`h`, `hb`, `H`, `hB`], OM: [`h`, `hB`, `hb`, `H`], PA: [`h`, `H`, `hB`, `hb`], PE: [`h`, `H`, `hB`, `hb`], PF: [`H`, `h`, `hB`], PG: [`h`, `H`], PH: [`h`, `hB`, `hb`, `H`], PK: [`h`, `hB`, `H`], PL: [`H`, `h`], PM: [`H`, `hB`], PN: [`H`, `h`, `hb`, `hB`], PR: [`h`, `H`, `hB`, `hb`], PS: [`h`, `hB`, `hb`, `H`], PT: [`H`, `hB`], PW: [`h`, `H`], PY: [`h`, `H`, `hB`, `hb`], QA: [`h`, `hB`, `hb`, `H`], RE: [`H`, `hB`], RO: [`H`, `hB`], RS: [`H`, `hB`, `h`], RU: [`H`], RW: [`H`, `h`], SA: [`h`, `hB`, `hb`, `H`], SB: [`h`, `hb`, `H`, `hB`], SC: [`H`, `h`, `hB`], SD: [`h`, `hB`, `hb`, `H`], SE: [`H`], SG: [`h`, `hb`, `H`, `hB`], SH: [`H`, `h`, `hb`, `hB`], SI: [`H`, `hB`], SJ: [`H`], SK: [`H`], SL: [`h`, `hb`, `H`, `hB`], SM: [`H`, `h`, `hB`], SN: [`H`, `h`, `hB`], SO: [`h`, `H`], SR: [`H`, `hB`], SS: [`h`, `hb`, `H`, `hB`], ST: [`H`, `hB`], SV: [`h`, `H`, `hB`, `hb`], SX: [`H`, `h`, `hb`, `hB`], SY: [`h`, `hB`, `hb`, `H`], SZ: [`h`, `hb`, `H`, `hB`], TA: [`H`, `h`, `hb`, `hB`], TC: [`h`, `hb`, `H`, `hB`], TD: [`h`, `H`, `hB`], TF: [`H`, `h`, `hB`], TG: [`H`, `hB`], TH: [`H`, `h`], TJ: [`H`, `h`], TL: [`H`, `hB`, `hb`, `h`], TM: [`H`, `h`], TN: [`h`, `hB`, `hb`, `H`], TO: [`h`, `H`], TR: [`H`, `hB`], TT: [`h`, `hb`, `H`, `hB`], TW: [`hB`, `hb`, `h`, `H`], TZ: [`hB`, `hb`, `H`, `h`], UA: [`H`, `hB`, `h`], UG: [`hB`, `hb`, `H`, `h`], UM: [`h`, `hb`, `H`, `hB`], US: [`h`, `hb`, `H`, `hB`], UY: [`h`, `H`, `hB`, `hb`], UZ: [`H`, `hB`, `h`], VA: [`H`, `h`, `hB`], VC: [`h`, `hb`, `H`, `hB`], VE: [`h`, `H`, `hB`, `hb`], VG: [`h`, `hb`, `H`, `hB`], VI: [`h`, `hb`, `H`, `hB`], VN: [`H`, `h`], VU: [`h`, `H`], WF: [`H`, `hB`], WS: [`h`, `H`], XK: [`H`, `hB`, `h`], YE: [`h`, `hB`, `hb`, `H`], YT: [`H`, `hB`], ZA: [`H`, `h`, `hb`, `hB`], ZM: [`h`, `hb`, `H`, `hB`], ZW: [`H`, `h`], "af-ZA": [`H`, `h`, `hB`, `hb`], "ar-001": [`h`, `hB`, `hb`, `H`], "ca-ES": [`H`, `h`, `hB`], "en-001": [`h`, `hb`, `H`, `hB`], "en-HK": [`h`, `hb`, `H`, `hB`], "en-IL": [`H`, `h`, `hb`, `hB`], "en-MY": [`h`, `hb`, `H`, `hB`], "es-BR": [`H`, `h`, `hB`, `hb`], "es-ES": [`H`, `h`, `hB`, `hb`], "es-GQ": [`H`, `h`, `hB`, `hb`], "fr-CA": [`H`, `h`, `hB`], "gl-ES": [`H`, `h`, `hB`], "gu-IN": [`hB`, `hb`, `h`, `H`], "hi-IN": [`hB`, `h`, `H`], "it-CH": [`H`, `h`, `hB`], "it-IT": [`H`, `h`, `hB`], "kn-IN": [`hB`, `h`, `H`], "ku-SY": [`H`, `hB`], "ml-IN": [`hB`, `h`, `H`], "mr-IN": [`hB`, `hb`, `h`, `H`], "pa-IN": [`hB`, `hb`, `h`, `H`], "ta-IN": [`hB`, `h`, `hb`, `H`], "te-IN": [`hB`, `h`, `H`], "zu-ZA": [`H`, `hB`, `hb`, `h`] };
|
|
2801
|
+
function Ca(e6, t2) {
|
|
2769
2802
|
let n2 = ``;
|
|
2770
2803
|
for (let r2 = 0; r2 < e6.length; r2++) {
|
|
2771
2804
|
let i2 = e6.charAt(r2);
|
|
2772
2805
|
if (i2 === `j`) {
|
|
2773
2806
|
let a2 = 0;
|
|
2774
2807
|
for (; r2 + 1 < e6.length && e6.charAt(r2 + 1) === i2; ) a2++, r2++;
|
|
2775
|
-
let o2 = 1 + (a2 & 1), s2 = a2 < 2 ? 1 : 3 + (a2 >> 1), c2 =
|
|
2808
|
+
let o2 = 1 + (a2 & 1), s2 = a2 < 2 ? 1 : 3 + (a2 >> 1), c2 = wa(t2);
|
|
2776
2809
|
for ((c2 == `H` || c2 == `k`) && (s2 = 0); s2-- > 0; ) n2 += `a`;
|
|
2777
2810
|
for (; o2-- > 0; ) n2 = c2 + n2;
|
|
2778
2811
|
} else n2 += i2 === `J` ? `H` : i2;
|
|
2779
2812
|
}
|
|
2780
2813
|
return n2;
|
|
2781
2814
|
}
|
|
2782
|
-
function
|
|
2815
|
+
function wa(e6) {
|
|
2783
2816
|
let t2 = e6.hourCycle;
|
|
2784
2817
|
if (t2 === void 0) {
|
|
2785
2818
|
let n3 = e6;
|
|
@@ -2798,36 +2831,36 @@ function xa(e6) {
|
|
|
2798
2831
|
throw Error(`Invalid hourCycle`);
|
|
2799
2832
|
}
|
|
2800
2833
|
let n2 = e6.language, r2;
|
|
2801
|
-
return n2 !== `root` && (r2 = e6.maximize().region), (
|
|
2834
|
+
return n2 !== `root` && (r2 = e6.maximize().region), (J[`${n2}-${r2}`] || J[r2 || ``] || J[n2 || ``] || J[`${n2}-001`] || J[`001`])[0].charAt(0);
|
|
2802
2835
|
}
|
|
2803
|
-
var
|
|
2804
|
-
var
|
|
2805
|
-
function
|
|
2836
|
+
var Ta = RegExp(`^${Sa.source}*`);
|
|
2837
|
+
var Ea = RegExp(`${Sa.source}*$`);
|
|
2838
|
+
function Y(e6, t2) {
|
|
2806
2839
|
return { start: e6, end: t2 };
|
|
2807
2840
|
}
|
|
2808
|
-
var
|
|
2809
|
-
var
|
|
2810
|
-
var
|
|
2811
|
-
var
|
|
2841
|
+
var Da = !!Object.fromEntries;
|
|
2842
|
+
var Oa = !!String.prototype.trimStart;
|
|
2843
|
+
var ka = !!String.prototype.trimEnd;
|
|
2844
|
+
var Aa = Da ? Object.fromEntries : function(e6) {
|
|
2812
2845
|
let t2 = {};
|
|
2813
2846
|
for (let [n2, r2] of e6) t2[n2] = r2;
|
|
2814
2847
|
return t2;
|
|
2815
2848
|
};
|
|
2816
|
-
var
|
|
2849
|
+
var ja = Oa ? function(e6) {
|
|
2817
2850
|
return e6.trimStart();
|
|
2818
2851
|
} : function(e6) {
|
|
2819
|
-
return e6.replace(
|
|
2852
|
+
return e6.replace(Ta, ``);
|
|
2820
2853
|
};
|
|
2821
|
-
var
|
|
2854
|
+
var Ma = ka ? function(e6) {
|
|
2822
2855
|
return e6.trimEnd();
|
|
2823
2856
|
} : function(e6) {
|
|
2824
|
-
return e6.replace(
|
|
2857
|
+
return e6.replace(Ea, ``);
|
|
2825
2858
|
};
|
|
2826
|
-
var
|
|
2827
|
-
function
|
|
2828
|
-
return
|
|
2859
|
+
var Na = RegExp(`([^\\p{White_Space}\\p{Pattern_Syntax}]*)`, `yu`);
|
|
2860
|
+
function Pa(e6, t2) {
|
|
2861
|
+
return Na.lastIndex = t2, Na.exec(e6)[1] ?? ``;
|
|
2829
2862
|
}
|
|
2830
|
-
function
|
|
2863
|
+
function Fa(e6) {
|
|
2831
2864
|
if (e6.length === 0) return null;
|
|
2832
2865
|
let t2 = 1, n2 = 1;
|
|
2833
2866
|
for (let r2 = 0; r2 < e6.length; ) {
|
|
@@ -2848,7 +2881,7 @@ function Ma(e6) {
|
|
|
2848
2881
|
}
|
|
2849
2882
|
return { offset: e6.length, line: t2, column: n2 };
|
|
2850
2883
|
}
|
|
2851
|
-
var
|
|
2884
|
+
var Ia = class {
|
|
2852
2885
|
constructor(e6, t2 = {}) {
|
|
2853
2886
|
this.message = e6, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!t2.ignoreTag, this.locale = t2.locale, this.requiresOtherClause = !!t2.requiresOtherClause, this.shouldParseSkeletons = !!t2.shouldParseSkeletons;
|
|
2854
2887
|
}
|
|
@@ -2857,10 +2890,10 @@ var Na = class {
|
|
|
2857
2890
|
if (this.message.length > 0) {
|
|
2858
2891
|
let e6 = this.message.charCodeAt(0);
|
|
2859
2892
|
if (e6 !== 35 && e6 !== 39 && e6 !== 60 && e6 !== 123 && e6 !== 125) {
|
|
2860
|
-
let e7 =
|
|
2893
|
+
let e7 = Fa(this.message);
|
|
2861
2894
|
if (e7) {
|
|
2862
2895
|
let t2 = this.clonePosition();
|
|
2863
|
-
return this.position = e7, { val: [{ type: 0, value: this.message, location:
|
|
2896
|
+
return this.position = e7, { val: [{ type: 0, value: this.message, location: Y(t2, this.clonePosition()) }], err: null };
|
|
2864
2897
|
}
|
|
2865
2898
|
}
|
|
2866
2899
|
}
|
|
@@ -2877,11 +2910,11 @@ var Na = class {
|
|
|
2877
2910
|
} else if (i2 === 125 && e6 > 0) break;
|
|
2878
2911
|
else if (i2 === 35 && (t2 === `plural` || t2 === `selectordinal`)) {
|
|
2879
2912
|
let e7 = this.clonePosition();
|
|
2880
|
-
this.bump(), r2.push({ type: 7, location:
|
|
2913
|
+
this.bump(), r2.push({ type: 7, location: Y(e7, this.clonePosition()) });
|
|
2881
2914
|
} else if (i2 === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2882
2915
|
if (n2) break;
|
|
2883
|
-
return this.error(26,
|
|
2884
|
-
} else if (i2 === 60 && !this.ignoreTag &&
|
|
2916
|
+
return this.error(26, Y(this.clonePosition(), this.clonePosition()));
|
|
2917
|
+
} else if (i2 === 60 && !this.ignoreTag && La(this.peek() || 0)) {
|
|
2885
2918
|
let n3 = this.parseTag(e6, t2);
|
|
2886
2919
|
if (n3.err) return n3;
|
|
2887
2920
|
r2.push(n3.val);
|
|
@@ -2897,23 +2930,23 @@ var Na = class {
|
|
|
2897
2930
|
let n2 = this.clonePosition();
|
|
2898
2931
|
this.bump();
|
|
2899
2932
|
let r2 = this.parseTagName();
|
|
2900
|
-
if (this.bumpSpace(), this.bumpIf(`/>`)) return { val: { type: 0, value: `<${r2}/>`, location:
|
|
2933
|
+
if (this.bumpSpace(), this.bumpIf(`/>`)) return { val: { type: 0, value: `<${r2}/>`, location: Y(n2, this.clonePosition()) }, err: null };
|
|
2901
2934
|
if (this.bumpIf(`>`)) {
|
|
2902
2935
|
let i2 = this.parseMessage(e6 + 1, t2, true);
|
|
2903
2936
|
if (i2.err) return i2;
|
|
2904
2937
|
let a2 = i2.val, o2 = this.clonePosition();
|
|
2905
2938
|
if (this.bumpIf(`</`)) {
|
|
2906
|
-
if (this.isEOF() || !
|
|
2939
|
+
if (this.isEOF() || !La(this.char())) return this.error(23, Y(o2, this.clonePosition()));
|
|
2907
2940
|
let e7 = this.clonePosition();
|
|
2908
|
-
return r2 === this.parseTagName() ? (this.bumpSpace(), this.bumpIf(`>`) ? { val: { type: 8, value: r2, children: a2, location:
|
|
2941
|
+
return r2 === this.parseTagName() ? (this.bumpSpace(), this.bumpIf(`>`) ? { val: { type: 8, value: r2, children: a2, location: Y(n2, this.clonePosition()) }, err: null } : this.error(23, Y(o2, this.clonePosition()))) : this.error(26, Y(e7, this.clonePosition()));
|
|
2909
2942
|
}
|
|
2910
|
-
return this.error(27,
|
|
2943
|
+
return this.error(27, Y(n2, this.clonePosition()));
|
|
2911
2944
|
}
|
|
2912
|
-
return this.error(23,
|
|
2945
|
+
return this.error(23, Y(n2, this.clonePosition()));
|
|
2913
2946
|
}
|
|
2914
2947
|
parseTagName() {
|
|
2915
2948
|
let e6 = this.offset();
|
|
2916
|
-
for (this.bump(); !this.isEOF() &&
|
|
2949
|
+
for (this.bump(); !this.isEOF() && za(this.char()); ) this.bump();
|
|
2917
2950
|
return this.message.slice(e6, this.offset());
|
|
2918
2951
|
}
|
|
2919
2952
|
parseLiteral(e6, t2) {
|
|
@@ -2933,11 +2966,11 @@ var Na = class {
|
|
|
2933
2966
|
if (a2) r2 += a2;
|
|
2934
2967
|
else break;
|
|
2935
2968
|
}
|
|
2936
|
-
let i2 =
|
|
2969
|
+
let i2 = Y(n2, this.clonePosition());
|
|
2937
2970
|
return { val: { type: 0, value: r2, location: i2 }, err: null };
|
|
2938
2971
|
}
|
|
2939
2972
|
tryParseLeftAngleBracket() {
|
|
2940
|
-
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || !
|
|
2973
|
+
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || !Ra(this.peek() || 0)) ? (this.bump(), `<`) : null;
|
|
2941
2974
|
}
|
|
2942
2975
|
tryParseQuote(e6) {
|
|
2943
2976
|
if (this.isEOF() || this.char() !== 39) return null;
|
|
@@ -2977,29 +3010,29 @@ var Na = class {
|
|
|
2977
3010
|
}
|
|
2978
3011
|
parseArgument(e6, t2) {
|
|
2979
3012
|
let n2 = this.clonePosition();
|
|
2980
|
-
if (this.bump(), this.bumpSpace(), this.isEOF()) return this.error(1,
|
|
2981
|
-
if (this.char() === 125) return this.bump(), this.error(2,
|
|
3013
|
+
if (this.bump(), this.bumpSpace(), this.isEOF()) return this.error(1, Y(n2, this.clonePosition()));
|
|
3014
|
+
if (this.char() === 125) return this.bump(), this.error(2, Y(n2, this.clonePosition()));
|
|
2982
3015
|
let r2 = this.parseIdentifierIfPossible().value;
|
|
2983
|
-
if (!r2) return this.error(3,
|
|
2984
|
-
if (this.bumpSpace(), this.isEOF()) return this.error(1,
|
|
3016
|
+
if (!r2) return this.error(3, Y(n2, this.clonePosition()));
|
|
3017
|
+
if (this.bumpSpace(), this.isEOF()) return this.error(1, Y(n2, this.clonePosition()));
|
|
2985
3018
|
switch (this.char()) {
|
|
2986
3019
|
case 125:
|
|
2987
|
-
return this.bump(), { val: { type: 1, value: r2, location:
|
|
3020
|
+
return this.bump(), { val: { type: 1, value: r2, location: Y(n2, this.clonePosition()) }, err: null };
|
|
2988
3021
|
case 44:
|
|
2989
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(1,
|
|
3022
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(1, Y(n2, this.clonePosition())) : this.parseArgumentOptions(e6, t2, r2, n2);
|
|
2990
3023
|
default:
|
|
2991
|
-
return this.error(3,
|
|
3024
|
+
return this.error(3, Y(n2, this.clonePosition()));
|
|
2992
3025
|
}
|
|
2993
3026
|
}
|
|
2994
3027
|
parseIdentifierIfPossible() {
|
|
2995
|
-
let e6 = this.clonePosition(), t2 = this.offset(), n2 =
|
|
2996
|
-
return this.bumpTo(r2), { value: n2, location:
|
|
3028
|
+
let e6 = this.clonePosition(), t2 = this.offset(), n2 = Pa(this.message, t2), r2 = t2 + n2.length;
|
|
3029
|
+
return this.bumpTo(r2), { value: n2, location: Y(e6, this.clonePosition()) };
|
|
2997
3030
|
}
|
|
2998
3031
|
parseArgumentOptions(e6, t2, n2, r2) {
|
|
2999
3032
|
let i2 = this.clonePosition(), a2 = this.parseIdentifierIfPossible().value, o2 = this.clonePosition();
|
|
3000
3033
|
switch (a2) {
|
|
3001
3034
|
case ``:
|
|
3002
|
-
return this.error(4,
|
|
3035
|
+
return this.error(4, Y(i2, o2));
|
|
3003
3036
|
case `number`:
|
|
3004
3037
|
case `date`:
|
|
3005
3038
|
case `time`: {
|
|
@@ -3009,15 +3042,15 @@ var Na = class {
|
|
|
3009
3042
|
this.bumpSpace();
|
|
3010
3043
|
let t4 = this.clonePosition(), n3 = this.parseSimpleArgStyleIfPossible();
|
|
3011
3044
|
if (n3.err) return n3;
|
|
3012
|
-
let r3 =
|
|
3013
|
-
if (r3.length === 0) return this.error(6,
|
|
3014
|
-
e7 = { style: r3, styleLocation:
|
|
3045
|
+
let r3 = Ma(n3.val);
|
|
3046
|
+
if (r3.length === 0) return this.error(6, Y(this.clonePosition(), this.clonePosition()));
|
|
3047
|
+
e7 = { style: r3, styleLocation: Y(t4, this.clonePosition()) };
|
|
3015
3048
|
}
|
|
3016
3049
|
let t3 = this.tryParseArgumentClose(r2);
|
|
3017
3050
|
if (t3.err) return t3;
|
|
3018
|
-
let i3 =
|
|
3051
|
+
let i3 = Y(r2, this.clonePosition());
|
|
3019
3052
|
if (e7 && e7.style.startsWith(`::`)) {
|
|
3020
|
-
let t4 =
|
|
3053
|
+
let t4 = ja(e7.style.slice(2));
|
|
3021
3054
|
if (a2 === `number`) {
|
|
3022
3055
|
let r3 = this.parseNumberSkeletonFromString(t4, e7.styleLocation);
|
|
3023
3056
|
return r3.err ? r3 : { val: { type: 2, value: n2, location: i3, style: r3.val }, err: null };
|
|
@@ -3025,8 +3058,8 @@ var Na = class {
|
|
|
3025
3058
|
{
|
|
3026
3059
|
if (t4.length === 0) return this.error(10, i3);
|
|
3027
3060
|
let r3 = t4;
|
|
3028
|
-
this.locale && (r3 =
|
|
3029
|
-
let o3 = { type: 1, pattern: r3, location: e7.styleLocation, parsedOptions: this.shouldParseSkeletons ?
|
|
3061
|
+
this.locale && (r3 = Ca(t4, this.locale));
|
|
3062
|
+
let o3 = { type: 1, pattern: r3, location: e7.styleLocation, parsedOptions: this.shouldParseSkeletons ? Zi(r3) : {} };
|
|
3030
3063
|
return { val: { type: a2 === `date` ? 3 : 4, value: n2, location: i3, style: o3 }, err: null };
|
|
3031
3064
|
}
|
|
3032
3065
|
}
|
|
@@ -3036,11 +3069,11 @@ var Na = class {
|
|
|
3036
3069
|
case `selectordinal`:
|
|
3037
3070
|
case `select`: {
|
|
3038
3071
|
let i3 = this.clonePosition();
|
|
3039
|
-
if (this.bumpSpace(), !this.bumpIf(`,`)) return this.error(12,
|
|
3072
|
+
if (this.bumpSpace(), !this.bumpIf(`,`)) return this.error(12, Y(i3, { ...i3 }));
|
|
3040
3073
|
this.bumpSpace();
|
|
3041
3074
|
let o3 = this.parseIdentifierIfPossible(), s2 = 0;
|
|
3042
3075
|
if (a2 !== `select` && o3.value === `offset`) {
|
|
3043
|
-
if (!this.bumpIf(`:`)) return this.error(13,
|
|
3076
|
+
if (!this.bumpIf(`:`)) return this.error(13, Y(this.clonePosition(), this.clonePosition()));
|
|
3044
3077
|
this.bumpSpace();
|
|
3045
3078
|
let e7 = this.tryParseDecimalInteger(13, 14);
|
|
3046
3079
|
if (e7.err) return e7;
|
|
@@ -3050,15 +3083,15 @@ var Na = class {
|
|
|
3050
3083
|
if (c2.err) return c2;
|
|
3051
3084
|
let l2 = this.tryParseArgumentClose(r2);
|
|
3052
3085
|
if (l2.err) return l2;
|
|
3053
|
-
let u2 =
|
|
3054
|
-
return a2 === `select` ? { val: { type: 5, value: n2, options:
|
|
3086
|
+
let u2 = Y(r2, this.clonePosition());
|
|
3087
|
+
return a2 === `select` ? { val: { type: 5, value: n2, options: Aa(c2.val), location: u2 }, err: null } : { val: { type: 6, value: n2, options: Aa(c2.val), offset: s2, pluralType: a2 === `plural` ? `cardinal` : `ordinal`, location: u2 }, err: null };
|
|
3055
3088
|
}
|
|
3056
3089
|
default:
|
|
3057
|
-
return this.error(5,
|
|
3090
|
+
return this.error(5, Y(i2, o2));
|
|
3058
3091
|
}
|
|
3059
3092
|
}
|
|
3060
3093
|
tryParseArgumentClose(e6) {
|
|
3061
|
-
return this.isEOF() || this.char() !== 125 ? this.error(1,
|
|
3094
|
+
return this.isEOF() || this.char() !== 125 ? this.error(1, Y(e6, this.clonePosition())) : (this.bump(), { val: true, err: null });
|
|
3062
3095
|
}
|
|
3063
3096
|
parseSimpleArgStyleIfPossible() {
|
|
3064
3097
|
let e6 = 0, t2 = this.clonePosition();
|
|
@@ -3066,7 +3099,7 @@ var Na = class {
|
|
|
3066
3099
|
case 39: {
|
|
3067
3100
|
this.bump();
|
|
3068
3101
|
let e7 = this.clonePosition();
|
|
3069
|
-
if (!this.bumpUntil(`'`)) return this.error(11,
|
|
3102
|
+
if (!this.bumpUntil(`'`)) return this.error(11, Y(e7, this.clonePosition()));
|
|
3070
3103
|
this.bump();
|
|
3071
3104
|
break;
|
|
3072
3105
|
}
|
|
@@ -3085,11 +3118,11 @@ var Na = class {
|
|
|
3085
3118
|
parseNumberSkeletonFromString(e6, t2) {
|
|
3086
3119
|
let n2 = [];
|
|
3087
3120
|
try {
|
|
3088
|
-
n2 =
|
|
3121
|
+
n2 = $i(e6);
|
|
3089
3122
|
} catch {
|
|
3090
3123
|
return this.error(7, t2);
|
|
3091
3124
|
}
|
|
3092
|
-
return { val: { type: 0, tokens: n2, location: t2, parsedOptions: this.shouldParseSkeletons ?
|
|
3125
|
+
return { val: { type: 0, tokens: n2, location: t2, parsedOptions: this.shouldParseSkeletons ? la(n2) : {} }, err: null };
|
|
3093
3126
|
}
|
|
3094
3127
|
tryParsePluralOrSelectOptions(e6, t2, n2, r2) {
|
|
3095
3128
|
let i2 = false, a2 = [], o2 = /* @__PURE__ */ new Set(), { value: s2, location: c2 } = r2;
|
|
@@ -3099,20 +3132,20 @@ var Na = class {
|
|
|
3099
3132
|
if (t2 !== `select` && this.bumpIf(`=`)) {
|
|
3100
3133
|
let t3 = this.tryParseDecimalInteger(16, 19);
|
|
3101
3134
|
if (t3.err) return t3;
|
|
3102
|
-
c2 =
|
|
3135
|
+
c2 = Y(e7, this.clonePosition()), s2 = this.message.slice(e7.offset, this.offset());
|
|
3103
3136
|
} else break;
|
|
3104
3137
|
}
|
|
3105
3138
|
if (o2.has(s2)) return this.error(t2 === `select` ? 21 : 20, c2);
|
|
3106
3139
|
s2 === `other` && (i2 = true), this.bumpSpace();
|
|
3107
3140
|
let r3 = this.clonePosition();
|
|
3108
|
-
if (!this.bumpIf(`{`)) return this.error(t2 === `select` ? 17 : 18,
|
|
3141
|
+
if (!this.bumpIf(`{`)) return this.error(t2 === `select` ? 17 : 18, Y(this.clonePosition(), this.clonePosition()));
|
|
3109
3142
|
let l2 = this.parseMessage(e6 + 1, t2, n2);
|
|
3110
3143
|
if (l2.err) return l2;
|
|
3111
3144
|
let u2 = this.tryParseArgumentClose(r3);
|
|
3112
3145
|
if (u2.err) return u2;
|
|
3113
|
-
a2.push([s2, { value: l2.val, location:
|
|
3146
|
+
a2.push([s2, { value: l2.val, location: Y(r3, this.clonePosition()) }]), o2.add(s2), this.bumpSpace(), { value: s2, location: c2 } = this.parseIdentifierIfPossible();
|
|
3114
3147
|
}
|
|
3115
|
-
return a2.length === 0 ? this.error(t2 === `select` ? 15 : 16,
|
|
3148
|
+
return a2.length === 0 ? this.error(t2 === `select` ? 15 : 16, Y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !i2 ? this.error(22, Y(this.clonePosition(), this.clonePosition())) : { val: a2, err: null };
|
|
3116
3149
|
}
|
|
3117
3150
|
tryParseDecimalInteger(e6, t2) {
|
|
3118
3151
|
let n2 = 1, r2 = this.clonePosition();
|
|
@@ -3123,7 +3156,7 @@ var Na = class {
|
|
|
3123
3156
|
if (e7 >= 48 && e7 <= 57) i2 = true, a2 = a2 * 10 + (e7 - 48), this.bump();
|
|
3124
3157
|
else break;
|
|
3125
3158
|
}
|
|
3126
|
-
let o2 =
|
|
3159
|
+
let o2 = Y(r2, this.clonePosition());
|
|
3127
3160
|
return i2 ? (a2 *= n2, Number.isSafeInteger(a2) ? { val: a2, err: null } : this.error(t2, o2)) : this.error(e6, o2);
|
|
3128
3161
|
}
|
|
3129
3162
|
offset() {
|
|
@@ -3171,7 +3204,7 @@ var Na = class {
|
|
|
3171
3204
|
}
|
|
3172
3205
|
}
|
|
3173
3206
|
bumpSpace() {
|
|
3174
|
-
for (; !this.isEOF() &&
|
|
3207
|
+
for (; !this.isEOF() && Ba(this.char()); ) this.bump();
|
|
3175
3208
|
}
|
|
3176
3209
|
peek() {
|
|
3177
3210
|
if (this.isEOF()) return null;
|
|
@@ -3179,34 +3212,34 @@ var Na = class {
|
|
|
3179
3212
|
return this.message.charCodeAt(t2 + (e6 >= 65536 ? 2 : 1)) ?? null;
|
|
3180
3213
|
}
|
|
3181
3214
|
};
|
|
3182
|
-
function
|
|
3215
|
+
function La(e6) {
|
|
3183
3216
|
return e6 >= 97 && e6 <= 122 || e6 >= 65 && e6 <= 90;
|
|
3184
3217
|
}
|
|
3185
|
-
function
|
|
3186
|
-
return
|
|
3218
|
+
function Ra(e6) {
|
|
3219
|
+
return La(e6) || e6 === 47;
|
|
3187
3220
|
}
|
|
3188
|
-
function
|
|
3221
|
+
function za(e6) {
|
|
3189
3222
|
return e6 === 45 || e6 === 46 || e6 >= 48 && e6 <= 57 || e6 === 95 || e6 >= 97 && e6 <= 122 || e6 >= 65 && e6 <= 90 || e6 == 183 || e6 >= 192 && e6 <= 214 || e6 >= 216 && e6 <= 246 || e6 >= 248 && e6 <= 893 || e6 >= 895 && e6 <= 8191 || e6 >= 8204 && e6 <= 8205 || e6 >= 8255 && e6 <= 8256 || e6 >= 8304 && e6 <= 8591 || e6 >= 11264 && e6 <= 12271 || e6 >= 12289 && e6 <= 55295 || e6 >= 63744 && e6 <= 64975 || e6 >= 65008 && e6 <= 65533 || e6 >= 65536 && e6 <= 983039;
|
|
3190
3223
|
}
|
|
3191
|
-
function
|
|
3224
|
+
function Ba(e6) {
|
|
3192
3225
|
return e6 >= 9 && e6 <= 13 || e6 === 32 || e6 === 133 || e6 >= 8206 && e6 <= 8207 || e6 === 8232 || e6 === 8233;
|
|
3193
3226
|
}
|
|
3194
|
-
function
|
|
3227
|
+
function Va(e6) {
|
|
3195
3228
|
e6.forEach((e7) => {
|
|
3196
|
-
if (delete e7.location,
|
|
3197
|
-
else
|
|
3229
|
+
if (delete e7.location, ga(e7) || _a(e7)) for (let t2 in e7.options) delete e7.options[t2].location, Va(e7.options[t2].value);
|
|
3230
|
+
else pa(e7) && ba(e7.style) || (ma(e7) || ha(e7)) && xa(e7.style) ? delete e7.style.location : ya(e7) && Va(e7.children);
|
|
3198
3231
|
});
|
|
3199
3232
|
}
|
|
3200
|
-
function
|
|
3233
|
+
function Ha(e6, t2 = {}) {
|
|
3201
3234
|
t2 = { shouldParseSkeletons: true, requiresOtherClause: true, ...t2 };
|
|
3202
|
-
let n2 = new
|
|
3235
|
+
let n2 = new Ia(e6, t2).parse();
|
|
3203
3236
|
if (n2.err) {
|
|
3204
|
-
let e7 = SyntaxError(
|
|
3237
|
+
let e7 = SyntaxError(ua[n2.err.kind]);
|
|
3205
3238
|
throw e7.location = n2.err.location, e7.originalMessage = n2.err.message, e7;
|
|
3206
3239
|
}
|
|
3207
|
-
return t2?.captureLocation ||
|
|
3240
|
+
return t2?.captureLocation || Va(n2.val), n2.val;
|
|
3208
3241
|
}
|
|
3209
|
-
var
|
|
3242
|
+
var X = class extends Error {
|
|
3210
3243
|
constructor(e6, t2, n2) {
|
|
3211
3244
|
super(e6), this.code = t2, this.originalMessage = n2;
|
|
3212
3245
|
}
|
|
@@ -3214,54 +3247,54 @@ var Ba = class extends Error {
|
|
|
3214
3247
|
return `[formatjs Error: ${this.code}] ${this.message}`;
|
|
3215
3248
|
}
|
|
3216
3249
|
};
|
|
3217
|
-
var
|
|
3250
|
+
var Ua = class extends X {
|
|
3218
3251
|
constructor(e6, t2, n2, r2) {
|
|
3219
3252
|
super(`Invalid values for "${e6}": "${t2}". Options are "${Object.keys(n2).join(`", "`)}"`, `INVALID_VALUE`, r2);
|
|
3220
3253
|
}
|
|
3221
3254
|
};
|
|
3222
|
-
var
|
|
3255
|
+
var Wa = class extends X {
|
|
3223
3256
|
constructor(e6, t2, n2) {
|
|
3224
3257
|
super(`Value for "${e6}" must be of type ${t2}`, `INVALID_VALUE`, n2);
|
|
3225
3258
|
}
|
|
3226
3259
|
};
|
|
3227
|
-
var
|
|
3260
|
+
var Ga = class extends X {
|
|
3228
3261
|
constructor(e6, t2) {
|
|
3229
3262
|
super(`The intl string context variable "${e6}" was not provided to the string "${t2}"`, `MISSING_VALUE`, t2);
|
|
3230
3263
|
}
|
|
3231
3264
|
};
|
|
3232
|
-
function
|
|
3265
|
+
function Ka(e6) {
|
|
3233
3266
|
return e6.length < 2 ? e6 : e6.reduce((e7, t2) => {
|
|
3234
3267
|
let n2 = e7[e7.length - 1];
|
|
3235
3268
|
return !n2 || n2.type !== 0 || t2.type !== 0 ? e7.push(t2) : n2.value += t2.value, e7;
|
|
3236
3269
|
}, []);
|
|
3237
3270
|
}
|
|
3238
|
-
function
|
|
3271
|
+
function qa(e6) {
|
|
3239
3272
|
return typeof e6 == `function`;
|
|
3240
3273
|
}
|
|
3241
|
-
function
|
|
3242
|
-
if (e6.length === 1 &&
|
|
3274
|
+
function Ja(e6, t2, n2, r2, i2, a2, o2) {
|
|
3275
|
+
if (e6.length === 1 && da(e6[0])) return [{ type: 0, value: e6[0].value }];
|
|
3243
3276
|
let s2 = [];
|
|
3244
3277
|
for (let c2 of e6) {
|
|
3245
|
-
if (
|
|
3278
|
+
if (da(c2)) {
|
|
3246
3279
|
s2.push({ type: 0, value: c2.value });
|
|
3247
3280
|
continue;
|
|
3248
3281
|
}
|
|
3249
|
-
if (
|
|
3282
|
+
if (va(c2)) {
|
|
3250
3283
|
typeof a2 == `number` && s2.push({ type: 0, value: n2.getNumberFormat(t2).format(a2) });
|
|
3251
3284
|
continue;
|
|
3252
3285
|
}
|
|
3253
3286
|
let { value: e7 } = c2;
|
|
3254
|
-
if (!(i2 && e7 in i2)) throw new
|
|
3287
|
+
if (!(i2 && e7 in i2)) throw new Ga(e7, o2);
|
|
3255
3288
|
let l2 = i2[e7];
|
|
3256
|
-
if (
|
|
3257
|
-
else if (
|
|
3258
|
-
let e8 = typeof c2.style == `string` ? r2.date[c2.style] :
|
|
3289
|
+
if (fa(c2)) (!l2 || typeof l2 == `string` || typeof l2 == `number` || typeof l2 == `bigint`) && (l2 = typeof l2 == `string` || typeof l2 == `number` || typeof l2 == `bigint` ? String(l2) : ``), s2.push({ type: typeof l2 == `string` ? 0 : 1, value: l2 });
|
|
3290
|
+
else if (ma(c2)) {
|
|
3291
|
+
let e8 = typeof c2.style == `string` ? r2.date[c2.style] : xa(c2.style) ? c2.style.parsedOptions : void 0;
|
|
3259
3292
|
s2.push({ type: 0, value: n2.getDateTimeFormat(t2, e8).format(l2) });
|
|
3260
|
-
} else if (
|
|
3261
|
-
let e8 = typeof c2.style == `string` ? r2.time[c2.style] :
|
|
3293
|
+
} else if (ha(c2)) {
|
|
3294
|
+
let e8 = typeof c2.style == `string` ? r2.time[c2.style] : xa(c2.style) ? c2.style.parsedOptions : r2.time.medium;
|
|
3262
3295
|
s2.push({ type: 0, value: n2.getDateTimeFormat(t2, e8).format(l2) });
|
|
3263
|
-
} else if (
|
|
3264
|
-
let e8 = typeof c2.style == `string` ? r2.number[c2.style] :
|
|
3296
|
+
} else if (pa(c2)) {
|
|
3297
|
+
let e8 = typeof c2.style == `string` ? r2.number[c2.style] : ba(c2.style) ? c2.style.parsedOptions : void 0;
|
|
3265
3298
|
if (e8 && e8.scale) {
|
|
3266
3299
|
let t3 = e8.scale || 1;
|
|
3267
3300
|
if (typeof l2 == `bigint`) {
|
|
@@ -3271,40 +3304,40 @@ function Ka(e6, t2, n2, r2, i2, a2, o2) {
|
|
|
3271
3304
|
}
|
|
3272
3305
|
s2.push({ type: 0, value: n2.getNumberFormat(t2, e8).format(l2) });
|
|
3273
3306
|
} else {
|
|
3274
|
-
if (
|
|
3307
|
+
if (ya(c2)) {
|
|
3275
3308
|
let { children: e8, value: l3 } = c2, u2 = i2[l3];
|
|
3276
|
-
if (!
|
|
3277
|
-
let d2 = u2(
|
|
3309
|
+
if (!qa(u2)) throw new Wa(l3, `function`, o2);
|
|
3310
|
+
let d2 = u2(Ja(e8, t2, n2, r2, i2, a2).map((e9) => e9.value));
|
|
3278
3311
|
Array.isArray(d2) || (d2 = [d2]), s2.push(...d2.map((e9) => ({ type: typeof e9 == `string` ? 0 : 1, value: e9 })));
|
|
3279
3312
|
}
|
|
3280
|
-
if (
|
|
3313
|
+
if (ga(c2)) {
|
|
3281
3314
|
let e8 = l2, a3 = (Object.prototype.hasOwnProperty.call(c2.options, e8) ? c2.options[e8] : void 0) || c2.options.other;
|
|
3282
|
-
if (!a3) throw new
|
|
3283
|
-
s2.push(...
|
|
3284
|
-
} else if (
|
|
3315
|
+
if (!a3) throw new Ua(c2.value, l2, Object.keys(c2.options), o2);
|
|
3316
|
+
s2.push(...Ja(a3.value, t2, n2, r2, i2));
|
|
3317
|
+
} else if (_a(c2)) {
|
|
3285
3318
|
let e8 = `=${l2}`, a3 = Object.prototype.hasOwnProperty.call(c2.options, e8) ? c2.options[e8] : void 0;
|
|
3286
3319
|
if (!a3) {
|
|
3287
|
-
if (!Intl.PluralRules) throw new
|
|
3320
|
+
if (!Intl.PluralRules) throw new X(`Intl.PluralRules is not available in this environment.
|
|
3288
3321
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3289
3322
|
`, `MISSING_INTL_API`, o2);
|
|
3290
3323
|
let e9 = typeof l2 == `bigint` ? Number(l2) : l2, r3 = n2.getPluralRules(t2, { type: c2.pluralType }).select(e9 - (c2.offset || 0));
|
|
3291
3324
|
a3 = (Object.prototype.hasOwnProperty.call(c2.options, r3) ? c2.options[r3] : void 0) || c2.options.other;
|
|
3292
3325
|
}
|
|
3293
|
-
if (!a3) throw new
|
|
3326
|
+
if (!a3) throw new Ua(c2.value, l2, Object.keys(c2.options), o2);
|
|
3294
3327
|
let u2 = typeof l2 == `bigint` ? Number(l2) : l2;
|
|
3295
|
-
s2.push(...
|
|
3328
|
+
s2.push(...Ja(a3.value, t2, n2, r2, i2, u2 - (c2.offset || 0)));
|
|
3296
3329
|
}
|
|
3297
3330
|
}
|
|
3298
3331
|
}
|
|
3299
|
-
return
|
|
3332
|
+
return Ka(s2);
|
|
3300
3333
|
}
|
|
3301
|
-
function
|
|
3334
|
+
function Ya(e6, t2) {
|
|
3302
3335
|
return t2 ? { ...e6, ...t2, ...Object.keys(e6).reduce((n2, r2) => (n2[r2] = { ...e6[r2], ...t2[r2] }, n2), {}) } : e6;
|
|
3303
3336
|
}
|
|
3304
|
-
function
|
|
3305
|
-
return t2 ? Object.keys(e6).reduce((n2, r2) => (n2[r2] =
|
|
3337
|
+
function Xa(e6, t2) {
|
|
3338
|
+
return t2 ? Object.keys(e6).reduce((n2, r2) => (n2[r2] = Ya(e6[r2], t2[r2]), n2), { ...e6 }) : e6;
|
|
3306
3339
|
}
|
|
3307
|
-
function
|
|
3340
|
+
function Za(e6) {
|
|
3308
3341
|
return { create() {
|
|
3309
3342
|
return { get(t2) {
|
|
3310
3343
|
return e6[t2];
|
|
@@ -3313,23 +3346,23 @@ function Ya(e6) {
|
|
|
3313
3346
|
} };
|
|
3314
3347
|
} };
|
|
3315
3348
|
}
|
|
3316
|
-
function
|
|
3317
|
-
return { getNumberFormat:
|
|
3349
|
+
function Qa(e6 = { number: {}, dateTime: {}, pluralRules: {} }) {
|
|
3350
|
+
return { getNumberFormat: Ri((...e7) => new Intl.NumberFormat(...e7), { cache: Za(e6.number), strategy: Yi.variadic }), getDateTimeFormat: Ri((...e7) => new Intl.DateTimeFormat(...e7), { cache: Za(e6.dateTime), strategy: Yi.variadic }), getPluralRules: Ri((...e7) => new Intl.PluralRules(...e7), { cache: Za(e6.pluralRules), strategy: Yi.variadic }) };
|
|
3318
3351
|
}
|
|
3319
|
-
var
|
|
3352
|
+
var $a = class e5 {
|
|
3320
3353
|
constructor(t2, n2 = e5.defaultLocale, r2, i2) {
|
|
3321
3354
|
if (this.formatterCache = { number: {}, dateTime: {}, pluralRules: {} }, this.format = (e6) => {
|
|
3322
3355
|
let t3 = this.formatToParts(e6);
|
|
3323
3356
|
if (t3.length === 1) return t3[0].value;
|
|
3324
3357
|
let n3 = t3.reduce((e7, t4) => (!e7.length || t4.type !== 0 || typeof e7[e7.length - 1] != `string` ? e7.push(t4.value) : e7[e7.length - 1] += t4.value, e7), []);
|
|
3325
3358
|
return n3.length <= 1 ? n3[0] || `` : n3;
|
|
3326
|
-
}, this.formatToParts = (e6) =>
|
|
3359
|
+
}, this.formatToParts = (e6) => Ja(this.ast, this.locales, this.formatters, this.formats, e6, void 0, this.message), this.resolvedOptions = () => ({ locale: this.resolvedLocale?.toString() || Intl.NumberFormat.supportedLocalesOf(this.locales)[0] }), this.getAst = () => this.ast, this.locales = n2, this.resolvedLocale = e5.resolveLocale(n2), typeof t2 == `string`) {
|
|
3327
3360
|
if (this.message = t2, !e5.__parse) throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3328
3361
|
let { ...n3 } = i2 || {};
|
|
3329
3362
|
this.ast = e5.__parse(t2, { ...n3, locale: this.resolvedLocale });
|
|
3330
3363
|
} else this.ast = t2;
|
|
3331
3364
|
if (!Array.isArray(this.ast)) throw TypeError(`A message must be provided as a String or AST.`);
|
|
3332
|
-
this.formats =
|
|
3365
|
+
this.formats = Xa(e5.formats, r2), this.formatters = i2 && i2.formatters || Qa(this.formatterCache);
|
|
3333
3366
|
}
|
|
3334
3367
|
static {
|
|
3335
3368
|
this.memoizedDefaultLocale = null;
|
|
@@ -3345,14 +3378,14 @@ var Za = class e5 {
|
|
|
3345
3378
|
};
|
|
3346
3379
|
}
|
|
3347
3380
|
static {
|
|
3348
|
-
this.__parse =
|
|
3381
|
+
this.__parse = Ha;
|
|
3349
3382
|
}
|
|
3350
3383
|
static {
|
|
3351
3384
|
this.formats = { number: { integer: { maximumFractionDigits: 0 }, currency: { style: `currency` }, percent: { style: `percent` } }, date: { short: { month: `numeric`, day: `numeric`, year: `2-digit` }, medium: { month: `short`, day: `numeric`, year: `numeric` }, long: { month: `long`, day: `numeric`, year: `numeric` }, full: { weekday: `long`, month: `long`, day: `numeric`, year: `numeric` } }, time: { short: { hour: `numeric`, minute: `numeric` }, medium: { hour: `numeric`, minute: `numeric`, second: `numeric` }, long: { hour: `numeric`, minute: `numeric`, second: `numeric`, timeZoneName: `short` }, full: { hour: `numeric`, minute: `numeric`, second: `numeric`, timeZoneName: `short` } } };
|
|
3352
3385
|
}
|
|
3353
3386
|
};
|
|
3354
|
-
var
|
|
3355
|
-
function
|
|
3387
|
+
var eo = [`__proto__`, `constructor`, `prototype`];
|
|
3388
|
+
function to(e6, t2, n2) {
|
|
3356
3389
|
function r2(e7) {
|
|
3357
3390
|
return e7 && e7.indexOf(`###`) > -1 ? e7.replace(/###/g, `.`) : e7;
|
|
3358
3391
|
}
|
|
@@ -3362,49 +3395,49 @@ function $a(e6, t2, n2) {
|
|
|
3362
3395
|
for (var a2 = typeof t2 == `string` ? t2.split(`.`) : [].concat(t2); a2.length > 1; ) {
|
|
3363
3396
|
if (i2()) return {};
|
|
3364
3397
|
var o2 = r2(a2.shift());
|
|
3365
|
-
if (
|
|
3398
|
+
if (eo.indexOf(o2) > -1) return {};
|
|
3366
3399
|
!e6[o2] && n2 && (e6[o2] = new n2()), e6 = e6[o2];
|
|
3367
3400
|
}
|
|
3368
3401
|
if (i2()) return {};
|
|
3369
3402
|
var s2 = r2(a2.shift());
|
|
3370
|
-
return
|
|
3403
|
+
return eo.indexOf(s2) > -1 ? {} : { obj: e6, k: s2 };
|
|
3371
3404
|
}
|
|
3372
|
-
function
|
|
3373
|
-
var r2 =
|
|
3405
|
+
function no(e6, t2, n2) {
|
|
3406
|
+
var r2 = to(e6, t2, Object), i2 = r2.obj, a2 = r2.k;
|
|
3374
3407
|
i2 !== void 0 && (i2[a2] = n2);
|
|
3375
3408
|
}
|
|
3376
|
-
function
|
|
3377
|
-
var n2 =
|
|
3409
|
+
function ro(e6, t2) {
|
|
3410
|
+
var n2 = to(e6, t2), r2 = n2.obj, i2 = n2.k;
|
|
3378
3411
|
if (r2) return r2[i2];
|
|
3379
3412
|
}
|
|
3380
|
-
function
|
|
3413
|
+
function io(e6) {
|
|
3381
3414
|
return [...arguments].slice(1).forEach(function(t2) {
|
|
3382
3415
|
if (t2) for (var n2 = 0, r2 = Object.keys(t2); n2 < r2.length; n2++) {
|
|
3383
3416
|
var i2 = r2[n2];
|
|
3384
|
-
|
|
3417
|
+
eo.indexOf(i2) > -1 || e6[i2] === void 0 && (e6[i2] = t2[i2]);
|
|
3385
3418
|
}
|
|
3386
3419
|
}), e6;
|
|
3387
3420
|
}
|
|
3388
|
-
function
|
|
3389
|
-
return
|
|
3421
|
+
function ao(e6, t2) {
|
|
3422
|
+
return uo(e6) || lo(e6, t2) || so(e6, t2) || oo();
|
|
3390
3423
|
}
|
|
3391
|
-
function
|
|
3424
|
+
function oo() {
|
|
3392
3425
|
throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3393
3426
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
3394
3427
|
}
|
|
3395
|
-
function
|
|
3428
|
+
function so(e6, t2) {
|
|
3396
3429
|
if (e6) {
|
|
3397
|
-
if (typeof e6 == `string`) return
|
|
3430
|
+
if (typeof e6 == `string`) return co(e6, t2);
|
|
3398
3431
|
var n2 = {}.toString.call(e6).slice(8, -1);
|
|
3399
|
-
return n2 === `Object` && e6.constructor && (n2 = e6.constructor.name), n2 === `Map` || n2 === `Set` ? Array.from(e6) : n2 === `Arguments` || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2) ?
|
|
3432
|
+
return n2 === `Object` && e6.constructor && (n2 = e6.constructor.name), n2 === `Map` || n2 === `Set` ? Array.from(e6) : n2 === `Arguments` || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2) ? co(e6, t2) : void 0;
|
|
3400
3433
|
}
|
|
3401
3434
|
}
|
|
3402
|
-
function
|
|
3435
|
+
function co(e6, t2) {
|
|
3403
3436
|
(t2 == null || t2 > e6.length) && (t2 = e6.length);
|
|
3404
3437
|
for (var n2 = 0, r2 = Array(t2); n2 < t2; n2++) r2[n2] = e6[n2];
|
|
3405
3438
|
return r2;
|
|
3406
3439
|
}
|
|
3407
|
-
function
|
|
3440
|
+
function lo(e6, t2) {
|
|
3408
3441
|
var n2 = e6 == null ? null : typeof Symbol < `u` && e6[Symbol.iterator] || e6[`@@iterator`];
|
|
3409
3442
|
if (n2 != null) {
|
|
3410
3443
|
var r2, i2, a2, o2, s2 = [], c2 = true, l2 = false;
|
|
@@ -3425,10 +3458,10 @@ function so(e6, t2) {
|
|
|
3425
3458
|
return s2;
|
|
3426
3459
|
}
|
|
3427
3460
|
}
|
|
3428
|
-
function
|
|
3461
|
+
function uo(e6) {
|
|
3429
3462
|
if (Array.isArray(e6)) return e6;
|
|
3430
3463
|
}
|
|
3431
|
-
function
|
|
3464
|
+
function fo(e6, t2) {
|
|
3432
3465
|
var n2 = Object.keys(e6);
|
|
3433
3466
|
if (Object.getOwnPropertySymbols) {
|
|
3434
3467
|
var r2 = Object.getOwnPropertySymbols(e6);
|
|
@@ -3438,37 +3471,37 @@ function lo(e6, t2) {
|
|
|
3438
3471
|
}
|
|
3439
3472
|
return n2;
|
|
3440
3473
|
}
|
|
3441
|
-
function
|
|
3474
|
+
function po(e6) {
|
|
3442
3475
|
for (var t2 = 1; t2 < arguments.length; t2++) {
|
|
3443
3476
|
var n2 = arguments[t2] == null ? {} : arguments[t2];
|
|
3444
|
-
t2 % 2 ?
|
|
3445
|
-
|
|
3446
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e6, Object.getOwnPropertyDescriptors(n2)) :
|
|
3477
|
+
t2 % 2 ? fo(Object(n2), true).forEach(function(t3) {
|
|
3478
|
+
mo(e6, t3, n2[t3]);
|
|
3479
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e6, Object.getOwnPropertyDescriptors(n2)) : fo(Object(n2)).forEach(function(t3) {
|
|
3447
3480
|
Object.defineProperty(e6, t3, Object.getOwnPropertyDescriptor(n2, t3));
|
|
3448
3481
|
});
|
|
3449
3482
|
}
|
|
3450
3483
|
return e6;
|
|
3451
3484
|
}
|
|
3452
|
-
function
|
|
3453
|
-
return (t2 =
|
|
3485
|
+
function mo(e6, t2, n2) {
|
|
3486
|
+
return (t2 = vo(t2)) in e6 ? Object.defineProperty(e6, t2, { value: n2, enumerable: true, configurable: true, writable: true }) : e6[t2] = n2, e6;
|
|
3454
3487
|
}
|
|
3455
|
-
function
|
|
3488
|
+
function ho(e6, t2) {
|
|
3456
3489
|
if (!(e6 instanceof t2)) throw TypeError(`Cannot call a class as a function`);
|
|
3457
3490
|
}
|
|
3458
|
-
function
|
|
3491
|
+
function go(e6, t2) {
|
|
3459
3492
|
for (var n2 = 0; n2 < t2.length; n2++) {
|
|
3460
3493
|
var r2 = t2[n2];
|
|
3461
|
-
r2.enumerable = r2.enumerable || false, r2.configurable = true, `value` in r2 && (r2.writable = true), Object.defineProperty(e6,
|
|
3494
|
+
r2.enumerable = r2.enumerable || false, r2.configurable = true, `value` in r2 && (r2.writable = true), Object.defineProperty(e6, vo(r2.key), r2);
|
|
3462
3495
|
}
|
|
3463
3496
|
}
|
|
3464
|
-
function
|
|
3465
|
-
return t2 &&
|
|
3497
|
+
function _o(e6, t2, n2) {
|
|
3498
|
+
return t2 && go(e6.prototype, t2), n2 && go(e6, n2), Object.defineProperty(e6, "prototype", { writable: false }), e6;
|
|
3466
3499
|
}
|
|
3467
|
-
function
|
|
3468
|
-
var t2 =
|
|
3500
|
+
function vo(e6) {
|
|
3501
|
+
var t2 = yo(e6, `string`);
|
|
3469
3502
|
return Z(t2) == `symbol` ? t2 : t2 + ``;
|
|
3470
3503
|
}
|
|
3471
|
-
function
|
|
3504
|
+
function yo(e6, t2) {
|
|
3472
3505
|
if (Z(e6) != `object` || !e6) return e6;
|
|
3473
3506
|
var n2 = e6[Symbol.toPrimitive];
|
|
3474
3507
|
if (n2 !== void 0) {
|
|
@@ -3486,53 +3519,53 @@ function Z(e6) {
|
|
|
3486
3519
|
return e7 && typeof Symbol == `function` && e7.constructor === Symbol && e7 !== Symbol.prototype ? `symbol` : typeof e7;
|
|
3487
3520
|
}, Z(e6);
|
|
3488
3521
|
}
|
|
3489
|
-
var
|
|
3490
|
-
var
|
|
3491
|
-
function
|
|
3522
|
+
var bo = `https://www.i18next.com/how-to/using-icu-or-mf2`;
|
|
3523
|
+
var xo = [`zero`, `one`, `two`, `few`, `many`, `other`];
|
|
3524
|
+
function So() {
|
|
3492
3525
|
return { memoize: true, memoizeFallback: false, bindI18n: ``, bindI18nStore: ``, parseErrorHandler: function(e6, t2, n2, r2) {
|
|
3493
3526
|
return n2;
|
|
3494
3527
|
}, parseLngForICU: function(e6) {
|
|
3495
3528
|
return e6;
|
|
3496
3529
|
}, escapeVariables: false };
|
|
3497
3530
|
}
|
|
3498
|
-
function
|
|
3531
|
+
function Co(e6, t2, n2, r2) {
|
|
3499
3532
|
return n2 && t2 && Z(t2) === `object` ? `${r2} resolved to an object or array, but i18next-icu does not support returnObjects or joinArrays and returns the raw value unformatted.` : n2 && typeof t2 == `string` && t2.indexOf(`{{`) > -1 ? `${r2} could not be parsed (${e6.message}). It contains "{{": i18next interpolation like {{name}} does not work with ICU, use {name}.` : `${r2} could not be ${n2 ? `parsed` : `formatted`}: ${e6.message}`;
|
|
3500
3533
|
}
|
|
3501
|
-
var
|
|
3534
|
+
var wo = function() {
|
|
3502
3535
|
function e6(t2) {
|
|
3503
|
-
|
|
3536
|
+
ho(this, e6), this.type = `i18nFormat`, this.mem = {}, this.warned = /* @__PURE__ */ new Set(), this.init(null, t2);
|
|
3504
3537
|
}
|
|
3505
|
-
return
|
|
3538
|
+
return _o(e6, [{ key: `init`, value: function(e7, t2) {
|
|
3506
3539
|
var n2 = this, r2 = e7 && e7.options && e7.options.i18nFormat || {};
|
|
3507
|
-
if (this.options =
|
|
3540
|
+
if (this.options = io(r2, t2, this.options || {}, So()), this.formats = this.options.formats, e7) {
|
|
3508
3541
|
var i2 = this.options, a2 = i2.bindI18n, o2 = i2.bindI18nStore, s2 = i2.memoize;
|
|
3509
|
-
e7.IntlMessageFormat =
|
|
3542
|
+
e7.IntlMessageFormat = $a, e7.ICU = this, this.i18next = e7, this.debug = !!(e7.options && e7.options.debug), this.debug && e7.options.interpolation && e7.options.interpolation.escapeValue !== false && !this.options.escapeVariables && this.warn(`interpolation.escapeValue is not applied, values are inserted without HTML escaping. Set the i18next-icu option escapeVariables: true to escape them, or interpolation.escapeValue: false if your output is escaped elsewhere (e.g. by React).`), s2 && (a2 && e7.on(a2, function() {
|
|
3510
3543
|
return n2.clearCache();
|
|
3511
3544
|
}), o2 && e7.store.on(o2, function() {
|
|
3512
3545
|
return n2.clearCache();
|
|
3513
3546
|
}));
|
|
3514
3547
|
}
|
|
3515
3548
|
} }, { key: `addUserDefinedFormats`, value: function(e7) {
|
|
3516
|
-
this.formats = this.formats ?
|
|
3549
|
+
this.formats = this.formats ? po(po({}, this.formats), e7) : e7, this.clearCache();
|
|
3517
3550
|
} }, { key: `parse`, value: function(e7, t2, n2, r2, i2, a2) {
|
|
3518
3551
|
var o2 = a2 && a2.resolved && a2.resolved.res, s2 = this.options.memoize && [n2, r2, i2], c2;
|
|
3519
3552
|
if (this.options.memoize) {
|
|
3520
|
-
var l2 =
|
|
3553
|
+
var l2 = ro(this.mem, s2);
|
|
3521
3554
|
l2 && l2.res === e7 && (c2 = l2.fc);
|
|
3522
3555
|
}
|
|
3523
3556
|
try {
|
|
3524
|
-
c2 || (this.debug && typeof e7 == `string` && e7.indexOf(`$t(`) > -1 && this.firstTime(`nesting ${n2} ${r2} ${i2}`) && this.warn(`key "${i2}" (${n2}/${r2}) contains "$t(", but i18next-icu does not support nesting, the text is output as is.`), c2 = new
|
|
3525
|
-
var u2 = t2 && t2.replace && Z(t2.replace) === `object` ?
|
|
3557
|
+
c2 || (this.debug && typeof e7 == `string` && e7.indexOf(`$t(`) > -1 && this.firstTime(`nesting ${n2} ${r2} ${i2}`) && this.warn(`key "${i2}" (${n2}/${r2}) contains "$t(", but i18next-icu does not support nesting, the text is output as is.`), c2 = new $a(e7, this.options.parseLngForICU(n2), this.formats, { ignoreTag: true }), this.options.memoize && (this.options.memoizeFallback || !a2 || o2) && no(this.mem, s2, { res: e7, fc: c2 }));
|
|
3558
|
+
var u2 = t2 && t2.replace && Z(t2.replace) === `object` ? po(po({}, t2), t2.replace) : t2;
|
|
3526
3559
|
return c2.format(this.escapeVariableValues(u2));
|
|
3527
3560
|
} catch (a3) {
|
|
3528
|
-
return this.debug && this.firstTime(`error ${n2} ${r2} ${i2}`) && this.warn(
|
|
3561
|
+
return this.debug && this.firstTime(`error ${n2} ${r2} ${i2}`) && this.warn(Co(a3, e7, !c2, `key "${i2}" (${n2}/${r2})`)), this.options.parseErrorHandler(a3, i2, e7, t2);
|
|
3529
3562
|
}
|
|
3530
3563
|
} }, { key: `addLookupKeys`, value: function(e7, t2, n2, r2, i2) {
|
|
3531
3564
|
return this.debug && i2 && this.checkSuffixKeys(t2, n2, r2, i2), e7;
|
|
3532
3565
|
} }, { key: `checkSuffixKeys`, value: function(e7, t2, n2, r2) {
|
|
3533
3566
|
var i2 = r2.count, a2 = r2.context, o2 = this.i18next.options, s2 = o2.pluralSeparator, c2 = s2 === void 0 ? `_` : s2, l2 = o2.contextSeparator, u2 = l2 === void 0 ? `_` : l2, d2 = this.i18next.services.resourceStore, f2 = `key "${e7}" (${t2}/${n2})`;
|
|
3534
3567
|
if (i2 !== void 0 && this.firstTime(`plural ${t2} ${n2} ${e7}`)) {
|
|
3535
|
-
var p2 =
|
|
3568
|
+
var p2 = xo.concat(xo.map(function(e8) {
|
|
3536
3569
|
return `ordinal${c2}${e8}`;
|
|
3537
3570
|
})).map(function(t3) {
|
|
3538
3571
|
return `${e7}${c2}${t3}`;
|
|
@@ -3546,33 +3579,33 @@ var So = function() {
|
|
|
3546
3579
|
} }, { key: `firstTime`, value: function(e7) {
|
|
3547
3580
|
return !this.warned.has(e7) && (this.warned.add(e7), true);
|
|
3548
3581
|
} }, { key: `warn`, value: function(e7) {
|
|
3549
|
-
this.i18next.services.logger.warn(`i18next-icu: ${e7} See ${
|
|
3582
|
+
this.i18next.services.logger.warn(`i18next-icu: ${e7} See ${bo}`);
|
|
3550
3583
|
} }, { key: `clearCache`, value: function() {
|
|
3551
3584
|
this.mem = {};
|
|
3552
3585
|
} }, { key: `escapeVariableValues`, value: function(e7) {
|
|
3553
3586
|
if (!this.options.escapeVariables || !e7 || Z(e7) !== `object`) return e7;
|
|
3554
3587
|
for (var t2 = {}, n2 = 0, r2 = Object.entries(e7); n2 < r2.length; n2++) {
|
|
3555
|
-
var i2 =
|
|
3588
|
+
var i2 = ao(r2[n2], 2), a2 = i2[0], o2 = i2[1];
|
|
3556
3589
|
t2[a2] = typeof o2 == `string` ? o2.replace(/&/g, `&`).replace(/</g, `<`).replace(/>/g, `>`).replace(/"/g, `"`).replace(/'/g, `'`) : o2;
|
|
3557
3590
|
}
|
|
3558
3591
|
return t2;
|
|
3559
3592
|
} }]), e6;
|
|
3560
3593
|
}();
|
|
3561
|
-
|
|
3562
|
-
function
|
|
3594
|
+
wo.type = `i18nFormat`;
|
|
3595
|
+
function To({ icuOptions: e6 = {}, ...t2 }) {
|
|
3563
3596
|
let { parseErrorHandler: n2 = void 0 } = t2;
|
|
3564
|
-
return
|
|
3597
|
+
return Li(t2, { icu: new wo({ parseErrorHandler: n2, bindI18n: t2.bindI18n, ...e6 }) });
|
|
3565
3598
|
}
|
|
3566
|
-
var
|
|
3599
|
+
var Eo = (e6, t2, n2, r2) => {
|
|
3567
3600
|
let i2 = [n2, { code: t2, ...r2 || {} }];
|
|
3568
3601
|
if (e6?.services?.logger?.forward) return e6.services.logger.forward(i2, `warn`, `react-i18next::`, true);
|
|
3569
3602
|
Q(i2[0]) && (i2[0] = `react-i18next:: ${i2[0]}`), e6?.services?.logger?.warn ? e6.services.logger.warn(...i2) : console?.warn && console.warn(...i2);
|
|
3570
3603
|
};
|
|
3571
|
-
var
|
|
3572
|
-
var
|
|
3573
|
-
Q(n2) &&
|
|
3604
|
+
var Do = {};
|
|
3605
|
+
var Oo = (e6, t2, n2, r2) => {
|
|
3606
|
+
Q(n2) && Do[n2] || (Q(n2) && (Do[n2] = /* @__PURE__ */ new Date()), Eo(e6, t2, n2, r2));
|
|
3574
3607
|
};
|
|
3575
|
-
var
|
|
3608
|
+
var ko = (e6, t2) => () => {
|
|
3576
3609
|
if (e6.isInitialized) t2();
|
|
3577
3610
|
else {
|
|
3578
3611
|
let n2 = () => {
|
|
@@ -3583,29 +3616,29 @@ var Do = (e6, t2) => () => {
|
|
|
3583
3616
|
e6.on(`initialized`, n2);
|
|
3584
3617
|
}
|
|
3585
3618
|
};
|
|
3586
|
-
var
|
|
3587
|
-
e6.loadNamespaces(t2,
|
|
3619
|
+
var Ao = (e6, t2, n2) => {
|
|
3620
|
+
e6.loadNamespaces(t2, ko(e6, n2));
|
|
3588
3621
|
};
|
|
3589
|
-
var
|
|
3590
|
-
if (Q(n2) && (n2 = [n2]), e6.options.preload && e6.options.preload.indexOf(t2) > -1) return
|
|
3622
|
+
var jo = (e6, t2, n2, r2) => {
|
|
3623
|
+
if (Q(n2) && (n2 = [n2]), e6.options.preload && e6.options.preload.indexOf(t2) > -1) return Ao(e6, n2, r2);
|
|
3591
3624
|
n2.forEach((t3) => {
|
|
3592
3625
|
e6.options.ns.indexOf(t3) < 0 && e6.options.ns.push(t3);
|
|
3593
|
-
}), e6.loadLanguages(t2,
|
|
3626
|
+
}), e6.loadLanguages(t2, ko(e6, r2));
|
|
3594
3627
|
};
|
|
3595
|
-
var
|
|
3628
|
+
var Mo = (e6, t2, n2 = {}) => !t2.languages || !t2.languages.length ? (Oo(t2, `NO_LANGUAGES`, `i18n.languages were undefined or empty`, { languages: t2.languages }), true) : t2.hasLoadedNamespace(e6, { lng: n2.lng, precheck: (t3, r2) => {
|
|
3596
3629
|
if (n2.bindI18n && n2.bindI18n.indexOf(`languageChanging`) > -1 && t3.services.backendConnector.backend && t3.isLanguageChangingTo && !r2(t3.isLanguageChangingTo, e6)) return false;
|
|
3597
3630
|
} });
|
|
3598
3631
|
var Q = (e6) => typeof e6 == `string`;
|
|
3599
|
-
var
|
|
3600
|
-
var
|
|
3601
|
-
var
|
|
3602
|
-
var
|
|
3603
|
-
var
|
|
3604
|
-
var Io = () => Fo;
|
|
3605
|
-
var Lo;
|
|
3632
|
+
var No = (e6) => typeof e6 == `object` && !!e6;
|
|
3633
|
+
var Po = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g;
|
|
3634
|
+
var Fo = { "&": `&`, "&": `&`, "<": `<`, "<": `<`, ">": `>`, ">": `>`, "'": `'`, "'": `'`, """: `"`, """: `"`, " ": ` `, " ": ` `, "©": `\xA9`, "©": `\xA9`, "®": `\xAE`, "®": `\xAE`, "…": `\u2026`, "…": `\u2026`, "/": `/`, "/": `/` };
|
|
3635
|
+
var Io = (e6) => Fo[e6];
|
|
3636
|
+
var Lo = { bindI18n: `languageChanged`, bindI18nStore: ``, transEmptyNodeValue: ``, transSupportBasicHtmlNodes: true, transWrapTextNodes: ``, transKeepBasicHtmlNodesFor: [`br`, `strong`, `i`, `p`], useSuspense: true, unescape: (e6) => e6.replace(Po, Io) };
|
|
3606
3637
|
var Ro = () => Lo;
|
|
3607
|
-
var zo
|
|
3608
|
-
var Bo =
|
|
3638
|
+
var zo;
|
|
3639
|
+
var Bo = () => zo;
|
|
3640
|
+
var Vo = (0, import_react.createContext)();
|
|
3641
|
+
var Ho = class {
|
|
3609
3642
|
constructor() {
|
|
3610
3643
|
this.usedNamespaces = {};
|
|
3611
3644
|
}
|
|
@@ -3618,32 +3651,32 @@ var Bo = class {
|
|
|
3618
3651
|
return Object.keys(this.usedNamespaces);
|
|
3619
3652
|
}
|
|
3620
3653
|
};
|
|
3621
|
-
var
|
|
3654
|
+
var Uo = (e6, t2) => {
|
|
3622
3655
|
let n2 = (0, import_react.useRef)();
|
|
3623
3656
|
return (0, import_react.useEffect)(() => {
|
|
3624
3657
|
n2.current = t2 ? n2.current : e6;
|
|
3625
3658
|
}, [e6, t2]), n2.current;
|
|
3626
3659
|
};
|
|
3627
|
-
var
|
|
3628
|
-
var
|
|
3629
|
-
var
|
|
3630
|
-
let { i18n: n2 } = t2, { i18n: r2, defaultNS: i2 } = (0, import_react.useContext)(
|
|
3631
|
-
if (s2 && !s2.reportNamespaces && (s2.reportNamespaces = new
|
|
3632
|
-
|
|
3633
|
-
let e7 = (e8, t4) => Q(t4) ? t4 :
|
|
3660
|
+
var Wo = (e6, t2, n2, r2) => e6.getFixedT(t2, n2, r2);
|
|
3661
|
+
var Go = (e6, t2, n2, r2) => (0, import_react.useCallback)(Wo(e6, t2, n2, r2), [e6, t2, n2, r2]);
|
|
3662
|
+
var Ko = (e6, t2 = {}) => {
|
|
3663
|
+
let { i18n: n2 } = t2, { i18n: r2, defaultNS: i2 } = (0, import_react.useContext)(Vo) || {}, s2 = n2 || r2 || Bo();
|
|
3664
|
+
if (s2 && !s2.reportNamespaces && (s2.reportNamespaces = new Ho()), !s2) {
|
|
3665
|
+
Oo(s2, `NO_I18NEXT_INSTANCE`, `useTranslation: You will need to pass in an i18next instance by using initReactI18next`);
|
|
3666
|
+
let e7 = (e8, t4) => Q(t4) ? t4 : No(t4) && Q(t4.defaultValue) ? t4.defaultValue : Array.isArray(e8) ? e8[e8.length - 1] : e8, t3 = [e7, {}, false];
|
|
3634
3667
|
return t3.t = e7, t3.i18n = {}, t3.ready = false, t3;
|
|
3635
3668
|
}
|
|
3636
|
-
s2.options.react?.wait &&
|
|
3637
|
-
let u2 = { ...
|
|
3669
|
+
s2.options.react?.wait && Oo(s2, `DEPRECATED_OPTION`, `useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.`);
|
|
3670
|
+
let u2 = { ...Ro(), ...s2.options.react, ...t2 }, { useSuspense: d2, keyPrefix: f2 } = u2, p2 = e6 || i2 || s2.options?.defaultNS;
|
|
3638
3671
|
p2 = Q(p2) ? [p2] : p2 || [`translation`], s2.reportNamespaces.addUsedNamespaces?.(p2);
|
|
3639
|
-
let m2 = (s2.isInitialized || s2.initializedStoreOnce) && p2.every((e7) =>
|
|
3672
|
+
let m2 = (s2.isInitialized || s2.initializedStoreOnce) && p2.every((e7) => Mo(e7, s2, u2)), h2 = Go(s2, t2.lng || null, u2.nsMode === `fallback` ? p2 : p2[0], f2), g2 = () => h2, _2 = () => Wo(s2, t2.lng || null, u2.nsMode === `fallback` ? p2 : p2[0], f2), [v2, y2] = (0, import_react.useState)(g2), b2 = p2.join();
|
|
3640
3673
|
t2.lng && (b2 = `${t2.lng}${b2}`);
|
|
3641
|
-
let x2 =
|
|
3674
|
+
let x2 = Uo(b2), S2 = (0, import_react.useRef)(true);
|
|
3642
3675
|
(0, import_react.useEffect)(() => {
|
|
3643
3676
|
let { bindI18n: e7, bindI18nStore: n3 } = u2;
|
|
3644
|
-
S2.current = true, !m2 && !d2 && (t2.lng ?
|
|
3677
|
+
S2.current = true, !m2 && !d2 && (t2.lng ? jo(s2, t2.lng, p2, () => {
|
|
3645
3678
|
S2.current && y2(_2);
|
|
3646
|
-
}) :
|
|
3679
|
+
}) : Ao(s2, p2, () => {
|
|
3647
3680
|
S2.current && y2(_2);
|
|
3648
3681
|
})), m2 && x2 && x2 !== b2 && S2.current && y2(_2);
|
|
3649
3682
|
let r3 = () => {
|
|
@@ -3658,93 +3691,315 @@ var Wo = (e6, t2 = {}) => {
|
|
|
3658
3691
|
let C2 = [v2, s2, m2];
|
|
3659
3692
|
if (C2.t = v2, C2.i18n = s2, C2.ready = m2, m2 || !m2 && !d2) return C2;
|
|
3660
3693
|
throw new Promise((e7) => {
|
|
3661
|
-
t2.lng ?
|
|
3694
|
+
t2.lng ? jo(s2, t2.lng, p2, () => e7()) : Ao(s2, p2, () => e7());
|
|
3662
3695
|
});
|
|
3663
3696
|
};
|
|
3664
|
-
function
|
|
3697
|
+
function qo({ i18n: e6, defaultNS: t2, children: r2 }) {
|
|
3665
3698
|
let i2 = (0, import_react.useMemo)(() => ({ i18n: e6, defaultNS: t2 }), [e6, t2]);
|
|
3666
|
-
return (0, import_react.createElement)(
|
|
3699
|
+
return (0, import_react.createElement)(Vo.Provider, { value: i2 }, r2);
|
|
3667
3700
|
}
|
|
3668
|
-
var
|
|
3669
|
-
var qo = () => {
|
|
3701
|
+
var Jo = () => {
|
|
3670
3702
|
let e6, t2;
|
|
3671
3703
|
try {
|
|
3672
|
-
e6 = (0, import_services_manager_react.useService)(
|
|
3704
|
+
e6 = (0, import_services_manager_react.useService)(Gr).languageCode;
|
|
3673
3705
|
} catch {
|
|
3674
3706
|
}
|
|
3675
3707
|
try {
|
|
3676
|
-
t2 = (0, import_services_manager_react.useService)(
|
|
3708
|
+
t2 = (0, import_services_manager_react.useService)(Wr).language;
|
|
3677
3709
|
} catch {
|
|
3678
3710
|
}
|
|
3679
3711
|
return e6 || t2;
|
|
3680
3712
|
};
|
|
3681
|
-
var
|
|
3682
|
-
var
|
|
3683
|
-
function
|
|
3713
|
+
var Yo = `wix-warmup-data`;
|
|
3714
|
+
var Xo = null;
|
|
3715
|
+
function Zo(e6) {
|
|
3684
3716
|
if (typeof document < `u`) try {
|
|
3685
|
-
let t2 = document.getElementById(
|
|
3686
|
-
return t2 ? (
|
|
3717
|
+
let t2 = document.getElementById(Yo)?.textContent;
|
|
3718
|
+
return t2 ? (Xo?.text !== t2 && (Xo = { text: t2, data: JSON.parse(t2).builderComponentsWarmupData ?? {} }), Xo.data[e6] ?? void 0) : void 0;
|
|
3687
3719
|
} catch {
|
|
3688
3720
|
return;
|
|
3689
3721
|
}
|
|
3690
3722
|
}
|
|
3691
|
-
var
|
|
3692
|
-
var
|
|
3693
|
-
var
|
|
3694
|
-
function
|
|
3695
|
-
let n2 =
|
|
3723
|
+
var Qo = `blog-builder:i18n`;
|
|
3724
|
+
var $o = () => Zo(Qo);
|
|
3725
|
+
var es = /* @__PURE__ */ new Map();
|
|
3726
|
+
function ts(e6, t2) {
|
|
3727
|
+
let n2 = es.get(e6);
|
|
3696
3728
|
if (n2) return n2;
|
|
3697
|
-
let r2 =
|
|
3698
|
-
return
|
|
3729
|
+
let r2 = $o(), i2 = r2?.locale === e6 ? r2.messages : void 0, a2 = To({ locale: e6, useSuspense: true, ...i2 ? { messages: i2 } : { asyncMessagesLoader: t2 } });
|
|
3730
|
+
return es.set(e6, a2), a2;
|
|
3699
3731
|
}
|
|
3700
|
-
var
|
|
3732
|
+
var ns = (e6, t2, n2) => {
|
|
3701
3733
|
let r2 = t2.lastIndexOf(`?`), i2 = e6[r2 === -1 || r2 < t2.lastIndexOf(`/`) ? t2 : t2.slice(0, r2)];
|
|
3702
3734
|
return i2 ? typeof i2 == `function` ? i2() : Promise.resolve(i2) : new Promise((e7, r3) => {
|
|
3703
3735
|
(typeof queueMicrotask == `function` ? queueMicrotask : setTimeout)(r3.bind(null, Error(`Unknown variable dynamic import: ` + t2 + (t2.split(`/`).length === n2 ? `` : `. Note that variables only represent file names one level deep.`))));
|
|
3704
3736
|
});
|
|
3705
3737
|
};
|
|
3706
|
-
var
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
}
|
|
3712
|
-
|
|
3713
|
-
var
|
|
3714
|
-
var
|
|
3715
|
-
var
|
|
3716
|
-
var
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3738
|
+
var rs = (e6) => e6.split(`-`)[0] ?? e6;
|
|
3739
|
+
var is = h({ default: () => os, title: () => as });
|
|
3740
|
+
var as;
|
|
3741
|
+
var os;
|
|
3742
|
+
var ss = m(() => {
|
|
3743
|
+
as = `My App`, os = { "canvas.category": `\u0641\u0626\u0629`, "post-list.empty-state.description": `\u0628\u0639\u062F \u0646\u0634\u0631 \u0627\u0644\u0645\u0646\u0634\u0648\u0631\u0627\u062A\u060C \u0633\u062A\u0638\u0647\u0631 \u0647\u0646\u0627.`, "canvas.tag-numbered": `\u0648\u0633\u0645 {number}`, "cover-media.play": `\u062A\u0634\u063A\u064A\u0644 \u0627\u0644\u0641\u064A\u062F\u064A\u0648`, "post-comments.unavailable": `\u0627\u0644\u062A\u0639\u0644\u064A\u0642\u0627\u062A \u063A\u064A\u0631 \u0645\u062A\u0627\u062D\u0629. \u0644\u0627 \u064A\u0648\u062C\u062F \u0645\u062B\u064A\u0644 \u062A\u0637\u0628\u064A\u0642.`, "post-counters.loading-likes": `\u062C\u0627\u0631\u064D \u062A\u062D\u0645\u064A\u0644 \u0627\u0644\u0625\u0639\u062C\u0627\u0628\u0627\u062A`, "post-comments.loading": `\u062C\u0627\u0631\u064D \u062A\u062D\u0645\u064A\u0644 \u0627\u0644\u062A\u0639\u0644\u064A\u0642\u0627\u062A\u2026`, "post-actions.like": `\u0625\u0639\u062C\u0627\u0628 \u0628\u0627\u0644\u0645\u0646\u0634\u0648\u0631`, "canvas.content": `\u0647\u0646\u0627 \u064A\u0638\u0647\u0631 \u0627\u0644\u0645\u0646\u0634\u0648\u0631 \u0627\u0644\u0643\u0627\u0645\u0644. \u0627\u0643\u062A\u0628 \u0642\u0635\u062A\u0643 \u0647\u0646\u0627\u060C \u0648\u0623\u0636\u0641 \u0627\u0644\u0635\u0648\u0631 \u0648\u0627\u0644\u0645\u0639\u0627\u0631\u0636 \u0648\u0627\u0644\u0641\u064A\u062F\u064A\u0648 \u0645\u0646 \u0644\u0648\u062D\u0629 \u0627\u0644\u062A\u062D\u0643\u0645\u060C \u0648\u0627\u0633\u062A\u062E\u062F\u0645 \u0627\u0644\u0639\u0646\u0627\u0648\u064A\u0646 \u0648\u0627\u0644\u0627\u0642\u062A\u0628\u0627\u0633\u0627\u062A \u0644\u062A\u0633\u0647\u064A\u0644 \u0627\u0644\u0642\u0631\u0627\u0621\u0629.`, "related-posts.empty-state.title": `\u0644\u0627 \u062A\u0648\u062C\u062F \u0645\u0646\u0634\u0648\u0631\u0627\u062A \u0630\u0627\u062A \u0635\u0644\u0629 \u0628\u0639\u062F`, "post.time-to-read": `{count, plural, zero {{count,number} \u062F \u0642\u0631\u0627\u0621\u0629} one {{count,number} \u062F \u0642\u0631\u0627\u0621\u0629} two {{count,number} \u062F \u0642\u0631\u0627\u0621\u0629} few {{count,number} \u062F \u0642\u0631\u0627\u0621\u0629} many {{count,number} \u062F \u0642\u0631\u0627\u0621\u0629} other {{count,number} \u062F \u0642\u0631\u0627\u0621\u0629}}`, "post-actions.link-copied": `\u062A\u0645 \u0646\u0633\u062E \u0627\u0644\u0631\u0627\u0628\u0637`, "category-header.all-posts": `\u0643\u0644 \u0627\u0644\u0645\u0646\u0634\u0648\u0631\u0627\u062A`, "post-actions.copy-manually": `\u0627\u0646\u0633\u062E \u0627\u0644\u0631\u0627\u0628\u0637 \u0623\u062F\u0646\u0627\u0647 \u0644\u0645\u0634\u0627\u0631\u0643\u0629 \u0647\u0630\u0627 \u0627\u0644\u0645\u0646\u0634\u0648\u0631.`, "post-actions.copy-link": `\u0646\u0633\u062E \u0627\u0644\u0631\u0627\u0628\u0637`, "cover-media.placeholder-alt": `\u0635\u0648\u0631\u0629 \u063A\u0644\u0627\u0641 \u0627\u0644\u0645\u0646\u0634\u0648\u0631`, "post-actions.link-label": `\u0631\u0627\u0628\u0637 \u0627\u0644\u0645\u0646\u0634\u0648\u0631`, "post-list.empty-state.title": `\u0644\u0627 \u062A\u0648\u062C\u062F \u0645\u0646\u0634\u0648\u0631\u0627\u062A \u0628\u0639\u062F`, "post-actions.share-dialog": `\u0645\u0634\u0627\u0631\u0643\u0629 \u0627\u0644\u0645\u0646\u0634\u0648\u0631`, "canvas.post-title": `\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0645\u0646\u0634\u0648\u0631`, "post-actions.unlike": `\u0625\u0644\u063A\u0627\u0621 \u0627\u0644\u0625\u0639\u062C\u0627\u0628 \u0628\u0627\u0644\u0645\u0646\u0634\u0648\u0631`, "post-comments.no-post": `\u0644\u0645 \u064A\u062A\u0645 \u0631\u0628\u0637 \u0623\u064A \u0645\u0646\u0634\u0648\u0631 \u0628\u0639\u0646\u0648\u0627\u0646 URL \u0647\u0630\u0627 \u0628\u0639\u062F.`, "post.like-count": `{count, plural, zero {{formatted} \u0625\u0639\u062C\u0627\u0628} one {{formatted} \u0625\u0639\u062C\u0627\u0628} two {{formatted} \u0625\u0639\u062C\u0627\u0628\u0627\u0646} few {{formatted} \u0625\u0639\u062C\u0627\u0628\u0627\u062A} many {{formatted} \u0625\u0639\u062C\u0627\u0628\u064B\u0627} other {{formatted} \u0625\u0639\u062C\u0627\u0628}}`, "canvas.category-numbered": `\u0641\u0626\u0629 {number}`, "post.comment-count": `{count, plural, zero {{formatted} \u062A\u0639\u0644\u064A\u0642} one {{formatted} \u062A\u0639\u0644\u064A\u0642} two {{formatted} \u062A\u0639\u0644\u064A\u0642\u0627\u0646} few {{formatted} \u062A\u0639\u0644\u064A\u0642\u0627\u062A} many {{formatted} \u062A\u0639\u0644\u064A\u0642\u064B\u0627} other {{formatted} \u062A\u0639\u0644\u064A\u0642}}`, "post-actions.share": `\u0645\u0634\u0627\u0631\u0643\u0629 \u0627\u0644\u0645\u0646\u0634\u0648\u0631`, "post.view-count": `{count, plural, zero {{formatted} \u0645\u0634\u0627\u0647\u062F\u0629} one {{formatted} \u0645\u0634\u0627\u0647\u062F\u0629} two {{formatted} \u0645\u0634\u0627\u0647\u062F\u062A\u0627\u0646} few {{formatted} \u0645\u0634\u0627\u0647\u062F\u0627\u062A} many {{formatted} \u0645\u0634\u0627\u0647\u062F\u0629} other {{formatted} \u0645\u0634\u0627\u0647\u062F\u0629}}`, "post-actions.close": `\u0625\u063A\u0644\u0627\u0642`, "canvas.category-description": `Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`, "canvas.author-photo-alt": `\u0635\u0648\u0631\u0629 \u0627\u0644\u0645\u0624\u0644\u0641`, "canvas.author-name": `\u0627\u0633\u0645 \u0627\u0644\u0645\u0624\u0644\u0641`, "post-comments.demo-notice": `\u062A\u0638\u0647\u0631 \u062A\u0639\u0644\u064A\u0642\u0627\u062A \u0646\u0645\u0648\u0630\u062C\u064A\u0629 \u0623\u062B\u0646\u0627\u0621 \u0627\u0644\u062A\u062D\u0631\u064A\u0631. \u0633\u064A\u0631\u0649 \u0627\u0644\u0632\u0648\u0627\u0631 \u0627\u0644\u062A\u0639\u0644\u064A\u0642\u0627\u062A \u0627\u0644\u062D\u0642\u064A\u0642\u064A\u0629.`, title: as, "related-posts.empty-state.description": `\u0628\u0639\u062F \u0646\u0634\u0631 \u0627\u0644\u0645\u0632\u064A\u062F \u0645\u0646 \u0627\u0644\u0645\u0646\u0634\u0648\u0631\u0627\u062A\u060C \u0633\u062A\u0638\u0647\u0631 \u0647\u0646\u0627.`, "canvas.excerpt": `\u0634\u0627\u0631\u0643 \u0627\u0644\u0641\u0643\u0631\u0629 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629 \u0644\u0645\u0646\u0634\u0648\u0631\u0643 \u0647\u0646\u0627. \u064A\u0638\u0647\u0631 \u0647\u0630\u0627 \u0627\u0644\u0645\u0644\u062E\u0635 \u0627\u0644\u0642\u0635\u064A\u0631 \u0641\u064A \u0628\u0637\u0627\u0642\u0627\u062A \u0627\u0644\u0645\u0648\u062C\u0632 \u0648\u0646\u062A\u0627\u0626\u062C \u0627\u0644\u0628\u062D\u062B\u060C \u0648\u064A\u0648\u0636\u062D \u0644\u0644\u0642\u0631\u0627\u0621 \u0644\u0645\u0627\u0630\u0627 \u064A\u0633\u062A\u062D\u0642 \u0627\u0644\u0645\u0646\u0634\u0648\u0631 \u0648\u0642\u062A\u0647\u0645.` };
|
|
3744
|
+
});
|
|
3745
|
+
var cs = h({ default: () => us, title: () => ls });
|
|
3746
|
+
var ls;
|
|
3747
|
+
var us;
|
|
3748
|
+
var ds = m(() => {
|
|
3749
|
+
ls = `My App`, us = { "canvas.category": `\u041A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u044F`, "post-list.empty-state.description": `\u0421\u043B\u0435\u0434 \u043A\u0430\u0442\u043E \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u0438\u0442\u0435 \u0431\u044A\u0434\u0430\u0442 \u043F\u0443\u0431\u043B\u0438\u043A\u0443\u0432\u0430\u043D\u0438, \u0449\u0435 \u0441\u0435 \u043F\u043E\u043A\u0430\u0437\u0432\u0430\u0442 \u0442\u0443\u043A.`, "canvas.tag-numbered": `\u0422\u0430\u0433 {number}`, "cover-media.play": `\u041F\u0443\u0441\u043A\u0430\u043D\u0435 \u043D\u0430 \u0432\u0438\u0434\u0435\u043E\u043A\u043B\u0438\u043F\u0430`, "post-comments.unavailable": `\u041A\u043E\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0442\u0435 \u043D\u0435 \u0441\u0430 \u043D\u0430\u043B\u0438\u0447\u043D\u0438. \u041B\u0438\u043F\u0441\u0432\u0430 \u0435\u043A\u0437\u0435\u043C\u043F\u043B\u044F\u0440 \u043D\u0430 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0442\u043E.`, "post-counters.loading-likes": `\u0417\u0430\u0440\u0435\u0436\u0434\u0430\u0442 \u0441\u0435 \u0445\u0430\u0440\u0435\u0441\u0432\u0430\u043D\u0438\u044F`, "post-comments.loading": `\u0417\u0430\u0440\u0435\u0436\u0434\u0430\u0442 \u0441\u0435 \u043A\u043E\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u2026`, "post-actions.like": `\u0425\u0430\u0440\u0435\u0441\u0430\u0439\u0442\u0435 \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u044F\u0442\u0430`, "canvas.content": `\u0422\u0443\u043A \u0441\u0435 \u043F\u043E\u043A\u0430\u0437\u0432\u0430 \u0446\u044F\u043B\u0430\u0442\u0430 \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u044F. \u041D\u0430\u043F\u0438\u0448\u0435\u0442\u0435 \u0438\u0441\u0442\u043E\u0440\u0438\u044F\u0442\u0430 \u0441\u0438 \u0442\u0443\u043A, \u0434\u043E\u0431\u0430\u0432\u0435\u0442\u0435 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F, \u0433\u0430\u043B\u0435\u0440\u0438\u0438 \u0438 \u0432\u0438\u0434\u0435\u043E\u043A\u043B\u0438\u043F \u043E\u0442 \u0442\u0430\u0431\u043B\u043E\u0442\u043E \u0437\u0430 \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0438 \u0438\u0437\u043F\u043E\u043B\u0437\u0432\u0430\u0439\u0442\u0435 \u0437\u0430\u0433\u043B\u0430\u0432\u0438\u044F \u0438 \u0446\u0438\u0442\u0430\u0442\u0438, \u0437\u0430 \u0434\u0430 \u043E\u0441\u0442\u0430\u043D\u0435 \u043B\u0435\u0441\u043D\u0430 \u0437\u0430 \u0447\u0435\u0442\u0435\u043D\u0435.`, "related-posts.empty-state.title": `\u0412\u0441\u0435 \u043E\u0449\u0435 \u043D\u044F\u043C\u0430 \u0441\u0432\u044A\u0440\u0437\u0430\u043D\u0438 \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u0438`, "post.time-to-read": `{count, plural, one {{count,number} \u043C\u0438\u043D. \u0447\u0435\u0442\u0435\u043D\u0435} other {{count,number} \u043C\u0438\u043D. \u0447\u0435\u0442\u0435\u043D\u0435}}`, "post-actions.link-copied": `\u0412\u0440\u044A\u0437\u043A\u0430\u0442\u0430 \u0435 \u043A\u043E\u043F\u0438\u0440\u0430\u043D\u0430`, "category-header.all-posts": `\u0412\u0441\u0438\u0447\u043A\u0438 \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u0438`, "post-actions.copy-manually": `\u041A\u043E\u043F\u0438\u0440\u0430\u0439\u0442\u0435 \u0432\u0440\u044A\u0437\u043A\u0430\u0442\u0430 \u043F\u043E-\u0434\u043E\u043B\u0443, \u0437\u0430 \u0434\u0430 \u0441\u043F\u043E\u0434\u0435\u043B\u0438\u0442\u0435 \u0442\u0430\u0437\u0438 \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u044F.`, "post-actions.copy-link": `\u041A\u043E\u043F\u0438\u0440\u0430\u0439\u0442\u0435 \u0432\u0440\u044A\u0437\u043A\u0430\u0442\u0430`, "cover-media.placeholder-alt": `\u0418\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u043D\u0430 \u043A\u043E\u0440\u0438\u0446\u0430\u0442\u0430 \u043D\u0430 \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u044F\u0442\u0430`, "post-actions.link-label": `\u0412\u0440\u044A\u0437\u043A\u0430 \u043A\u044A\u043C \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u044F\u0442\u0430`, "post-list.empty-state.title": `\u0412\u0441\u0435 \u043E\u0449\u0435 \u043D\u044F\u043C\u0430 \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u0438`, "post-actions.share-dialog": `\u0421\u043F\u043E\u0434\u0435\u043B\u0435\u0442\u0435 \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u044F\u0442\u0430`, "canvas.post-title": `\u0417\u0430\u0433\u043B\u0430\u0432\u0438\u0435 \u043D\u0430 \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u044F\u0442\u0430`, "post-actions.unlike": `\u041F\u0440\u0435\u043C\u0430\u0445\u043D\u0435\u0442\u0435 \u0445\u0430\u0440\u0435\u0441\u0432\u0430\u043D\u0435\u0442\u043E \u043D\u0430 \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u044F\u0442\u0430`, "post-comments.no-post": `\u0412\u0441\u0435 \u043E\u0449\u0435 \u043D\u044F\u043C\u0430 \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u044F, \u0441\u044A\u043F\u043E\u0441\u0442\u0430\u0432\u0435\u043D\u0430 \u0441 \u0442\u043E\u0437\u0438 URL \u0430\u0434\u0440\u0435\u0441.`, "post.like-count": `{count, plural, one {{formatted} \u0445\u0430\u0440\u0435\u0441\u0432\u0430\u043D\u0435} other {{formatted} \u0445\u0430\u0440\u0435\u0441\u0432\u0430\u043D\u0438\u044F}}`, "canvas.category-numbered": `\u041A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u044F {number}`, "post.comment-count": `{count, plural, one {{formatted} \u043A\u043E\u043C\u0435\u043D\u0442\u0430\u0440} other {{formatted} \u043A\u043E\u043C\u0435\u043D\u0442\u0430\u0440\u0430}}`, "post-actions.share": `\u0421\u043F\u043E\u0434\u0435\u043B\u0435\u0442\u0435 \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u044F\u0442\u0430`, "post.view-count": `{count, plural, one {{formatted} \u043F\u0440\u0435\u0433\u043B\u0435\u0434} other {{formatted} \u043F\u0440\u0435\u0433\u043B\u0435\u0434\u0430}}`, "post-actions.close": `\u0417\u0430\u0442\u0432\u0430\u0440\u044F\u043D\u0435`, "canvas.category-description": `Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`, "canvas.author-photo-alt": `\u0421\u043D\u0438\u043C\u043A\u0430 \u043D\u0430 \u0430\u0432\u0442\u043E\u0440\u0430`, "canvas.author-name": `\u0418\u043C\u0435 \u043D\u0430 \u0430\u0432\u0442\u043E\u0440\u0430`, "post-comments.demo-notice": `\u041F\u0440\u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u0430\u043D\u0435 \u0441\u0435 \u043F\u043E\u043A\u0430\u0437\u0432\u0430\u0442 \u043F\u0440\u0438\u043C\u0435\u0440\u043D\u0438 \u043A\u043E\u043C\u0435\u043D\u0442\u0430\u0440\u0438. \u041F\u043E\u0441\u0435\u0442\u0438\u0442\u0435\u043B\u0438\u0442\u0435 \u0449\u0435 \u0432\u0438\u0436\u0434\u0430\u0442 \u0440\u0435\u0430\u043B\u043D\u0438\u0442\u0435 \u043A\u043E\u043C\u0435\u043D\u0442\u0430\u0440\u0438.`, title: ls, "related-posts.empty-state.description": `\u0421\u043B\u0435\u0434 \u043A\u0430\u0442\u043E \u0431\u044A\u0434\u0430\u0442 \u043F\u0443\u0431\u043B\u0438\u043A\u0443\u0432\u0430\u043D\u0438 \u043E\u0449\u0435 \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u0438, \u0449\u0435 \u0441\u0435 \u043F\u043E\u043A\u0430\u0437\u0432\u0430\u0442 \u0442\u0443\u043A.`, "canvas.excerpt": `\u0421\u043F\u043E\u0434\u0435\u043B\u0435\u0442\u0435 \u043E\u0441\u043D\u043E\u0432\u043D\u0430\u0442\u0430 \u0438\u0434\u0435\u044F \u043D\u0430 \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u044F\u0442\u0430 \u0441\u0438 \u0442\u0443\u043A. \u0422\u043E\u0432\u0430 \u043A\u0440\u0430\u0442\u043A\u043E \u0440\u0435\u0437\u044E\u043C\u0435 \u0441\u0435 \u043F\u043E\u043A\u0430\u0437\u0432\u0430 \u0432 \u043A\u0430\u0440\u0442\u0438\u0442\u0435 \u0432 \u043A\u0430\u043D\u0430\u043B\u0430 \u0438 \u0432 \u0440\u0435\u0437\u0443\u043B\u0442\u0430\u0442\u0438\u0442\u0435 \u043E\u0442 \u0442\u044A\u0440\u0441\u0435\u043D\u0435\u0442\u043E \u0438 \u043A\u0430\u0437\u0432\u0430 \u043D\u0430 \u0447\u0438\u0442\u0430\u0442\u0435\u043B\u0438\u0442\u0435 \u0437\u0430\u0449\u043E \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u044F\u0442\u0430 \u0441\u0438 \u0441\u0442\u0440\u0443\u0432\u0430 \u0432\u0440\u0435\u043C\u0435\u0442\u043E \u0438\u043C.` };
|
|
3750
|
+
});
|
|
3751
|
+
var fs = h({ default: () => ms, title: () => ps });
|
|
3752
|
+
var ps;
|
|
3753
|
+
var ms;
|
|
3754
|
+
var hs = m(() => {
|
|
3755
|
+
ps = `My App`, ms = { "canvas.category": `Categoria`, "post-list.empty-state.description": `Quan es publiquin entrades, apareixeran aqu\xED.`, "canvas.tag-numbered": `Etiqueta {number}`, "cover-media.play": `Reprodueix el v\xEDdeo`, "post-comments.unavailable": `Els comentaris no estan disponibles. No hi ha cap inst\xE0ncia de l'aplicaci\xF3.`, "post-counters.loading-likes": `S'estan carregant els m'agrada`, "post-comments.loading": `S'estan carregant els comentaris\u2026`, "post-actions.like": `M'agrada l'entrada`, "canvas.content": `Aqu\xED apareix l'entrada completa. Escriu-hi la hist\xF2ria, afegeix imatges, galeries i v\xEDdeos des del tauler, i utilitza encap\xE7alaments i cites perqu\xE8 sigui f\xE0cil de llegir.`, "related-posts.empty-state.title": `Encara no hi ha entrades relacionades`, "post.time-to-read": `{count, plural, one {{count,number} min de lectura} other {{count,number} min de lectura}}`, "post-actions.link-copied": `L'enlla\xE7 s'ha copiat`, "category-header.all-posts": `Totes les entrades`, "post-actions.copy-manually": `Copia l'enlla\xE7 seg\xFCent per compartir aquesta entrada.`, "post-actions.copy-link": `Copia l'enlla\xE7`, "cover-media.placeholder-alt": `Portada de l'entrada`, "post-actions.link-label": `Enlla\xE7 de l'entrada`, "post-list.empty-state.title": `Encara no hi ha entrades`, "post-actions.share-dialog": `Comparteix l'entrada`, "canvas.post-title": `T\xEDtol de l'entrada`, "post-actions.unlike": `Treu el m'agrada de l'entrada`, "post-comments.no-post": `Encara no s'ha resolt cap entrada per a aquest URL.`, "post.like-count": `{count, plural, one {{formatted} m'agrada} other {{formatted} m'agrada}}`, "canvas.category-numbered": `Categoria {number}`, "post.comment-count": `{count, plural, one {{formatted} comentari} other {{formatted} comentaris}}`, "post-actions.share": `Comparteix l'entrada`, "post.view-count": `{count, plural, one {{formatted} visualitzaci\xF3} other {{formatted} visualitzacions}}`, "post-actions.close": `Tanca`, "canvas.category-description": `Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`, "canvas.author-photo-alt": `Retrat de l'autor`, "canvas.author-name": `Nom de l'autor`, "post-comments.demo-notice": `Durant l'edici\xF3 es mostren comentaris de mostra. Les persones visitants veuran comentaris reals.`, title: ps, "related-posts.empty-state.description": `Quan es publiquin m\xE9s entrades, apareixeran aqu\xED.`, "canvas.excerpt": `Comparteix aqu\xED la idea principal de l'entrada. Aquest resum breu es mostra a les targetes del feed i als resultats de cerca, i explica per qu\xE8 val la pena llegir l'entrada.` };
|
|
3756
|
+
});
|
|
3757
|
+
var gs = h({ default: () => vs, title: () => _s });
|
|
3758
|
+
var _s;
|
|
3759
|
+
var vs;
|
|
3760
|
+
var ys = m(() => {
|
|
3761
|
+
_s = `My App`, vs = { "canvas.category": `Kategorie`, "post-list.empty-state.description": `A\u017E budou p\u0159\xEDsp\u011Bvky publikovan\xE9, zobraz\xED se tady.`, "canvas.tag-numbered": `\u0160t\xEDtek {number}`, "cover-media.play": `P\u0159ehr\xE1t video`, "post-comments.unavailable": `Koment\xE1\u0159e nejsou dostupn\xE9 \u2014 chyb\xED instance aplikace.`, "post-counters.loading-likes": `Na\u010D\xEDt\xE1n\xED ozna\u010Den\xED To se mi l\xEDb\xED`, "post-comments.loading": `Na\u010D\xEDt\xE1n\xED koment\xE1\u0159\u016F\u2026`, "post-actions.like": `Ozna\u010Dit p\u0159\xEDsp\u011Bvek jako To se mi l\xEDb\xED`, "canvas.content": `Tady se zobrazuje cel\xFD p\u0159\xEDsp\u011Bvek. Napi\u0161te sv\u016Fj p\u0159\xEDb\u011Bh, p\u0159idejte obr\xE1zky, galerie a video z ovl\xE1dac\xEDho panelu a pomoc\xED nadpis\u016F a citac\xED ho zp\u0159ehledn\u011Bte.`, "related-posts.empty-state.title": `Zat\xEDm \u017E\xE1dn\xE9 souvisej\xEDc\xED p\u0159\xEDsp\u011Bvky`, "post.time-to-read": `{count, plural, one {{count,number} min \u010Dten\xED} few {{count,number} min \u010Dten\xED} many {{count,number} min \u010Dten\xED} other {{count,number} min \u010Dten\xED}}`, "post-actions.link-copied": `Odkaz zkop\xEDrov\xE1n`, "category-header.all-posts": `V\u0161echny p\u0159\xEDsp\u011Bvky`, "post-actions.copy-manually": `Zkop\xEDrujte n\xED\u017Ee uveden\xFD odkaz a sd\xEDlejte tento p\u0159\xEDsp\u011Bvek.`, "post-actions.copy-link": `Zkop\xEDrovat odkaz`, "cover-media.placeholder-alt": `\xDAvodn\xED obr\xE1zek p\u0159\xEDsp\u011Bvku`, "post-actions.link-label": `Odkaz na p\u0159\xEDsp\u011Bvek`, "post-list.empty-state.title": `Zat\xEDm \u017E\xE1dn\xE9 p\u0159\xEDsp\u011Bvky`, "post-actions.share-dialog": `Sd\xEDlet p\u0159\xEDsp\u011Bvek`, "canvas.post-title": `N\xE1zev p\u0159\xEDsp\u011Bvku`, "post-actions.unlike": `Odebrat To se mi l\xEDb\xED z p\u0159\xEDsp\u011Bvku`, "post-comments.no-post": `Pro tuto URL zat\xEDm nen\xED k dispozici \u017E\xE1dn\xFD p\u0159\xEDsp\u011Bvek.`, "post.like-count": `{count, plural, one {{formatted} ozna\u010Den\xED To se mi l\xEDb\xED} few {{formatted} ozna\u010Den\xED To se mi l\xEDb\xED} many {{formatted} ozna\u010Den\xED To se mi l\xEDb\xED} other {{formatted} ozna\u010Den\xED To se mi l\xEDb\xED}}`, "canvas.category-numbered": `Kategorie {number}`, "post.comment-count": `{count, plural, one {{formatted} koment\xE1\u0159} few {{formatted} koment\xE1\u0159e} many {{formatted} koment\xE1\u0159e} other {{formatted} koment\xE1\u0159\u016F}}`, "post-actions.share": `Sd\xEDlet p\u0159\xEDsp\u011Bvek`, "post.view-count": `{count, plural, one {{formatted} zobrazen\xED} few {{formatted} zobrazen\xED} many {{formatted} zobrazen\xED} other {{formatted} zobrazen\xED}}`, "post-actions.close": `Zav\u0159\xEDt`, "canvas.category-description": `Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`, "canvas.author-photo-alt": `Fotka autora`, "canvas.author-name": `Jm\xE9no autora`, "post-comments.demo-notice": `P\u0159i \xFAprav\xE1ch se zobrazuj\xED uk\xE1zkov\xE9 koment\xE1\u0159e. N\xE1v\u0161t\u011Bvn\xEDci uvid\xED skute\u010Dn\xE9 koment\xE1\u0159e.`, title: _s, "related-posts.empty-state.description": `A\u017E bude publikov\xE1no v\xEDc p\u0159\xEDsp\u011Bvk\u016F, zobraz\xED se tady.`, "canvas.excerpt": `Tady p\u0159edstavte hlavn\xED my\u0161lenku p\u0159\xEDsp\u011Bvku. Toto kr\xE1tk\xE9 shrnut\xED se zobrazuje na kart\xE1ch kan\xE1lu a ve v\xFDsledc\xEDch hled\xE1n\xED a \u010Dten\xE1\u0159\u016Fm \u0159\xEDk\xE1, pro\u010D se p\u0159\xEDsp\u011Bvek vyplat\xED p\u0159e\u010D\xEDst.` };
|
|
3762
|
+
});
|
|
3763
|
+
var bs = h({ default: () => Ss, title: () => xs });
|
|
3764
|
+
var xs;
|
|
3765
|
+
var Ss;
|
|
3766
|
+
var Cs = m(() => {
|
|
3767
|
+
xs = `My App`, Ss = { "canvas.category": `Kategori`, "post-list.empty-state.description": `N\xE5r indl\xE6g er udgivet, vises de her.`, "canvas.tag-numbered": `Tag {number}`, "cover-media.play": `Afspil video`, "post-comments.unavailable": `Kommentarer er ikke tilg\xE6ngelige \u2014 ingen appforekomst.`, "post-counters.loading-likes": `Indl\xE6ser synes godt om`, "post-comments.loading": `Indl\xE6ser kommentarer\u2026`, "post-actions.like": `Synes godt om indl\xE6g`, "canvas.content": `Det er her, hele indl\xE6gget vises. Skriv din historie her, tilf\xF8j billeder, gallerier og video fra kontrolpanelet, og brug overskrifter og citater til at g\xF8re det nemt at l\xE6se.`, "related-posts.empty-state.title": `Ingen relaterede indl\xE6g endnu`, "post.time-to-read": `{count, plural, one {{count,number} min. l\xE6sning} other {{count,number} min. l\xE6sning}}`, "post-actions.link-copied": `Link kopieret`, "category-header.all-posts": `Alle indl\xE6g`, "post-actions.copy-manually": `Kopi\xE9r linket nedenfor for at dele dette indl\xE6g.`, "post-actions.copy-link": `Kopi\xE9r link`, "cover-media.placeholder-alt": `Coverbillede til indl\xE6g`, "post-actions.link-label": `Link til indl\xE6g`, "post-list.empty-state.title": `Ingen indl\xE6g endnu`, "post-actions.share-dialog": `Del indl\xE6g`, "canvas.post-title": `Indl\xE6gstitel`, "post-actions.unlike": `Fjern Synes godt om fra indl\xE6g`, "post-comments.no-post": `Der er endnu ikke fundet et indl\xE6g for denne URL.`, "post.like-count": `{count, plural, one {{formatted} synes godt om} other {{formatted} synes godt om}}`, "canvas.category-numbered": `Kategori {number}`, "post.comment-count": `{count, plural, one {{formatted} kommentar} other {{formatted} kommentarer}}`, "post-actions.share": `Del indl\xE6g`, "post.view-count": `{count, plural, one {{formatted} visning} other {{formatted} visninger}}`, "post-actions.close": `Luk`, "canvas.category-description": `Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`, "canvas.author-photo-alt": `Skribentbillede`, "canvas.author-name": `Skribentnavn`, "post-comments.demo-notice": `Eksempelkommentarer vises under redigering. Bes\xF8gende ser rigtige kommentarer.`, title: xs, "related-posts.empty-state.description": `N\xE5r flere indl\xE6g er udgivet, vises de her.`, "canvas.excerpt": `Del hovedideen i dit indl\xE6g her. Dette korte resum\xE9 vises p\xE5 feedkort og i s\xF8geresultater og fort\xE6ller l\xE6serne, hvorfor indl\xE6gget er v\xE6rd at l\xE6se.` };
|
|
3768
|
+
});
|
|
3769
|
+
var ws = h({ default: () => Es, title: () => Ts });
|
|
3770
|
+
var Ts;
|
|
3771
|
+
var Es;
|
|
3772
|
+
var Ds = m(() => {
|
|
3773
|
+
Ts = `My App`, Es = { "canvas.category": `Kategorie`, "post-list.empty-state.description": `Sobald Beitr\xE4ge ver\xF6ffentlicht sind, werden sie hier angezeigt.`, "canvas.tag-numbered": `Tag {number}`, "cover-media.play": `Video abspielen`, "post-comments.unavailable": `Kommentare sind nicht verf\xFCgbar \u2014 keine App-Instanz.`, "post-counters.loading-likes": `Likes werden geladen`, "post-comments.loading": `Kommentare werden geladen \u2026`, "post-actions.like": `Beitrag liken`, "canvas.content": `Hier wird der vollst\xE4ndige Beitrag angezeigt. Schreibe hier deine Geschichte, f\xFCge Bilder, Galerien und Videos aus dem Dashboard hinzu und nutze \xDCberschriften und Zitate, damit sie leicht lesbar bleibt.`, "related-posts.empty-state.title": `Noch keine \xE4hnlichen Beitr\xE4ge`, "post.time-to-read": `{count, plural, one {{count,number} Min. Lesezeit} other {{count,number} Min. Lesezeit}}`, "post-actions.link-copied": `Link kopiert`, "category-header.all-posts": `Alle Beitr\xE4ge`, "post-actions.copy-manually": `Kopiere den Link unten, um diesen Beitrag zu teilen.`, "post-actions.copy-link": `Link kopieren`, "cover-media.placeholder-alt": `Titelbild des Beitrags`, "post-actions.link-label": `Link zum Beitrag`, "post-list.empty-state.title": `Noch keine Beitr\xE4ge`, "post-actions.share-dialog": `Beitrag teilen`, "canvas.post-title": `Beitragstitel`, "post-actions.unlike": `Like f\xFCr Beitrag entfernen`, "post-comments.no-post": `F\xFCr diese URL wurde noch kein Beitrag gefunden.`, "post.like-count": `{count, plural, one {{formatted} Like} other {{formatted} Likes}}`, "canvas.category-numbered": `Kategorie {number}`, "post.comment-count": `{count, plural, one {{formatted} Kommentar} other {{formatted} Kommentare}}`, "post-actions.share": `Beitrag teilen`, "post.view-count": `{count, plural, one {{formatted} Aufruf} other {{formatted} Aufrufe}}`, "post-actions.close": `Schlie\xDFen`, "canvas.category-description": `Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`, "canvas.author-photo-alt": `Autorenfoto`, "canvas.author-name": `Autorenname`, "post-comments.demo-notice": `Beim Bearbeiten werden Beispielkommentare angezeigt. Besucher sehen echte Kommentare.`, title: Ts, "related-posts.empty-state.description": `Sobald weitere Beitr\xE4ge ver\xF6ffentlicht sind, werden sie hier angezeigt.`, "canvas.excerpt": `Teile hier die wichtigste Idee deines Beitrags. Diese kurze Zusammenfassung wird auf Feed-Karten und in Suchergebnissen angezeigt und zeigt Lesern, warum sich das Lesen lohnt.` };
|
|
3774
|
+
});
|
|
3775
|
+
var Os = h({ default: () => As, title: () => ks });
|
|
3776
|
+
var ks;
|
|
3777
|
+
var As;
|
|
3778
|
+
var js = m(() => {
|
|
3779
|
+
ks = `My App`, As = { "canvas.category": `\u039A\u03B1\u03C4\u03B7\u03B3\u03BF\u03C1\u03AF\u03B1`, "post-list.empty-state.description": `\u039C\u03CC\u03BB\u03B9\u03C2 \u03B4\u03B7\u03BC\u03BF\u03C3\u03B9\u03B5\u03C5\u03C4\u03BF\u03CD\u03BD \u03B4\u03B7\u03BC\u03BF\u03C3\u03B9\u03B5\u03CD\u03C3\u03B5\u03B9\u03C2, \u03B8\u03B1 \u03B5\u03BC\u03C6\u03B1\u03BD\u03B9\u03C3\u03C4\u03BF\u03CD\u03BD \u03B5\u03B4\u03CE.`, "canvas.tag-numbered": `\u0395\u03C4\u03B9\u03BA\u03AD\u03C4\u03B1 {number}`, "cover-media.play": `\u0391\u03BD\u03B1\u03C0\u03B1\u03C1\u03B1\u03B3\u03C9\u03B3\u03AE \u03B2\u03AF\u03BD\u03C4\u03B5\u03BF`, "post-comments.unavailable": `\u03A4\u03B1 \u03C3\u03C7\u03CC\u03BB\u03B9\u03B1 \u03B4\u03B5\u03BD \u03B5\u03AF\u03BD\u03B1\u03B9 \u03B4\u03B9\u03B1\u03B8\u03AD\u03C3\u03B9\u03BC\u03B1 \u2014 \u03B4\u03B5\u03BD \u03C5\u03C0\u03AC\u03C1\u03C7\u03B5\u03B9 instance \u03B5\u03C6\u03B1\u03C1\u03BC\u03BF\u03B3\u03AE\u03C2.`, "post-counters.loading-likes": `\u03A6\u03CC\u03C1\u03C4\u03C9\u03C3\u03B7 \u03B5\u03C0\u03B9\u03C3\u03B7\u03BC\u03AC\u03BD\u03C3\u03B5\u03C9\u03BD \xAB\u039C\u03BF\u03C5 \u03B1\u03C1\u03AD\u03C3\u03B5\u03B9\xBB`, "post-comments.loading": `\u03A6\u03CC\u03C1\u03C4\u03C9\u03C3\u03B7 \u03C3\u03C7\u03BF\u03BB\u03AF\u03C9\u03BD\u2026`, "post-actions.like": `\u039C\u03BF\u03C5 \u03B1\u03C1\u03AD\u03C3\u03B5\u03B9 \u03B7 \u03B4\u03B7\u03BC\u03BF\u03C3\u03AF\u03B5\u03C5\u03C3\u03B7`, "canvas.content": `\u0395\u03B4\u03CE \u03B5\u03BC\u03C6\u03B1\u03BD\u03AF\u03B6\u03B5\u03C4\u03B1\u03B9 \u03B7 \u03C0\u03BB\u03AE\u03C1\u03B7\u03C2 \u03B4\u03B7\u03BC\u03BF\u03C3\u03AF\u03B5\u03C5\u03C3\u03B7. \u0393\u03C1\u03AC\u03C8\u03B5 \u03C4\u03B7\u03BD \u03B9\u03C3\u03C4\u03BF\u03C1\u03AF\u03B1 \u03C3\u03BF\u03C5 \u03B5\u03B4\u03CE, \u03C0\u03C1\u03CC\u03C3\u03B8\u03B5\u03C3\u03B5 \u03B5\u03B9\u03BA\u03CC\u03BD\u03B5\u03C2, \u03C3\u03C5\u03BB\u03BB\u03BF\u03B3\u03AD\u03C2 \u03BA\u03B1\u03B9 \u03B2\u03AF\u03BD\u03C4\u03B5\u03BF \u03B1\u03C0\u03CC \u03C4\u03BF\u03BD \u03A0\u03AF\u03BD\u03B1\u03BA\u03B1 \u03B5\u03C1\u03B3\u03B1\u03BB\u03B5\u03AF\u03C9\u03BD, \u03BA\u03B1\u03B9 \u03C7\u03C1\u03B7\u03C3\u03B9\u03BC\u03BF\u03C0\u03BF\u03AF\u03B7\u03C3\u03B5 \u03B5\u03C0\u03B9\u03BA\u03B5\u03C6\u03B1\u03BB\u03AF\u03B4\u03B5\u03C2 \u03BA\u03B1\u03B9 \u03C0\u03B1\u03C1\u03B1\u03B8\u03AD\u03BC\u03B1\u03C4\u03B1 \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03B5\u03CD\u03BA\u03BF\u03BB\u03B7 \u03C3\u03C4\u03B7\u03BD \u03B1\u03BD\u03AC\u03B3\u03BD\u03C9\u03C3\u03B7.`, "related-posts.empty-state.title": `\u0394\u03B5\u03BD \u03C5\u03C0\u03AC\u03C1\u03C7\u03BF\u03C5\u03BD \u03B1\u03BA\u03CC\u03BC\u03B7 \u03C3\u03C7\u03B5\u03C4\u03B9\u03BA\u03AD\u03C2 \u03B4\u03B7\u03BC\u03BF\u03C3\u03B9\u03B5\u03CD\u03C3\u03B5\u03B9\u03C2`, "post.time-to-read": `{count, plural, one {{count,number} \u03BB\u03B5\u03C0\u03C4\u03CC \u03B1\u03BD\u03AC\u03B3\u03BD\u03C9\u03C3\u03B7\u03C2} other {{count,number} \u03BB\u03B5\u03C0\u03C4\u03AC \u03B1\u03BD\u03AC\u03B3\u03BD\u03C9\u03C3\u03B7\u03C2}}`, "post-actions.link-copied": `\u039F \u03C3\u03CD\u03BD\u03B4\u03B5\u03C3\u03BC\u03BF\u03C2 \u03B1\u03BD\u03C4\u03B9\u03B3\u03C1\u03AC\u03C6\u03B7\u03BA\u03B5`, "category-header.all-posts": `\u038C\u03BB\u03B5\u03C2 \u03BF\u03B9 \u03B4\u03B7\u03BC\u03BF\u03C3\u03B9\u03B5\u03CD\u03C3\u03B5\u03B9\u03C2`, "post-actions.copy-manually": `\u0391\u03BD\u03C4\u03AF\u03B3\u03C1\u03B1\u03C8\u03B5 \u03C4\u03BF\u03BD \u03C0\u03B1\u03C1\u03B1\u03BA\u03AC\u03C4\u03C9 \u03C3\u03CD\u03BD\u03B4\u03B5\u03C3\u03BC\u03BF \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03BA\u03BF\u03B9\u03BD\u03BF\u03C0\u03BF\u03B9\u03AE\u03C3\u03B5\u03B9\u03C2 \u03B1\u03C5\u03C4\u03AE \u03C4\u03B7 \u03B4\u03B7\u03BC\u03BF\u03C3\u03AF\u03B5\u03C5\u03C3\u03B7.`, "post-actions.copy-link": `\u0391\u03BD\u03C4\u03B9\u03B3\u03C1\u03B1\u03C6\u03AE \u03C3\u03C5\u03BD\u03B4\u03AD\u03C3\u03BC\u03BF\u03C5`, "cover-media.placeholder-alt": `\u0395\u03B9\u03BA\u03CC\u03BD\u03B1 \u03B5\u03BE\u03C9\u03C6\u03CD\u03BB\u03BB\u03BF\u03C5 \u03B4\u03B7\u03BC\u03BF\u03C3\u03AF\u03B5\u03C5\u03C3\u03B7\u03C2`, "post-actions.link-label": `\u03A3\u03CD\u03BD\u03B4\u03B5\u03C3\u03BC\u03BF\u03C2 \u03B4\u03B7\u03BC\u03BF\u03C3\u03AF\u03B5\u03C5\u03C3\u03B7\u03C2`, "post-list.empty-state.title": `\u0394\u03B5\u03BD \u03C5\u03C0\u03AC\u03C1\u03C7\u03BF\u03C5\u03BD \u03B1\u03BA\u03CC\u03BC\u03B7 \u03B4\u03B7\u03BC\u03BF\u03C3\u03B9\u03B5\u03CD\u03C3\u03B5\u03B9\u03C2`, "post-actions.share-dialog": `\u039A\u03BF\u03B9\u03BD\u03BF\u03C0\u03BF\u03AF\u03B7\u03C3\u03B7 \u03B4\u03B7\u03BC\u03BF\u03C3\u03AF\u03B5\u03C5\u03C3\u03B7\u03C2`, "canvas.post-title": `\u03A4\u03AF\u03C4\u03BB\u03BF\u03C2 \u03B4\u03B7\u03BC\u03BF\u03C3\u03AF\u03B5\u03C5\u03C3\u03B7\u03C2`, "post-actions.unlike": `\u039A\u03B1\u03C4\u03AC\u03C1\u03B3\u03B7\u03C3\u03B7 \u039C\u03BF\u03C5 \u03B1\u03C1\u03AD\u03C3\u03B5\u03B9 \u03B1\u03C0\u03CC \u03C4\u03B7 \u03B4\u03B7\u03BC\u03BF\u03C3\u03AF\u03B5\u03C5\u03C3\u03B7`, "post-comments.no-post": `\u0394\u03B5\u03BD \u03AD\u03C7\u03B5\u03B9 \u03B2\u03C1\u03B5\u03B8\u03B5\u03AF \u03B1\u03BA\u03CC\u03BC\u03B7 \u03B4\u03B7\u03BC\u03BF\u03C3\u03AF\u03B5\u03C5\u03C3\u03B7 \u03B3\u03B9\u03B1 \u03B1\u03C5\u03C4\u03CC \u03C4\u03BF URL.`, "post.like-count": `{count, plural, one {{formatted} \u03B5\u03C0\u03B9\u03C3\u03AE\u03BC\u03B1\u03BD\u03C3\u03B7 \xAB\u039C\u03BF\u03C5 \u03B1\u03C1\u03AD\u03C3\u03B5\u03B9\xBB} other {{formatted} \u03B5\u03C0\u03B9\u03C3\u03B7\u03BC\u03AC\u03BD\u03C3\u03B5\u03B9\u03C2 \xAB\u039C\u03BF\u03C5 \u03B1\u03C1\u03AD\u03C3\u03B5\u03B9\xBB}}`, "canvas.category-numbered": `\u039A\u03B1\u03C4\u03B7\u03B3\u03BF\u03C1\u03AF\u03B1 {number}`, "post.comment-count": `{count, plural, one {{formatted} \u03C3\u03C7\u03CC\u03BB\u03B9\u03BF} other {{formatted} \u03C3\u03C7\u03CC\u03BB\u03B9\u03B1}}`, "post-actions.share": `\u039A\u03BF\u03B9\u03BD\u03BF\u03C0\u03BF\u03AF\u03B7\u03C3\u03B7 \u03B4\u03B7\u03BC\u03BF\u03C3\u03AF\u03B5\u03C5\u03C3\u03B7\u03C2`, "post.view-count": `{count, plural, one {{formatted} \u03C0\u03C1\u03BF\u03B2\u03BF\u03BB\u03AE} other {{formatted} \u03C0\u03C1\u03BF\u03B2\u03BF\u03BB\u03AD\u03C2}}`, "post-actions.close": `\u039A\u03BB\u03B5\u03AF\u03C3\u03B9\u03BC\u03BF`, "canvas.category-description": `Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`, "canvas.author-photo-alt": `\u03A6\u03C9\u03C4\u03BF\u03B3\u03C1\u03B1\u03C6\u03AF\u03B1 \u03C3\u03C5\u03B3\u03B3\u03C1\u03B1\u03C6\u03AD\u03B1`, "canvas.author-name": `\u038C\u03BD\u03BF\u03BC\u03B1 \u03C3\u03C5\u03B3\u03B3\u03C1\u03B1\u03C6\u03AD\u03B1`, "post-comments.demo-notice": `\u039A\u03B1\u03C4\u03AC \u03C4\u03B7\u03BD \u03B5\u03C0\u03B5\u03BE\u03B5\u03C1\u03B3\u03B1\u03C3\u03AF\u03B1 \u03B5\u03BC\u03C6\u03B1\u03BD\u03AF\u03B6\u03BF\u03BD\u03C4\u03B1\u03B9 \u03B5\u03BD\u03B4\u03B5\u03B9\u03BA\u03C4\u03B9\u03BA\u03AC \u03C3\u03C7\u03CC\u03BB\u03B9\u03B1. \u039F\u03B9 \u03B5\u03C0\u03B9\u03C3\u03BA\u03AD\u03C0\u03C4\u03B5\u03C2 \u03B8\u03B1 \u03B2\u03BB\u03AD\u03C0\u03BF\u03C5\u03BD \u03C0\u03C1\u03B1\u03B3\u03BC\u03B1\u03C4\u03B9\u03BA\u03AC \u03C3\u03C7\u03CC\u03BB\u03B9\u03B1.`, title: ks, "related-posts.empty-state.description": `\u039C\u03CC\u03BB\u03B9\u03C2 \u03B4\u03B7\u03BC\u03BF\u03C3\u03B9\u03B5\u03C5\u03C4\u03BF\u03CD\u03BD \u03C0\u03B5\u03C1\u03B9\u03C3\u03C3\u03CC\u03C4\u03B5\u03C1\u03B5\u03C2 \u03B4\u03B7\u03BC\u03BF\u03C3\u03B9\u03B5\u03CD\u03C3\u03B5\u03B9\u03C2, \u03B8\u03B1 \u03B5\u03BC\u03C6\u03B1\u03BD\u03B9\u03C3\u03C4\u03BF\u03CD\u03BD \u03B5\u03B4\u03CE.`, "canvas.excerpt": `\u039C\u03BF\u03B9\u03C1\u03AC\u03C3\u03BF\u03C5 \u03B5\u03B4\u03CE \u03C4\u03B7\u03BD \u03BA\u03CD\u03C1\u03B9\u03B1 \u03B9\u03B4\u03AD\u03B1 \u03C4\u03B7\u03C2 \u03B4\u03B7\u03BC\u03BF\u03C3\u03AF\u03B5\u03C5\u03C3\u03AE\u03C2 \u03C3\u03BF\u03C5. \u0391\u03C5\u03C4\u03AE \u03B7 \u03C3\u03CD\u03BD\u03C4\u03BF\u03BC\u03B7 \u03C3\u03CD\u03BD\u03BF\u03C8\u03B7 \u03B5\u03BC\u03C6\u03B1\u03BD\u03AF\u03B6\u03B5\u03C4\u03B1\u03B9 \u03C3\u03C4\u03B9\u03C2 \u03BA\u03AC\u03C1\u03C4\u03B5\u03C2 \u03C1\u03BF\u03AE\u03C2 \u03BA\u03B1\u03B9 \u03C3\u03C4\u03B1 \u03B1\u03C0\u03BF\u03C4\u03B5\u03BB\u03AD\u03C3\u03BC\u03B1\u03C4\u03B1 \u03B1\u03BD\u03B1\u03B6\u03AE\u03C4\u03B7\u03C3\u03B7\u03C2, \u03BA\u03B1\u03B9 \u03B4\u03B5\u03AF\u03C7\u03BD\u03B5\u03B9 \u03C3\u03C4\u03BF\u03C5\u03C2 \u03B1\u03BD\u03B1\u03B3\u03BD\u03CE\u03C3\u03C4\u03B5\u03C2 \u03B3\u03B9\u03B1\u03C4\u03AF \u03B1\u03BE\u03AF\u03B6\u03B5\u03B9 \u03BD\u03B1 \u03B4\u03B9\u03B1\u03B2\u03AC\u03C3\u03BF\u03C5\u03BD \u03C4\u03B7 \u03B4\u03B7\u03BC\u03BF\u03C3\u03AF\u03B5\u03C5\u03C3\u03B7.` };
|
|
3780
|
+
});
|
|
3781
|
+
var Ms = h({ default: () => Ns });
|
|
3782
|
+
var Ns;
|
|
3783
|
+
var Ps = m(() => {
|
|
3784
|
+
Ns = { "post.time-to-read": `{count, plural, one {# min read} other {# min read}}`, "post.view-count": `{count, plural, one {{formatted} view} other {{formatted} views}}`, "post.comment-count": `{count, plural, one {{formatted} comment} other {{formatted} comments}}`, "post.like-count": `{count, plural, one {{formatted} like} other {{formatted} likes}}`, "post-list.empty-state.title": `No posts yet`, "post-list.empty-state.description": `Once posts are published, they will appear here.`, "related-posts.empty-state.title": `No related posts yet`, "related-posts.empty-state.description": `Once more posts are published, they will appear here.`, "post-actions.like": `Like post`, "post-actions.unlike": `Unlike post`, "post-actions.share": `Share post`, "post-actions.share-dialog": `Share post`, "post-actions.link-copied": `Link copied`, "post-actions.copy-manually": `Copy the link below to share this post.`, "post-actions.link-label": `Post link`, "post-actions.copy-link": `Copy link`, "post-actions.close": `Close`, "post-counters.loading-likes": `Loading likes`, "cover-media.play": `Play video`, "cover-media.placeholder-alt": `Post cover image`, "post-comments.loading": `Loading comments\u2026`, "post-comments.no-post": `No post resolved for this URL yet.`, "post-comments.unavailable": `Comments are unavailable \u2014 no app instance.`, "post-comments.demo-notice": `Sample comments are shown while editing. Visitors will see real comments.`, "canvas.post-title": `Post Title`, "canvas.author-name": `Author Name`, "canvas.excerpt": `Share the key idea of your post here. This short summary shows on feed cards and in search results, and tells readers why the post is worth their time.`, "canvas.content": `This is where the full post appears. Write your story here, add images, galleries and video from the dashboard, and use headings and quotes to keep it easy to read.`, "canvas.category": `Category`, "canvas.category-numbered": `Category {number}`, "canvas.tag-numbered": `Tag {number}`, "canvas.author-photo-alt": `Author photo`, "category-header.all-posts": `All Posts` };
|
|
3785
|
+
});
|
|
3786
|
+
var Fs = h({ default: () => Ls, title: () => Is });
|
|
3787
|
+
var Is;
|
|
3788
|
+
var Ls;
|
|
3789
|
+
var Rs = m(() => {
|
|
3790
|
+
Is = `My App`, Ls = { "canvas.category": `Category`, "post-list.empty-state.description": `Once posts are published, they will appear here.`, "canvas.tag-numbered": `Tag {number}`, "cover-media.play": `Play video`, "post-comments.unavailable": `Comments are unavailable \u2014 no app instance.`, "post-counters.loading-likes": `Loading likes`, "post-comments.loading": `Loading comments\u2026`, "post-actions.like": `Like post`, "canvas.content": `This is where the full post appears. Write your story here, add images, galleries and video from the dashboard, and use headings and quotes to keep it easy to read.`, "related-posts.empty-state.title": `No related posts yet`, "post.time-to-read": `{count, plural, one {# min read} other {# min read}}`, "post-actions.link-copied": `Link copied`, "category-header.all-posts": `All Posts`, "post-actions.copy-manually": `Copy the link below to share this post.`, "post-actions.copy-link": `Copy link`, "cover-media.placeholder-alt": `Post cover image`, "post-actions.link-label": `Post link`, "post-list.empty-state.title": `No posts yet`, "post-actions.share-dialog": `Share post`, "canvas.post-title": `Post Title`, "post-actions.unlike": `Unlike post`, "post-comments.no-post": `No post resolved for this URL yet.`, "post.like-count": `{count, plural, one {{formatted} like} other {{formatted} likes}}`, "canvas.category-numbered": `Category {number}`, "post.comment-count": `{count, plural, one {{formatted} comment} other {{formatted} comments}}`, "post-actions.share": `Share post`, "post.view-count": `{count, plural, one {{formatted} view} other {{formatted} views}}`, "post-actions.close": `Close`, "canvas.category-description": `Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`, "canvas.author-photo-alt": `Author photo`, "canvas.author-name": `Author Name`, "post-comments.demo-notice": `Sample comments are shown while editing. Visitors will see real comments.`, title: Is, "related-posts.empty-state.description": `Once more posts are published, they will appear here.`, "canvas.excerpt": `Share the key idea of your post here. This short summary shows on feed cards and in search results, and tells readers why the post is worth their time.` };
|
|
3791
|
+
});
|
|
3792
|
+
var zs = h({ default: () => Vs, title: () => Bs });
|
|
3793
|
+
var Bs;
|
|
3794
|
+
var Vs;
|
|
3795
|
+
var Hs = m(() => {
|
|
3796
|
+
Bs = `My App`, Vs = { "canvas.category": `Categor\xEDa`, "post-list.empty-state.description": `Cuando se publiquen entradas, aparecer\xE1n aqu\xED.`, "canvas.tag-numbered": `Etiqueta {number}`, "cover-media.play": `Reproducir video`, "post-comments.unavailable": `Los comentarios no est\xE1n disponibles \u2014 no hay instancia de la app.`, "post-counters.loading-likes": `Cargando Me gusta`, "post-comments.loading": `Cargando comentarios\u2026`, "post-actions.like": `Dar Me gusta a la entrada`, "canvas.content": `Aqu\xED se muestra la entrada completa. Escribe tu historia aqu\xED, agrega im\xE1genes, galer\xEDas y video desde el panel de control, y usa encabezados y citas para que sea f\xE1cil de leer.`, "related-posts.empty-state.title": `A\xFAn no hay entradas relacionadas`, "post.time-to-read": `{count, plural, one {{count,number} min de lectura} other {{count,number} min de lectura}}`, "post-actions.link-copied": `Enlace copiado`, "category-header.all-posts": `Todas las entradas`, "post-actions.copy-manually": `Copia el enlace a continuaci\xF3n para compartir esta entrada.`, "post-actions.copy-link": `Copiar enlace`, "cover-media.placeholder-alt": `Imagen de portada de la entrada`, "post-actions.link-label": `Enlace de la entrada`, "post-list.empty-state.title": `A\xFAn no hay entradas`, "post-actions.share-dialog": `Compartir entrada`, "canvas.post-title": `T\xEDtulo de la entrada`, "post-actions.unlike": `Quitar Me gusta de la entrada`, "post-comments.no-post": `A\xFAn no se resolvi\xF3 ninguna entrada para esta URL.`, "post.like-count": `{count, plural, one {{formatted} Me gusta} other {{formatted} Me gusta}}`, "canvas.category-numbered": `Categor\xEDa {number}`, "post.comment-count": `{count, plural, one {{formatted} comentario} other {{formatted} comentarios}}`, "post-actions.share": `Compartir entrada`, "post.view-count": `{count, plural, one {{formatted} vista} other {{formatted} vistas}}`, "post-actions.close": `Cerrar`, "canvas.category-description": `Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`, "canvas.author-photo-alt": `Foto del autor`, "canvas.author-name": `Nombre del autor`, "post-comments.demo-notice": `Se muestran comentarios de muestra durante la edici\xF3n. Los visitantes ver\xE1n comentarios reales.`, title: Bs, "related-posts.empty-state.description": `Cuando se publiquen m\xE1s entradas, aparecer\xE1n aqu\xED.`, "canvas.excerpt": `Comparte aqu\xED la idea principal de tu entrada. Este breve resumen se muestra en las tarjetas del feed y en los resultados de b\xFAsqueda, y les dice a los lectores por qu\xE9 vale la pena leer la entrada.` };
|
|
3797
|
+
});
|
|
3798
|
+
var Us = h({ default: () => Gs, title: () => Ws });
|
|
3799
|
+
var Ws;
|
|
3800
|
+
var Gs;
|
|
3801
|
+
var Ks = m(() => {
|
|
3802
|
+
Ws = `My App`, Gs = { "canvas.category": `Kategoria`, "post-list.empty-state.description": `Kun julkaisuja julkaistaan, ne n\xE4kyv\xE4t t\xE4\xE4ll\xE4.`, "canvas.tag-numbered": `Tunniste {number}`, "cover-media.play": `Toista video`, "post-comments.unavailable": `Kommentit eiv\xE4t ole saatavilla \u2014 ei sovellusinstanssia.`, "post-counters.loading-likes": `Ladataan tykk\xE4yksi\xE4`, "post-comments.loading": `Ladataan kommentteja\u2026`, "post-actions.like": `Tykk\xE4\xE4 julkaisusta`, "canvas.content": `T\xE4ss\xE4 n\xE4kyy koko julkaisu. Kirjoita tarinasi t\xE4h\xE4n, lis\xE4\xE4 kuvia, gallerioita ja videoita hallintapaneelista sek\xE4 k\xE4yt\xE4 otsikoita ja lainauksia, jotta teksti\xE4 on helppo lukea.`, "related-posts.empty-state.title": `Ei viel\xE4 aiheeseen liittyvi\xE4 julkaisuja`, "post.time-to-read": `{count, plural, one {{count,number} min lukuaika} other {{count,number} min lukuaika}}`, "post-actions.link-copied": `Linkki kopioitu`, "category-header.all-posts": `Kaikki julkaisut`, "post-actions.copy-manually": `Kopioi alla oleva linkki jakaaksesi t\xE4m\xE4n julkaisun.`, "post-actions.copy-link": `Kopioi linkki`, "cover-media.placeholder-alt": `Julkaisun kansikuva`, "post-actions.link-label": `Julkaisun linkki`, "post-list.empty-state.title": `Ei viel\xE4 julkaisuja`, "post-actions.share-dialog": `Jaa julkaisu`, "canvas.post-title": `Julkaisun otsikko`, "post-actions.unlike": `Poista tykk\xE4ys julkaisusta`, "post-comments.no-post": `T\xE4lle URL-osoitteelle ei viel\xE4 l\xF6ydy julkaisua.`, "post.like-count": `{count, plural, one {{formatted} tykk\xE4ys} other {{formatted} tykk\xE4yst\xE4}}`, "canvas.category-numbered": `Kategoria {number}`, "post.comment-count": `{count, plural, one {{formatted} kommentti} other {{formatted} kommenttia}}`, "post-actions.share": `Jaa julkaisu`, "post.view-count": `{count, plural, one {{formatted} n\xE4kym\xE4} other {{formatted} n\xE4kym\xE4\xE4}}`, "post-actions.close": `Sulje`, "canvas.category-description": `Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`, "canvas.author-photo-alt": `Kirjoittajan kuva`, "canvas.author-name": `Kirjoittajan nimi`, "post-comments.demo-notice": `Muokkauksen aikana n\xE4ytet\xE4\xE4n esimerkkikommentteja. Vierailijat n\xE4kev\xE4t oikeat kommentit.`, title: Ws, "related-posts.empty-state.description": `Kun lis\xE4\xE4 julkaisuja julkaistaan, ne n\xE4kyv\xE4t t\xE4\xE4ll\xE4.`, "canvas.excerpt": `Jaa julkaisusi p\xE4\xE4idea t\xE4ss\xE4. T\xE4m\xE4 lyhyt yhteenveto n\xE4kyy sy\xF6tekorteissa ja hakutuloksissa, ja kertoo lukijoille, miksi julkaisu kannattaa lukea.` };
|
|
3803
|
+
});
|
|
3804
|
+
var qs = h({ default: () => Ys, title: () => Js });
|
|
3805
|
+
var Js;
|
|
3806
|
+
var Ys;
|
|
3807
|
+
var Xs = m(() => {
|
|
3808
|
+
Js = `My App`, Ys = { "canvas.category": `Cat\xE9gorie`, "post-list.empty-state.description": `Une fois les posts publi\xE9s, ils appara\xEEtront ici.`, "canvas.tag-numbered": `Mot-cl\xE9 {number}`, "cover-media.play": `Lire la vid\xE9o`, "post-comments.unavailable": `Les commentaires ne sont pas disponibles \u2014 aucune instance d'application.`, "post-counters.loading-likes": `Chargement des J'aime`, "post-comments.loading": `Chargement des commentaires\u2026`, "post-actions.like": `Aimer le post`, "canvas.content": `C'est ici que le post complet appara\xEEt. R\xE9digez votre histoire ici, ajoutez des images, des galeries et des vid\xE9os depuis le tableau de bord, et utilisez des titres et des citations pour faciliter la lecture.`, "related-posts.empty-state.title": `Aucun post associ\xE9 pour le moment`, "post.time-to-read": `{count, plural, one {{count,number} min de lecture} other {{count,number} min de lecture}}`, "post-actions.link-copied": `Lien copi\xE9`, "category-header.all-posts": `Tous les posts`, "post-actions.copy-manually": `Copiez le lien ci-dessous pour partager ce post.`, "post-actions.copy-link": `Copier le lien`, "cover-media.placeholder-alt": `Image de couverture du post`, "post-actions.link-label": `Lien du post`, "post-list.empty-state.title": `Aucun post pour le moment`, "post-actions.share-dialog": `Partager le post`, "canvas.post-title": `Titre du post`, "post-actions.unlike": `Ne plus aimer le post`, "post-comments.no-post": `Aucun post n'est encore associ\xE9 \xE0 cette URL.`, "post.like-count": `{count, plural, one {{formatted} J'aime} other {{formatted} J'aime}}`, "canvas.category-numbered": `Cat\xE9gorie {number}`, "post.comment-count": `{count, plural, one {{formatted} commentaire} other {{formatted} commentaires}}`, "post-actions.share": `Partager le post`, "post.view-count": `{count, plural, one {{formatted} vue} other {{formatted} vues}}`, "post-actions.close": `Fermer`, "canvas.category-description": `Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`, "canvas.author-photo-alt": `Photo de l'auteur`, "canvas.author-name": `Nom de l'auteur`, "post-comments.demo-notice": `Des exemples de commentaires s'affichent pendant la modification. Les visiteurs verront les vrais commentaires.`, title: Js, "related-posts.empty-state.description": `Une fois d'autres posts publi\xE9s, ils appara\xEEtront ici.`, "canvas.excerpt": `Partagez ici l'id\xE9e principale de votre post. Ce bref r\xE9sum\xE9 s'affiche sur les fiches du fil et dans les r\xE9sultats de recherche, et indique aux lecteurs pourquoi ce post m\xE9rite d'\xEAtre lu.` };
|
|
3809
|
+
});
|
|
3810
|
+
var Zs = h({ default: () => $s, title: () => Qs });
|
|
3811
|
+
var Qs;
|
|
3812
|
+
var $s;
|
|
3813
|
+
var ec = m(() => {
|
|
3814
|
+
Qs = `My App`, $s = { "canvas.category": `\u05E7\u05D8\u05D2\u05D5\u05E8\u05D9\u05D4`, "post-list.empty-state.description": `\u05D0\u05D7\u05E8\u05D9 \u05E4\u05E8\u05E1\u05D5\u05DD \u05E4\u05D5\u05E1\u05D8\u05D9\u05DD, \u05D4\u05DD \u05D9\u05D5\u05E4\u05D9\u05E2\u05D5 \u05DB\u05D0\u05DF.`, "canvas.tag-numbered": `\u05EA\u05D2 {number}`, "cover-media.play": `\u05D4\u05E4\u05E2\u05DC\u05EA \u05E1\u05E8\u05D8\u05D5\u05DF`, "post-comments.unavailable": `\u05D4\u05EA\u05D2\u05D5\u05D1\u05D5\u05EA \u05DC\u05D0 \u05D6\u05DE\u05D9\u05E0\u05D5\u05EA \u2014 \u05D0\u05D9\u05DF \u05DE\u05D5\u05E4\u05E2 \u05D0\u05E4\u05DC\u05D9\u05E7\u05E6\u05D9\u05D4.`, "post-counters.loading-likes": `\u05D8\u05E2\u05D9\u05E0\u05EA \u05DC\u05D9\u05D9\u05E7\u05D9\u05DD`, "post-comments.loading": `\u05D8\u05E2\u05D9\u05E0\u05EA \u05EA\u05D2\u05D5\u05D1\u05D5\u05EA\u2026`, "post-actions.like": `\u05E1\u05D9\u05DE\u05D5\u05DF \u05E4\u05D5\u05E1\u05D8 \u05D1\u05DC\u05D9\u05D9\u05E7`, "canvas.content": `\u05DB\u05D0\u05DF \u05DE\u05D5\u05E4\u05D9\u05E2 \u05D4\u05E4\u05D5\u05E1\u05D8 \u05D4\u05DE\u05DC\u05D0. \u05D0\u05E4\u05E9\u05E8 \u05DC\u05DB\u05EA\u05D5\u05D1 \u05DB\u05D0\u05DF \u05D0\u05EA \u05D4\u05E1\u05D9\u05E4\u05D5\u05E8, \u05DC\u05D4\u05D5\u05E1\u05D9\u05E3 \u05EA\u05DE\u05D5\u05E0\u05D5\u05EA, \u05D2\u05DC\u05E8\u05D9\u05D5\u05EA \u05D5\u05E1\u05E8\u05D8\u05D5\u05E0\u05D9\u05DD \u05DE\u05D4\u05D3\u05D0\u05E9\u05D1\u05D5\u05E8\u05D3, \u05D5\u05DC\u05D4\u05E9\u05EA\u05DE\u05E9 \u05D1\u05EA\u05D2\u05D9 Heading \u05D5\u05D1\u05E6\u05D9\u05D8\u05D5\u05D8\u05D9\u05DD \u05DB\u05D3\u05D9 \u05DC\u05D4\u05E7\u05DC \u05E2\u05DC \u05D4\u05E7\u05E8\u05D9\u05D0\u05D4.`, "related-posts.empty-state.title": `\u05D0\u05D9\u05DF \u05E2\u05D3\u05D9\u05D9\u05DF \u05E4\u05D5\u05E1\u05D8\u05D9\u05DD \u05E7\u05E9\u05D5\u05E8\u05D9\u05DD`, "post.time-to-read": `{count, plural, one {# min read} other {# min read}}`, "post-actions.link-copied": `\u05D4\u05DC\u05D9\u05E0\u05E7 \u05D4\u05D5\u05E2\u05EA\u05E7`, "category-header.all-posts": `\u05DB\u05DC \u05D4\u05E4\u05D5\u05E1\u05D8\u05D9\u05DD`, "post-actions.copy-manually": `\u05D0\u05E4\u05E9\u05E8 \u05DC\u05D4\u05E2\u05EA\u05D9\u05E7 \u05D0\u05EA \u05D4\u05DC\u05D9\u05E0\u05E7 \u05E9\u05D1\u05D4\u05DE\u05E9\u05DA \u05DB\u05D3\u05D9 \u05DC\u05E9\u05EA\u05E3 \u05D0\u05EA \u05D4\u05E4\u05D5\u05E1\u05D8 \u05D4\u05D6\u05D4.`, "post-actions.copy-link": `\u05D4\u05E2\u05EA\u05E7\u05EA \u05DC\u05D9\u05E0\u05E7`, "cover-media.placeholder-alt": `\u05EA\u05DE\u05D5\u05E0\u05EA \u05E7\u05D0\u05D1\u05E8 \u05E9\u05DC \u05E4\u05D5\u05E1\u05D8`, "post-actions.link-label": `\u05DC\u05D9\u05E0\u05E7 \u05DC\u05E4\u05D5\u05E1\u05D8`, "post-list.empty-state.title": `\u05D0\u05D9\u05DF \u05E2\u05D3\u05D9\u05D9\u05DF \u05E4\u05D5\u05E1\u05D8\u05D9\u05DD`, "post-actions.share-dialog": `\u05E9\u05D9\u05EA\u05D5\u05E3 \u05E4\u05D5\u05E1\u05D8`, "canvas.post-title": `\u05DB\u05D5\u05EA\u05E8\u05EA \u05D4\u05E4\u05D5\u05E1\u05D8`, "post-actions.unlike": `\u05D1\u05D9\u05D8\u05D5\u05DC \u05DC\u05D9\u05D9\u05E7 \u05DC\u05E4\u05D5\u05E1\u05D8`, "post-comments.no-post": `\u05E2\u05D3\u05D9\u05D9\u05DF \u05DC\u05D0 \u05E0\u05DE\u05E6\u05D0 \u05E4\u05D5\u05E1\u05D8 \u05DC\u05DB\u05EA\u05D5\u05D1\u05EA URL \u05D6\u05D5.`, "post.like-count": `{count, plural, one {{formatted} like} other {{formatted} likes}}`, "canvas.category-numbered": `\u05E7\u05D8\u05D2\u05D5\u05E8\u05D9\u05D4 {number}`, "post.comment-count": `{count, plural, one {{formatted} comment} other {{formatted} comments}}`, "post-actions.share": `\u05E9\u05D9\u05EA\u05D5\u05E3 \u05E4\u05D5\u05E1\u05D8`, "post.view-count": `{count, plural, one {{formatted} view} other {{formatted} views}}`, "post-actions.close": `\u05E1\u05D2\u05D9\u05E8\u05D4`, "canvas.category-description": `Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`, "canvas.author-photo-alt": `\u05EA\u05DE\u05D5\u05E0\u05EA \u05DE\u05D7\u05D1\u05E8/\u05EA`, "canvas.author-name": `\u05E9\u05DD \u05D4\u05DE\u05D7\u05D1\u05E8/\u05EA`, "post-comments.demo-notice": `\u05D1\u05D6\u05DE\u05DF \u05D4\u05E2\u05E8\u05D9\u05DB\u05D4 \u05DE\u05D5\u05E6\u05D2\u05D5\u05EA \u05EA\u05D2\u05D5\u05D1\u05D5\u05EA \u05DC\u05D3\u05D5\u05D2\u05DE\u05D4. \u05D4\u05D2\u05D5\u05DC\u05E9\u05D9\u05DD \u05D9\u05E8\u05D0\u05D5 \u05EA\u05D2\u05D5\u05D1\u05D5\u05EA \u05D0\u05DE\u05D9\u05EA\u05D9\u05D5\u05EA.`, title: Qs, "related-posts.empty-state.description": `\u05D0\u05D7\u05E8\u05D9 \u05E4\u05E8\u05E1\u05D5\u05DD \u05E4\u05D5\u05E1\u05D8\u05D9\u05DD \u05E0\u05D5\u05E1\u05E4\u05D9\u05DD, \u05D4\u05DD \u05D9\u05D5\u05E4\u05D9\u05E2\u05D5 \u05DB\u05D0\u05DF.`, "canvas.excerpt": `\u05DB\u05D0\u05DF \u05D0\u05E4\u05E9\u05E8 \u05DC\u05E9\u05EA\u05E3 \u05D0\u05EA \u05D4\u05E8\u05E2\u05D9\u05D5\u05DF \u05D4\u05DE\u05E8\u05DB\u05D6\u05D9 \u05E9\u05DC \u05D4\u05E4\u05D5\u05E1\u05D8. \u05D4\u05EA\u05E7\u05E6\u05D9\u05E8 \u05D4\u05E7\u05E6\u05E8 \u05D4\u05D6\u05D4 \u05DE\u05D5\u05E4\u05D9\u05E2 \u05D1\u05DB\u05E8\u05D8\u05D9\u05E1\u05D9 \u05D4\u05E4\u05D9\u05D3 \u05D5\u05D1\u05EA\u05D5\u05E6\u05D0\u05D5\u05EA \u05D4\u05D7\u05D9\u05E4\u05D5\u05E9, \u05D5\u05DE\u05E1\u05D1\u05D9\u05E8 \u05DC\u05DE\u05D4 \u05DB\u05D3\u05D0\u05D9 \u05DC\u05E7\u05E8\u05D5\u05D0 \u05D0\u05EA \u05D4\u05E4\u05D5\u05E1\u05D8.` };
|
|
3815
|
+
});
|
|
3816
|
+
var tc = h({ default: () => rc, title: () => nc });
|
|
3817
|
+
var nc;
|
|
3818
|
+
var rc;
|
|
3819
|
+
var ic = m(() => {
|
|
3820
|
+
nc = `My App`, rc = { "canvas.category": `\u0936\u094D\u0930\u0947\u0923\u0940`, "post-list.empty-state.description": `\u092A\u094B\u0938\u094D\u091F \u092A\u094D\u0930\u0915\u093E\u0936\u093F\u0924 \u0939\u094B\u0928\u0947 \u0915\u0947 \u092C\u093E\u0926 \u0935\u0947 \u092F\u0939\u093E\u0901 \u0926\u093F\u0916\u093E\u0908 \u0926\u0947\u0902\u0917\u0940\u0964`, "canvas.tag-numbered": `\u091F\u0948\u0917 {number}`, "cover-media.play": `\u0935\u0940\u0921\u093F\u092F\u094B \u092A\u094D\u0932\u0947 \u0915\u0930\u0947\u0902`, "post-comments.unavailable": `\u091F\u093F\u092A\u094D\u092A\u0923\u093F\u092F\u093E\u0902 \u0909\u092A\u0932\u092C\u094D\u0927 \u0928\u0939\u0940\u0902 \u0939\u0948\u0902 \u2014 \u0915\u094B\u0908 \u0910\u092A \u0907\u0902\u0938\u094D\u091F\u0947\u0902\u0938 \u0928\u0939\u0940\u0902 \u0939\u0948\u0964`, "post-counters.loading-likes": `\u0932\u093E\u0907\u0915 \u0932\u094B\u0921 \u0939\u094B \u0930\u0939\u0947 \u0939\u0948\u0902`, "post-comments.loading": `\u091F\u093F\u092A\u094D\u092A\u0923\u093F\u092F\u093E\u0902 \u0932\u094B\u0921 \u0939\u094B \u0930\u0939\u0940 \u0939\u0948\u0902\u2026`, "post-actions.like": `\u092A\u094B\u0938\u094D\u091F \u0932\u093E\u0907\u0915 \u0915\u0930\u0947\u0902`, "canvas.content": `\u092A\u0942\u0930\u0940 \u092A\u094B\u0938\u094D\u091F \u092F\u0939\u093E\u0901 \u0926\u093F\u0916\u093E\u0908 \u0926\u0947\u0924\u0940 \u0939\u0948\u0964 \u0905\u092A\u0928\u0940 \u0915\u0939\u093E\u0928\u0940 \u092F\u0939\u093E\u0901 \u0932\u093F\u0916\u0947\u0902, \u0921\u0948\u0936\u092C\u094B\u0930\u094D\u0921 \u0938\u0947 \u0907\u092E\u0947\u091C, \u0917\u0948\u0932\u0930\u0940 \u0914\u0930 \u0935\u0940\u0921\u093F\u092F\u094B \u091C\u094B\u0921\u093C\u0947\u0902, \u0914\u0930 \u092A\u0922\u093C\u0928\u0947 \u092E\u0947\u0902 \u0906\u0938\u093E\u0928 \u0930\u0916\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F \u0939\u0947\u0921\u093F\u0902\u0917 \u0914\u0930 \u0909\u0926\u094D\u0927\u0930\u0923\u094B\u0902 \u0915\u093E \u0909\u092A\u092F\u094B\u0917 \u0915\u0930\u0947\u0902\u0964`, "related-posts.empty-state.title": `\u0905\u092D\u0940 \u0924\u0915 \u0915\u094B\u0908 \u0938\u0902\u092C\u0902\u0927\u093F\u0924 \u092A\u094B\u0938\u094D\u091F \u0928\u0939\u0940\u0902`, "post.time-to-read": `{count, plural, one {{count,number} \u092E\u093F\u0928\u091F \u0930\u0940\u0921\u094D\u0938} other {{count,number} \u092E\u093F\u0928\u091F \u0930\u0940\u0921\u094D\u0938}}`, "post-actions.link-copied": `\u0932\u093F\u0902\u0915 \u0915\u0949\u092A\u0940 \u0939\u094B \u0917\u092F\u093E`, "category-header.all-posts": `\u0938\u092D\u0940 \u092A\u094B\u0938\u094D\u091F`, "post-actions.copy-manually": `\u0907\u0938 \u092A\u094B\u0938\u094D\u091F \u0915\u094B \u0936\u0947\u092F\u0930 \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F \u0928\u0940\u091A\u0947 \u0926\u093F\u092F\u093E \u0917\u092F\u093E \u0932\u093F\u0902\u0915 \u0915\u0949\u092A\u0940 \u0915\u0930\u0947\u0902\u0964`, "post-actions.copy-link": `\u0932\u093F\u0902\u0915 \u0915\u0949\u092A\u0940 \u0915\u0930\u0947\u0902`, "cover-media.placeholder-alt": `\u092A\u094B\u0938\u094D\u091F \u0915\u0935\u0930 \u0907\u092E\u0947\u091C`, "post-actions.link-label": `\u092A\u094B\u0938\u094D\u091F \u0932\u093F\u0902\u0915`, "post-list.empty-state.title": `\u0905\u092D\u0940 \u0924\u0915 \u0915\u094B\u0908 \u092A\u094B\u0938\u094D\u091F \u0928\u0939\u0940\u0902`, "post-actions.share-dialog": `\u092A\u094B\u0938\u094D\u091F \u0936\u0947\u092F\u0930 \u0915\u0930\u0947\u0902`, "canvas.post-title": `\u092A\u094B\u0938\u094D\u091F \u0936\u0940\u0930\u094D\u0937\u0915`, "post-actions.unlike": `\u092A\u094B\u0938\u094D\u091F \u0938\u0947 \u0932\u093E\u0907\u0915 \u0939\u091F\u093E\u090F\u0901`, "post-comments.no-post": `\u0907\u0938 URL \u0915\u0947 \u0932\u093F\u090F \u0905\u092D\u0940 \u0924\u0915 \u0915\u094B\u0908 \u092A\u094B\u0938\u094D\u091F \u0939\u0932 \u0928\u0939\u0940\u0902 \u0939\u0941\u0908 \u0939\u0948\u0964`, "post.like-count": `{count, plural, one {{formatted} \u0932\u093E\u0907\u0915} other {{formatted} \u0932\u093E\u0907\u0915}}`, "canvas.category-numbered": `\u0936\u094D\u0930\u0947\u0923\u0940 {number}`, "post.comment-count": `{count, plural, one {{formatted} \u091F\u093F\u092A\u094D\u092A\u0923\u0940} other {{formatted} \u091F\u093F\u092A\u094D\u092A\u0923\u093F\u092F\u093E\u0902}}`, "post-actions.share": `\u092A\u094B\u0938\u094D\u091F \u0936\u0947\u092F\u0930 \u0915\u0930\u0947\u0902`, "post.view-count": `{count, plural, one {{formatted} \u0926\u0947\u0916\u0947\u0902} other {{formatted} \u0926\u0947\u0916\u0947\u0902}}`, "post-actions.close": `\u092C\u0902\u0926 \u0915\u0930\u0947\u0902`, "canvas.category-description": `Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`, "canvas.author-photo-alt": `\u0932\u0947\u0916\u0915 \u0915\u0940 \u092B\u093C\u094B\u091F\u094B`, "canvas.author-name": `\u0932\u0947\u0916\u0915 \u0915\u093E \u0928\u093E\u092E`, "post-comments.demo-notice": `\u090F\u0921\u093F\u091F\u093F\u0902\u0917 \u0915\u0947 \u0926\u094C\u0930\u093E\u0928 \u0938\u0948\u0902\u092A\u0932 \u091F\u093F\u092A\u094D\u092A\u0923\u093F\u092F\u093E\u0902 \u0926\u093F\u0916\u093E\u0908 \u091C\u093E\u0924\u0940 \u0939\u0948\u0902\u0964 \u0935\u093F\u091C\u093C\u093F\u091F\u0930 \u0905\u0938\u0932\u0940 \u091F\u093F\u092A\u094D\u092A\u0923\u093F\u092F\u093E\u0902 \u0926\u0947\u0916\u0947\u0902\u0917\u0947\u0964`, title: nc, "related-posts.empty-state.description": `\u0914\u0930 \u092A\u094B\u0938\u094D\u091F \u092A\u094D\u0930\u0915\u093E\u0936\u093F\u0924 \u0939\u094B\u0928\u0947 \u0915\u0947 \u092C\u093E\u0926 \u0935\u0947 \u092F\u0939\u093E\u0901 \u0926\u093F\u0916\u093E\u0908 \u0926\u0947\u0902\u0917\u0940\u0964`, "canvas.excerpt": `\u0905\u092A\u0928\u0940 \u092A\u094B\u0938\u094D\u091F \u0915\u093E \u092E\u0941\u0916\u094D\u092F \u0935\u093F\u091A\u093E\u0930 \u092F\u0939\u093E\u0901 \u0936\u0947\u092F\u0930 \u0915\u0930\u0947\u0902\u0964 \u092F\u0939 \u091B\u094B\u091F\u093E \u0938\u093E\u0930\u093E\u0902\u0936 \u092B\u093C\u0940\u0921 \u0915\u093E\u0930\u094D\u0921 \u0914\u0930 \u0916\u094B\u091C \u092A\u0930\u093F\u0923\u093E\u092E\u094B\u0902 \u092E\u0947\u0902 \u0926\u093F\u0916\u0924\u093E \u0939\u0948, \u0914\u0930 \u092A\u093E\u0920\u0915\u094B\u0902 \u0915\u094B \u092C\u0924\u093E\u0924\u093E \u0939\u0948 \u0915\u093F \u092A\u094B\u0938\u094D\u091F \u0909\u0928\u0915\u0947 \u0938\u092E\u092F \u0915\u0947 \u0932\u093E\u092F\u0915 \u0915\u094D\u092F\u094B\u0902 \u0939\u0948\u0964` };
|
|
3821
|
+
});
|
|
3822
|
+
var ac = h({ default: () => sc, title: () => oc });
|
|
3823
|
+
var oc;
|
|
3824
|
+
var sc;
|
|
3825
|
+
var cc = m(() => {
|
|
3826
|
+
oc = `My App`, sc = { "canvas.category": `Kategorija`, "post-list.empty-state.description": `Nakon objavljivanja objave \u0107e se pojaviti ovdje.`, "canvas.tag-numbered": `Oznaka {number}`, "cover-media.play": `Reproduciraj videozapis`, "post-comments.unavailable": `Komentari nisu dostupni \u2014 nema instance aplikacije.`, "post-counters.loading-likes": `U\u010Ditavanje svi\u0111anja`, "post-comments.loading": `U\u010Ditavanje komentara\u2026`, "post-actions.like": `Ozna\u010Di objavu svi\u0111anjem`, "canvas.content": `Ovdje se prikazuje cijela objava. Ovdje napi\u0161ite svoju pri\u010Du, dodajte slike, galerije i videozapise s Nadzorne plo\u010De te upotrijebite naslove i citate kako bi se tekst lak\u0161e \u010Ditao.`, "related-posts.empty-state.title": `Jo\u0161 nema povezanih objava`, "post.time-to-read": `{count, plural, one {# min read} other {# min read}}`, "post-actions.link-copied": `Poveznica kopirana`, "category-header.all-posts": `Sve objave`, "post-actions.copy-manually": `Kopirajte poveznicu u nastavku da biste podijelili ovu objavu.`, "post-actions.copy-link": `Kopiraj poveznicu`, "cover-media.placeholder-alt": `Naslovna slika objave`, "post-actions.link-label": `Poveznica objave`, "post-list.empty-state.title": `Jo\u0161 nema objava`, "post-actions.share-dialog": `Podijeli objavu`, "canvas.post-title": `Naslov objave`, "post-actions.unlike": `Ukloni svi\u0111anje s objave`, "post-comments.no-post": `Za ovaj URL jo\u0161 nije prona\u0111ena objava.`, "post.like-count": `{count, plural, one {{formatted} like} other {{formatted} likes}}`, "canvas.category-numbered": `Kategorija {number}`, "post.comment-count": `{count, plural, one {{formatted} comment} other {{formatted} comments}}`, "post-actions.share": `Podijeli objavu`, "post.view-count": `{count, plural, one {{formatted} view} other {{formatted} views}}`, "post-actions.close": `Zatvori`, "canvas.category-description": `Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`, "canvas.author-photo-alt": `Fotografija autora`, "canvas.author-name": `Ime autora`, "post-comments.demo-notice": `Tijekom ure\u0111ivanja prikazuju se ogledni komentari. Posjetitelji \u0107e vidjeti stvarne komentare.`, title: oc, "related-posts.empty-state.description": `Nakon objavljivanja dodatnih objava pojavit \u0107e se ovdje.`, "canvas.excerpt": `Ovdje podijelite glavnu ideju svoje objave. Ovaj kratki sa\u017Eetak prikazuje se na karticama feeda i u rezultatima pretra\u017Eivanja te \u010Ditateljima govori za\u0161to vrijedi pro\u010Ditati objavu.` };
|
|
3827
|
+
});
|
|
3828
|
+
var lc = h({ default: () => dc, title: () => uc });
|
|
3829
|
+
var uc;
|
|
3830
|
+
var dc;
|
|
3831
|
+
var fc = m(() => {
|
|
3832
|
+
uc = `My App`, dc = { "canvas.category": `Kateg\xF3ria`, "post-list.empty-state.description": `A k\xF6zz\xE9tett bejegyz\xE9sek itt jelennek majd meg.`, "canvas.tag-numbered": `{number}. c\xEDmke`, "cover-media.play": `Vide\xF3 lej\xE1tsz\xE1sa`, "post-comments.unavailable": `A hozz\xE1sz\xF3l\xE1sok nem \xE9rhet\u0151k el \u2013 nincs alkalmaz\xE1sp\xE9ld\xE1ny.`, "post-counters.loading-likes": `Kedvel\xE9sek bet\xF6lt\xE9se`, "post-comments.loading": `Hozz\xE1sz\xF3l\xE1sok bet\xF6lt\xE9se\u2026`, "post-actions.like": `Bejegyz\xE9s kedvel\xE9se`, "canvas.content": `Itt jelenik meg a teljes bejegyz\xE9s. Ide \xEDrhatod a t\xF6rt\xE9netedet, itt adhatsz hozz\xE1 k\xE9peket, gal\xE9ri\xE1kat \xE9s vide\xF3kat az ir\xE1ny\xEDt\xF3pultr\xF3l, \xE9s itt haszn\xE1lhatsz fejl\xE9ceket \xE9s id\xE9zeteket, hogy a tartalmak k\xF6nnyen olvashat\xF3k maradjanak.`, "related-posts.empty-state.title": `M\xE9g nincsenek kapcsol\xF3d\xF3 bejegyz\xE9sek`, "post.time-to-read": `{count, plural, one {{count,number} perc olvas\xE1s} other {{count,number} perc olvas\xE1s}}`, "post-actions.link-copied": `Kim\xE1soltad a hivatkoz\xE1st`, "category-header.all-posts": `\xD6sszes bejegyz\xE9s`, "post-actions.copy-manually": `A bejegyz\xE9s megoszt\xE1s\xE1hoz m\xE1sold ki az al\xE1bbi hivatkoz\xE1st.`, "post-actions.copy-link": `Hivatkoz\xE1s m\xE1sol\xE1sa`, "cover-media.placeholder-alt": `Bejegyz\xE9s bor\xEDt\xF3k\xE9pe`, "post-actions.link-label": `Bejegyz\xE9s hivatkoz\xE1sa`, "post-list.empty-state.title": `M\xE9g nincs bejegyz\xE9s`, "post-actions.share-dialog": `Bejegyz\xE9s megoszt\xE1sa`, "canvas.post-title": `Bejegyz\xE9s c\xEDme`, "post-actions.unlike": `Bejegyz\xE9s kedvel\xE9s\xE9nek visszavon\xE1sa`, "post-comments.no-post": `Ehhez az URL-c\xEDmhez m\xE9g nem tartozik bejegyz\xE9s.`, "post.like-count": `{count, plural, one {{formatted} kedvel\xE9s} other {{formatted} kedvel\xE9s}}`, "canvas.category-numbered": `{number}. kateg\xF3ria`, "post.comment-count": `{count, plural, one {{formatted} hozz\xE1sz\xF3l\xE1s} other {{formatted} hozz\xE1sz\xF3l\xE1s}}`, "post-actions.share": `Bejegyz\xE9s megoszt\xE1sa`, "post.view-count": `{count, plural, one {{formatted} megtekint\xE9s} other {{formatted} megtekint\xE9s}}`, "post-actions.close": `Bez\xE1r\xE1s`, "canvas.category-description": `Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`, "canvas.author-photo-alt": `Szerz\u0151 fot\xF3ja`, "canvas.author-name": `Szerz\u0151 neve`, "post-comments.demo-notice": `Szerkeszt\xE9s k\xF6zben mintahozz\xE1sz\xF3l\xE1sok jelennek meg. A l\xE1togat\xF3k val\xF3s hozz\xE1sz\xF3l\xE1sokat fognak l\xE1tni.`, title: uc, "related-posts.empty-state.description": `A tov\xE1bbi k\xF6zz\xE9tett bejegyz\xE9sek itt jelennek majd meg.`, "canvas.excerpt": `Itt oszthatod meg a bejegyz\xE9s f\u0151 mondanival\xF3j\xE1t. Ez a r\xF6vid \xF6sszefoglal\xF3 a h\xEDrcsatorna k\xE1rty\xE1in \xE9s a keres\xE9si tal\xE1latokban jelenik meg, \xE9s megmutatja az olvas\xF3knak, mi\xE9rt \xE9rdemes elolvasni a bejegyz\xE9st.` };
|
|
3833
|
+
});
|
|
3834
|
+
var pc = h({ default: () => hc, title: () => mc });
|
|
3835
|
+
var mc;
|
|
3836
|
+
var hc;
|
|
3837
|
+
var gc = m(() => {
|
|
3838
|
+
mc = `My App`, hc = { "canvas.category": `Kategori`, "post-list.empty-state.description": `Setelah postingan dipublikasikan, postingan akan muncul di sini.`, "canvas.tag-numbered": `Tag {number}`, "cover-media.play": `Putar video`, "post-comments.unavailable": `Komentar tidak tersedia \u2014 tidak ada instans aplikasi.`, "post-counters.loading-likes": `Memuat Suka`, "post-comments.loading": `Memuat komentar\u2026`, "post-actions.like": `Sukai postingan`, "canvas.content": `Postingan lengkap akan muncul di sini. Tulis cerita Anda di sini, tambahkan gambar, galeri, dan video dari Dashboard, serta gunakan heading dan kutipan agar mudah dibaca.`, "related-posts.empty-state.title": `Belum ada postingan terkait`, "post.time-to-read": `{count, plural, other {{count,number} mnt baca}}`, "post-actions.link-copied": `Tautan disalin`, "category-header.all-posts": `Semua Postingan`, "post-actions.copy-manually": `Salin tautan di bawah untuk membagikan postingan ini.`, "post-actions.copy-link": `Salin tautan`, "cover-media.placeholder-alt": `Gambar sampul postingan`, "post-actions.link-label": `Tautan postingan`, "post-list.empty-state.title": `Belum ada postingan`, "post-actions.share-dialog": `Bagikan postingan`, "canvas.post-title": `Judul Postingan`, "post-actions.unlike": `Batal menyukai postingan`, "post-comments.no-post": `Belum ada postingan yang terselesaikan untuk URL ini.`, "post.like-count": `{count, plural, other {{formatted} Suka}}`, "canvas.category-numbered": `Kategori {number}`, "post.comment-count": `{count, plural, other {{formatted} komentar}}`, "post-actions.share": `Bagikan postingan`, "post.view-count": `{count, plural, other {{formatted} lihat}}`, "post-actions.close": `Tutup`, "canvas.category-description": `Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`, "canvas.author-photo-alt": `Foto penulis`, "canvas.author-name": `Nama Penulis`, "post-comments.demo-notice": `Komentar contoh ditampilkan saat mengedit. Pengunjung akan melihat komentar asli.`, title: mc, "related-posts.empty-state.description": `Setelah postingan lainnya dipublikasikan, postingan akan muncul di sini.`, "canvas.excerpt": `Bagikan ide utama postingan Anda di sini. Ringkasan singkat ini muncul di kartu feed dan hasil pencarian, serta memberi tahu pembaca mengapa postingan ini layak dibaca.` };
|
|
3839
|
+
});
|
|
3840
|
+
var _c = h({ default: () => yc, title: () => vc });
|
|
3841
|
+
var vc;
|
|
3842
|
+
var yc;
|
|
3843
|
+
var bc = m(() => {
|
|
3844
|
+
vc = `My App`, yc = { "canvas.category": `Categoria`, "post-list.empty-state.description": `Una volta pubblicati, i post appariranno qui.`, "canvas.tag-numbered": `Tag {number}`, "cover-media.play": `Riproduci video`, "post-comments.unavailable": `Commenti non disponibili \u2014 nessuna istanza dell'app.`, "post-counters.loading-likes": `Caricamento dei Mi piace`, "post-comments.loading": `Caricamento dei commenti\u2026`, "post-actions.like": `Metti Mi piace al post`, "canvas.content": `Qui appare il post completo. Scrivi la tua storia, aggiungi immagini, gallerie e video dal Pannello di controllo, e usa titoli e citazioni per facilitarne la lettura.`, "related-posts.empty-state.title": `Ancora nessun post correlato`, "post.time-to-read": `{count, plural, one {{count,number} min di lettura} other {{count,number} min di lettura}}`, "post-actions.link-copied": `Link copiato`, "category-header.all-posts": `Tutti i post`, "post-actions.copy-manually": `Copia il link qui sotto per condividere questo post.`, "post-actions.copy-link": `Copia link`, "cover-media.placeholder-alt": `Immagine di copertina del post`, "post-actions.link-label": `Link del post`, "post-list.empty-state.title": `Ancora nessun post`, "post-actions.share-dialog": `Condividi post`, "canvas.post-title": `Titolo del post`, "post-actions.unlike": `Togli Mi piace dal post`, "post-comments.no-post": `Nessun post ancora risolto per questo URL.`, "post.like-count": `{count, plural, one {{formatted} Mi piace} other {{formatted} Mi piace}}`, "canvas.category-numbered": `Categoria {number}`, "post.comment-count": `{count, plural, one {{formatted} commento} other {{formatted} commenti}}`, "post-actions.share": `Condividi post`, "post.view-count": `{count, plural, one {{formatted} visualizzazione} other {{formatted} visualizzazioni}}`, "post-actions.close": `Chiudi`, "canvas.category-description": `Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`, "canvas.author-photo-alt": `Foto dell'autore`, "canvas.author-name": `Nome dell'autore`, "post-comments.demo-notice": `Durante la modifica vengono mostrati commenti di esempio. I visitatori vedranno i commenti reali.`, title: vc, "related-posts.empty-state.description": `Una volta pubblicati altri post, appariranno qui.`, "canvas.excerpt": `Condividi qui l'idea principale del tuo post. Questo breve riassunto appare nelle schede del feed e nei risultati di ricerca, e spiega ai lettori perch\xE9 vale la pena leggere il post.` };
|
|
3845
|
+
});
|
|
3846
|
+
var xc = h({ default: () => Cc, title: () => Sc });
|
|
3847
|
+
var Sc;
|
|
3848
|
+
var Cc;
|
|
3849
|
+
var wc = m(() => {
|
|
3850
|
+
Sc = `My App`, Cc = { "canvas.category": `\u30AB\u30C6\u30B4\u30EA\u30FC`, "post-list.empty-state.description": `\u8A18\u4E8B\u304C\u516C\u958B\u3055\u308C\u308B\u3068\u3001\u3053\u3053\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002`, "canvas.tag-numbered": `\u30BF\u30B0 {number}`, "cover-media.play": `\u52D5\u753B\u3092\u518D\u751F`, "post-comments.unavailable": `\u30B3\u30E1\u30F3\u30C8\u3092\u5229\u7528\u3067\u304D\u307E\u305B\u3093 \u2014 \u30A2\u30D7\u30EA\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u304C\u3042\u308A\u307E\u305B\u3093\u3002`, "post-counters.loading-likes": `\u3044\u3044\u306D\uFF01\u6570\u3092\u8AAD\u307F\u8FBC\u307F\u4E2D`, "post-comments.loading": `\u30B3\u30E1\u30F3\u30C8\u3092\u8AAD\u307F\u8FBC\u307F\u4E2D\u2026`, "post-actions.like": `\u8A18\u4E8B\u306B\u3044\u3044\u306D\uFF01\u3059\u308B`, "canvas.content": `\u3053\u3053\u306B\u8A18\u4E8B\u306E\u672C\u6587\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u304B\u3089\u753B\u50CF\u3001\u30AE\u30E3\u30E9\u30EA\u30FC\u3001\u52D5\u753B\u3092\u8FFD\u52A0\u3057\u3066\u8A18\u4E8B\u3092\u66F8\u304D\u3001\u898B\u51FA\u3057\u3084\u5F15\u7528\u3092\u4F7F\u3063\u3066\u8AAD\u307F\u3084\u3059\u304F\u3057\u307E\u3059\u3002`, "related-posts.empty-state.title": `\u95A2\u9023\u8A18\u4E8B\u304C\u3042\u308A\u307E\u305B\u3093`, "post.time-to-read": `{count, plural, other {{count,number}\u5206\u3067\u8AAD\u3081\u307E\u3059}}`, "post-actions.link-copied": `\u30EA\u30F3\u30AF\u3092\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F`, "category-header.all-posts": `\u3059\u3079\u3066\u306E\u8A18\u4E8B`, "post-actions.copy-manually": `\u3053\u306E\u8A18\u4E8B\u3092\u30B7\u30A7\u30A2\u3059\u308B\u306B\u306F\u3001\u4EE5\u4E0B\u306E\u30EA\u30F3\u30AF\u3092\u30B3\u30D4\u30FC\u3057\u3066\u304F\u3060\u3055\u3044\u3002`, "post-actions.copy-link": `\u30EA\u30F3\u30AF\u3092\u30B3\u30D4\u30FC`, "cover-media.placeholder-alt": `\u8A18\u4E8B\u306E\u30AB\u30D0\u30FC\u753B\u50CF`, "post-actions.link-label": `\u8A18\u4E8B\u306E\u30EA\u30F3\u30AF`, "post-list.empty-state.title": `\u8A18\u4E8B\u304C\u3042\u308A\u307E\u305B\u3093`, "post-actions.share-dialog": `\u8A18\u4E8B\u3092\u30B7\u30A7\u30A2`, "canvas.post-title": `\u8A18\u4E8B\u30BF\u30A4\u30C8\u30EB`, "post-actions.unlike": `\u8A18\u4E8B\u306E\u3044\u3044\u306D\uFF01\u3092\u53D6\u308A\u6D88\u3059`, "post-comments.no-post": `\u3053\u306E URL \u306B\u5BFE\u5FDC\u3059\u308B\u8A18\u4E8B\u306F\u307E\u3060\u3042\u308A\u307E\u305B\u3093\u3002`, "post.like-count": `{count, plural, one {{formatted} like} other {{formatted} likes}}`, "canvas.category-numbered": `\u30AB\u30C6\u30B4\u30EA\u30FC {number}`, "post.comment-count": `{count, plural, one {{formatted} comment} other {{formatted} comments}}`, "post-actions.share": `\u8A18\u4E8B\u3092\u30B7\u30A7\u30A2\u3059\u308B`, "post.view-count": `{count, plural, one {{formatted} view} other {{formatted} views}}`, "post-actions.close": `\u9589\u3058\u308B`, "canvas.category-description": `Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`, "canvas.author-photo-alt": `\u57F7\u7B46\u8005\u306E\u5199\u771F`, "canvas.author-name": `\u57F7\u7B46\u8005\u540D`, "post-comments.demo-notice": `\u7DE8\u96C6\u4E2D\u306F\u30B5\u30F3\u30D7\u30EB\u30B3\u30E1\u30F3\u30C8\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002\u30B5\u30A4\u30C8\u8A2A\u554F\u8005\u306B\u306F\u5B9F\u969B\u306E\u30B3\u30E1\u30F3\u30C8\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002`, title: Sc, "related-posts.empty-state.description": `\u8A18\u4E8B\u304C\u3055\u3089\u306B\u516C\u958B\u3055\u308C\u308B\u3068\u3001\u3053\u3053\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002`, "canvas.excerpt": `\u8A18\u4E8B\u306E\u8981\u70B9\u3092\u3053\u3053\u306B\u5165\u529B\u3057\u307E\u3059\u3002\u3053\u306E\u77ED\u3044\u6982\u8981\u306F\u30D5\u30A3\u30FC\u30C9\u30AB\u30FC\u30C9\u3084\u691C\u7D22\u7D50\u679C\u306B\u8868\u793A\u3055\u308C\u3001\u8A18\u4E8B\u3092\u8AAD\u3080\u4FA1\u5024\u3092\u8AAD\u8005\u306B\u4F1D\u3048\u307E\u3059\u3002` };
|
|
3851
|
+
});
|
|
3852
|
+
var Tc = h({ default: () => Dc, title: () => Ec });
|
|
3853
|
+
var Ec;
|
|
3854
|
+
var Dc;
|
|
3855
|
+
var Oc = m(() => {
|
|
3856
|
+
Ec = `My App`, Dc = { "canvas.category": `\uCE74\uD14C\uACE0\uB9AC`, "post-list.empty-state.description": `\uAC8C\uC2DC\uBB3C\uC774 \uAC8C\uC2DC\uB418\uBA74 \uC5EC\uAE30\uC5D0 \uD45C\uC2DC\uB429\uB2C8\uB2E4.`, "canvas.tag-numbered": `\uD0DC\uADF8 {number}`, "cover-media.play": `\uB3D9\uC601\uC0C1 \uC7AC\uC0DD`, "post-comments.unavailable": `\uB313\uAE00\uC744 \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4 \u2014 \uC571 \uC778\uC2A4\uD134\uC2A4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.`, "post-counters.loading-likes": `\uC88B\uC544\uC694 \uBD88\uB7EC\uC624\uB294 \uC911`, "post-comments.loading": `\uB313\uAE00 \uBD88\uB7EC\uC624\uB294 \uC911\u2026`, "post-actions.like": `\uAC8C\uC2DC\uBB3C \uC88B\uC544\uC694`, "canvas.content": `\uC804\uCCB4 \uAC8C\uC2DC\uBB3C\uC774 \uC5EC\uAE30\uC5D0 \uD45C\uC2DC\uB429\uB2C8\uB2E4. \uC2A4\uD1A0\uB9AC\uB97C \uC791\uC131\uD558\uACE0, \uB300\uC2DC\uBCF4\uB4DC\uC5D0\uC11C \uC774\uBBF8\uC9C0, \uAC24\uB7EC\uB9AC \uBC0F \uB3D9\uC601\uC0C1\uC744 \uCD94\uAC00\uD558\uC138\uC694. \uC77D\uAE30 \uC27D\uB3C4\uB85D \uC81C\uBAA9\uACFC \uC778\uC6A9\uBB38\uC744 \uC0AC\uC6A9\uD558\uC138\uC694.`, "related-posts.empty-state.title": `\uAD00\uB828 \uAC8C\uC2DC\uBB3C \uC5C6\uC74C`, "post.time-to-read": `{count, plural, other {{count,number}\uBD84 \uC77D\uAE30}}`, "post-actions.link-copied": `\uB9C1\uD06C \uBCF5\uC0AC \uC644\uB8CC`, "category-header.all-posts": `\uBAA8\uB4E0 \uAC8C\uC2DC\uBB3C`, "post-actions.copy-manually": `\uD574\uB2F9 \uAC8C\uC2DC\uBB3C\uC744 \uACF5\uC720\uD558\uB824\uBA74 \uC544\uB798 \uB9C1\uD06C\uB97C \uBCF5\uC0AC\uD558\uC138\uC694.`, "post-actions.copy-link": `\uB9C1\uD06C \uBCF5\uC0AC`, "cover-media.placeholder-alt": `\uAC8C\uC2DC\uBB3C \uCEE4\uBC84 \uC774\uBBF8\uC9C0`, "post-actions.link-label": `\uAC8C\uC2DC\uBB3C \uB9C1\uD06C`, "post-list.empty-state.title": `\uAC8C\uC2DC\uBB3C \uC5C6\uC74C`, "post-actions.share-dialog": `\uAC8C\uC2DC\uBB3C \uACF5\uC720`, "canvas.post-title": `\uAC8C\uC2DC\uBB3C \uC81C\uBAA9`, "post-actions.unlike": `\uAC8C\uC2DC\uBB3C \uC88B\uC544\uC694 \uCDE8\uC18C`, "post-comments.no-post": `\uD574\uB2F9 URL\uC5D0 \uC5F0\uACB0\uB41C \uAC8C\uC2DC\uBB3C\uC774 \uC544\uC9C1 \uC5C6\uC2B5\uB2C8\uB2E4.`, "post.like-count": `{count, plural, one {{formatted} like} other {{formatted} likes}}`, "canvas.category-numbered": `\uCE74\uD14C\uACE0\uB9AC {number}`, "post.comment-count": `{count, plural, one {{formatted} comment} other {{formatted} comments}}`, "post-actions.share": `\uAC8C\uC2DC\uBB3C \uACF5\uC720`, "post.view-count": `{count, plural, one {{formatted} view} other {{formatted} views}}`, "post-actions.close": `\uB2EB\uAE30`, "canvas.category-description": `Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`, "canvas.author-photo-alt": `\uC791\uC131\uC790 \uC0AC\uC9C4`, "canvas.author-name": `\uC791\uC131\uC790 \uC774\uB984`, "post-comments.demo-notice": `\uD3B8\uC9D1 \uC911\uC5D0\uB294 \uC0D8\uD50C \uB313\uAE00\uC774 \uD45C\uC2DC\uB429\uB2C8\uB2E4. \uBC29\uBB38\uC790\uC5D0\uAC8C\uB294 \uC2E4\uC81C \uB313\uAE00\uC774 \uD45C\uC2DC\uB429\uB2C8\uB2E4.`, title: Ec, "related-posts.empty-state.description": `\uAC8C\uC2DC\uBB3C\uC774 \uB354 \uAC8C\uC2DC\uB418\uBA74 \uC5EC\uAE30\uC5D0 \uD45C\uC2DC\uB429\uB2C8\uB2E4.`, "canvas.excerpt": `\uAC8C\uC2DC\uBB3C\uC758 \uD575\uC2EC \uC544\uC774\uB514\uC5B4\uB97C \uC5EC\uAE30\uC5D0 \uACF5\uC720\uD558\uC138\uC694. \uD574\uB2F9 \uC9E7\uC740 \uC694\uC57D\uC740 \uD53C\uB4DC \uCE74\uB4DC \uBC0F \uAC80\uC0C9 \uACB0\uACFC\uC5D0 \uD45C\uC2DC\uB418\uBA70, \uB3C5\uC790\uC5D0\uAC8C \uAC8C\uC2DC\uBB3C\uC744 \uC77D\uC744 \uAC00\uCE58\uAC00 \uC788\uB294 \uC774\uC720\uB97C \uC54C\uB824\uC90D\uB2C8\uB2E4.` };
|
|
3857
|
+
});
|
|
3858
|
+
var kc = h({ default: () => jc, title: () => Ac });
|
|
3859
|
+
var Ac;
|
|
3860
|
+
var jc;
|
|
3861
|
+
var Mc = m(() => {
|
|
3862
|
+
Ac = `My App`, jc = { "canvas.category": `Kategorija`, "post-list.empty-state.description": `Kai \u012Fra\u0161ai bus paskelbti, jie bus rodomi \u010Dia.`, "canvas.tag-numbered": `\u017Dyma {number}`, "cover-media.play": `Leisti vaizdo \u012Fra\u0161\u0105`, "post-comments.unavailable": `Komentarai nepasiekiami \u2014 n\u0117ra program\u0117l\u0117s egzemplioriaus.`, "post-counters.loading-likes": `\u012Ekeliamos \u017Eymos \u201EPatinka\u201C`, "post-comments.loading": `\u012Ekeliami komentarai\u2026`, "post-actions.like": `Pa\u017Eym\u0117ti \u012Fra\u0161\u0105 \u201EPatinka\u201C`, "canvas.content": `\u010Cia rodomas visas \u012Fra\u0161as. Ra\u0161ykite savo istorij\u0105 \u010Dia, prid\u0117kite vaizd\u0173, galerij\u0173 ir vaizdo \u012Fra\u0161\u0173 i\u0161 ataskait\u0173 srities, naudokite antra\u0161tes ir citatas, kad tekst\u0105 b\u016Bt\u0173 lengva skaityti.`, "related-posts.empty-state.title": `Susijusi\u0173 \u012Fra\u0161\u0173 dar n\u0117ra`, "post.time-to-read": `{count, plural, one {{count,number} min. skaitymo} few {{count,number} min. skaitymo} many {{count,number} min. skaitymo} other {{count,number} min. skaitymo}}`, "post-actions.link-copied": `Saitas nukopijuotas`, "category-header.all-posts": `Visi \u012Fra\u0161ai`, "post-actions.copy-manually": `Nor\u0117dami bendrinti \u0161\u012F \u012Fra\u0161\u0105, nukopijuokite toliau pateikt\u0105 sait\u0105.`, "post-actions.copy-link": `Kopijuoti sait\u0105`, "cover-media.placeholder-alt": `\u012Era\u0161o vir\u0161elio nuotrauka`, "post-actions.link-label": `\u012Era\u0161o saitas`, "post-list.empty-state.title": `\u012Era\u0161\u0173 dar n\u0117ra`, "post-actions.share-dialog": `Bendrinti \u012Fra\u0161\u0105`, "canvas.post-title": `\u012Era\u0161o pavadinimas`, "post-actions.unlike": `Pa\u0161alinti \u012Fra\u0161o \u017Eym\u0105 \u201EPatinka\u201C`, "post-comments.no-post": `\u0160iam URL dar nepriskirtas joks \u012Fra\u0161as.`, "post.like-count": `{count, plural, one {{formatted} pa\u017Eym\u0117jimas \u201EPatinka\u201C} few {{formatted} pa\u017Eym\u0117jimai \u201EPatinka\u201C} many {{formatted} pa\u017Eym\u0117jim\u0173 \u201EPatinka\u201C} other {{formatted} pa\u017Eym\u0117jimo \u201EPatinka\u201C}}`, "canvas.category-numbered": `Kategorija {number}`, "post.comment-count": `{count, plural, one {{formatted} komentaras} few {{formatted} komentarai} many {{formatted} komentar\u0173} other {{formatted} komentaro}}`, "post-actions.share": `Bendrinti \u012Fra\u0161\u0105`, "post.view-count": `{count, plural, one {{formatted} per\u017Ei\u016Bra} few {{formatted} per\u017Ei\u016Bros} many {{formatted} per\u017Ei\u016Br\u0173} other {{formatted} per\u017Ei\u016Bros}}`, "post-actions.close": `U\u017Edaryti`, "canvas.category-description": `Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`, "canvas.author-photo-alt": `Autoriaus nuotrauka`, "canvas.author-name": `Autoriaus vardas`, "post-comments.demo-notice": `Redaguojant rodomi pavyzdiniai komentarai. Lankytojai matys tikrus komentarus.`, title: Ac, "related-posts.empty-state.description": `Kai bus paskelbta daugiau \u012Fra\u0161\u0173, jie bus rodomi \u010Dia.`, "canvas.excerpt": `\u010Cia bendrinkite pagrindin\u0119 \u012Fra\u0161o mint\u012F. \u0160i trumpa santrauka rodoma sklaidos kanalo kortel\u0117se ir paie\u0161kos rezultatuose, ji padeda skaitytojams suprasti, kod\u0117l verta skaityti \u012Fra\u0161\u0105.` };
|
|
3863
|
+
});
|
|
3864
|
+
var Nc = h({ default: () => Fc, title: () => Pc });
|
|
3865
|
+
var Pc;
|
|
3866
|
+
var Fc;
|
|
3867
|
+
var Ic = m(() => {
|
|
3868
|
+
Pc = `My App`, Fc = { "canvas.category": `Kategorija`, "post-list.empty-state.description": `Kad ieraksti b\u016Bs public\u0113ti, tie tiks par\u0101d\u012Bti \u0161eit.`, "canvas.tag-numbered": `Tags {number}`, "cover-media.play": `Atska\u0146ot video`, "post-comments.unavailable": `Koment\u0101ri nav pieejami \u2014 nav lietotnes instances.`, "post-counters.loading-likes": `Notiek atz\u012Bmju \u201EPat\u012Bk\u201C iel\u0101de`, "post-comments.loading": `Notiek koment\u0101ru iel\u0101de\u2026`, "post-actions.like": `Atz\u012Bm\u0113t ierakstu ar \u201EPat\u012Bk\u201C`, "canvas.content": `\u0160eit tiek r\u0101d\u012Bts pilnais ieraksts. Rakstiet savu st\u0101stu \u0161eit, pievienojiet att\u0113lus, galerijas un video no inform\u0101cijas pane\u013Ca un izmantojiet virsrakstus un cit\u0101tus, lai teksts b\u016Btu viegli las\u0101ms.`, "related-posts.empty-state.title": `V\u0113l nav saist\u012Btu ierakstu`, "post.time-to-read": `{count, plural, zero {{count,number} min. las\u012B\u0161anai} one {{count,number} min. las\u012B\u0161anai} other {{count,number} min. las\u012B\u0161anai}}`, "post-actions.link-copied": `Saite nokop\u0113ta`, "category-header.all-posts": `Visi ieraksti`, "post-actions.copy-manually": `Lai kop\u012Bgotu \u0161o ierakstu, nokop\u0113jiet t\u0101l\u0101k nor\u0101d\u012Bto saiti.`, "post-actions.copy-link": `Kop\u0113t saiti`, "cover-media.placeholder-alt": `Ieraksta v\u0101ka att\u0113ls`, "post-actions.link-label": `Ieraksta saite`, "post-list.empty-state.title": `V\u0113l nav ierakstu`, "post-actions.share-dialog": `Kop\u012Bgot ierakstu`, "canvas.post-title": `Ieraksta virsraksts`, "post-actions.unlike": `No\u0146emt ierakstam atz\u012Bmi \u201EPat\u012Bk\u201C`, "post-comments.no-post": `\u0160im URL v\u0113l nav piesaist\u012Bts neviens ieraksts.`, "post.like-count": `{count, plural, zero {{formatted} atz\u012Bmju \u201EPat\u012Bk\u201C} one {{formatted} atz\u012Bme \u201EPat\u012Bk\u201C} other {{formatted} atz\u012Bmes \u201EPat\u012Bk\u201C}}`, "canvas.category-numbered": `Kategorija {number}`, "post.comment-count": `{count, plural, zero {{formatted} koment\u0101ru} one {{formatted} koment\u0101rs} other {{formatted} koment\u0101ri}}`, "post-actions.share": `Kop\u012Bgot ierakstu`, "post.view-count": `{count, plural, zero {{formatted} skat\u012Bjumu} one {{formatted} skat\u012Bjums} other {{formatted} skat\u012Bjumi}}`, "post-actions.close": `Aizv\u0113rt`, "canvas.category-description": `Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`, "canvas.author-photo-alt": `Autora fotoatt\u0113ls`, "canvas.author-name": `Autora v\u0101rds`, "post-comments.demo-notice": `Redi\u0123\u0113\u0161anas laik\u0101 tiek r\u0101d\u012Bti koment\u0101ru paraugi. Apmekl\u0113t\u0101ji redz\u0113s \u012Bstus koment\u0101rus.`, title: Pc, "related-posts.empty-state.description": `Kad b\u016Bs public\u0113ti v\u0113l citi ieraksti, tie tiks par\u0101d\u012Bti \u0161eit.`, "canvas.excerpt": `\u0160eit kop\u012Bgojiet ieraksta galveno domu. \u0160is \u012Bsais kopsavilkums tiek r\u0101d\u012Bts pl\u016Bsmas kart\u012Bt\u0113s un mekl\u0113\u0161anas rezult\u0101tos, k\u0101 ar\u012B paskaidro las\u012Bt\u0101jiem, k\u0101p\u0113c ierakstu ir v\u0113rts izlas\u012Bt.` };
|
|
3869
|
+
});
|
|
3870
|
+
var Lc = h({ default: () => zc, title: () => Rc });
|
|
3871
|
+
var Rc;
|
|
3872
|
+
var zc;
|
|
3873
|
+
var Bc = m(() => {
|
|
3874
|
+
Rc = `My App`, zc = { "canvas.category": `Kategori`, "post-list.empty-state.description": `Setelah catatan diterbitkan, catatan akan dipaparkan di sini.`, "canvas.tag-numbered": `Tag {number}`, "cover-media.play": `Mainkan video`, "post-comments.unavailable": `Komen tidak tersedia \u2014 tiada tika aplikasi.`, "post-counters.loading-likes": `Sedang memuatkan suka`, "post-comments.loading": `Sedang memuatkan komen\u2026`, "post-actions.like": `Sukai catatan`, "canvas.content": `Di sinilah catatan penuh dipaparkan. Tulis cerita anda di sini, tambah imej, galeri dan video daripada papan pemuka, dan gunakan tajuk utama serta petikan untuk memastikan catatan mudah dibaca.`, "related-posts.empty-state.title": `Tiada catatan berkaitan lagi`, "post.time-to-read": `{count, plural, other {{count,number} minit bacaan}}`, "post-actions.link-copied": `Pautan disalin`, "category-header.all-posts": `Semua catatan`, "post-actions.copy-manually": `Salin pautan di bawah untuk berkongsi catatan ini.`, "post-actions.copy-link": `Salin pautan`, "cover-media.placeholder-alt": `Imej kulit catatan`, "post-actions.link-label": `Pautan catatan`, "post-list.empty-state.title": `Tiada catatan lagi`, "post-actions.share-dialog": `Kongsi catatan`, "canvas.post-title": `Tajuk catatan`, "post-actions.unlike": `Batalkan suka catatan`, "post-comments.no-post": `Tiada catatan diselesaikan untuk URL ini lagi.`, "post.like-count": `{count, plural, other {{formatted} suka}}`, "canvas.category-numbered": `Kategori {number}`, "post.comment-count": `{count, plural, other {{formatted} komen}}`, "post-actions.share": `Kongsi catatan`, "post.view-count": `{count, plural, other {{formatted} tontonan}}`, "post-actions.close": `Tutup`, "canvas.category-description": `Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`, "canvas.author-photo-alt": `Foto pengarang`, "canvas.author-name": `Nama pengarang`, "post-comments.demo-notice": `Komen sampel dipaparkan semasa mengedit. Pelawat akan melihat komen sebenar.`, title: Rc, "related-posts.empty-state.description": `Setelah lebih banyak catatan diterbitkan, catatan akan dipaparkan di sini.`, "canvas.excerpt": `Kongsi idea utama catatan anda di sini. Ringkasan pendek ini dipaparkan pada kad suapan dan dalam hasil carian, serta memberitahu pembaca sebab catatan ini berbaloi untuk dibaca.` };
|
|
3875
|
+
});
|
|
3876
|
+
var Vc = h({ default: () => Uc, title: () => Hc });
|
|
3877
|
+
var Hc;
|
|
3878
|
+
var Uc;
|
|
3879
|
+
var Wc = m(() => {
|
|
3880
|
+
Hc = `My App`, Uc = { "canvas.category": `Categorie`, "post-list.empty-state.description": `Zodra posts zijn gepubliceerd, verschijnen ze hier.`, "canvas.tag-numbered": `Tag {number}`, "cover-media.play": `Video afspelen`, "post-comments.unavailable": `Reacties zijn niet beschikbaar \u2014 geen app-instantie.`, "post-counters.loading-likes": `Likes laden`, "post-comments.loading": `Reacties laden\u2026`, "post-actions.like": `Post liken`, "canvas.content": `Hier verschijnt de volledige post. Schrijf hier je verhaal, voeg afbeeldingen, galerijen en video's toe vanuit het dashboard, en gebruik koppen en citaten om de tekst goed leesbaar te houden.`, "related-posts.empty-state.title": `Nog geen gerelateerde posts`, "post.time-to-read": `{count, plural, one {{count,number} min leestijd} other {{count,number} min leestijd}}`, "post-actions.link-copied": `Link is gekopieerd`, "category-header.all-posts": `Alle posts`, "post-actions.copy-manually": `Kopieer de link hieronder om deze post te delen.`, "post-actions.copy-link": `Link kopi\xEBren`, "cover-media.placeholder-alt": `Omslagafbeelding van post`, "post-actions.link-label": `Postlink`, "post-list.empty-state.title": `Nog geen posts`, "post-actions.share-dialog": `Post delen`, "canvas.post-title": `Posttitel`, "post-actions.unlike": `Post niet meer liken`, "post-comments.no-post": `Er is nog geen post voor deze URL gevonden.`, "post.like-count": `{count, plural, one {{formatted} like} other {{formatted} likes}}`, "canvas.category-numbered": `Categorie {number}`, "post.comment-count": `{count, plural, one {{formatted} reactie} other {{formatted} reacties}}`, "post-actions.share": `Post delen`, "post.view-count": `{count, plural, one {{formatted} weergave} other {{formatted} weergaven}}`, "post-actions.close": `Sluiten`, "canvas.category-description": `Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`, "canvas.author-photo-alt": `Auteursfoto`, "canvas.author-name": `Auteursnaam`, "post-comments.demo-notice": `Tijdens het bewerken worden voorbeeldreacties getoond. Bezoekers zien echte reacties.`, title: Hc, "related-posts.empty-state.description": `Zodra er meer posts zijn gepubliceerd, verschijnen ze hier.`, "canvas.excerpt": `Deel hier het belangrijkste idee van je post. Deze korte samenvatting verschijnt op feedkaarten en in zoekresultaten, en laat lezers zien waarom je post de moeite waard is.` };
|
|
3881
|
+
});
|
|
3882
|
+
var Gc = h({ default: () => qc, title: () => Kc });
|
|
3883
|
+
var Kc;
|
|
3884
|
+
var qc;
|
|
3885
|
+
var Jc = m(() => {
|
|
3886
|
+
Kc = `My App`, qc = { "canvas.category": `Kategori`, "post-list.empty-state.description": `N\xE5r innlegg publiseres, vises de her.`, "canvas.tag-numbered": `Tagg {number}`, "cover-media.play": `Spill av video`, "post-comments.unavailable": `Kommentarer er ikke tilgjengelige \u2014 ingen appforekomst.`, "post-counters.loading-likes": `Laster likerklikk`, "post-comments.loading": `Laster inn kommentarer \u2026`, "post-actions.like": `Lik innlegget`, "canvas.content": `Det er her hele innlegget vises. Skriv historien din her, legg til bilder, gallerier og video fra dashbordet, og bruk overskrifter og sitater for \xE5 gj\xF8re det lett \xE5 lese.`, "related-posts.empty-state.title": `Ingen relaterte innlegg enn\xE5`, "post.time-to-read": `{count, plural, one {{count,number} min lesetid} other {{count,number} min lesetid}}`, "post-actions.link-copied": `Lenken er kopiert`, "category-header.all-posts": `Alle innlegg`, "post-actions.copy-manually": `Kopier lenken nedenfor for \xE5 dele dette innlegget.`, "post-actions.copy-link": `Kopier lenke`, "cover-media.placeholder-alt": `Forsidebilde for innlegg`, "post-actions.link-label": `Innleggslenke`, "post-list.empty-state.title": `Ingen innlegg enn\xE5`, "post-actions.share-dialog": `Del innlegg`, "canvas.post-title": `Innleggstittel`, "post-actions.unlike": `Fjern likerklikk fra innlegget`, "post-comments.no-post": `Fant ingen innlegg for denne URL-en enn\xE5.`, "post.like-count": `{count, plural, one {{formatted} likerklikk} other {{formatted} likerklikk}}`, "canvas.category-numbered": `Kategori {number}`, "post.comment-count": `{count, plural, one {{formatted} kommentar} other {{formatted} kommentarer}}`, "post-actions.share": `Del innlegg`, "post.view-count": `{count, plural, one {{formatted} visning} other {{formatted} visninger}}`, "post-actions.close": `Lukk`, "canvas.category-description": `Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`, "canvas.author-photo-alt": `Forfatterbilde`, "canvas.author-name": `Forfatternavn`, "post-comments.demo-notice": `Eksempelkommentarer vises under redigering. Bes\xF8kende ser ekte kommentarer.`, title: Kc, "related-posts.empty-state.description": `N\xE5r flere innlegg publiseres, vises de her.`, "canvas.excerpt": `Del hovedideen i innlegget ditt her. Dette korte sammendraget vises p\xE5 feedkort og i s\xF8keresultater, og forteller leserne hvorfor innlegget er verdt tiden deres.` };
|
|
3887
|
+
});
|
|
3888
|
+
var Yc = h({ default: () => Zc, title: () => Xc });
|
|
3889
|
+
var Xc;
|
|
3890
|
+
var Zc;
|
|
3891
|
+
var Qc = m(() => {
|
|
3892
|
+
Xc = `My App`, Zc = { "canvas.category": `Kategoria`, "post-list.empty-state.description": `Opublikowane posty pojawi\u0105 si\u0119 tutaj.`, "canvas.tag-numbered": `Tag {number}`, "cover-media.play": `Odtw\xF3rz wideo`, "post-comments.unavailable": `Komentarze s\u0105 niedost\u0119pne \u2014 brak instancji aplikacji.`, "post-counters.loading-likes": `\u0141adowanie polubie\u0144`, "post-comments.loading": `\u0141adowanie komentarzy\u2026`, "post-actions.like": `Polub post`, "canvas.content": `Tutaj pojawia si\u0119 pe\u0142na tre\u015B\u0107 posta. Opowiedz swoj\u0105 histori\u0119, dodaj obrazy, galerie i wideo z pulpitu oraz u\u017Cyj nag\u0142\xF3wk\xF3w i cytat\xF3w, aby tekst by\u0142 czytelny.`, "related-posts.empty-state.title": `Brak powi\u0105zanych post\xF3w`, "post.time-to-read": `{count, plural, one {{count,number} min czytania} few {{count,number} min czytania} many {{count,number} min czytania} other {{count,number} min czytania}}`, "post-actions.link-copied": `Link skopiowany`, "category-header.all-posts": `Wszystkie posty`, "post-actions.copy-manually": `Skopiuj poni\u017Cszy link, aby udost\u0119pni\u0107 ten post.`, "post-actions.copy-link": `Kopiuj link`, "cover-media.placeholder-alt": `Ok\u0142adka posta`, "post-actions.link-label": `Link do posta`, "post-list.empty-state.title": `Brak post\xF3w`, "post-actions.share-dialog": `Udost\u0119pnij post`, "canvas.post-title": `Tytu\u0142 posta`, "post-actions.unlike": `Cofnij polubienie posta`, "post-comments.no-post": `Nie znaleziono jeszcze postu dla tego adresu URL.`, "post.like-count": `{count, plural, one {{formatted} polubienie} few {{formatted} polubienia} many {{formatted} polubie\u0144} other {{formatted} polubienia}}`, "canvas.category-numbered": `Kategoria {number}`, "post.comment-count": `{count, plural, one {{formatted} komentarz} few {{formatted} komentarze} many {{formatted} komentarzy} other {{formatted} komentarza}}`, "post-actions.share": `Udost\u0119pnij post`, "post.view-count": `{count, plural, one {{formatted} ods\u0142ona} few {{formatted} ods\u0142ony} many {{formatted} ods\u0142on} other {{formatted} ods\u0142ony}}`, "post-actions.close": `Zamknij`, "canvas.category-description": `Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`, "canvas.author-photo-alt": `Zdj\u0119cie autora`, "canvas.author-name": `Nazwa autora`, "post-comments.demo-notice": `Podczas edycji wy\u015Bwietlane s\u0105 przyk\u0142adowe komentarze. Odwiedzaj\u0105cy zobacz\u0105 prawdziwe komentarze.`, title: Xc, "related-posts.empty-state.description": `Gdy opublikujesz wi\u0119cej post\xF3w, pojawi\u0105 si\u0119 tutaj.`, "canvas.excerpt": `Udost\u0119pnij tutaj g\u0142\xF3wn\u0105 my\u015Bl swojego posta. To kr\xF3tkie podsumowanie pojawia si\u0119 na kartach w feedzie i w wynikach wyszukiwania oraz pokazuje czytelnikom, dlaczego warto przeczyta\u0107 post.` };
|
|
3893
|
+
});
|
|
3894
|
+
var $c = h({ default: () => tl, title: () => el });
|
|
3895
|
+
var el;
|
|
3896
|
+
var tl;
|
|
3897
|
+
var nl = m(() => {
|
|
3898
|
+
el = `My App`, tl = { "canvas.category": `Categoria`, "post-list.empty-state.description": `Depois que os posts forem publicados, eles aparecer\xE3o aqui.`, "canvas.tag-numbered": `Tag {number}`, "cover-media.play": `Reproduzir v\xEDdeo`, "post-comments.unavailable": `Coment\xE1rios indispon\xEDveis \u2014 nenhuma inst\xE2ncia do app.`, "post-counters.loading-likes": `Carregando curtidas`, "post-comments.loading": `Carregando coment\xE1rios\u2026`, "post-actions.like": `Curtir post`, "canvas.content": `\xC9 aqui que o post completo aparece. Escreva sua hist\xF3ria, adicione imagens, galerias e v\xEDdeo pelo painel de controle, e use cabe\xE7alhos e cita\xE7\xF5es para facilitar a leitura.`, "related-posts.empty-state.title": `Ainda n\xE3o h\xE1 posts relacionados`, "post.time-to-read": `{count, plural, one {{count,number} min de leitura} other {{count,number} min de leitura}}`, "post-actions.link-copied": `Link copiado`, "category-header.all-posts": `Todos os posts`, "post-actions.copy-manually": `Copie o link abaixo para compartilhar este post.`, "post-actions.copy-link": `Copiar link`, "cover-media.placeholder-alt": `Imagem de capa do post`, "post-actions.link-label": `Link do post`, "post-list.empty-state.title": `Ainda n\xE3o h\xE1 posts`, "post-actions.share-dialog": `Compartilhar post`, "canvas.post-title": `T\xEDtulo do post`, "post-actions.unlike": `Remover curtida do post`, "post-comments.no-post": `Ainda n\xE3o h\xE1 post resolvido para este URL.`, "post.like-count": `{count, plural, one {{formatted} curtida} other {{formatted} curtidas}}`, "canvas.category-numbered": `Categoria {number}`, "post.comment-count": `{count, plural, one {{formatted} coment\xE1rio} other {{formatted} coment\xE1rios}}`, "post-actions.share": `Compartilhar post`, "post.view-count": `{count, plural, one {{formatted} visualiza\xE7\xE3o} other {{formatted} visualiza\xE7\xF5es}}`, "post-actions.close": `Fechar`, "canvas.category-description": `Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`, "canvas.author-photo-alt": `Foto do autor`, "canvas.author-name": `Nome do autor`, "post-comments.demo-notice": `Coment\xE1rios de exemplo s\xE3o exibidos durante a edi\xE7\xE3o. Os visitantes ver\xE3o coment\xE1rios reais.`, title: el, "related-posts.empty-state.description": `Quando mais posts forem publicados, eles aparecer\xE3o aqui.`, "canvas.excerpt": `Compartilhe aqui a ideia principal do post. Esse breve resumo aparece nos cart\xF5es do feed e nos resultados de busca, e mostra aos leitores por que vale a pena ler o post.` };
|
|
3899
|
+
});
|
|
3900
|
+
var rl = h({ default: () => al, title: () => il });
|
|
3901
|
+
var il;
|
|
3902
|
+
var al;
|
|
3903
|
+
var ol = m(() => {
|
|
3904
|
+
il = `My App`, al = { "canvas.category": `Categorie`, "post-list.empty-state.description": `Dup\u0103 ce post\u0103rile sunt publicate, vor ap\u0103rea aici.`, "canvas.tag-numbered": `Etichet\u0103 {number}`, "cover-media.play": `Red\u0103 videoclipul`, "post-comments.unavailable": `Comentariile nu sunt disponibile \u2014 nu exist\u0103 nicio instan\u021B\u0103 a aplica\u021Biei.`, "post-counters.loading-likes": `Se \xEEncarc\u0103 aprecierile`, "post-comments.loading": `Se \xEEncarc\u0103 comentariile\u2026`, "post-actions.like": `Apreciaz\u0103 postarea`, "canvas.content": `Aici apare postarea complet\u0103. Scrie-\u021Bi povestea aici, adaug\u0103 imagini, galerii \u0219i videoclipuri din Dashboard \u0219i folose\u0219te titluri \u0219i citate pentru a o face u\u0219or de citit.`, "related-posts.empty-state.title": `\xCEnc\u0103 nu exist\u0103 post\u0103ri similare`, "post.time-to-read": `{count, plural, one {{count,number} min citire} few {{count,number} min citire} other {{count,number} min citire}}`, "post-actions.link-copied": `Link copiat`, "category-header.all-posts": `Toate post\u0103rile`, "post-actions.copy-manually": `Copiaz\u0103 linkul de mai jos pentru a distribui aceast\u0103 postare.`, "post-actions.copy-link": `Copiaz\u0103 linkul`, "cover-media.placeholder-alt": `Imagine de copert\u0103 a post\u0103rii`, "post-actions.link-label": `Linkul post\u0103rii`, "post-list.empty-state.title": `\xCEnc\u0103 nu exist\u0103 post\u0103ri`, "post-actions.share-dialog": `Distribuie postarea`, "canvas.post-title": `Titlul post\u0103rii`, "post-actions.unlike": `Nu mai aprecia postarea`, "post-comments.no-post": `Nu s-a g\u0103sit \xEEnc\u0103 nicio postare pentru acest URL.`, "post.like-count": `{count, plural, one {{formatted} apreciere} few {{formatted} aprecieri} other {{formatted} aprecieri}}`, "canvas.category-numbered": `Categorie {number}`, "post.comment-count": `{count, plural, one {{formatted} comentariu} few {{formatted} comentarii} other {{formatted} comentarii}}`, "post-actions.share": `Distribuie postarea`, "post.view-count": `{count, plural, one {{formatted} vizualizare} few {{formatted} vizualiz\u0103ri} other {{formatted} vizualiz\u0103ri}}`, "post-actions.close": `\xCEnchide`, "canvas.category-description": `Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`, "canvas.author-photo-alt": `Fotografia autorului`, "canvas.author-name": `Nume autor`, "post-comments.demo-notice": `Comentariile exemplu sunt afi\u0219ate \xEEn timpul edit\u0103rii. Vizitatorii vor vedea comentarii reale.`, title: il, "related-posts.empty-state.description": `Dup\u0103 ce sunt publicate mai multe post\u0103ri, vor ap\u0103rea aici.`, "canvas.excerpt": `Distribuie aici ideea principal\u0103 a post\u0103rii. Acest scurt rezumat apare pe cardurile din flux \u0219i \xEEn rezultatele c\u0103ut\u0103rii \u0219i le arat\u0103 cititorilor de ce merit\u0103 s\u0103 citeasc\u0103 postarea.` };
|
|
3905
|
+
});
|
|
3906
|
+
var sl = h({ default: () => ll, title: () => cl });
|
|
3907
|
+
var cl;
|
|
3908
|
+
var ll;
|
|
3909
|
+
var ul = m(() => {
|
|
3910
|
+
cl = `My App`, ll = { "canvas.category": `\u0420\u0443\u0431\u0440\u0438\u043A\u0430`, "post-list.empty-state.description": `\u041A\u043E\u0433\u0434\u0430 \u043F\u043E\u0441\u0442\u044B \u0431\u0443\u0434\u0443\u0442 \u043E\u043F\u0443\u0431\u043B\u0438\u043A\u043E\u0432\u0430\u043D\u044B, \u043E\u043D\u0438 \u043F\u043E\u044F\u0432\u044F\u0442\u0441\u044F \u0437\u0434\u0435\u0441\u044C.`, "canvas.tag-numbered": `\u0422\u0435\u0433 {number}`, "cover-media.play": `\u0412\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0441\u0442\u0438 \u0432\u0438\u0434\u0435\u043E`, "post-comments.unavailable": `\u041A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0438 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B \u2014 \u043D\u0435\u0442 \u044D\u043A\u0437\u0435\u043C\u043F\u043B\u044F\u0440\u0430 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F.`, "post-counters.loading-likes": `\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u043B\u0430\u0439\u043A\u043E\u0432`, "post-comments.loading": `\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0435\u0432\u2026`, "post-actions.like": `\u041F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043B\u0430\u0439\u043A \u043F\u043E\u0441\u0442\u0443`, "canvas.content": `\u0417\u0434\u0435\u0441\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044F \u043F\u043E\u043B\u043D\u044B\u0439 \u0442\u0435\u043A\u0441\u0442 \u043F\u043E\u0441\u0442\u0430. \u041D\u0430\u043F\u0438\u0448\u0438\u0442\u0435 \u0441\u0432\u043E\u044E \u0438\u0441\u0442\u043E\u0440\u0438\u044E, \u0434\u043E\u0431\u0430\u0432\u044C\u0442\u0435 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F, \u0433\u0430\u043B\u0435\u0440\u0435\u0438 \u0438 \u0432\u0438\u0434\u0435\u043E \u0438\u0437 \u043F\u0430\u043D\u0435\u043B\u0438 \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0438 \u0438 \u0446\u0438\u0442\u0430\u0442\u044B, \u0447\u0442\u043E\u0431\u044B \u0442\u0435\u043A\u0441\u0442 \u0431\u044B\u043B\u043E \u0443\u0434\u043E\u0431\u043D\u043E \u0447\u0438\u0442\u0430\u0442\u044C.`, "related-posts.empty-state.title": `\u041F\u043E\u0445\u043E\u0436\u0438\u0445 \u043F\u043E\u0441\u0442\u043E\u0432 \u043F\u043E\u043A\u0430 \u043D\u0435\u0442`, "post.time-to-read": `{count, plural, one {{count,number} \u043C\u0438\u043D \u0447\u0442\u0435\u043D\u0438\u044F} few {{count,number} \u043C\u0438\u043D \u0447\u0442\u0435\u043D\u0438\u044F} many {{count,number} \u043C\u0438\u043D \u0447\u0442\u0435\u043D\u0438\u044F} other {{count,number} \u043C\u0438\u043D \u0447\u0442\u0435\u043D\u0438\u044F}}`, "post-actions.link-copied": `\u0421\u0441\u044B\u043B\u043A\u0430 \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u0430`, "category-header.all-posts": `\u0412\u0441\u0435 \u043F\u043E\u0441\u0442\u044B`, "post-actions.copy-manually": `\u0421\u043A\u043E\u043F\u0438\u0440\u0443\u0439\u0442\u0435 \u0441\u0441\u044B\u043B\u043A\u0443 \u043D\u0438\u0436\u0435, \u0447\u0442\u043E\u0431\u044B \u043F\u043E\u0434\u0435\u043B\u0438\u0442\u044C\u0441\u044F \u044D\u0442\u0438\u043C \u043F\u043E\u0441\u0442\u043E\u043C.`, "post-actions.copy-link": `\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443`, "cover-media.placeholder-alt": `\u041E\u0431\u043B\u043E\u0436\u043A\u0430 \u043F\u043E\u0441\u0442\u0430`, "post-actions.link-label": `\u0421\u0441\u044B\u043B\u043A\u0430 \u043D\u0430 \u043F\u043E\u0441\u0442`, "post-list.empty-state.title": `\u041F\u043E\u0441\u0442\u043E\u0432 \u043F\u043E\u043A\u0430 \u043D\u0435\u0442`, "post-actions.share-dialog": `\u041F\u043E\u0434\u0435\u043B\u0438\u0442\u044C\u0441\u044F \u043F\u043E\u0441\u0442\u043E\u043C`, "canvas.post-title": `\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A \u043F\u043E\u0441\u0442\u0430`, "post-actions.unlike": `\u0423\u0431\u0440\u0430\u0442\u044C \u043B\u0430\u0439\u043A \u0441 \u043F\u043E\u0441\u0442\u0430`, "post-comments.no-post": `\u0414\u043B\u044F \u044D\u0442\u043E\u0433\u043E URL \u043F\u043E\u043A\u0430 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D \u043F\u043E\u0441\u0442.`, "post.like-count": `{count, plural, one {{formatted} \u043B\u0430\u0439\u043A} few {{formatted} \u043B\u0430\u0439\u043A\u0430} many {{formatted} \u043B\u0430\u0439\u043A\u043E\u0432} other {{formatted} \u043B\u0430\u0439\u043A\u0430}}`, "canvas.category-numbered": `\u0420\u0443\u0431\u0440\u0438\u043A\u0430 {number}`, "post.comment-count": `{count, plural, one {{formatted} \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0439} few {{formatted} \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u044F} many {{formatted} \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0435\u0432} other {{formatted} \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u044F}}`, "post-actions.share": `\u041F\u043E\u0434\u0435\u043B\u0438\u0442\u044C\u0441\u044F \u043F\u043E\u0441\u0442\u043E\u043C`, "post.view-count": `{count, plural, one {{formatted} \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440} few {{formatted} \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430} many {{formatted} \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u043E\u0432} other {{formatted} \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430}}`, "post-actions.close": `\u0417\u0430\u043A\u0440\u044B\u0442\u044C`, "canvas.category-description": `Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`, "canvas.author-photo-alt": `\u0424\u043E\u0442\u043E \u0430\u0432\u0442\u043E\u0440\u0430`, "canvas.author-name": `\u0418\u043C\u044F \u0430\u0432\u0442\u043E\u0440\u0430`, "post-comments.demo-notice": `\u0412 \u0440\u0435\u0436\u0438\u043C\u0435 \u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u043F\u043E\u043A\u0430\u0437\u0430\u043D\u044B \u043F\u0440\u0438\u043C\u0435\u0440\u044B \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0435\u0432. \u041F\u043E\u0441\u0435\u0442\u0438\u0442\u0435\u043B\u0438 \u0443\u0432\u0438\u0434\u044F\u0442 \u043D\u0430\u0441\u0442\u043E\u044F\u0449\u0438\u0435 \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0438.`, title: cl, "related-posts.empty-state.description": `\u041A\u043E\u0433\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u043E\u043F\u0443\u0431\u043B\u0438\u043A\u043E\u0432\u0430\u043D\u043E \u0431\u043E\u043B\u044C\u0448\u0435 \u043F\u043E\u0441\u0442\u043E\u0432, \u043E\u043D\u0438 \u043F\u043E\u044F\u0432\u044F\u0442\u0441\u044F \u0437\u0434\u0435\u0441\u044C.`, "canvas.excerpt": `\u041A\u0440\u0430\u0442\u043A\u043E \u043E\u043F\u0438\u0448\u0438\u0442\u0435 \u043E\u0441\u043D\u043E\u0432\u043D\u0443\u044E \u0438\u0434\u0435\u044E \u043F\u043E\u0441\u0442\u0430. \u042D\u0442\u043E \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435 \u043F\u043E\u044F\u0432\u0438\u0442\u0441\u044F \u0432 \u043A\u0430\u0440\u0442\u043E\u0447\u043A\u0430\u0445 \u043B\u0435\u043D\u0442\u044B \u0438 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430\u0445 \u043F\u043E\u0438\u0441\u043A\u0430, \u0430 \u0447\u0438\u0442\u0430\u0442\u0435\u043B\u0438 \u043F\u043E\u0439\u043C\u0443\u0442, \u043F\u043E\u0447\u0435\u043C\u0443 \u043F\u043E\u0441\u0442 \u0441\u0442\u043E\u0438\u0442 \u043F\u0440\u043E\u0447\u0438\u0442\u0430\u0442\u044C.` };
|
|
3911
|
+
});
|
|
3912
|
+
var dl = h({ default: () => pl, title: () => fl });
|
|
3913
|
+
var fl;
|
|
3914
|
+
var pl;
|
|
3915
|
+
var ml = m(() => {
|
|
3916
|
+
fl = `My App`, pl = { "canvas.category": `Kateg\xF3ria`, "post-list.empty-state.description": `Po publikovan\xED sa pr\xEDspevky zobrazia tu.`, "canvas.tag-numbered": `\u0160t\xEDtok {number}`, "cover-media.play": `Prehra\u0165 video`, "post-comments.unavailable": `Koment\xE1re nie s\xFA dostupn\xE9 \u2014 ch\xFDba in\u0161tancia aplik\xE1cie.`, "post-counters.loading-likes": `Na\u010D\xEDtavaj\xFA sa ozna\u010Denia P\xE1\u010Di sa mi`, "post-comments.loading": `Na\u010D\xEDtavaj\xFA sa koment\xE1re\u2026`, "post-actions.like": `Ozna\u010Di\u0165 pr\xEDspevok ako P\xE1\u010Di sa mi`, "canvas.content": `Tu sa zobraz\xED cel\xFD pr\xEDspevok. Nap\xED\u0161 svoj pr\xEDbeh, pridaj obr\xE1zky, gal\xE9rie a video z ovl\xE1dacieho panela a pomocou nadpisov a cit\xE1tov ho udr\u017E \u013Eahko \u010Ditate\u013En\xFD.`, "related-posts.empty-state.title": `Zatia\u013E \u017Eiadne s\xFAvisiace pr\xEDspevky`, "post.time-to-read": `{count, plural, one {{count,number} min \u010D\xEDtania} few {{count,number} min \u010D\xEDtania} many {{count,number} min \u010D\xEDtania} other {{count,number} min \u010D\xEDtania}}`, "post-actions.link-copied": `Odkaz skop\xEDrovan\xFD`, "category-header.all-posts": `V\u0161etky pr\xEDspevky`, "post-actions.copy-manually": `Skop\xEDruj odkaz ni\u017E\u0161ie a zdie\u013Eaj tento pr\xEDspevok.`, "post-actions.copy-link": `Kop\xEDrova\u0165 odkaz`, "cover-media.placeholder-alt": `Hlavn\xFD obr\xE1zok pr\xEDspevku`, "post-actions.link-label": `Odkaz na pr\xEDspevok`, "post-list.empty-state.title": `Zatia\u013E \u017Eiadne pr\xEDspevky`, "post-actions.share-dialog": `Zdie\u013Ea\u0165 pr\xEDspevok`, "canvas.post-title": `N\xE1zov pr\xEDspevku`, "post-actions.unlike": `Zru\u0161i\u0165 ozna\u010Denie P\xE1\u010Di sa mi pri pr\xEDspevku`, "post-comments.no-post": `Pre t\xFAto URL adresu sa zatia\u013E nena\u0161iel \u017Eiadny pr\xEDspevok.`, "post.like-count": `{count, plural, one {{formatted} ozna\u010Denie P\xE1\u010Di sa mi} few {{formatted} ozna\u010Denia P\xE1\u010Di sa mi} many {{formatted} ozna\u010Denia P\xE1\u010Di sa mi} other {{formatted} ozna\u010Den\xED P\xE1\u010Di sa mi}}`, "canvas.category-numbered": `Kateg\xF3ria {number}`, "post.comment-count": `{count, plural, one {{formatted} koment\xE1r} few {{formatted} koment\xE1re} many {{formatted} koment\xE1ra} other {{formatted} koment\xE1rov}}`, "post-actions.share": `Zdie\u013Ea\u0165 pr\xEDspevok`, "post.view-count": `{count, plural, one {{formatted} zobrazenie} few {{formatted} zobrazenia} many {{formatted} zobrazenia} other {{formatted} zobrazen\xED}}`, "post-actions.close": `Zavrie\u0165`, "canvas.category-description": `Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`, "canvas.author-photo-alt": `Fotografia autora`, "canvas.author-name": `Meno autora`, "post-comments.demo-notice": `Po\u010Das \xFAprav sa zobrazuj\xFA uk\xE1\u017Ekov\xE9 koment\xE1re. N\xE1v\u0161tevn\xEDci uvidia skuto\u010Dn\xE9 koment\xE1re.`, title: fl, "related-posts.empty-state.description": `Ke\u010F bud\xFA publikovan\xE9 \u010Fal\u0161ie pr\xEDspevky, zobrazia sa tu.`, "canvas.excerpt": `Tu zdie\u013Eaj hlavn\xFA my\u0161lienku pr\xEDspevku. Toto kr\xE1tke zhrnutie sa zobrazuje na kart\xE1ch kan\xE1la a vo v\xFDsledkoch vyh\u013Ead\xE1vania a \u010Ditate\u013Eom uk\xE1\u017Ee, pre\u010Do sa pr\xEDspevok oplat\xED \u010D\xEDta\u0165.` };
|
|
3917
|
+
});
|
|
3918
|
+
var hl = h({ default: () => _l, title: () => gl });
|
|
3919
|
+
var gl;
|
|
3920
|
+
var _l;
|
|
3921
|
+
var vl = m(() => {
|
|
3922
|
+
gl = `My App`, _l = { "canvas.category": `Kategorija`, "post-list.empty-state.description": `Ko bodo objave objavljene, bodo prikazane tukaj.`, "canvas.tag-numbered": `Oznaka {number}`, "cover-media.play": `Predvajaj video`, "post-comments.unavailable": `Komentarji niso na voljo \u2014 ni primerka aplikacije.`, "post-counters.loading-likes": `Nalaganje v\u0161e\u010Dkov`, "post-comments.loading": `Nalaganje komentarjev\u2026`, "post-actions.like": `V\u0161e\u010Dkajte objavo`, "canvas.content": `Tukaj je prikazana celotna objava. Napi\u0161ite svojo zgodbo, dodajte slike, galerije in videoposnetke z nadzorne plo\u0161\u010De ter z naslovi in citati poskrbite, da bo besedilo lahko berljivo.`, "related-posts.empty-state.title": `Sorodnih objav \u0161e ni`, "post.time-to-read": `{count, plural, one {{count,number} min branja} two {{count,number} min branja} few {{count,number} min branja} other {{count,number} min branja}}`, "post-actions.link-copied": `Povezava kopirana`, "category-header.all-posts": `Vse objave`, "post-actions.copy-manually": `Kopirajte spodnjo povezavo za deljenje te objave.`, "post-actions.copy-link": `Kopiraj povezavo`, "cover-media.placeholder-alt": `Naslovna slika objave`, "post-actions.link-label": `Povezava do objave`, "post-list.empty-state.title": `Objav \u0161e ni`, "post-actions.share-dialog": `Delite objavo`, "canvas.post-title": `Naslov objave`, "post-actions.unlike": `Odstranite v\u0161e\u010Dek z objave`, "post-comments.no-post": `Za ta URL \u0161e ni najdene objave.`, "post.like-count": `{count, plural, one {{formatted} v\u0161e\u010Dek} two {{formatted} v\u0161e\u010Dka} few {{formatted} v\u0161e\u010Dki} other {{formatted} v\u0161e\u010Dkov}}`, "canvas.category-numbered": `Kategorija {number}`, "post.comment-count": `{count, plural, one {{formatted} komentar} two {{formatted} komentarja} few {{formatted} komentarji} other {{formatted} komentarjev}}`, "post-actions.share": `Delite objavo`, "post.view-count": `{count, plural, one {{formatted} ogled} two {{formatted} ogleda} few {{formatted} ogledi} other {{formatted} ogledov}}`, "post-actions.close": `Zapri`, "canvas.category-description": `Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`, "canvas.author-photo-alt": `Fotografija avtorja`, "canvas.author-name": `Ime avtorja`, "post-comments.demo-notice": `Med urejanjem so prikazani vzor\u010Dni komentarji. Obiskovalci bodo videli prave komentarje.`, title: gl, "related-posts.empty-state.description": `Ko bo objavljenih ve\u010D objav, bodo prikazane tukaj.`, "canvas.excerpt": `Tukaj delite glavno idejo svoje objave. Ta kratek povzetek je prikazan na karticah vira in v rezultatih iskanja ter bralcem pove, zakaj je objava vredna njihovega \u010Dasa.` };
|
|
3923
|
+
});
|
|
3924
|
+
var yl = h({ default: () => xl, title: () => bl });
|
|
3925
|
+
var bl;
|
|
3926
|
+
var xl;
|
|
3927
|
+
var Sl = m(() => {
|
|
3928
|
+
bl = `My App`, xl = { "canvas.category": `Kategori`, "post-list.empty-state.description": `N\xE4r inl\xE4gg publiceras visas de h\xE4r.`, "canvas.tag-numbered": `Tagg {number}`, "cover-media.play": `Spela upp video`, "post-comments.unavailable": `Kommentarer \xE4r inte tillg\xE4ngliga \u2013 ingen appinstans.`, "post-counters.loading-likes": `L\xE4ser in gillamarkeringar`, "post-comments.loading": `L\xE4ser in kommentarer\u2026`, "post-actions.like": `Gilla inl\xE4gg`, "canvas.content": `Det \xE4r h\xE4r hela inl\xE4gget visas. Skriv din text h\xE4r, l\xE4gg till bilder, gallerier och video fr\xE5n \xF6versikten, och anv\xE4nd rubriker och citat f\xF6r att g\xF6ra det l\xE4tt att l\xE4sa.`, "related-posts.empty-state.title": `Inga liknande inl\xE4gg \xE4n`, "post.time-to-read": `{count, plural, one {{count,number} min l\xE4sning} other {{count,number} min l\xE4sning}}`, "post-actions.link-copied": `L\xE4nken har kopierats`, "category-header.all-posts": `Alla inl\xE4gg`, "post-actions.copy-manually": `Kopiera l\xE4nken nedan f\xF6r att dela det h\xE4r inl\xE4gget.`, "post-actions.copy-link": `Kopiera l\xE4nk`, "cover-media.placeholder-alt": `Omslagsbild f\xF6r inl\xE4gg`, "post-actions.link-label": `Inl\xE4ggsl\xE4nk`, "post-list.empty-state.title": `Inga inl\xE4gg \xE4n`, "post-actions.share-dialog": `Dela inl\xE4gg`, "canvas.post-title": `Inl\xE4ggsrubrik`, "post-actions.unlike": `Sluta gilla inl\xE4gg`, "post-comments.no-post": `Inget inl\xE4gg har hittats f\xF6r den h\xE4r URL:en \xE4n.`, "post.like-count": `{count, plural, one {{formatted} gillamarkering} other {{formatted} gillamarkeringar}}`, "canvas.category-numbered": `Kategori {number}`, "post.comment-count": `{count, plural, one {{formatted} kommentar} other {{formatted} kommentarer}}`, "post-actions.share": `Dela inl\xE4gg`, "post.view-count": `{count, plural, one {{formatted} visning} other {{formatted} visningar}}`, "post-actions.close": `St\xE4ng`, "canvas.category-description": `Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`, "canvas.author-photo-alt": `F\xF6rfattarfoto`, "canvas.author-name": `F\xF6rfattarnamn`, "post-comments.demo-notice": `Exempelkommentarer visas under redigering. Bes\xF6kare ser riktiga kommentarer.`, title: bl, "related-posts.empty-state.description": `N\xE4r fler inl\xE4gg publiceras visas de h\xE4r.`, "canvas.excerpt": `Dela huvudid\xE9n med ditt inl\xE4gg h\xE4r. Den h\xE4r korta sammanfattningen visas p\xE5 fl\xF6deskort och i s\xF6kresultat, och ber\xE4ttar varf\xF6r inl\xE4gget \xE4r v\xE4rt att l\xE4sa.` };
|
|
3929
|
+
});
|
|
3930
|
+
var Cl = h({ default: () => Tl, title: () => wl });
|
|
3931
|
+
var wl;
|
|
3932
|
+
var Tl;
|
|
3933
|
+
var El = m(() => {
|
|
3934
|
+
wl = `My App`, Tl = { "canvas.category": `\u0E2B\u0E21\u0E27\u0E14\u0E2B\u0E21\u0E39\u0E48`, "post-list.empty-state.description": `\u0E40\u0E21\u0E37\u0E48\u0E2D\u0E21\u0E35\u0E01\u0E32\u0E23\u0E40\u0E1C\u0E22\u0E41\u0E1E\u0E23\u0E48\u0E42\u0E1E\u0E2A\u0E15\u0E4C \u0E42\u0E1E\u0E2A\u0E15\u0E4C\u0E08\u0E30\u0E41\u0E2A\u0E14\u0E07\u0E17\u0E35\u0E48\u0E19\u0E35\u0E48`, "canvas.tag-numbered": `\u0E41\u0E17\u0E47\u0E01 {number}`, "cover-media.play": `\u0E40\u0E25\u0E48\u0E19\u0E27\u0E34\u0E14\u0E35\u0E42\u0E2D`, "post-comments.unavailable": `\u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E04\u0E27\u0E32\u0E21\u0E04\u0E34\u0E14\u0E40\u0E2B\u0E47\u0E19\u0E44\u0E14\u0E49 \u0E40\u0E19\u0E37\u0E48\u0E2D\u0E07\u0E08\u0E32\u0E01\u0E44\u0E21\u0E48\u0E21\u0E35\u0E2D\u0E34\u0E19\u0E2A\u0E41\u0E15\u0E19\u0E0B\u0E4C\u0E02\u0E2D\u0E07\u0E41\u0E2D\u0E1B`, "post-counters.loading-likes": `\u0E01\u0E33\u0E25\u0E31\u0E07\u0E42\u0E2B\u0E25\u0E14\u0E01\u0E32\u0E23\u0E01\u0E14\u0E16\u0E39\u0E01\u0E43\u0E08`, "post-comments.loading": `\u0E01\u0E33\u0E25\u0E31\u0E07\u0E42\u0E2B\u0E25\u0E14\u0E04\u0E27\u0E32\u0E21\u0E04\u0E34\u0E14\u0E40\u0E2B\u0E47\u0E19\u2026`, "post-actions.like": `\u0E01\u0E14\u0E16\u0E39\u0E01\u0E43\u0E08\u0E42\u0E1E\u0E2A\u0E15\u0E4C`, "canvas.content": `\u0E40\u0E19\u0E37\u0E49\u0E2D\u0E2B\u0E32\u0E42\u0E1E\u0E2A\u0E15\u0E4C\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14\u0E08\u0E30\u0E41\u0E2A\u0E14\u0E07\u0E17\u0E35\u0E48\u0E19\u0E35\u0E48 \u0E40\u0E02\u0E35\u0E22\u0E19\u0E40\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E23\u0E32\u0E27\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13 \u0E40\u0E1E\u0E34\u0E48\u0E21\u0E23\u0E39\u0E1B\u0E20\u0E32\u0E1E \u0E41\u0E01\u0E25\u0E40\u0E25\u0E2D\u0E23\u0E35 \u0E41\u0E25\u0E30\u0E27\u0E34\u0E14\u0E35\u0E42\u0E2D\u0E08\u0E32\u0E01\u0E41\u0E14\u0E0A\u0E1A\u0E2D\u0E23\u0E4C\u0E14 \u0E41\u0E25\u0E49\u0E27\u0E43\u0E0A\u0E49\u0E2B\u0E31\u0E27\u0E40\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E41\u0E25\u0E30\u0E04\u0E33\u0E04\u0E21\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E43\u0E2B\u0E49\u0E2D\u0E48\u0E32\u0E19\u0E07\u0E48\u0E32\u0E22`, "related-posts.empty-state.title": `\u0E22\u0E31\u0E07\u0E44\u0E21\u0E48\u0E21\u0E35\u0E42\u0E1E\u0E2A\u0E15\u0E4C\u0E17\u0E35\u0E48\u0E40\u0E01\u0E35\u0E48\u0E22\u0E27\u0E02\u0E49\u0E2D\u0E07`, "post.time-to-read": `{count, plural, other {\u0E2D\u0E48\u0E32\u0E19 {count,number} \u0E19\u0E32\u0E17\u0E35}}`, "post-actions.link-copied": `\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E25\u0E34\u0E07\u0E01\u0E4C\u0E41\u0E25\u0E49\u0E27`, "category-header.all-posts": `\u0E42\u0E1E\u0E2A\u0E15\u0E4C\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14`, "post-actions.copy-manually": `\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E25\u0E34\u0E07\u0E01\u0E4C\u0E14\u0E49\u0E32\u0E19\u0E25\u0E48\u0E32\u0E07\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E41\u0E0A\u0E23\u0E4C\u0E42\u0E1E\u0E2A\u0E15\u0E4C\u0E19\u0E35\u0E49`, "post-actions.copy-link": `\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E25\u0E34\u0E07\u0E01\u0E4C`, "cover-media.placeholder-alt": `\u0E23\u0E39\u0E1B\u0E20\u0E32\u0E1E\u0E2B\u0E19\u0E49\u0E32\u0E1B\u0E01\u0E42\u0E1E\u0E2A\u0E15\u0E4C`, "post-actions.link-label": `\u0E25\u0E34\u0E07\u0E01\u0E4C\u0E42\u0E1E\u0E2A\u0E15\u0E4C`, "post-list.empty-state.title": `\u0E22\u0E31\u0E07\u0E44\u0E21\u0E48\u0E21\u0E35\u0E42\u0E1E\u0E2A\u0E15\u0E4C`, "post-actions.share-dialog": `\u0E41\u0E0A\u0E23\u0E4C\u0E42\u0E1E\u0E2A\u0E15\u0E4C`, "canvas.post-title": `\u0E0A\u0E37\u0E48\u0E2D\u0E42\u0E1E\u0E2A\u0E15\u0E4C`, "post-actions.unlike": `\u0E40\u0E25\u0E34\u0E01\u0E01\u0E14\u0E16\u0E39\u0E01\u0E43\u0E08\u0E42\u0E1E\u0E2A\u0E15\u0E4C`, "post-comments.no-post": `\u0E22\u0E31\u0E07\u0E44\u0E21\u0E48\u0E1E\u0E1A\u0E42\u0E1E\u0E2A\u0E15\u0E4C\u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A URL \u0E19\u0E35\u0E49`, "post.like-count": `{count, plural, other {{formatted} \u0E01\u0E32\u0E23\u0E01\u0E14\u0E16\u0E39\u0E01\u0E43\u0E08}}`, "canvas.category-numbered": `\u0E2B\u0E21\u0E27\u0E14\u0E2B\u0E21\u0E39\u0E48 {number}`, "post.comment-count": `{count, plural, other {{formatted} \u0E04\u0E27\u0E32\u0E21\u0E04\u0E34\u0E14\u0E40\u0E2B\u0E47\u0E19}}`, "post-actions.share": `\u0E41\u0E0A\u0E23\u0E4C\u0E42\u0E1E\u0E2A\u0E15\u0E4C`, "post.view-count": `{count, plural, one {{formatted} view} other {{formatted} views}}`, "post-actions.close": `\u0E1B\u0E34\u0E14`, "canvas.category-description": `Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`, "canvas.author-photo-alt": `\u0E23\u0E39\u0E1B\u0E1C\u0E39\u0E49\u0E40\u0E02\u0E35\u0E22\u0E19`, "canvas.author-name": `\u0E0A\u0E37\u0E48\u0E2D\u0E1C\u0E39\u0E49\u0E40\u0E02\u0E35\u0E22\u0E19`, "post-comments.demo-notice": `\u0E23\u0E30\u0E1A\u0E1A\u0E08\u0E30\u0E41\u0E2A\u0E14\u0E07\u0E15\u0E31\u0E27\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E04\u0E27\u0E32\u0E21\u0E04\u0E34\u0E14\u0E40\u0E2B\u0E47\u0E19\u0E02\u0E13\u0E30\u0E41\u0E01\u0E49\u0E44\u0E02 \u0E1C\u0E39\u0E49\u0E40\u0E02\u0E49\u0E32\u0E0A\u0E21\u0E08\u0E30\u0E40\u0E2B\u0E47\u0E19\u0E04\u0E27\u0E32\u0E21\u0E04\u0E34\u0E14\u0E40\u0E2B\u0E47\u0E19\u0E08\u0E23\u0E34\u0E07`, title: wl, "related-posts.empty-state.description": `\u0E40\u0E21\u0E37\u0E48\u0E2D\u0E21\u0E35\u0E01\u0E32\u0E23\u0E40\u0E1C\u0E22\u0E41\u0E1E\u0E23\u0E48\u0E42\u0E1E\u0E2A\u0E15\u0E4C\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21 \u0E42\u0E1E\u0E2A\u0E15\u0E4C\u0E08\u0E30\u0E41\u0E2A\u0E14\u0E07\u0E17\u0E35\u0E48\u0E19\u0E35\u0E48`, "canvas.excerpt": `\u0E41\u0E0A\u0E23\u0E4C\u0E44\u0E2D\u0E40\u0E14\u0E35\u0E22\u0E2B\u0E25\u0E31\u0E01\u0E02\u0E2D\u0E07\u0E42\u0E1E\u0E2A\u0E15\u0E4C\u0E17\u0E35\u0E48\u0E19\u0E35\u0E48 \u0E2A\u0E23\u0E38\u0E1B\u0E2A\u0E31\u0E49\u0E19 \u0E46 \u0E19\u0E35\u0E49\u0E08\u0E30\u0E41\u0E2A\u0E14\u0E07\u0E43\u0E19\u0E01\u0E32\u0E23\u0E4C\u0E14\u0E1F\u0E35\u0E14\u0E41\u0E25\u0E30\u0E1C\u0E25\u0E01\u0E32\u0E23\u0E04\u0E49\u0E19\u0E2B\u0E32 \u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E1A\u0E2D\u0E01\u0E1C\u0E39\u0E49\u0E2D\u0E48\u0E32\u0E19\u0E27\u0E48\u0E32\u0E40\u0E2B\u0E15\u0E38\u0E43\u0E14\u0E42\u0E1E\u0E2A\u0E15\u0E4C\u0E19\u0E35\u0E49\u0E08\u0E36\u0E07\u0E19\u0E48\u0E32\u0E2D\u0E48\u0E32\u0E19` };
|
|
3935
|
+
});
|
|
3936
|
+
var Dl = h({ default: () => kl, title: () => Ol });
|
|
3937
|
+
var Ol;
|
|
3938
|
+
var kl;
|
|
3939
|
+
var Al = m(() => {
|
|
3940
|
+
Ol = `My App`, kl = { "canvas.category": `Kategorya`, "post-list.empty-state.description": `Kapag na-publish na ang mga post, lalabas ang mga ito dito.`, "canvas.tag-numbered": `Tag {number}`, "cover-media.play": `I-play ang video`, "post-comments.unavailable": `Hindi available ang comments \u2014 walang app instance.`, "post-counters.loading-likes": `Naglo-load ang likes`, "post-comments.loading": `Naglo-load ang comments\u2026`, "post-actions.like": `I-like ang post`, "canvas.content": `Dito lumalabas ang buong post. Isulat dito ang kuwento mo, magdagdag ng images, galleries at video mula sa Dashboard, at gumamit ng headings at quotes para madaling basahin.`, "related-posts.empty-state.title": `Wala pang related na post`, "post.time-to-read": `{count, plural, one {{count,number} min na pagbabasa} other {{count,number} min na pagbabasa}}`, "post-actions.link-copied": `Nakopya ang link`, "category-header.all-posts": `Lahat ng post`, "post-actions.copy-manually": `Kopyahin ang link sa ibaba para i-share ang post na ito.`, "post-actions.copy-link": `Kopyahin ang link`, "cover-media.placeholder-alt": `Cover image ng post`, "post-actions.link-label": `Link ng post`, "post-list.empty-state.title": `Wala pang post`, "post-actions.share-dialog": `I-share ang post`, "canvas.post-title": `Pamagat ng post`, "post-actions.unlike": `I-unlike ang post`, "post-comments.no-post": `Wala pang post na na-resolve para sa URL na ito.`, "post.like-count": `{count, plural, one {{formatted} like} other {{formatted} likes}}`, "canvas.category-numbered": `Kategorya {number}`, "post.comment-count": `{count, plural, one {{formatted} comment} other {{formatted} comments}}`, "post-actions.share": `I-share ang post`, "post.view-count": `{count, plural, one {{formatted} view} other {{formatted} views}}`, "post-actions.close": `Isara`, "canvas.category-description": `Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`, "canvas.author-photo-alt": `Photo ng author`, "canvas.author-name": `Pangalan ng author`, "post-comments.demo-notice": `Sample comments ang ipinapakita habang nag-e-edit. Makikita ng visitors ang totoong comments.`, title: Ol, "related-posts.empty-state.description": `Kapag mas marami pang post ang na-publish, lalabas ang mga ito dito.`, "canvas.excerpt": `Ilagay dito ang pangunahing ideya ng post mo. Lumalabas ang maikling summary na ito sa mga feed card at search results, at ipinapakita nito sa readers kung bakit sulit basahin ang post.` };
|
|
3941
|
+
});
|
|
3942
|
+
var jl = h({ default: () => Nl, title: () => Ml });
|
|
3943
|
+
var Ml;
|
|
3944
|
+
var Nl;
|
|
3945
|
+
var Pl = m(() => {
|
|
3946
|
+
Ml = `My App`, Nl = { "canvas.category": `Kategori`, "post-list.empty-state.description": `Yaz\u0131lar yay\u0131nland\u0131\u011F\u0131nda burada g\xF6r\xFCn\xFCr.`, "canvas.tag-numbered": `Etiket {number}`, "cover-media.play": `Videoyu oynat`, "post-comments.unavailable": `Yorumlar kullan\u0131lam\u0131yor. Uygulama \xF6rne\u011Fi yok.`, "post-counters.loading-likes": `Be\u011Feniler y\xFCkleniyor`, "post-comments.loading": `Yorumlar y\xFCkleniyor\u2026`, "post-actions.like": `Yaz\u0131y\u0131 Be\u011Fen`, "canvas.content": `Yaz\u0131n\u0131n tamam\u0131 burada g\xF6r\xFCn\xFCr. Hikayenizi buraya yaz\u0131n, kontrol panelinden g\xF6r\xFCnt\xFCler, galeriler ve video ekleyin, kolay okunmas\u0131 i\xE7in ba\u015Fl\u0131klar ve al\u0131nt\u0131lar kullan\u0131n.`, "related-posts.empty-state.title": `Hen\xFCz ilgili yaz\u0131 yok`, "post.time-to-read": `{count, plural, one {{count,number} dk okuma} other {{count,number} dk okuma}}`, "post-actions.link-copied": `Ba\u011Flant\u0131 kopyaland\u0131`, "category-header.all-posts": `T\xFCm Yaz\u0131lar`, "post-actions.copy-manually": `Bu yaz\u0131y\u0131 payla\u015Fmak i\xE7in a\u015Fa\u011F\u0131daki ba\u011Flant\u0131y\u0131 kopyalay\u0131n.`, "post-actions.copy-link": `Ba\u011Flant\u0131y\u0131 Kopyala`, "cover-media.placeholder-alt": `Yaz\u0131 kapak g\xF6r\xFCnt\xFCs\xFC`, "post-actions.link-label": `Yaz\u0131 ba\u011Flant\u0131s\u0131`, "post-list.empty-state.title": `Hen\xFCz yaz\u0131 yok`, "post-actions.share-dialog": `Yaz\u0131y\u0131 Payla\u015F`, "canvas.post-title": `Yaz\u0131 Ba\u015Fl\u0131\u011F\u0131`, "post-actions.unlike": `Yaz\u0131dan Be\u011Feniyi Kald\u0131r`, "post-comments.no-post": `Bu URL i\xE7in hen\xFCz yaz\u0131 \xE7\xF6z\xFCmlenmedi.`, "post.like-count": `{count, plural, one {{formatted} be\u011Feni} other {{formatted} be\u011Feni}}`, "canvas.category-numbered": `Kategori {number}`, "post.comment-count": `{count, plural, one {{formatted} yorum} other {{formatted} yorum}}`, "post-actions.share": `Yaz\u0131y\u0131 Payla\u015F`, "post.view-count": `{count, plural, one {{formatted} g\xF6r\xFCnt\xFClenme} other {{formatted} g\xF6r\xFCnt\xFClenme}}`, "post-actions.close": `Kapat`, "canvas.category-description": `Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`, "canvas.author-photo-alt": `Yazar foto\u011Fraf\u0131`, "canvas.author-name": `Yazar Ad\u0131`, "post-comments.demo-notice": `D\xFCzenleme s\u0131ras\u0131nda \xF6rnek yorumlar g\xF6sterilir. Ziyaret\xE7iler ger\xE7ek yorumlar\u0131 g\xF6r\xFCr.`, title: Ml, "related-posts.empty-state.description": `Daha fazla yaz\u0131 yay\u0131nland\u0131\u011F\u0131nda burada g\xF6r\xFCn\xFCr.`, "canvas.excerpt": `Yaz\u0131n\u0131z\u0131n ana fikrini burada payla\u015F\u0131n. Bu k\u0131sa \xF6zet, ak\u0131\u015F kartlar\u0131nda ve arama sonu\xE7lar\u0131nda g\xF6sterilir ve okuyuculara yaz\u0131n\u0131n neden okumaya de\u011Fer oldu\u011Funu anlat\u0131r.` };
|
|
3947
|
+
});
|
|
3948
|
+
var Fl = h({ default: () => Ll, title: () => Il });
|
|
3949
|
+
var Il;
|
|
3950
|
+
var Ll;
|
|
3951
|
+
var Rl = m(() => {
|
|
3952
|
+
Il = `My App`, Ll = { "canvas.category": `\u0420\u0443\u0431\u0440\u0438\u043A\u0430`, "post-list.empty-state.description": `\u041A\u043E\u043B\u0438 \u043F\u043E\u0441\u0442\u0438 \u0431\u0443\u0434\u0435 \u043E\u043F\u0443\u0431\u043B\u0456\u043A\u043E\u0432\u0430\u043D\u043E, \u0432\u043E\u043D\u0438 \u0437\u2019\u044F\u0432\u043B\u044F\u0442\u044C\u0441\u044F \u0442\u0443\u0442.`, "canvas.tag-numbered": `\u0422\u0435\u0433 {number}`, "cover-media.play": `\u0412\u0456\u0434\u0442\u0432\u043E\u0440\u0438\u0442\u0438 \u0432\u0456\u0434\u0435\u043E`, "post-comments.unavailable": `\u041A\u043E\u043C\u0435\u043D\u0442\u0430\u0440\u0456 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0456: \u043D\u0435\u043C\u0430\u0454 \u0435\u043A\u0437\u0435\u043C\u043F\u043B\u044F\u0440\u0430 \u0434\u043E\u0434\u0430\u0442\u043A\u0430.`, "post-counters.loading-likes": `\u0417\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0435\u043D\u043D\u044F \u0443\u043F\u043E\u0434\u043E\u0431\u0430\u043D\u044C`, "post-comments.loading": `\u0417\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0435\u043D\u043D\u044F \u043A\u043E\u043C\u0435\u043D\u0442\u0430\u0440\u0456\u0432`, "post-actions.like": `\u0423\u043F\u043E\u0434\u043E\u0431\u0430\u0442\u0438 \u043F\u043E\u0441\u0442`, "canvas.content": `\u0422\u0443\u0442 \u043F\u043E\u043A\u0430\u0437\u0443\u0454\u0442\u044C\u0441\u044F \u043F\u043E\u0432\u043D\u0438\u0439 \u0442\u0435\u043A\u0441\u0442 \u043F\u043E\u0441\u0442\u0443. \u041D\u0430\u043F\u0438\u0448\u0456\u0442\u044C \u0441\u0432\u043E\u044E \u0440\u043E\u0437\u043F\u043E\u0432\u0456\u0434\u044C, \u0434\u043E\u0434\u0430\u0439\u0442\u0435 \u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u043D\u044F, \u0433\u0430\u043B\u0435\u0440\u0435\u0457 \u0442\u0430 \u0432\u0456\u0434\u0435\u043E \u0437 \u041A\u0430\u0431\u0456\u043D\u0435\u0442\u0443, \u0430 \u0442\u0430\u043A\u043E\u0436 \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u043E\u0432\u0443\u0439\u0442\u0435 \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0438 \u0439 \u0446\u0438\u0442\u0430\u0442\u0438, \u0449\u043E\u0431 \u0442\u0435\u043A\u0441\u0442 \u0431\u0443\u043B\u043E \u043B\u0435\u0433\u043A\u043E \u0447\u0438\u0442\u0430\u0442\u0438.`, "related-posts.empty-state.title": `\u0421\u0445\u043E\u0436\u0438\u0445 \u043F\u043E\u0441\u0442\u0456\u0432 \u0449\u0435 \u043D\u0435\u043C\u0430\u0454`, "post.time-to-read": `{count, plural, one {{count,number} \u0445\u0432 \u0447\u0438\u0442\u0430\u043D\u043D\u044F} few {{count,number} \u0445\u0432 \u0447\u0438\u0442\u0430\u043D\u043D\u044F} many {{count,number} \u0445\u0432 \u0447\u0438\u0442\u0430\u043D\u043D\u044F} other {{count,number} \u0445\u0432 \u0447\u0438\u0442\u0430\u043D\u043D\u044F}}`, "post-actions.link-copied": `\u041F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F \u0441\u043A\u043E\u043F\u0456\u0439\u043E\u0432\u0430\u043D\u043E`, "category-header.all-posts": `\u0423\u0441\u0456 \u043F\u043E\u0441\u0442\u0438`, "post-actions.copy-manually": `\u0421\u043A\u043E\u043F\u0456\u044E\u0439\u0442\u0435 \u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F \u043D\u0438\u0436\u0447\u0435, \u0449\u043E\u0431 \u043F\u043E\u0434\u0456\u043B\u0438\u0442\u0438\u0441\u044F \u0446\u0438\u043C \u043F\u043E\u0441\u0442\u043E\u043C.`, "post-actions.copy-link": `\u041A\u043E\u043F\u0456\u044E\u0432\u0430\u0442\u0438 \u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F`, "cover-media.placeholder-alt": `\u0417\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u043D\u044F \u043E\u0431\u043A\u043B\u0430\u0434\u0438\u043D\u043A\u0438 \u043F\u043E\u0441\u0442\u0443`, "post-actions.link-label": `\u041F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F \u043D\u0430 \u043F\u043E\u0441\u0442`, "post-list.empty-state.title": `\u041F\u043E\u0441\u0442\u0456\u0432 \u0449\u0435 \u043D\u0435\u043C\u0430\u0454`, "post-actions.share-dialog": `\u041F\u043E\u0434\u0456\u043B\u0438\u0442\u0438\u0441\u044F \u043F\u043E\u0441\u0442\u043E\u043C`, "canvas.post-title": `\u041D\u0430\u0437\u0432\u0430 \u043F\u043E\u0441\u0442\u0443`, "post-actions.unlike": `\u0421\u043A\u0430\u0441\u0443\u0432\u0430\u0442\u0438 \u0432\u043F\u043E\u0434\u043E\u0431\u0430\u043D\u043D\u044F \u043F\u043E\u0441\u0442\u0443`, "post-comments.no-post": `\u0414\u043B\u044F \u0446\u0456\u0454\u0457 \u0432\u0435\u0431\u0430\u0434\u0440\u0435\u0441\u0438 \u0449\u0435 \u043D\u0435 \u0437\u043D\u0430\u0439\u0434\u0435\u043D\u043E \u043F\u043E\u0441\u0442.`, "post.like-count": `{count, plural, one {{formatted} \u0443\u043F\u043E\u0434\u043E\u0431\u0430\u043D\u043D\u044F} few {{formatted} \u0443\u043F\u043E\u0434\u043E\u0431\u0430\u043D\u043D\u044F} many {{formatted} \u0443\u043F\u043E\u0434\u043E\u0431\u0430\u043D\u044C} other {{formatted} \u0443\u043F\u043E\u0434\u043E\u0431\u0430\u043D\u043D\u044F}}`, "canvas.category-numbered": `\u0420\u0443\u0431\u0440\u0438\u043A\u0430 {number}`, "post.comment-count": `{count, plural, one {{formatted} \u043A\u043E\u043C\u0435\u043D\u0442\u0430\u0440} few {{formatted} \u043A\u043E\u043C\u0435\u043D\u0442\u0430\u0440\u0456} many {{formatted} \u043A\u043E\u043C\u0435\u043D\u0442\u0430\u0440\u0456\u0432} other {{formatted} \u043A\u043E\u043C\u0435\u043D\u0442\u0430\u0440\u044F}}`, "post-actions.share": `\u041F\u043E\u0434\u0456\u043B\u0438\u0442\u0438\u0441\u044F \u043F\u043E\u0441\u0442\u043E\u043C`, "post.view-count": `{count, plural, one {{formatted} \u043F\u0435\u0440\u0435\u0433\u043B\u044F\u0434} few {{formatted} \u043F\u0435\u0440\u0435\u0433\u043B\u044F\u0434\u0438} many {{formatted} \u043F\u0435\u0440\u0435\u0433\u043B\u044F\u0434\u0456\u0432} other {{formatted} \u043F\u0435\u0440\u0435\u0433\u043B\u044F\u0434\u0443}}`, "post-actions.close": `\u0417\u0430\u043A\u0440\u0438\u0442\u0438`, "canvas.category-description": `Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`, "canvas.author-photo-alt": `\u0424\u043E\u0442\u043E \u0430\u0432\u0442\u043E\u0440\u0430`, "canvas.author-name": `\u0406\u043C\u2019\u044F \u0430\u0432\u0442\u043E\u0440\u0430`, "post-comments.demo-notice": `\u041F\u0456\u0434 \u0447\u0430\u0441 \u0440\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u043D\u043D\u044F \u043F\u043E\u043A\u0430\u0437\u0443\u044E\u0442\u044C\u0441\u044F \u0437\u0440\u0430\u0437\u043A\u0438 \u043A\u043E\u043C\u0435\u043D\u0442\u0430\u0440\u0456\u0432. \u0412\u0456\u0434\u0432\u0456\u0434\u0443\u0432\u0430\u0447\u0456 \u0431\u0430\u0447\u0438\u0442\u0438\u043C\u0443\u0442\u044C \u0441\u043F\u0440\u0430\u0432\u0436\u043D\u0456 \u043A\u043E\u043C\u0435\u043D\u0442\u0430\u0440\u0456.`, title: Il, "related-posts.empty-state.description": `\u041A\u043E\u043B\u0438 \u0431\u0443\u0434\u0435 \u043E\u043F\u0443\u0431\u043B\u0456\u043A\u043E\u0432\u0430\u043D\u043E \u0431\u0456\u043B\u044C\u0448\u0435 \u043F\u043E\u0441\u0442\u0456\u0432, \u0432\u043E\u043D\u0438 \u0437\u2019\u044F\u0432\u043B\u044F\u0442\u044C\u0441\u044F \u0442\u0443\u0442.`, "canvas.excerpt": `\u041F\u043E\u0434\u0456\u043B\u0456\u0442\u044C\u0441\u044F \u0442\u0443\u0442 \u0433\u043E\u043B\u043E\u0432\u043D\u043E\u044E \u0456\u0434\u0435\u0454\u044E \u043F\u043E\u0441\u0442\u0443. \u0426\u0435\u0439 \u043A\u043E\u0440\u043E\u0442\u043A\u0438\u0439 \u043E\u043F\u0438\u0441 \u043F\u043E\u043A\u0430\u0437\u0443\u0454\u0442\u044C\u0441\u044F \u043D\u0430 \u043A\u0430\u0440\u0442\u043A\u0430\u0445 \u0441\u0442\u0440\u0456\u0447\u043A\u0438 \u0439 \u0443 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430\u0445 \u043F\u043E\u0448\u0443\u043A\u0443 \u0442\u0430 \u043F\u043E\u044F\u0441\u043D\u044E\u0454 \u0447\u0438\u0442\u0430\u0447\u0430\u043C, \u0447\u043E\u043C\u0443 \u043F\u043E\u0441\u0442 \u0432\u0430\u0440\u0442\u043E \u043F\u0440\u043E\u0447\u0438\u0442\u0430\u0442\u0438.` };
|
|
3953
|
+
});
|
|
3954
|
+
var zl = h({ default: () => Vl, title: () => Bl });
|
|
3955
|
+
var Bl;
|
|
3956
|
+
var Vl;
|
|
3957
|
+
var Hl = m(() => {
|
|
3958
|
+
Bl = `My App`, Vl = { "canvas.category": `Danh m\u1EE5c`, "post-list.empty-state.description": `Sau khi b\xE0i \u0111\u0103ng \u0111\u01B0\u1EE3c xu\u1EA5t b\u1EA3n, ch\xFAng s\u1EBD xu\u1EA5t hi\u1EC7n \u1EDF \u0111\xE2y.`, "canvas.tag-numbered": `Th\u1EBB {number}`, "cover-media.play": `Ph\xE1t video`, "post-comments.unavailable": `Kh\xF4ng th\u1EC3 s\u1EED d\u1EE5ng b\xECnh lu\u1EADn v\xEC kh\xF4ng c\xF3 phi\xEAn b\u1EA3n \u1EE9ng d\u1EE5ng.`, "post-counters.loading-likes": `\u0110ang t\u1EA3i l\u01B0\u1EE3t th\xEDch`, "post-comments.loading": `\u0110ang t\u1EA3i b\xECnh lu\u1EADn\u2026`, "post-actions.like": `Th\xEDch b\xE0i \u0111\u0103ng`, "canvas.content": `\u0110\xE2y l\xE0 n\u01A1i hi\u1EC3n th\u1ECB to\xE0n b\u1ED9 b\xE0i \u0111\u0103ng. Vi\u1EBFt c\xE2u chuy\u1EC7n t\u1EA1i \u0111\xE2y, th\xEAm h\xECnh \u1EA3nh, th\u01B0 vi\u1EC7n v\xE0 video t\u1EEB trang t\u1ED5ng quan, \u0111\u1ED3ng th\u1EDDi d\xF9ng ti\xEAu \u0111\u1EC1 v\xE0 tr\xEDch d\u1EABn \u0111\u1EC3 n\u1ED9i dung d\u1EC5 \u0111\u1ECDc h\u01A1n.`, "related-posts.empty-state.title": `Ch\u01B0a c\xF3 b\xE0i \u0111\u0103ng li\xEAn quan`, "post.time-to-read": `{count, plural, other {{count,number} ph\xFAt \u0111\u1ECDc}}`, "post-actions.link-copied": `\u0110\xE3 sao ch\xE9p li\xEAn k\u1EBFt`, "category-header.all-posts": `T\u1EA5t c\u1EA3 b\xE0i \u0111\u0103ng`, "post-actions.copy-manually": `Sao ch\xE9p li\xEAn k\u1EBFt b\xEAn d\u01B0\u1EDBi \u0111\u1EC3 chia s\u1EBB b\xE0i \u0111\u0103ng n\xE0y.`, "post-actions.copy-link": `Sao ch\xE9p li\xEAn k\u1EBFt`, "cover-media.placeholder-alt": `H\xECnh \u1EA3nh b\xECa b\xE0i \u0111\u0103ng`, "post-actions.link-label": `Li\xEAn k\u1EBFt b\xE0i \u0111\u0103ng`, "post-list.empty-state.title": `Ch\u01B0a c\xF3 b\xE0i \u0111\u0103ng`, "post-actions.share-dialog": `Chia s\u1EBB b\xE0i \u0111\u0103ng`, "canvas.post-title": `Ti\xEAu \u0111\u1EC1 b\xE0i \u0111\u0103ng`, "post-actions.unlike": `B\u1ECF th\xEDch b\xE0i \u0111\u0103ng`, "post-comments.no-post": `Ch\u01B0a c\xF3 b\xE0i \u0111\u0103ng n\xE0o \u0111\u01B0\u1EE3c ph\xE2n gi\u1EA3i cho URL n\xE0y.`, "post.like-count": `{count, plural, other {{formatted} l\u01B0\u1EE3t th\xEDch}}`, "canvas.category-numbered": `Danh m\u1EE5c {number}`, "post.comment-count": `{count, plural, other {{formatted} b\xECnh lu\u1EADn}}`, "post-actions.share": `Chia s\u1EBB b\xE0i \u0111\u0103ng`, "post.view-count": `{count, plural, other {{formatted} l\u01B0\u1EE3t xem}}`, "post-actions.close": `\u0110\xF3ng`, "canvas.category-description": `Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`, "canvas.author-photo-alt": `\u1EA2nh t\xE1c gi\u1EA3`, "canvas.author-name": `T\xEAn t\xE1c gi\u1EA3`, "post-comments.demo-notice": `B\xECnh lu\u1EADn m\u1EABu \u0111\u01B0\u1EE3c hi\u1EC3n th\u1ECB trong khi ch\u1EC9nh s\u1EEDa. Kh\xE1ch truy c\u1EADp s\u1EBD th\u1EA5y b\xECnh lu\u1EADn th\u1EADt.`, title: Bl, "related-posts.empty-state.description": `Sau khi c\xF3 th\xEAm b\xE0i \u0111\u0103ng \u0111\u01B0\u1EE3c xu\u1EA5t b\u1EA3n, ch\xFAng s\u1EBD xu\u1EA5t hi\u1EC7n \u1EDF \u0111\xE2y.`, "canvas.excerpt": `Chia s\u1EBB \xFD ch\xEDnh c\u1EE7a b\xE0i \u0111\u0103ng t\u1EA1i \u0111\xE2y. Ph\u1EA7n t\xF3m t\u1EAFt ng\u1EAFn n\xE0y hi\u1EC3n th\u1ECB tr\xEAn th\u1EBB trong b\u1EA3ng tin v\xE0 trong k\u1EBFt qu\u1EA3 t\xECm ki\u1EBFm, \u0111\u1ED3ng th\u1EDDi cho ng\u01B0\u1EDDi \u0111\u1ECDc bi\u1EBFt l\xFD do b\xE0i \u0111\u0103ng \u0111\xE1ng \u0111\u1ECDc.` };
|
|
3959
|
+
});
|
|
3960
|
+
var Ul = h({ default: () => Gl, title: () => Wl });
|
|
3961
|
+
var Wl;
|
|
3962
|
+
var Gl;
|
|
3963
|
+
var Kl = m(() => {
|
|
3964
|
+
Wl = `My App`, Gl = { "canvas.category": `\u985E\u5225`, "post-list.empty-state.description": `\u6587\u7AE0\u767C\u4F48\u5F8C\uFF0C\u6703\u986F\u793A\u5728\u9019\u88E1\u3002`, "canvas.tag-numbered": `\u6A19\u7C64 {number}`, "cover-media.play": `\u64AD\u653E\u5F71\u7247`, "post-comments.unavailable": `\u7559\u8A00\u4E0D\u53EF\u7528\u3002\u6C92\u6709\u61C9\u7528\u7A0B\u5F0F\u57F7\u884C\u500B\u9AD4\u3002`, "post-counters.loading-likes": `\u6B63\u5728\u8F09\u5165\u8B9A\u597D`, "post-comments.loading": `\u6B63\u5728\u8F09\u5165\u7559\u8A00\u2026\u2026`, "post-actions.like": `\u8B9A\u597D\u6587\u7AE0`, "canvas.content": `\u5B8C\u6574\u6587\u7AE0\u6703\u986F\u793A\u5728\u9019\u88E1\u3002\u8ACB\u5728\u9019\u88E1\u64B0\u5BEB\u5167\u5BB9\uFF0C\u4E26\u5F9E\u7BA1\u7406\u4ECB\u9762\u65B0\u589E\u5716\u7247\u3001\u5716\u5EAB\u548C\u5F71\u7247\u3002\u4F7F\u7528\u6A19\u984C\u548C\u5F15\u8A00\uFF0C\u8B93\u5167\u5BB9\u66F4\u5BB9\u6613\u95B1\u8B80\u3002`, "related-posts.empty-state.title": `\u5C1A\u7121\u76F8\u95DC\u6587\u7AE0`, "post.time-to-read": `{count, plural, other {{count,number} \u5206\u9418\u95B1\u8B80}}`, "post-actions.link-copied": `\u5DF2\u8907\u88FD\u9023\u7D50`, "category-header.all-posts": `\u6240\u6709\u6587\u7AE0`, "post-actions.copy-manually": `\u8ACB\u8907\u88FD\u4E0B\u65B9\u9023\u7D50\u4F86\u5206\u4EAB\u9019\u7BC7\u6587\u7AE0\u3002`, "post-actions.copy-link": `\u8907\u88FD\u9023\u7D50`, "cover-media.placeholder-alt": `\u6587\u7AE0\u5C01\u9762\u5716\u7247`, "post-actions.link-label": `\u6587\u7AE0\u9023\u7D50`, "post-list.empty-state.title": `\u5C1A\u7121\u6587\u7AE0`, "post-actions.share-dialog": `\u5206\u4EAB\u6587\u7AE0`, "canvas.post-title": `\u6587\u7AE0\u6A19\u984C`, "post-actions.unlike": `\u53D6\u6D88\u8B9A\u597D\u6587\u7AE0`, "post-comments.no-post": `\u9019\u500B URL \u5C1A\u672A\u89E3\u6790\u51FA\u6587\u7AE0\u3002`, "post.like-count": `{count, plural, other {{formatted} \u500B\u8B9A\u597D}}`, "canvas.category-numbered": `\u985E\u5225 {number}`, "post.comment-count": `{count, plural, other {{formatted} \u5247\u7559\u8A00}}`, "post-actions.share": `\u5206\u4EAB\u6587\u7AE0`, "post.view-count": `{count, plural, other {{formatted} \u6B21\u67E5\u770B}}`, "post-actions.close": `\u95DC\u9589`, "canvas.category-description": `Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`, "canvas.author-photo-alt": `\u4F5C\u8005\u76F8\u7247`, "canvas.author-name": `\u4F5C\u8005\u540D\u7A31`, "post-comments.demo-notice": `\u7DE8\u8F2F\u6642\u6703\u986F\u793A\u7BC4\u4F8B\u7559\u8A00\u3002\u8A2A\u5BA2\u6703\u770B\u5230\u5BE6\u969B\u7559\u8A00\u3002`, title: Wl, "related-posts.empty-state.description": `\u767C\u4F48\u66F4\u591A\u6587\u7AE0\u5F8C\uFF0C\u6703\u986F\u793A\u5728\u9019\u88E1\u3002`, "canvas.excerpt": `\u5728\u9019\u88E1\u5206\u4EAB\u6587\u7AE0\u7684\u6838\u5FC3\u60F3\u6CD5\u3002\u9019\u6BB5\u7C21\u77ED\u6458\u8981\u6703\u986F\u793A\u5728\u52D5\u614B\u6D88\u606F\u5361\u7247\u548C\u641C\u5C0B\u7D50\u679C\u4E2D\uFF0C\u4E26\u544A\u8A34\u8B80\u8005\u9019\u7BC7\u6587\u7AE0\u503C\u5F97\u95B1\u8B80\u7684\u539F\u56E0\u3002` };
|
|
3965
|
+
});
|
|
3966
|
+
Yr({ isDev: false, loadMessages: (e6) => ns(Object.assign({ "../assets/locale/messages_ar.json": () => M(() => Promise.resolve().then(() => (ss(), is)), void 0, import_meta.url), "../assets/locale/messages_bg.json": () => M(() => Promise.resolve().then(() => (ds(), cs)), void 0, import_meta.url), "../assets/locale/messages_ca.json": () => M(() => Promise.resolve().then(() => (hs(), fs)), void 0, import_meta.url), "../assets/locale/messages_cs.json": () => M(() => Promise.resolve().then(() => (ys(), gs)), void 0, import_meta.url), "../assets/locale/messages_da.json": () => M(() => Promise.resolve().then(() => (Cs(), bs)), void 0, import_meta.url), "../assets/locale/messages_de.json": () => M(() => Promise.resolve().then(() => (Ds(), ws)), void 0, import_meta.url), "../assets/locale/messages_el.json": () => M(() => Promise.resolve().then(() => (js(), Os)), void 0, import_meta.url), "../assets/locale/messages_en.dev.json": () => M(() => Promise.resolve().then(() => (Ps(), Ms)), void 0, import_meta.url), "../assets/locale/messages_en.json": () => M(() => Promise.resolve().then(() => (Rs(), Fs)), void 0, import_meta.url), "../assets/locale/messages_es.json": () => M(() => Promise.resolve().then(() => (Hs(), zs)), void 0, import_meta.url), "../assets/locale/messages_fi.json": () => M(() => Promise.resolve().then(() => (Ks(), Us)), void 0, import_meta.url), "../assets/locale/messages_fr.json": () => M(() => Promise.resolve().then(() => (Xs(), qs)), void 0, import_meta.url), "../assets/locale/messages_he.json": () => M(() => Promise.resolve().then(() => (ec(), Zs)), void 0, import_meta.url), "../assets/locale/messages_hi.json": () => M(() => Promise.resolve().then(() => (ic(), tc)), void 0, import_meta.url), "../assets/locale/messages_hr.json": () => M(() => Promise.resolve().then(() => (cc(), ac)), void 0, import_meta.url), "../assets/locale/messages_hu.json": () => M(() => Promise.resolve().then(() => (fc(), lc)), void 0, import_meta.url), "../assets/locale/messages_id.json": () => M(() => Promise.resolve().then(() => (gc(), pc)), void 0, import_meta.url), "../assets/locale/messages_it.json": () => M(() => Promise.resolve().then(() => (bc(), _c)), void 0, import_meta.url), "../assets/locale/messages_ja.json": () => M(() => Promise.resolve().then(() => (wc(), xc)), void 0, import_meta.url), "../assets/locale/messages_ko.json": () => M(() => Promise.resolve().then(() => (Oc(), Tc)), void 0, import_meta.url), "../assets/locale/messages_lt.json": () => M(() => Promise.resolve().then(() => (Mc(), kc)), void 0, import_meta.url), "../assets/locale/messages_lv.json": () => M(() => Promise.resolve().then(() => (Ic(), Nc)), void 0, import_meta.url), "../assets/locale/messages_ms.json": () => M(() => Promise.resolve().then(() => (Bc(), Lc)), void 0, import_meta.url), "../assets/locale/messages_nl.json": () => M(() => Promise.resolve().then(() => (Wc(), Vc)), void 0, import_meta.url), "../assets/locale/messages_no.json": () => M(() => Promise.resolve().then(() => (Jc(), Gc)), void 0, import_meta.url), "../assets/locale/messages_pl.json": () => M(() => Promise.resolve().then(() => (Qc(), Yc)), void 0, import_meta.url), "../assets/locale/messages_pt.json": () => M(() => Promise.resolve().then(() => (nl(), $c)), void 0, import_meta.url), "../assets/locale/messages_ro.json": () => M(() => Promise.resolve().then(() => (ol(), rl)), void 0, import_meta.url), "../assets/locale/messages_ru.json": () => M(() => Promise.resolve().then(() => (ul(), sl)), void 0, import_meta.url), "../assets/locale/messages_sk.json": () => M(() => Promise.resolve().then(() => (ml(), dl)), void 0, import_meta.url), "../assets/locale/messages_sl.json": () => M(() => Promise.resolve().then(() => (vl(), hl)), void 0, import_meta.url), "../assets/locale/messages_sv.json": () => M(() => Promise.resolve().then(() => (Sl(), yl)), void 0, import_meta.url), "../assets/locale/messages_th.json": () => M(() => Promise.resolve().then(() => (El(), Cl)), void 0, import_meta.url), "../assets/locale/messages_tl.json": () => M(() => Promise.resolve().then(() => (Al(), Dl)), void 0, import_meta.url), "../assets/locale/messages_tr.json": () => M(() => Promise.resolve().then(() => (Pl(), jl)), void 0, import_meta.url), "../assets/locale/messages_uk.json": () => M(() => Promise.resolve().then(() => (Rl(), Fl)), void 0, import_meta.url), "../assets/locale/messages_vi.json": () => M(() => Promise.resolve().then(() => (Hl(), zl)), void 0, import_meta.url), "../assets/locale/messages_zh.json": () => M(() => Promise.resolve().then(() => (Kl(), Ul)), void 0, import_meta.url) }), `../assets/locale/messages_${rs(e6)}.json`, 4), loadDevMessages: (e6) => ns(Object.assign({ "../assets/locale/messages_en.dev.json": () => M(() => Promise.resolve().then(() => (Ps(), Ms)), void 0, import_meta.url) }), `../assets/locale/messages_${rs(e6)}.dev.json`, 4) });
|
|
3967
|
+
function ql(e6) {
|
|
3968
|
+
let t2 = Jo(), n2 = $o()?.locale ?? t2 ?? `en`;
|
|
3969
|
+
return { i18n: ts(n2, e6), locale: n2 };
|
|
3970
|
+
}
|
|
3971
|
+
ss(), ds(), hs(), ys(), Cs(), Ds(), js(), Ps(), Rs(), Hs(), Ks(), Xs(), ec(), ic(), cc(), fc(), gc(), bc(), wc(), Oc(), Mc(), Ic(), Bc(), Wc(), Jc(), Qc(), nl(), ol(), ul(), ml(), vl(), Sl(), El(), Al(), Pl(), Rl(), Hl(), Kl();
|
|
3972
|
+
var Jl = Object.assign({ "../assets/locale/messages_ar.json": is, "../assets/locale/messages_bg.json": cs, "../assets/locale/messages_ca.json": fs, "../assets/locale/messages_cs.json": gs, "../assets/locale/messages_da.json": bs, "../assets/locale/messages_de.json": ws, "../assets/locale/messages_el.json": Os, "../assets/locale/messages_en.dev.json": Ms, "../assets/locale/messages_en.json": Fs, "../assets/locale/messages_es.json": zs, "../assets/locale/messages_fi.json": Us, "../assets/locale/messages_fr.json": qs, "../assets/locale/messages_he.json": Zs, "../assets/locale/messages_hi.json": tc, "../assets/locale/messages_hr.json": ac, "../assets/locale/messages_hu.json": lc, "../assets/locale/messages_id.json": pc, "../assets/locale/messages_it.json": _c, "../assets/locale/messages_ja.json": xc, "../assets/locale/messages_ko.json": Tc, "../assets/locale/messages_lt.json": kc, "../assets/locale/messages_lv.json": Nc, "../assets/locale/messages_ms.json": Lc, "../assets/locale/messages_nl.json": Vc, "../assets/locale/messages_no.json": Gc, "../assets/locale/messages_pl.json": Yc, "../assets/locale/messages_pt.json": $c, "../assets/locale/messages_ro.json": rl, "../assets/locale/messages_ru.json": sl, "../assets/locale/messages_sk.json": dl, "../assets/locale/messages_sl.json": hl, "../assets/locale/messages_sv.json": yl, "../assets/locale/messages_th.json": Cl, "../assets/locale/messages_tl.json": Dl, "../assets/locale/messages_tr.json": jl, "../assets/locale/messages_uk.json": Fl, "../assets/locale/messages_vi.json": zl, "../assets/locale/messages_zh.json": Ul });
|
|
3973
|
+
var Yl = (e6, t2) => {
|
|
3974
|
+
let n2 = Jl[`../assets/locale/messages_${rs(e6)}${t2}.json`];
|
|
3720
3975
|
return n2 ? Promise.resolve(n2) : Promise.reject(Error(`no messages file`));
|
|
3721
3976
|
};
|
|
3722
|
-
var
|
|
3723
|
-
var
|
|
3977
|
+
var Xl = Yr({ isDev: false, loadMessages: (e6) => Yl(e6, ``), loadDevMessages: (e6) => Yl(e6, `.dev`) });
|
|
3978
|
+
var Zl = (e6, t2, n2) => typeof e6 != `number` || !Number.isFinite(e6) || e6 < 0 ? `` : new Intl.NumberFormat(n2, t2 === `compact` ? { notation: `compact`, maximumFractionDigits: 1 } : void 0).format(e6);
|
|
3724
3979
|
var $ = { timeToRead: `post.time-to-read`, viewCount: `post.view-count`, commentCount: `post.comment-count`, likeCount: `post.like-count`, noPostsTitle: `post-list.empty-state.title`, noPostsDescription: `post-list.empty-state.description`, noRelatedPostsTitle: `related-posts.empty-state.title`, noRelatedPostsDescription: `related-posts.empty-state.description`, canvasPostTitle: `canvas.post-title`, canvasAuthorName: `canvas.author-name`, canvasExcerpt: `canvas.excerpt`, canvasContent: `canvas.content`, canvasCategory: `canvas.category`, canvasCategoryNumbered: `canvas.category-numbered`, canvasTagNumbered: `canvas.tag-numbered`, canvasCoverAlt: `cover-media.placeholder-alt`, canvasAuthorPhotoAlt: `canvas.author-photo-alt` };
|
|
3725
|
-
var
|
|
3726
|
-
let n2 = (n3) => (r2) => e6(n3, { count: r2, formatted:
|
|
3980
|
+
var Ql = (e6, t2) => {
|
|
3981
|
+
let n2 = (n3) => (r2) => e6(n3, { count: r2, formatted: Zl(r2, `full`, t2) });
|
|
3727
3982
|
return { timeToRead: (t3) => e6($.timeToRead, { count: t3 }), viewCount: n2($.viewCount), commentCount: n2($.commentCount), likeCount: n2($.likeCount), noPostsEmptyState: () => ({ title: e6($.noPostsTitle), description: e6($.noPostsDescription) }), noRelatedPostsEmptyState: () => ({ title: e6($.noRelatedPostsTitle), description: e6($.noRelatedPostsDescription) }), canvas: { postTitle: () => e6($.canvasPostTitle), authorName: () => e6($.canvasAuthorName), excerpt: () => e6($.canvasExcerpt), content: () => e6($.canvasContent), category: () => e6($.canvasCategory), categoryNumbered: (t3) => e6($.canvasCategoryNumbered, { number: t3 }), tagNumbered: (t3) => e6($.canvasTagNumbered, { number: t3 }), coverAlt: () => e6($.canvasCoverAlt), authorPhotoAlt: () => e6($.canvasAuthorPhotoAlt) } };
|
|
3728
3983
|
};
|
|
3729
|
-
var
|
|
3730
|
-
var
|
|
3731
|
-
var
|
|
3732
|
-
|
|
3733
|
-
function
|
|
3734
|
-
return (0, import_react.useContext)(
|
|
3984
|
+
var $l = (e6) => e6.replace(/&/g, `&`).replace(/</g, `<`).replace(/>/g, `>`).replace(/"/g, `"`).replace(/'/g, `'`);
|
|
3985
|
+
var eu = (e6) => ({ text: e6, html: `<p>${$l(e6)}</p>`, linkList: [] });
|
|
3986
|
+
var tu = (0, import_react.createContext)(null);
|
|
3987
|
+
tu.displayName = `PostItemContext`;
|
|
3988
|
+
function nu() {
|
|
3989
|
+
return (0, import_react.useContext)(tu);
|
|
3735
3990
|
}
|
|
3736
|
-
function
|
|
3737
|
-
let r2 =
|
|
3991
|
+
function ru({ postData: t2, children: n2 }) {
|
|
3992
|
+
let r2 = Kr(), { t: i2, ready: a2 } = Ko(void 0, { useSuspense: false }), o2 = (0, import_react.useMemo)(() => Ql(i2, r2), [i2, r2]), { isLiked: c2, likeCount: l2, isLikeCountLoaded: u2, toggleLike: d2, liveLikes: p2 } = Ur(t2.recentPostItem.slug ? t2._id : void 0, t2.initialLikeCount ?? 0, false, void 0, false), m2 = (0, import_react.useMemo)(() => ({ ...t2, isLiked: c2, isLikeCountLoaded: u2, toggleLike: d2, liveLikes: p2, likeCountValue: l2, viewCountValue: t2.initialViewCount, commentCountValue: t2.initialCommentCount, likeCount: eu(a2 ? o2.likeCount(l2) : ``) }), [t2, c2, l2, u2, d2, p2, o2, a2]), h2 = (0, import_react.useMemo)(() => ({ currentPostId: t2.recentPostItem.slug ? t2._id : void 0, categoryIds: void 0, relatedPostIds: void 0 }), [t2]), g2 = (0, import_react.useMemo)(() => {
|
|
3738
3993
|
let e6 = m2.itemCategoryLabel.text;
|
|
3739
3994
|
return { title: m2.itemTitle, excerpt: m2.itemExcerpt, coverImage: m2.itemCoverImage, coverMedia: m2.itemCoverMedia, richContent: { nodes: [] }, authorName: m2.authorName, authorImage: m2.authorImage, timeToRead: m2.timeToRead, publishedDate: m2.itemPublishedDate, viewCount: m2.viewCount, commentCount: m2.commentCount, likeCount: m2.likeCount, postCategories: e6 ? [{ _id: e6, label: e6, itemCategoryLabel: m2.itemCategoryLabel, itemCategoryLink: void 0, categoryItem: { label: e6, slug: `` } }] : [], itemCategoryLabel: m2.itemCategoryLabel, postTags: [], hasCoverImage: m2.itemCoverMedia !== void 0 && m2.itemCoverImage !== void 0, hasExcerpt: !!m2.itemExcerpt.text.trim(), hasTags: false, publishedDateValue: m2.publishedDateValue, minutesToReadValue: m2.minutesToReadValue, viewCountValue: m2.viewCountValue, commentCountValue: m2.commentCountValue, isLiked: m2.isLiked, likeCountValue: m2.likeCountValue, isLikeCountLoaded: m2.isLikeCountLoaded, toggleLike: m2.toggleLike, liveLikes: m2.liveLikes, clockValue: m2.clockValue, postUrl: m2.itemLink?.href, itemLink: m2.itemLink, commentingEnabled: m2.commentingEnabled, relatedPostsSource: h2, isLoadingPost: false, hasError: false, isEmpty: false };
|
|
3740
3995
|
}, [m2, h2]);
|
|
3741
|
-
return (0, import_jsx_runtime.jsx)(
|
|
3996
|
+
return (0, import_jsx_runtime.jsx)(tu.Provider, { value: m2, children: (0, import_jsx_runtime.jsx)(import_post_context_provider.default, { value: g2, children: n2 }) });
|
|
3742
3997
|
}
|
|
3743
|
-
function
|
|
3744
|
-
let { i18n: n2 } =
|
|
3745
|
-
return e6 === void 0 ? (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, { children: t2 }) : (0, import_jsx_runtime.jsx)(
|
|
3998
|
+
function iu({ postData: e6, children: t2 }) {
|
|
3999
|
+
let { i18n: n2 } = ql(Xl);
|
|
4000
|
+
return e6 === void 0 ? (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, { children: t2 }) : (0, import_jsx_runtime.jsx)(qo, { i18n: n2, children: (0, import_jsx_runtime.jsx)(ru, { postData: e6, children: t2 }) });
|
|
3746
4001
|
}
|
|
3747
|
-
var
|
|
4002
|
+
var au = An(`e26c0f39-8db2-4b56-8c9b-fd1457f917e0`);
|
|
3748
4003
|
// Annotate the CommonJS export names for ESM import in node:
|
|
3749
4004
|
0 && (module.exports = {
|
|
3750
4005
|
PostItemContextProvider,
|