@prisma-next/target-sqlite 0.6.0-dev.9 → 0.6.1
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/dist/{codec-types-xLeyb_u4.d.mts → codec-types-DNauB5UT.d.mts} +2 -2
- package/dist/{codec-types-xLeyb_u4.d.mts.map → codec-types-DNauB5UT.d.mts.map} +1 -1
- package/dist/codec-types.d.mts +2 -2
- package/dist/{codecs-DEjc7dem.d.mts → codecs-BAlEiSeP.d.mts} +9 -86
- package/dist/codecs-BAlEiSeP.d.mts.map +1 -0
- package/dist/codecs.d.mts +1 -1
- package/dist/pack.d.mts +1 -1
- package/package.json +18 -17
- package/dist/codecs-DEjc7dem.d.mts.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as SqliteIntegerDescriptor, c as SqliteTextDescriptor, i as SqliteDatetimeDescriptor, n as SqliteBigintDescriptor, o as SqliteJsonDescriptor, r as SqliteBlobDescriptor, s as SqliteRealDescriptor } from "./codecs-
|
|
1
|
+
import { a as SqliteIntegerDescriptor, c as SqliteTextDescriptor, i as SqliteDatetimeDescriptor, n as SqliteBigintDescriptor, o as SqliteJsonDescriptor, r as SqliteBlobDescriptor, s as SqliteRealDescriptor } from "./codecs-BAlEiSeP.mjs";
|
|
2
2
|
import * as _$_prisma_next_sql_relational_core_ast0 from "@prisma-next/sql-relational-core/ast";
|
|
3
3
|
import { ExtractCodecTypes } from "@prisma-next/sql-relational-core/ast";
|
|
4
4
|
|
|
@@ -20,4 +20,4 @@ type Resolve<T> = { readonly [K in keyof T]: { readonly [P in keyof T[K]]: T[K][
|
|
|
20
20
|
type CodecTypes = Resolve<ExtractCodecTypes<typeof codecDescriptorMap>>;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { CodecTypes as t };
|
|
23
|
-
//# sourceMappingURL=codec-types-
|
|
23
|
+
//# sourceMappingURL=codec-types-DNauB5UT.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codec-types-
|
|
1
|
+
{"version":3,"file":"codec-types-DNauB5UT.d.mts","names":[],"sources":["../src/exports/codec-types.ts"],"mappings":";;;;;cAwBM,kBAAA;EAAA,eAYI,uCAAA,CAAA,iBAAA;EAAA;;;;;;;;;;;KAEL,OAAA,6BAAoC,CAAA,0BAA2B,CAAA,CAAE,CAAA,IAAK,CAAA,CAAE,CAAA,EAAG,CAAA;AAAA,KAEpE,UAAA,GAAa,OAAA,CAAQ,iBAAA,QAAyB,kBAAA"}
|
package/dist/codec-types.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { g as JsonValue } from "./codecs-
|
|
2
|
-
import { t as CodecTypes } from "./codec-types-
|
|
1
|
+
import { g as JsonValue } from "./codecs-BAlEiSeP.mjs";
|
|
2
|
+
import { t as CodecTypes } from "./codec-types-DNauB5UT.mjs";
|
|
3
3
|
export { CodecTypes, JsonValue };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { a as SQLITE_JSON_CODEC_ID, i as SQLITE_INTEGER_CODEC_ID, n as SQLITE_BLOB_CODEC_ID, o as SQLITE_REAL_CODEC_ID, r as SQLITE_DATETIME_CODEC_ID, s as SQLITE_TEXT_CODEC_ID, t as SQLITE_BIGINT_CODEC_ID } from "./codec-ids-CYwMu3-4.mjs";
|
|
2
2
|
import * as _$_prisma_next_framework_components_codec0 from "@prisma-next/framework-components/codec";
|
|
3
3
|
import { CodecCallContext, CodecDescriptorImpl, CodecImpl, CodecInstanceContext } from "@prisma-next/framework-components/codec";
|
|
4
|
+
import * as _$_standard_schema_spec0 from "@standard-schema/spec";
|
|
4
5
|
import { JsonValue } from "@prisma-next/contract/types";
|
|
5
6
|
import { CodecDescriptorRegistry } from "@prisma-next/sql-relational-core/query-lane-context";
|
|
6
7
|
|
|
@@ -12,84 +13,6 @@ type JsonValue$1 = string | number | boolean | null | {
|
|
|
12
13
|
readonly [key: string]: JsonValue$1;
|
|
13
14
|
} | readonly JsonValue$1[];
|
|
14
15
|
//#endregion
|
|
15
|
-
//#region ../../../../node_modules/.pnpm/@standard-schema+spec@1.1.0/node_modules/@standard-schema/spec/dist/index.d.ts
|
|
16
|
-
/** The Standard Typed interface. This is a base type extended by other specs. */
|
|
17
|
-
interface StandardTypedV1<Input = unknown, Output = Input> {
|
|
18
|
-
/** The Standard properties. */
|
|
19
|
-
readonly "~standard": StandardTypedV1.Props<Input, Output>;
|
|
20
|
-
}
|
|
21
|
-
declare namespace StandardTypedV1 {
|
|
22
|
-
/** The Standard Typed properties interface. */
|
|
23
|
-
interface Props<Input = unknown, Output = Input> {
|
|
24
|
-
/** The version number of the standard. */
|
|
25
|
-
readonly version: 1;
|
|
26
|
-
/** The vendor name of the schema library. */
|
|
27
|
-
readonly vendor: string;
|
|
28
|
-
/** Inferred types associated with the schema. */
|
|
29
|
-
readonly types?: Types<Input, Output> | undefined;
|
|
30
|
-
}
|
|
31
|
-
/** The Standard Typed types interface. */
|
|
32
|
-
interface Types<Input = unknown, Output = Input> {
|
|
33
|
-
/** The input type of the schema. */
|
|
34
|
-
readonly input: Input;
|
|
35
|
-
/** The output type of the schema. */
|
|
36
|
-
readonly output: Output;
|
|
37
|
-
}
|
|
38
|
-
/** Infers the input type of a Standard Typed. */
|
|
39
|
-
type InferInput<Schema extends StandardTypedV1> = NonNullable<Schema["~standard"]["types"]>["input"];
|
|
40
|
-
/** Infers the output type of a Standard Typed. */
|
|
41
|
-
type InferOutput<Schema extends StandardTypedV1> = NonNullable<Schema["~standard"]["types"]>["output"];
|
|
42
|
-
}
|
|
43
|
-
/** The Standard Schema interface. */
|
|
44
|
-
interface StandardSchemaV1<Input = unknown, Output = Input> {
|
|
45
|
-
/** The Standard Schema properties. */
|
|
46
|
-
readonly "~standard": StandardSchemaV1.Props<Input, Output>;
|
|
47
|
-
}
|
|
48
|
-
declare namespace StandardSchemaV1 {
|
|
49
|
-
/** The Standard Schema properties interface. */
|
|
50
|
-
interface Props<Input = unknown, Output = Input> extends StandardTypedV1.Props<Input, Output> {
|
|
51
|
-
/** Validates unknown input values. */
|
|
52
|
-
readonly validate: (value: unknown, options?: StandardSchemaV1.Options | undefined) => Result<Output> | Promise<Result<Output>>;
|
|
53
|
-
}
|
|
54
|
-
/** The result interface of the validate function. */
|
|
55
|
-
type Result<Output> = SuccessResult<Output> | FailureResult;
|
|
56
|
-
/** The result interface if validation succeeds. */
|
|
57
|
-
interface SuccessResult<Output> {
|
|
58
|
-
/** The typed output value. */
|
|
59
|
-
readonly value: Output;
|
|
60
|
-
/** A falsy value for `issues` indicates success. */
|
|
61
|
-
readonly issues?: undefined;
|
|
62
|
-
}
|
|
63
|
-
interface Options {
|
|
64
|
-
/** Explicit support for additional vendor-specific parameters, if needed. */
|
|
65
|
-
readonly libraryOptions?: Record<string, unknown> | undefined;
|
|
66
|
-
}
|
|
67
|
-
/** The result interface if validation fails. */
|
|
68
|
-
interface FailureResult {
|
|
69
|
-
/** The issues of failed validation. */
|
|
70
|
-
readonly issues: ReadonlyArray<Issue>;
|
|
71
|
-
}
|
|
72
|
-
/** The issue interface of the failure output. */
|
|
73
|
-
interface Issue {
|
|
74
|
-
/** The error message of the issue. */
|
|
75
|
-
readonly message: string;
|
|
76
|
-
/** The path of the issue, if any. */
|
|
77
|
-
readonly path?: ReadonlyArray<PropertyKey | PathSegment> | undefined;
|
|
78
|
-
}
|
|
79
|
-
/** The path segment interface of the issue. */
|
|
80
|
-
interface PathSegment {
|
|
81
|
-
/** The key representing a path segment. */
|
|
82
|
-
readonly key: PropertyKey;
|
|
83
|
-
}
|
|
84
|
-
/** The Standard types interface. */
|
|
85
|
-
interface Types<Input = unknown, Output = Input> extends StandardTypedV1.Types<Input, Output> {}
|
|
86
|
-
/** Infers the input type of a Standard. */
|
|
87
|
-
type InferInput<Schema extends StandardTypedV1> = StandardTypedV1.InferInput<Schema>;
|
|
88
|
-
/** Infers the output type of a Standard. */
|
|
89
|
-
type InferOutput<Schema extends StandardTypedV1> = StandardTypedV1.InferOutput<Schema>;
|
|
90
|
-
}
|
|
91
|
-
/** The Standard JSON Schema interface. */
|
|
92
|
-
//#endregion
|
|
93
16
|
//#region src/core/codecs.d.ts
|
|
94
17
|
declare class SqliteTextCodec extends CodecImpl<typeof SQLITE_TEXT_CODEC_ID, readonly ['equality', 'order', 'textual'], string, string> {
|
|
95
18
|
encode(value: string, _ctx: CodecCallContext): Promise<string>;
|
|
@@ -101,7 +24,7 @@ declare class SqliteTextDescriptor extends CodecDescriptorImpl<void> {
|
|
|
101
24
|
readonly codecId: "sqlite/text@1";
|
|
102
25
|
readonly traits: readonly ["equality", "order", "textual"];
|
|
103
26
|
readonly targetTypes: readonly ["text"];
|
|
104
|
-
readonly paramsSchema: StandardSchemaV1<void, void>;
|
|
27
|
+
readonly paramsSchema: _$_standard_schema_spec0.StandardSchemaV1<void, void>;
|
|
105
28
|
factory(): (ctx: CodecInstanceContext) => SqliteTextCodec;
|
|
106
29
|
}
|
|
107
30
|
declare const sqliteTextColumn: () => _$_prisma_next_framework_components_codec0.ColumnSpec<SqliteTextCodec, undefined>;
|
|
@@ -115,7 +38,7 @@ declare class SqliteIntegerDescriptor extends CodecDescriptorImpl<void> {
|
|
|
115
38
|
readonly codecId: "sqlite/integer@1";
|
|
116
39
|
readonly traits: readonly ["equality", "order", "numeric"];
|
|
117
40
|
readonly targetTypes: readonly ["integer"];
|
|
118
|
-
readonly paramsSchema: StandardSchemaV1<void, void>;
|
|
41
|
+
readonly paramsSchema: _$_standard_schema_spec0.StandardSchemaV1<void, void>;
|
|
119
42
|
factory(): (ctx: CodecInstanceContext) => SqliteIntegerCodec;
|
|
120
43
|
}
|
|
121
44
|
declare const sqliteIntegerColumn: () => _$_prisma_next_framework_components_codec0.ColumnSpec<SqliteIntegerCodec, undefined>;
|
|
@@ -129,7 +52,7 @@ declare class SqliteRealDescriptor extends CodecDescriptorImpl<void> {
|
|
|
129
52
|
readonly codecId: "sqlite/real@1";
|
|
130
53
|
readonly traits: readonly ["equality", "order", "numeric"];
|
|
131
54
|
readonly targetTypes: readonly ["real"];
|
|
132
|
-
readonly paramsSchema: StandardSchemaV1<void, void>;
|
|
55
|
+
readonly paramsSchema: _$_standard_schema_spec0.StandardSchemaV1<void, void>;
|
|
133
56
|
factory(): (ctx: CodecInstanceContext) => SqliteRealCodec;
|
|
134
57
|
}
|
|
135
58
|
declare const sqliteRealColumn: () => _$_prisma_next_framework_components_codec0.ColumnSpec<SqliteRealCodec, undefined>;
|
|
@@ -143,7 +66,7 @@ declare class SqliteBlobDescriptor extends CodecDescriptorImpl<void> {
|
|
|
143
66
|
readonly codecId: "sqlite/blob@1";
|
|
144
67
|
readonly traits: readonly ["equality"];
|
|
145
68
|
readonly targetTypes: readonly ["blob"];
|
|
146
|
-
readonly paramsSchema: StandardSchemaV1<void, void>;
|
|
69
|
+
readonly paramsSchema: _$_standard_schema_spec0.StandardSchemaV1<void, void>;
|
|
147
70
|
factory(): (ctx: CodecInstanceContext) => SqliteBlobCodec;
|
|
148
71
|
}
|
|
149
72
|
declare const sqliteBlobColumn: () => _$_prisma_next_framework_components_codec0.ColumnSpec<SqliteBlobCodec, undefined>;
|
|
@@ -158,7 +81,7 @@ declare class SqliteDatetimeDescriptor extends CodecDescriptorImpl<void> {
|
|
|
158
81
|
readonly codecId: "sqlite/datetime@1";
|
|
159
82
|
readonly traits: readonly ["equality", "order"];
|
|
160
83
|
readonly targetTypes: readonly ["text"];
|
|
161
|
-
readonly paramsSchema: StandardSchemaV1<void, void>;
|
|
84
|
+
readonly paramsSchema: _$_standard_schema_spec0.StandardSchemaV1<void, void>;
|
|
162
85
|
factory(): (ctx: CodecInstanceContext) => SqliteDatetimeCodec;
|
|
163
86
|
}
|
|
164
87
|
declare const sqliteDatetimeColumn: () => _$_prisma_next_framework_components_codec0.ColumnSpec<SqliteDatetimeCodec, undefined>;
|
|
@@ -172,7 +95,7 @@ declare class SqliteJsonDescriptor extends CodecDescriptorImpl<void> {
|
|
|
172
95
|
readonly codecId: "sqlite/json@1";
|
|
173
96
|
readonly traits: readonly ["equality"];
|
|
174
97
|
readonly targetTypes: readonly ["text"];
|
|
175
|
-
readonly paramsSchema: StandardSchemaV1<void, void>;
|
|
98
|
+
readonly paramsSchema: _$_standard_schema_spec0.StandardSchemaV1<void, void>;
|
|
176
99
|
factory(): (ctx: CodecInstanceContext) => SqliteJsonCodec;
|
|
177
100
|
}
|
|
178
101
|
declare const sqliteJsonColumn: () => _$_prisma_next_framework_components_codec0.ColumnSpec<SqliteJsonCodec, undefined>;
|
|
@@ -186,7 +109,7 @@ declare class SqliteBigintDescriptor extends CodecDescriptorImpl<void> {
|
|
|
186
109
|
readonly codecId: "sqlite/bigint@1";
|
|
187
110
|
readonly traits: readonly ["equality", "order", "numeric"];
|
|
188
111
|
readonly targetTypes: readonly ["integer"];
|
|
189
|
-
readonly paramsSchema: StandardSchemaV1<void, void>;
|
|
112
|
+
readonly paramsSchema: _$_standard_schema_spec0.StandardSchemaV1<void, void>;
|
|
190
113
|
factory(): (ctx: CodecInstanceContext) => SqliteBigintCodec;
|
|
191
114
|
}
|
|
192
115
|
declare const sqliteBigintColumn: () => _$_prisma_next_framework_components_codec0.ColumnSpec<SqliteBigintCodec, undefined>;
|
|
@@ -200,4 +123,4 @@ declare const sqliteBigintColumn: () => _$_prisma_next_framework_components_code
|
|
|
200
123
|
declare const sqliteCodecRegistry: CodecDescriptorRegistry;
|
|
201
124
|
//#endregion
|
|
202
125
|
export { SqliteIntegerDescriptor as a, SqliteTextDescriptor as c, sqliteDatetimeColumn as d, sqliteIntegerColumn as f, JsonValue$1 as g, sqliteTextColumn as h, SqliteDatetimeDescriptor as i, sqliteBigintColumn as l, sqliteRealColumn as m, SqliteBigintDescriptor as n, SqliteJsonDescriptor as o, sqliteJsonColumn as p, SqliteBlobDescriptor as r, SqliteRealDescriptor as s, sqliteCodecRegistry as t, sqliteBlobColumn as u };
|
|
203
|
-
//# sourceMappingURL=codecs-
|
|
126
|
+
//# sourceMappingURL=codecs-BAlEiS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AA;EAG7D,UAAA,CAAW,KAAA,WAAgB,SAAA;EAG3B,UAAA,CAAW,IAAA,EAAM,SAAA;AAAA;AAAA,cAQN,sBAAA,SAA+B,mBAAA;EAAA,SACxB,OAAA;EAAA,SACA,MAAA;EAAA,SACA,WAAA;EAAA,SACA,YAAA,EAJgB,wBAAA,CAIJ,gBAAA;EACrB,OAAA,CAAA,IAAY,GAAA,EAAK,oBAAA,KAAyB,iBAAA;AAAA;AAAA,cAOxC,kBAAA,QAAkB,0CAAA,CAAA,UAAA,CAAA,iBAAA;;;;;;;;cCrTlB,mBAAA,EAAqB,uBAAA"}
|
package/dist/codecs.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SqliteIntegerDescriptor, c as SqliteTextDescriptor, d as sqliteDatetimeColumn, f as sqliteIntegerColumn, g as JsonValue, h as sqliteTextColumn, i as SqliteDatetimeDescriptor, l as sqliteBigintColumn, m as sqliteRealColumn, n as SqliteBigintDescriptor, o as SqliteJsonDescriptor, p as sqliteJsonColumn, r as SqliteBlobDescriptor, s as SqliteRealDescriptor, t as sqliteCodecRegistry, u as sqliteBlobColumn } from "./codecs-
|
|
1
|
+
import { a as SqliteIntegerDescriptor, c as SqliteTextDescriptor, d as sqliteDatetimeColumn, f as sqliteIntegerColumn, g as JsonValue, h as sqliteTextColumn, i as SqliteDatetimeDescriptor, l as sqliteBigintColumn, m as sqliteRealColumn, n as SqliteBigintDescriptor, o as SqliteJsonDescriptor, p as sqliteJsonColumn, r as SqliteBlobDescriptor, s as SqliteRealDescriptor, t as sqliteCodecRegistry, u as sqliteBlobColumn } from "./codecs-BAlEiSeP.mjs";
|
|
2
2
|
export { JsonValue, SqliteBigintDescriptor, SqliteBlobDescriptor, SqliteDatetimeDescriptor, SqliteIntegerDescriptor, SqliteJsonDescriptor, SqliteRealDescriptor, SqliteTextDescriptor, sqliteBigintColumn, sqliteBlobColumn, sqliteCodecRegistry, sqliteDatetimeColumn, sqliteIntegerColumn, sqliteJsonColumn, sqliteRealColumn, sqliteTextColumn };
|
package/dist/pack.d.mts
CHANGED
package/package.json
CHANGED
|
@@ -1,32 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma-next/target-sqlite",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@
|
|
9
|
-
"@prisma-next/
|
|
10
|
-
"@prisma-next/
|
|
11
|
-
"@prisma-next/
|
|
12
|
-
"@prisma-next/
|
|
13
|
-
"@prisma-next/sql
|
|
14
|
-
"@prisma-next/sql-
|
|
15
|
-
"@prisma-next/
|
|
16
|
-
"@prisma-next/
|
|
17
|
-
"@prisma-next/
|
|
18
|
-
"@prisma-next/
|
|
19
|
-
"@prisma-next/
|
|
20
|
-
"@prisma-next/
|
|
8
|
+
"@standard-schema/spec": "1.1.0",
|
|
9
|
+
"@prisma-next/cli": "0.6.1",
|
|
10
|
+
"@prisma-next/contract": "0.6.1",
|
|
11
|
+
"@prisma-next/errors": "0.6.1",
|
|
12
|
+
"@prisma-next/migration-tools": "0.6.1",
|
|
13
|
+
"@prisma-next/family-sql": "0.6.1",
|
|
14
|
+
"@prisma-next/sql-contract": "0.6.1",
|
|
15
|
+
"@prisma-next/sql-errors": "0.6.1",
|
|
16
|
+
"@prisma-next/framework-components": "0.6.1",
|
|
17
|
+
"@prisma-next/sql-runtime": "0.6.1",
|
|
18
|
+
"@prisma-next/sql-schema-ir": "0.6.1",
|
|
19
|
+
"@prisma-next/ts-render": "0.6.1",
|
|
20
|
+
"@prisma-next/sql-relational-core": "0.6.1",
|
|
21
|
+
"@prisma-next/utils": "0.6.1"
|
|
21
22
|
},
|
|
22
23
|
"devDependencies": {
|
|
23
24
|
"tsdown": "0.22.0",
|
|
24
25
|
"typescript": "5.9.3",
|
|
25
26
|
"vitest": "4.1.5",
|
|
26
|
-
"@prisma-next/
|
|
27
|
+
"@prisma-next/tsconfig": "0.0.0",
|
|
27
28
|
"@prisma-next/test-utils": "0.0.1",
|
|
28
|
-
"@prisma-next/
|
|
29
|
-
"@prisma-next/
|
|
29
|
+
"@prisma-next/driver-sqlite": "0.6.1",
|
|
30
|
+
"@prisma-next/tsdown": "0.0.0"
|
|
30
31
|
},
|
|
31
32
|
"files": [
|
|
32
33
|
"dist",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"codecs-DEjc7dem.d.mts","names":["StandardTypedV1","Input","Output","Props","Schema","Types","NonNullable","version","vendor","types","input","output","InferInput","InferOutput","StandardSchemaV1","Options","Result","Promise","SuccessResult","FailureResult","Record","Issue","ReadonlyArray","PropertyKey","PathSegment","validate","value","options","issues","libraryOptions","message","path","key","StandardJSONSchemaV1","Converter","Target","jsonSchema","target"],"sources":["../src/core/codec-helpers.ts","../../../../../node_modules/.pnpm/@standard-schema+spec@1.1.0/node_modules/@standard-schema/spec/dist/index.d.ts","../src/core/codecs.ts","../src/core/registry.ts"],"x_google_ignoreList":[1],"mappings":";;;;;;;;;;KAIY,WAAA;EAAA,UAKI,GAAA,WAAc,WAAA;AAAA,aACjB,WAAA;;;;UCTHA,eAAAA,2BAA0CC,KAAAA;;WAEvC,WAAA,EAAaD,eAAAA,CAAgBG,KAAAA,CAAMF,KAAAA,EAAOC,MAAAA;AAAAA;AAAAA,kBAErCF,eAAAA;;YAEJG,KAAAA,2BAAgCF,KAAAA;IDHzB;IAAA,SCKJM,OAAAA;IDCK;IAAA,SCCLC,MAAAA;IDFa;IAAA,SCIbC,KAAAA,GAAQJ,KAAAA,CAAMJ,KAAAA,EAAOC,MAAAA;EAAAA;EDHhB;EAAA,UCMRG,KAAAA,2BAAgCJ,KAAAA;;aAE7BS,KAAAA,EAAOT,KAAAA;IAjBdD;IAAAA,SAmBOW,MAAAA,EAAQT,MAAAA;EAAAA;EAnB2BD;EAAAA,KAsB3CW,UAAAA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