@strapi/core 0.0.0-next.3116274aabb83ba9f858814329ead55ccaea244d → 0.0.0-next.318e33b8c2c2d8af588acb73383750664a9336e3
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.
Potentially problematic release.
This version of @strapi/core might be problematic. Click here for more details.
- package/dist/Strapi.d.ts.map +1 -1
- package/dist/Strapi.js +2 -1
- package/dist/Strapi.js.map +1 -1
- package/dist/Strapi.mjs +2 -1
- package/dist/Strapi.mjs.map +1 -1
- package/dist/core-api/controller/index.d.ts.map +1 -1
- package/dist/core-api/controller/index.js +2 -1
- package/dist/core-api/controller/index.js.map +1 -1
- package/dist/core-api/controller/index.mjs +2 -1
- package/dist/core-api/controller/index.mjs.map +1 -1
- package/dist/core-api/controller/transform.d.ts +3 -2
- package/dist/core-api/controller/transform.d.ts.map +1 -1
- package/dist/core-api/controller/transform.js +13 -3
- package/dist/core-api/controller/transform.js.map +1 -1
- package/dist/core-api/controller/transform.mjs +13 -3
- package/dist/core-api/controller/transform.mjs.map +1 -1
- package/dist/core-api/routes/validation/attributes.d.ts +1 -1
- package/dist/core-api/routes/validation/utils.d.ts.map +1 -1
- package/dist/core-api/routes/validation/utils.js +22 -6
- package/dist/core-api/routes/validation/utils.js.map +1 -1
- package/dist/core-api/routes/validation/utils.mjs +22 -6
- package/dist/core-api/routes/validation/utils.mjs.map +1 -1
- package/dist/package.json.js +12 -11
- package/dist/package.json.js.map +1 -1
- package/dist/package.json.mjs +12 -11
- package/dist/package.json.mjs.map +1 -1
- package/dist/services/content-api/index.d.ts +1 -1
- package/dist/services/content-api/index.d.ts.map +1 -1
- package/dist/services/content-api/index.js +1 -1
- package/dist/services/content-api/index.js.map +1 -1
- package/dist/services/content-api/index.mjs +2 -2
- package/dist/services/content-api/index.mjs.map +1 -1
- package/dist/services/content-source-maps.d.ts +12 -0
- package/dist/services/content-source-maps.d.ts.map +1 -0
- package/dist/services/content-source-maps.js +86 -0
- package/dist/services/content-source-maps.js.map +1 -0
- package/dist/services/content-source-maps.mjs +84 -0
- package/dist/services/content-source-maps.mjs.map +1 -0
- package/package.json +12 -11
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var stega = require('@vercel/stega');
|
|
4
|
+
var strapiUtils = require('@strapi/utils');
|
|
5
|
+
|
|
6
|
+
const ENCODABLE_TYPES = [
|
|
7
|
+
'string',
|
|
8
|
+
'text',
|
|
9
|
+
'richtext',
|
|
10
|
+
'biginteger',
|
|
11
|
+
'date',
|
|
12
|
+
'time',
|
|
13
|
+
'datetime',
|
|
14
|
+
'timestamp',
|
|
15
|
+
'boolean',
|
|
16
|
+
'enumeration',
|
|
17
|
+
'json',
|
|
18
|
+
'media',
|
|
19
|
+
'email',
|
|
20
|
+
'password'
|
|
21
|
+
];
|
|
22
|
+
// TODO: use a centralized store for these fields that would be shared with the CM and CTB
|
|
23
|
+
const EXCLUDED_FIELDS = [
|
|
24
|
+
'id',
|
|
25
|
+
'documentId',
|
|
26
|
+
'locale',
|
|
27
|
+
'localizations',
|
|
28
|
+
'created_by',
|
|
29
|
+
'updated_by',
|
|
30
|
+
'created_at',
|
|
31
|
+
'updated_at',
|
|
32
|
+
'publishedAt'
|
|
33
|
+
];
|
|
34
|
+
const isObject = (value)=>{
|
|
35
|
+
return typeof value === 'object' && value !== null;
|
|
36
|
+
};
|
|
37
|
+
const createContentSourceMapsService = (strapi)=>{
|
|
38
|
+
return {
|
|
39
|
+
encodeField (text, key) {
|
|
40
|
+
const res = stega.vercelStegaCombine(text, {
|
|
41
|
+
// TODO: smarter metadata than just the key
|
|
42
|
+
key
|
|
43
|
+
});
|
|
44
|
+
return res;
|
|
45
|
+
},
|
|
46
|
+
async encodeEntry ({ data, schema }) {
|
|
47
|
+
if (!isObject(data) || data === undefined) {
|
|
48
|
+
return data;
|
|
49
|
+
}
|
|
50
|
+
return strapiUtils.traverseEntity(({ key, value, attribute }, { set })=>{
|
|
51
|
+
if (!attribute || EXCLUDED_FIELDS.includes(key)) {
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
if (ENCODABLE_TYPES.includes(attribute.type) && typeof value === 'string') {
|
|
55
|
+
set(key, this.encodeField(value, key));
|
|
56
|
+
}
|
|
57
|
+
}, {
|
|
58
|
+
schema,
|
|
59
|
+
getModel: (uid)=>strapi.getModel(uid)
|
|
60
|
+
}, data);
|
|
61
|
+
},
|
|
62
|
+
async encodeSourceMaps ({ data, schema }) {
|
|
63
|
+
try {
|
|
64
|
+
if (Array.isArray(data)) {
|
|
65
|
+
return await Promise.all(data.map((item)=>this.encodeSourceMaps({
|
|
66
|
+
data: item,
|
|
67
|
+
schema
|
|
68
|
+
})));
|
|
69
|
+
}
|
|
70
|
+
if (!isObject(data)) {
|
|
71
|
+
return data;
|
|
72
|
+
}
|
|
73
|
+
return await this.encodeEntry({
|
|
74
|
+
data,
|
|
75
|
+
schema
|
|
76
|
+
});
|
|
77
|
+
} catch (error) {
|
|
78
|
+
strapi.log.error('Error encoding source maps:', error);
|
|
79
|
+
return data;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
exports.createContentSourceMapsService = createContentSourceMapsService;
|
|
86
|
+
//# sourceMappingURL=content-source-maps.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-source-maps.js","sources":["../../src/services/content-source-maps.ts"],"sourcesContent":["import { vercelStegaCombine } from '@vercel/stega';\nimport type { Core, Struct, UID } from '@strapi/types';\nimport { traverseEntity } from '@strapi/utils';\n\nconst ENCODABLE_TYPES = [\n 'string',\n 'text',\n 'richtext',\n 'biginteger',\n 'date',\n 'time',\n 'datetime',\n 'timestamp',\n 'boolean',\n 'enumeration',\n 'json',\n 'media',\n 'email',\n 'password',\n /**\n * We cannot modify the response shape, so types that aren't based on string cannot be encoded:\n * - json: object\n * - blocks: object, will require a custom implementation in a dedicated PR\n * - integer, float and decimal: number\n * - boolean: boolean (believe it or not)\n * - uid: can be stringified but would mess up URLs\n */\n];\n\n// TODO: use a centralized store for these fields that would be shared with the CM and CTB\nconst EXCLUDED_FIELDS = [\n 'id',\n 'documentId',\n 'locale',\n 'localizations',\n 'created_by',\n 'updated_by',\n 'created_at',\n 'updated_at',\n 'publishedAt',\n];\n\ninterface EncodingInfo {\n data: any;\n schema: Struct.Schema;\n}\n\nconst isObject = (value: unknown): value is Record<string, any> => {\n return typeof value === 'object' && value !== null;\n};\n\nconst createContentSourceMapsService = (strapi: Core.Strapi) => {\n return {\n encodeField(text: string, key: string): string {\n const res = vercelStegaCombine(text, {\n // TODO: smarter metadata than just the key\n key,\n });\n return res;\n },\n\n async encodeEntry({ data, schema }: EncodingInfo): Promise<any> {\n if (!isObject(data) || data === undefined) {\n return data;\n }\n\n return traverseEntity(\n ({ key, value, attribute }, { set }) => {\n if (!attribute || EXCLUDED_FIELDS.includes(key)) {\n return;\n }\n\n if (ENCODABLE_TYPES.includes(attribute.type) && typeof value === 'string') {\n set(key, this.encodeField(value, key) as any);\n }\n },\n {\n schema,\n getModel: (uid) => strapi.getModel(uid as UID.Schema),\n },\n data\n );\n },\n\n async encodeSourceMaps({ data, schema }: EncodingInfo): Promise<any> {\n try {\n if (Array.isArray(data)) {\n return await Promise.all(\n data.map((item) => this.encodeSourceMaps({ data: item, schema }))\n );\n }\n\n if (!isObject(data)) {\n return data;\n }\n\n return await this.encodeEntry({ data, schema });\n } catch (error) {\n strapi.log.error('Error encoding source maps:', error);\n return data;\n }\n },\n };\n};\n\nexport { createContentSourceMapsService };\n"],"names":["ENCODABLE_TYPES","EXCLUDED_FIELDS","isObject","value","createContentSourceMapsService","strapi","encodeField","text","key","res","vercelStegaCombine","encodeEntry","data","schema","undefined","traverseEntity","attribute","set","includes","type","getModel","uid","encodeSourceMaps","Array","isArray","Promise","all","map","item","error","log"],"mappings":";;;;;AAIA,MAAMA,eAAkB,GAAA;AACtB,IAAA,QA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AA,OAAOhB,UAAU,QAAU,EAAA;AACzEc,oBAAAA,GAAAA,CAAIT,GAAK,EAAA,IAAI,CAACF,WAAW,CAACH,KAAOK,EAAAA,GAAAA,CAAAA,CAAAA;AACnC;aAEF,EAAA;AACEK,gBAAAA,MAAAA;AACAO,gBAAAA,QAAAA,EAAU,CAACC,GAAAA,GAAQhB,MAAOe,CAAAA,QAAQ,CAACC,GAAAA;aAErCT,EAAAA,IAAAA,CAAAA;AAEJ,SAAA;AAEA,QAAA,MAAMU,gBAAiB,CAAA,CAAA,EAAEV,IAAI,EAAEC,MAAM,EAAgB,EAAA;YACnD,IAAI;gBACF,IAAIU,KAAAA,CAAMC,OAAO,CAACZ,IAAO,CAAA,EAAA;AACvB,oBAAA,OAAO,MAAMa,OAAAA,CAAQC,GAAG,CACtBd,IAAKe,CAAAA,GAAG,CAAC,CAACC,IAAS,GAAA,IAAI,CAACN,gBAAgB,CAAC;4BAAEV,IAAMgB,EAAAA,IAAAA;AAAMf,4BAAAA;AAAO,yBAAA,CAAA,CAAA,CAAA;AAElE;gBAEA,IAAI,CAACX,SAASU,IAAO,CAAA,EAAA;oBACnB,OAAOA,IAAAA;AACT;AAEA,gBAAA,OAAO,MAAM,IAAI,CAACD,WAAW,CAAC;AAAEC,oBAAAA,IAAAA;AAAMC,oBAAAA;AAAO,iBAAA,CAAA;AAC/C,aAAA,CAAE,OAAOgB,KAAO,EAAA;AACdxB,gBAAAA,MAAAA,CAAOyB,GAAG,CAACD,KAAK,CAAC,6BAA+BA,EAAAA,KAAAA,CAAAA;gBAChD,OAAOjB,IAAAA;AACT;AACF;AACF,KAAA;AACF;;;;"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { vercelStegaCombine } from '@vercel/stega';
|
|
2
|
+
import { traverseEntity } from '@strapi/utils';
|
|
3
|
+
|
|
4
|
+
const ENCODABLE_TYPES = [
|
|
5
|
+
'string',
|
|
6
|
+
'text',
|
|
7
|
+
'richtext',
|
|
8
|
+
'biginteger',
|
|
9
|
+
'date',
|
|
10
|
+
'time',
|
|
11
|
+
'datetime',
|
|
12
|
+
'timestamp',
|
|
13
|
+
'boolean',
|
|
14
|
+
'enumeration',
|
|
15
|
+
'json',
|
|
16
|
+
'media',
|
|
17
|
+
'email',
|
|
18
|
+
'password'
|
|
19
|
+
];
|
|
20
|
+
// TODO: use a centralized store for these fields that would be shared with the CM and CTB
|
|
21
|
+
const EXCLUDED_FIELDS = [
|
|
22
|
+
'id',
|
|
23
|
+
'documentId',
|
|
24
|
+
'locale',
|
|
25
|
+
'localizations',
|
|
26
|
+
'created_by',
|
|
27
|
+
'updated_by',
|
|
28
|
+
'created_at',
|
|
29
|
+
'updated_at',
|
|
30
|
+
'publishedAt'
|
|
31
|
+
];
|
|
32
|
+
const isObject = (value)=>{
|
|
33
|
+
return typeof value === 'object' && value !== null;
|
|
34
|
+
};
|
|
35
|
+
const createContentSourceMapsService = (strapi)=>{
|
|
36
|
+
return {
|
|
37
|
+
encodeField (text, key) {
|
|
38
|
+
const res = vercelStegaCombine(text, {
|
|
39
|
+
// TODO: smarter metadata than just the key
|
|
40
|
+
key
|
|
41
|
+
});
|
|
42
|
+
return res;
|
|
43
|
+
},
|
|
44
|
+
async encodeEntry ({ data, schema }) {
|
|
45
|
+
if (!isObject(data) || data === undefined) {
|
|
46
|
+
return data;
|
|
47
|
+
}
|
|
48
|
+
return traverseEntity(({ key, value, attribute }, { set })=>{
|
|
49
|
+
if (!attribute || EXCLUDED_FIELDS.includes(key)) {
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
if (ENCODABLE_TYPES.includes(attribute.type) && typeof value === 'string') {
|
|
53
|
+
set(key, this.encodeField(value, key));
|
|
54
|
+
}
|
|
55
|
+
}, {
|
|
56
|
+
schema,
|
|
57
|
+
getModel: (uid)=>strapi.getModel(uid)
|
|
58
|
+
}, data);
|
|
59
|
+
},
|
|
60
|
+
async encodeSourceMaps ({ data, schema }) {
|
|
61
|
+
try {
|
|
62
|
+
if (Array.isArray(data)) {
|
|
63
|
+
return await Promise.all(data.map((item)=>this.encodeSourceMaps({
|
|
64
|
+
data: item,
|
|
65
|
+
schema
|
|
66
|
+
})));
|
|
67
|
+
}
|
|
68
|
+
if (!isObject(data)) {
|
|
69
|
+
return data;
|
|
70
|
+
}
|
|
71
|
+
return await this.encodeEntry({
|
|
72
|
+
data,
|
|
73
|
+
schema
|
|
74
|
+
});
|
|
75
|
+
} catch (error) {
|
|
76
|
+
strapi.log.error('Error encoding source maps:', error);
|
|
77
|
+
return data;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
export { createContentSourceMapsService };
|
|
84
|
+
//# sourceMappingURL=content-source-maps.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-source-maps.mjs","sources":["../../src/services/content-source-maps.ts"],"sourcesContent":["import { vercelStegaCombine } from '@vercel/stega';\nimport type { Core, Struct, UID } from '@strapi/types';\nimport { traverseEntity } from '@strapi/utils';\n\nconst ENCODABLE_TYPES = [\n 'string',\n 'text',\n 'richtext',\n 'biginteger',\n 'date',\n 'time',\n 'datetime',\n 'timestamp',\n 'boolean',\n 'enumeration',\n 'json',\n 'media',\n 'email',\n 'password',\n /**\n * We cannot modify the response shape, so types that aren't based on string cannot be encoded:\n * - json: object\n * - blocks: object, will require a custom implementation in a dedicated PR\n * - integer, float and decimal: number\n * - boolean: boolean (believe it or not)\n * - uid: can be stringified but would mess up URLs\n */\n];\n\n// TODO: use a centralized store for these fields that would be shared with the CM and CTB\nconst EXCLUDED_FIELDS = [\n 'id',\n 'documentId',\n 'locale',\n 'localizations',\n 'created_by',\n 'updated_by',\n 'created_at',\n 'updated_at',\n 'publishedAt',\n];\n\ninterface EncodingInfo {\n data: any;\n schema: Struct.Schema;\n}\n\nconst isObject = (value: unknown): value is Record<string, any> => {\n return typeof value === 'object' && value !== null;\n};\n\nconst createContentSourceMapsService = (strapi: Core.Strapi) => {\n return {\n encodeField(text: string, key: string): string {\n const res = vercelStegaCombine(text, {\n // TODO: smarter metadata than just the key\n key,\n });\n return res;\n },\n\n async encodeEntry({ data, schema }: EncodingInfo): Promise<any> {\n if (!isObject(data) || data === undefined) {\n return data;\n }\n\n return traverseEntity(\n ({ key, value, attribute }, { set }) => {\n if (!attribute || EXCLUDED_FIELDS.includes(key)) {\n return;\n }\n\n if (ENCODABLE_TYPES.includes(attribute.type) && typeof value === 'string') {\n set(key, this.encodeField(value, key) as any);\n }\n },\n {\n schema,\n getModel: (uid) => strapi.getModel(uid as UID.Schema),\n },\n data\n );\n },\n\n async encodeSourceMaps({ data, schema }: EncodingInfo): Promise<any> {\n try {\n if (Array.isArray(data)) {\n return await Promise.all(\n data.map((item) => this.encodeSourceMaps({ data: item, schema }))\n );\n }\n\n if (!isObject(data)) {\n return data;\n }\n\n return await this.encodeEntry({ data, schema });\n } catch (error) {\n strapi.log.error('Error encoding source maps:', error);\n return data;\n }\n },\n };\n};\n\nexport { createContentSourceMapsService };\n"],"names":["ENCODABLE_TYPES","EXCLUDED_FIELDS","isObject","value","createContentSourceMapsService","strapi","encodeField","text","key","res","vercelStegaCombine","encodeEntry","data","schema","undefined","traverseEntity","attribute","set","includes","type","getModel","uid","encodeSourceMaps","Array","isArray","Promise","all","map","item","error","log"],"mappings":";;;AAIA,MAAMA,eAAkB,GAAA;AACtB,IAAA,QAAA;AACA,IAAA,MAAA;AACA,IAAA,UAAA;AACA,IAAA,YAAA;AACA,IAAA,MAAA;AACA,IAAA,MAAA;AACA,IAAA,UAAA;AACA,IAAA,WAAA;AACA,IAAA,SAAA;AACA,IAAA,aAAA;AACA,IAAA,MAAA;AACA,IAAA,OAAA;AACA,IAAA,OAAA;AACA,IAAA;AASD,CAAA;AAED;AACA,MAAMC,eAAkB,GAAA;AACtB,IAAA,IAAA;AACA,IAAA,YAAA;AACA,IAAA,QAAA;AACA,IAAA,eAAA;AACA,IAAA,YAAA;AACA,IAAA,YA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,MAAM,EAAgB,EAAA;YACnD,IAAI;gBACF,IAAIU,KAAAA,CAAMC,OAAO,CAACZ,IAAO,CAAA,EAAA;AACvB,oBAAA,OAAO,MAAMa,OAAAA,CAAQC,GAAG,CACtBd,IAAKe,CAAAA,GAAG,CAAC,CAACC,IAAS,GAAA,IAAI,CAACN,gBAAgB,CAAC;4BAAEV,IAAMgB,EAAAA,IAAAA;AAAMf,4BAAAA;AAAO,yBAAA,CAAA,CAAA,CAAA;AAElE;gBAEA,IAAI,CAACX,SAASU,IAAO,CAAA,EAAA;oBACnB,OAAOA,IAAAA;AACT;AAEA,gBAAA,OAAO,MAAM,IAAI,CAACD,WAAW,CAAC;AAAEC,oBAAAA,IAAAA;AAAMC,oBAAAA;AAAO,iBAAA,CAAA;AAC/C,aAAA,CAAE,OAAOgB,KAAO,EAAA;AACdxB,gBAAAA,MAAAA,CAAOyB,GAAG,CAACD,KAAK,CAAC,6BAA+BA,EAAAA,KAAAA,CAAAA;gBAChD,OAAOjB,IAAAA;AACT;AACF;AACF,KAAA;AACF;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strapi/core",
|
|
3
|
-
"version": "0.0.0-next.
|
|
3
|
+
"version": "0.0.0-next.318e33b8c2c2d8af588acb73383750664a9336e3",
|
|
4
4
|
"description": "Core of Strapi",
|
|
5
5
|
"homepage": "https://strapi.io",
|
|
6
6
|
"bugs": {
|
|
@@ -56,14 +56,15 @@
|
|
|
56
56
|
"@koa/cors": "5.0.0",
|
|
57
57
|
"@koa/router": "12.0.2",
|
|
58
58
|
"@paralleldrive/cuid2": "2.2.2",
|
|
59
|
-
"@strapi/admin": "0.0.0-next.
|
|
60
|
-
"@strapi/database": "0.0.0-next.
|
|
61
|
-
"@strapi/generators": "0.0.0-next.
|
|
62
|
-
"@strapi/logger": "0.0.0-next.
|
|
63
|
-
"@strapi/permissions": "0.0.0-next.
|
|
64
|
-
"@strapi/types": "0.0.0-next.
|
|
65
|
-
"@strapi/typescript-utils": "0.0.0-next.
|
|
66
|
-
"@strapi/utils": "0.0.0-next.
|
|
59
|
+
"@strapi/admin": "0.0.0-next.318e33b8c2c2d8af588acb73383750664a9336e3",
|
|
60
|
+
"@strapi/database": "0.0.0-next.318e33b8c2c2d8af588acb73383750664a9336e3",
|
|
61
|
+
"@strapi/generators": "0.0.0-next.318e33b8c2c2d8af588acb73383750664a9336e3",
|
|
62
|
+
"@strapi/logger": "0.0.0-next.318e33b8c2c2d8af588acb73383750664a9336e3",
|
|
63
|
+
"@strapi/permissions": "0.0.0-next.318e33b8c2c2d8af588acb73383750664a9336e3",
|
|
64
|
+
"@strapi/types": "0.0.0-next.318e33b8c2c2d8af588acb73383750664a9336e3",
|
|
65
|
+
"@strapi/typescript-utils": "0.0.0-next.318e33b8c2c2d8af588acb73383750664a9336e3",
|
|
66
|
+
"@strapi/utils": "0.0.0-next.318e33b8c2c2d8af588acb73383750664a9336e3",
|
|
67
|
+
"@vercel/stega": "0.1.2",
|
|
67
68
|
"bcryptjs": "2.4.3",
|
|
68
69
|
"boxen": "5.1.2",
|
|
69
70
|
"chalk": "4.1.2",
|
|
@@ -129,9 +130,9 @@
|
|
|
129
130
|
"@types/node": "18.19.24",
|
|
130
131
|
"@types/node-schedule": "2.1.7",
|
|
131
132
|
"@types/statuses": "2.0.1",
|
|
132
|
-
"eslint-config-custom": "0.0.0-next.
|
|
133
|
+
"eslint-config-custom": "0.0.0-next.318e33b8c2c2d8af588acb73383750664a9336e3",
|
|
133
134
|
"supertest": "6.3.3",
|
|
134
|
-
"tsconfig": "0.0.0-next.
|
|
135
|
+
"tsconfig": "0.0.0-next.318e33b8c2c2d8af588acb73383750664a9336e3"
|
|
135
136
|
},
|
|
136
137
|
"engines": {
|
|
137
138
|
"node": ">=18.0.0 <=22.x.x",
|