mrs-toolbox-cli 0.0.1 → 0.0.11
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/88b0986a7186d029-atomicfu-js-ir.js +53 -72
- package/88b0986a7186d029-atomicfu-js-ir.js.map +1 -1
- package/{Kotlin-DateTime-library-kotlinx-datetime-js-ir.js → Kotlin-DateTime-library-kotlinx-datetime.js} +1 -1
- package/app.properties +1 -0
- package/clikt-clikt-mordant.js +245 -0
- package/clikt-clikt-mordant.js.map +1 -0
- package/clikt-clikt.js +6653 -0
- package/clikt-clikt.js.map +1 -0
- package/colormath-root-colormath.js +1670 -0
- package/colormath-root-colormath.js.map +1 -0
- package/com.mrs.platform.configuration.dto.js +11391 -9555
- package/com.mrs.platform.configuration.dto.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +16354 -0
- package/kotlin-kotlin-stdlib.js.map +1 -0
- package/kotlin-logging-js-ir.js +88 -111
- package/kotlin-logging-js-ir.js.map +1 -1
- package/kotlin-node.js +14 -5
- package/kotlin-node.js.map +1 -1
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +8 -0
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map +1 -0
- package/kotlinx-html.js +8 -0
- package/kotlinx-html.js.map +1 -0
- package/kotlinx-serialization-kotlinx-serialization-core.js +6098 -0
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -0
- package/kotlinx-serialization-kotlinx-serialization-json.js +5116 -0
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -0
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +3931 -3753
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/ktor-ktor-client-content-negotiation.js +293 -302
- package/ktor-ktor-client-content-negotiation.js.map +1 -1
- package/ktor-ktor-client-core.js +3108 -3459
- package/ktor-ktor-client-core.js.map +1 -1
- package/ktor-ktor-events.js +21 -27
- package/ktor-ktor-events.js.map +1 -1
- package/ktor-ktor-http.js +1241 -1722
- package/ktor-ktor-http.js.map +1 -1
- package/ktor-ktor-io.js +2222 -3125
- package/ktor-ktor-io.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.js +12 -13
- package/ktor-ktor-serialization-kotlinx-json.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx.js +365 -396
- package/ktor-ktor-serialization-kotlinx.js.map +1 -1
- package/ktor-ktor-serialization.js +154 -150
- package/ktor-ktor-serialization.js.map +1 -1
- package/ktor-ktor-utils.js +749 -943
- package/ktor-ktor-utils.js.map +1 -1
- package/ktor-ktor-websockets.js +102 -116
- package/ktor-ktor-websockets.js.map +1 -1
- package/mordant-mordant-omnibus.js +8 -0
- package/mordant-mordant-omnibus.js.map +1 -0
- package/mordant-mordant.js +7129 -0
- package/mordant-mordant.js.map +1 -0
- package/mrs-toolbox-cli.d.ts +801 -829
- package/mrs-toolbox-cli.js +1055 -264
- package/mrs-toolbox-cli.js.map +1 -1
- package/package.json +3 -2
- package/static/demo.test.ts.txt +1 -1
- package/static/init/hooks.webpack.config.js +35 -0
- package/static/init/webpackRoot.config.js +35 -0
- package/static/mrscconfig.json +0 -1
- package/toolbox.js +14903 -12592
- package/toolbox.js.map +1 -1
- package/88b0986a7186d029-atomicfu-js-ir.js.hash +0 -1
- package/88b0986a7186d029-atomicfu-js-ir.js.map.hash +0 -1
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js.hash +0 -1
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js.map.hash +0 -1
- package/clikt-clikt-js-ir.js +0 -7044
- package/clikt-clikt-js-ir.js.hash +0 -1
- package/clikt-clikt-js-ir.js.map +0 -1
- package/clikt-clikt-js-ir.js.map.hash +0 -1
- package/com.mrs.platform.configuration.dto.js.hash +0 -1
- package/com.mrs.platform.configuration.dto.js.map.hash +0 -1
- package/kotlin-js.js.hash +0 -1
- package/kotlin-js.js.map.hash +0 -1
- package/kotlin-kotlin-stdlib-js-ir.js +0 -15789
- package/kotlin-kotlin-stdlib-js-ir.js.hash +0 -1
- package/kotlin-kotlin-stdlib-js-ir.js.map +0 -1
- package/kotlin-kotlin-stdlib-js-ir.js.map.hash +0 -1
- package/kotlin-kotlinx-atomicfu-runtime-js-ir.js.hash +0 -1
- package/kotlin-kotlinx-atomicfu-runtime-js-ir.js.map.hash +0 -1
- package/kotlin-logging-js-ir.js.hash +0 -1
- package/kotlin-logging-js-ir.js.map.hash +0 -1
- package/kotlin-node.js.hash +0 -1
- package/kotlin-node.js.map.hash +0 -1
- package/kotlin-web.js.hash +0 -1
- package/kotlin-web.js.map.hash +0 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +0 -6431
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.hash +0 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +0 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map.hash +0 -1
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +0 -5102
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.hash +0 -1
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +0 -1
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map.hash +0 -1
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.hash +0 -1
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map.hash +0 -1
- package/ktor-ktor-client-content-negotiation.js.hash +0 -1
- package/ktor-ktor-client-content-negotiation.js.map.hash +0 -1
- package/ktor-ktor-client-core.js.hash +0 -1
- package/ktor-ktor-client-core.js.map.hash +0 -1
- package/ktor-ktor-events.js.hash +0 -1
- package/ktor-ktor-events.js.map.hash +0 -1
- package/ktor-ktor-http.js.hash +0 -1
- package/ktor-ktor-http.js.map.hash +0 -1
- package/ktor-ktor-io.js.hash +0 -1
- package/ktor-ktor-io.js.map.hash +0 -1
- package/ktor-ktor-serialization-kotlinx-json.js.hash +0 -1
- package/ktor-ktor-serialization-kotlinx-json.js.map.hash +0 -1
- package/ktor-ktor-serialization-kotlinx.js.hash +0 -1
- package/ktor-ktor-serialization-kotlinx.js.map.hash +0 -1
- package/ktor-ktor-serialization.js.hash +0 -1
- package/ktor-ktor-serialization.js.map.hash +0 -1
- package/ktor-ktor-utils.js.hash +0 -1
- package/ktor-ktor-utils.js.map.hash +0 -1
- package/ktor-ktor-websocket-serialization.js.hash +0 -1
- package/ktor-ktor-websocket-serialization.js.map.hash +0 -1
- package/ktor-ktor-websockets.js.hash +0 -1
- package/ktor-ktor-websockets.js.map.hash +0 -1
- package/mrs-toolbox-cli.d.ts.hash +0 -1
- package/mrs-toolbox-cli.js.hash +0 -1
- package/mrs-toolbox-cli.js.map.hash +0 -1
- package/static/access.query.txt.hash +0 -1
- package/static/demo.test.ts.txt.hash +0 -1
- package/static/git.ignore.hash +0 -1
- package/static/graph.query.txt.hash +0 -1
- package/static/hook.ts.txt.hash +0 -1
- package/static/mrscconfig.json.hash +0 -1
- package/static/readme.md.hash +0 -1
- package/static/tsconfig.json.txt.hash +0 -1
- package/toolbox.js.hash +0 -1
- package/toolbox.js.map.hash +0 -1
- /package/{Kotlin-DateTime-library-kotlinx-datetime-js-ir.js.map → Kotlin-DateTime-library-kotlinx-datetime.js.map} +0 -0
|
@@ -1,50 +1,40 @@
|
|
|
1
1
|
(function (_, kotlin_kotlin) {
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
|
-
var fillArrayVal = kotlin_kotlin.$_$.
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var VOID = kotlin_kotlin.$_$.
|
|
10
|
-
var
|
|
11
|
-
var objectMeta = kotlin_kotlin.$_$.ta;
|
|
12
|
-
var toString = kotlin_kotlin.$_$.rf;
|
|
4
|
+
var fillArrayVal = kotlin_kotlin.$_$.xa;
|
|
5
|
+
var protoOf = kotlin_kotlin.$_$.dc;
|
|
6
|
+
var defineProp = kotlin_kotlin.$_$.ua;
|
|
7
|
+
var initMetadataForClass = kotlin_kotlin.$_$.db;
|
|
8
|
+
var initMetadataForObject = kotlin_kotlin.$_$.jb;
|
|
9
|
+
var VOID = kotlin_kotlin.$_$.g;
|
|
10
|
+
var toString = kotlin_kotlin.$_$.vh;
|
|
13
11
|
//endregion
|
|
14
12
|
//region block: pre-declaration
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
13
|
+
initMetadataForClass(atomicfu$AtomicRefArray$ref, 'AtomicArray');
|
|
14
|
+
initMetadataForClass(atomicfu$TraceBase, 'TraceBase');
|
|
15
|
+
initMetadataForObject(None, 'None', VOID, atomicfu$TraceBase);
|
|
16
|
+
initMetadataForClass(AtomicRef, 'AtomicRef');
|
|
17
|
+
initMetadataForClass(AtomicBoolean, 'AtomicBoolean');
|
|
18
|
+
initMetadataForClass(AtomicInt, 'AtomicInt');
|
|
19
|
+
initMetadataForClass(AtomicLong, 'AtomicLong');
|
|
22
20
|
//endregion
|
|
23
21
|
function atomicfu$AtomicRefArray$ref(size) {
|
|
24
22
|
var tmp = this;
|
|
25
23
|
var tmp_0 = 0;
|
|
26
|
-
var tmp_1 = size;
|
|
27
|
-
var tmp$ret$0;
|
|
28
24
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
var tmp_3 = tmp_0;
|
|
33
|
-
var tmp$ret$1;
|
|
34
|
-
// Inline function 'kotlinx.atomicfu.AtomicArray.array.<anonymous>' call
|
|
35
|
-
tmp$ret$1 = atomic$ref$1(null);
|
|
36
|
-
tmp_2[tmp_3] = tmp$ret$1;
|
|
25
|
+
var tmp_1 = fillArrayVal(Array(size), null);
|
|
26
|
+
while (tmp_0 < size) {
|
|
27
|
+
tmp_1[tmp_0] = atomic$ref$1(null);
|
|
37
28
|
tmp_0 = tmp_0 + 1 | 0;
|
|
38
29
|
}
|
|
39
|
-
tmp.
|
|
30
|
+
tmp.jo_1 = tmp_1;
|
|
40
31
|
}
|
|
41
|
-
protoOf(atomicfu$AtomicRefArray$ref).
|
|
42
|
-
return this.
|
|
32
|
+
protoOf(atomicfu$AtomicRefArray$ref).ko = function () {
|
|
33
|
+
return this.jo_1.length;
|
|
43
34
|
};
|
|
44
35
|
protoOf(atomicfu$AtomicRefArray$ref).atomicfu$get = function (index) {
|
|
45
|
-
return this.
|
|
36
|
+
return this.jo_1[index];
|
|
46
37
|
};
|
|
47
|
-
defineProp(protoOf(atomicfu$AtomicRefArray$ref), 'atomicfu$size', protoOf(atomicfu$AtomicRefArray$ref).gl);
|
|
48
38
|
function atomicfu$AtomicRefArray$ofNulls(size) {
|
|
49
39
|
return new atomicfu$AtomicRefArray$ref(size);
|
|
50
40
|
}
|
|
@@ -71,10 +61,10 @@
|
|
|
71
61
|
function AtomicRef(value) {
|
|
72
62
|
this.kotlinx$atomicfu$value = value;
|
|
73
63
|
}
|
|
74
|
-
protoOf(AtomicRef).
|
|
64
|
+
protoOf(AtomicRef).lo = function (_set____db54di) {
|
|
75
65
|
this.kotlinx$atomicfu$value = _set____db54di;
|
|
76
66
|
};
|
|
77
|
-
protoOf(AtomicRef).
|
|
67
|
+
protoOf(AtomicRef).mo = function () {
|
|
78
68
|
return this.kotlinx$atomicfu$value;
|
|
79
69
|
};
|
|
80
70
|
protoOf(AtomicRef).atomicfu$compareAndSet = function (expect, update) {
|
|
@@ -97,10 +87,10 @@
|
|
|
97
87
|
function AtomicBoolean(value) {
|
|
98
88
|
this.kotlinx$atomicfu$value = value;
|
|
99
89
|
}
|
|
100
|
-
protoOf(AtomicBoolean).
|
|
90
|
+
protoOf(AtomicBoolean).no = function (_set____db54di) {
|
|
101
91
|
this.kotlinx$atomicfu$value = _set____db54di;
|
|
102
92
|
};
|
|
103
|
-
protoOf(AtomicBoolean).
|
|
93
|
+
protoOf(AtomicBoolean).mo = function () {
|
|
104
94
|
return this.kotlinx$atomicfu$value;
|
|
105
95
|
};
|
|
106
96
|
protoOf(AtomicBoolean).atomicfu$compareAndSet = function (expect, update) {
|
|
@@ -123,10 +113,10 @@
|
|
|
123
113
|
function AtomicInt(value) {
|
|
124
114
|
this.kotlinx$atomicfu$value = value;
|
|
125
115
|
}
|
|
126
|
-
protoOf(AtomicInt).
|
|
116
|
+
protoOf(AtomicInt).oo = function (_set____db54di) {
|
|
127
117
|
this.kotlinx$atomicfu$value = _set____db54di;
|
|
128
118
|
};
|
|
129
|
-
protoOf(AtomicInt).
|
|
119
|
+
protoOf(AtomicInt).mo = function () {
|
|
130
120
|
return this.kotlinx$atomicfu$value;
|
|
131
121
|
};
|
|
132
122
|
protoOf(AtomicInt).atomicfu$compareAndSet = function (expect, update) {
|
|
@@ -141,37 +131,31 @@
|
|
|
141
131
|
return oldValue;
|
|
142
132
|
};
|
|
143
133
|
protoOf(AtomicInt).atomicfu$getAndIncrement = function () {
|
|
144
|
-
var
|
|
145
|
-
|
|
146
|
-
tmp0_this.kotlinx$atomicfu$value = tmp1 + 1 | 0;
|
|
134
|
+
var tmp1 = this.kotlinx$atomicfu$value;
|
|
135
|
+
this.kotlinx$atomicfu$value = tmp1 + 1 | 0;
|
|
147
136
|
return tmp1;
|
|
148
137
|
};
|
|
149
138
|
protoOf(AtomicInt).atomicfu$getAndDecrement = function () {
|
|
150
|
-
var
|
|
151
|
-
|
|
152
|
-
tmp0_this.kotlinx$atomicfu$value = tmp1 - 1 | 0;
|
|
139
|
+
var tmp1 = this.kotlinx$atomicfu$value;
|
|
140
|
+
this.kotlinx$atomicfu$value = tmp1 - 1 | 0;
|
|
153
141
|
return tmp1;
|
|
154
142
|
};
|
|
155
143
|
protoOf(AtomicInt).atomicfu$getAndAdd = function (delta) {
|
|
156
144
|
var oldValue = this.kotlinx$atomicfu$value;
|
|
157
|
-
|
|
158
|
-
tmp0_this.kotlinx$atomicfu$value = tmp0_this.kotlinx$atomicfu$value + delta | 0;
|
|
145
|
+
this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value + delta | 0;
|
|
159
146
|
return oldValue;
|
|
160
147
|
};
|
|
161
148
|
protoOf(AtomicInt).atomicfu$addAndGet = function (delta) {
|
|
162
|
-
|
|
163
|
-
tmp0_this.kotlinx$atomicfu$value = tmp0_this.kotlinx$atomicfu$value + delta | 0;
|
|
149
|
+
this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value + delta | 0;
|
|
164
150
|
return this.kotlinx$atomicfu$value;
|
|
165
151
|
};
|
|
166
152
|
protoOf(AtomicInt).atomicfu$incrementAndGet = function () {
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
return tmp0_this.kotlinx$atomicfu$value;
|
|
153
|
+
this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value + 1 | 0;
|
|
154
|
+
return this.kotlinx$atomicfu$value;
|
|
170
155
|
};
|
|
171
156
|
protoOf(AtomicInt).atomicfu$decrementAndGet = function () {
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
return tmp0_this.kotlinx$atomicfu$value;
|
|
157
|
+
this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value - 1 | 0;
|
|
158
|
+
return this.kotlinx$atomicfu$value;
|
|
175
159
|
};
|
|
176
160
|
protoOf(AtomicInt).toString = function () {
|
|
177
161
|
return this.kotlinx$atomicfu$value.toString();
|
|
@@ -182,10 +166,10 @@
|
|
|
182
166
|
function AtomicLong(value) {
|
|
183
167
|
this.kotlinx$atomicfu$value = value;
|
|
184
168
|
}
|
|
185
|
-
protoOf(AtomicLong).
|
|
169
|
+
protoOf(AtomicLong).po = function (_set____db54di) {
|
|
186
170
|
this.kotlinx$atomicfu$value = _set____db54di;
|
|
187
171
|
};
|
|
188
|
-
protoOf(AtomicLong).
|
|
172
|
+
protoOf(AtomicLong).mo = function () {
|
|
189
173
|
return this.kotlinx$atomicfu$value;
|
|
190
174
|
};
|
|
191
175
|
protoOf(AtomicLong).atomicfu$compareAndSet = function (expect, update) {
|
|
@@ -200,37 +184,31 @@
|
|
|
200
184
|
return oldValue;
|
|
201
185
|
};
|
|
202
186
|
protoOf(AtomicLong).atomicfu$getAndIncrement$long = function () {
|
|
203
|
-
var
|
|
204
|
-
|
|
205
|
-
tmp0_this.kotlinx$atomicfu$value = tmp1.wj();
|
|
187
|
+
var tmp1 = this.kotlinx$atomicfu$value;
|
|
188
|
+
this.kotlinx$atomicfu$value = tmp1.f3();
|
|
206
189
|
return tmp1;
|
|
207
190
|
};
|
|
208
191
|
protoOf(AtomicLong).atomicfu$getAndDecrement$long = function () {
|
|
209
|
-
var
|
|
210
|
-
|
|
211
|
-
tmp0_this.kotlinx$atomicfu$value = tmp1.xj();
|
|
192
|
+
var tmp1 = this.kotlinx$atomicfu$value;
|
|
193
|
+
this.kotlinx$atomicfu$value = tmp1.g3();
|
|
212
194
|
return tmp1;
|
|
213
195
|
};
|
|
214
196
|
protoOf(AtomicLong).atomicfu$getAndAdd$long = function (delta) {
|
|
215
197
|
var oldValue = this.kotlinx$atomicfu$value;
|
|
216
|
-
|
|
217
|
-
tmp0_this.kotlinx$atomicfu$value = tmp0_this.kotlinx$atomicfu$value.f7(delta);
|
|
198
|
+
this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value.a3(delta);
|
|
218
199
|
return oldValue;
|
|
219
200
|
};
|
|
220
201
|
protoOf(AtomicLong).atomicfu$addAndGet$long = function (delta) {
|
|
221
|
-
|
|
222
|
-
tmp0_this.kotlinx$atomicfu$value = tmp0_this.kotlinx$atomicfu$value.f7(delta);
|
|
202
|
+
this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value.a3(delta);
|
|
223
203
|
return this.kotlinx$atomicfu$value;
|
|
224
204
|
};
|
|
225
205
|
protoOf(AtomicLong).atomicfu$incrementAndGet$long = function () {
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
return tmp0_this.kotlinx$atomicfu$value;
|
|
206
|
+
this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value.f3();
|
|
207
|
+
return this.kotlinx$atomicfu$value;
|
|
229
208
|
};
|
|
230
209
|
protoOf(AtomicLong).atomicfu$decrementAndGet$long = function () {
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
return tmp0_this.kotlinx$atomicfu$value;
|
|
210
|
+
this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value.g3();
|
|
211
|
+
return this.kotlinx$atomicfu$value;
|
|
234
212
|
};
|
|
235
213
|
protoOf(AtomicLong).toString = function () {
|
|
236
214
|
return this.kotlinx$atomicfu$value.toString();
|
|
@@ -254,6 +232,9 @@
|
|
|
254
232
|
trace = trace === VOID ? None_getInstance() : trace;
|
|
255
233
|
return new AtomicLong(initial);
|
|
256
234
|
}
|
|
235
|
+
//region block: post-declaration
|
|
236
|
+
defineProp(protoOf(atomicfu$AtomicRefArray$ref), 'atomicfu$size', protoOf(atomicfu$AtomicRefArray$ref).ko);
|
|
237
|
+
//endregion
|
|
257
238
|
//region block: exports
|
|
258
239
|
_.$_$ = _.$_$ || {};
|
|
259
240
|
_.$_$.a = atomicfu$AtomicRefArray$ofNulls;
|
|
@@ -263,6 +244,6 @@
|
|
|
263
244
|
_.$_$.e = atomic$int$1;
|
|
264
245
|
//endregion
|
|
265
246
|
return _;
|
|
266
|
-
}(module.exports, require('./kotlin-kotlin-stdlib
|
|
247
|
+
}(module.exports, require('./kotlin-kotlin-stdlib.js')));
|
|
267
248
|
|
|
268
249
|
//# sourceMappingURL=88b0986a7186d029-atomicfu-js-ir.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../../../
|
|
1
|
+
{"version":3,"sources":["../../../../../../../../../mnt/agent/work/88b0986a7186d029/atomicfu/src/commonMain/kotlin/kotlinx/atomicfu/AtomicFU.common.kt","../../../../../cli/build/compileSync/js/main/productionLibrary/kotlin/js/builtins/Library.kt","../../../../../../../../../mnt/agent/work/88b0986a7186d029/atomicfu/src/commonMain/kotlin/kotlinx/atomicfu/Trace.common.kt","../../../../../../../../../mnt/agent/work/88b0986a7186d029/atomicfu/src/jsMain/kotlin/kotlinx/atomicfu/AtomicFU.kt"],"sourcesContent":[null,null,null,null],"names":["<init>","size","<get-size>","get","index","atomicArrayOfNulls","append","event","event1","event2","event3","event4","value","<set-value>","<set-?>","<get-value>","compareAndSet","expect","update","getAndSet","oldValue","toString","atomic","initial","getAndIncrement","getAndDecrement","getAndAdd","delta","addAndGet","incrementAndGet","decrementAndGet","trace"],"mappings":";;;;;;;;;;;;;;;;;;;;sCAgjBqCA,CAAYC,IAAZD,EADrC;A,cAEwB,I;QAAA,S;;QAAA,QCrhBmC,aAAiB,MDqhB9C,ICrhB8C,CAAjB,EAAkC,IAAlC,C;WDqhBnC,QAAM,I,EAAN;A,MAAA,eAAc,aAAW,IAAX,C;MAAd,qB;IAA+B,C;IAA/B,gB;EAFxB,C;qDAMQE,CAAAA,EAAQ;A,IAAU,OAAV,IAAU,CAAV,IAAU,CAAJ,M;EAAG,C;+DAGLC,CAAQC,KAARD,EAAqC;A,IAAY,OAAZ,UAAM,KAAN,C;EAAW,C;0CAvc7DE,CAA2BJ,IAA3BI,EAAyD;A,IAAiB,OAAjB,gCAAY,IAAZ,C;EAAgB,C;eER5EL,CAAAA,EAAA;A;IAAqB,6B;EAArB,C;;;;;;;6BApCiCA,CAAAA,EADrC;A,EAAA,C;iEAMgBM,CAAWC,KAAXD,EAAuB;A,EAAC,C;iEAMxBA,CAAWE,M,EAAaC,MAAxBH,EAAqC;A,EAAC,C;iEAMtCA,CAAWE,M,EAAaC,M,EAAaC,MAArCJ,EAAkD;A,EAAC,C;iEAMnDA,CAAWE,M,EAAaC,M,EAAaC,M,EAAaC,MAAlDL,EAA+D;A,EAAC,C;oBCvDtCN,CAAYY,KAAZZ,EAA1C;A,IAEiC,mC;EAFjC,C;mCAEkBa,CAAAC,cAAAD,EAAA;A,IAAA,4C;EAAmB,C;mCAAnBE,CAAAA,EAAA;A,IAAA,kC;EAAmB,C;uDASnBC,CAAkBC,M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AA,uC;IAAK,OAAL,I;EAAM,C;yDAGpCC,CAAcC,KAAdD,EAAiC;A,QAC3CN,WAAe,IAAfA,CAAe,sB;IACf,6DAAS,KAAT,C;IACA,OAAO,Q;EACX,C;yDAGcQ,CAAcD,KAAdC,EAAiC;A,IAC3C,6DAAS,KAAT,C;IACA,OAAO,IAAP,CAAO,sB;EACX,C;+DAGcC,CAAAA,EAA8B;A,IAAE,8BAAA,IAAF,CAAE,sBAAF,K;IAAO,OAAL,IAAK,CAAL,sB;EAAI,C;+DAGpCC,CAAAA,EAA8B;A,IAAE,8BAAA,IAAF,CAAE,sBAAF,K;IAAO,OAAL,IAAK,CAAL,sB;EAAI,C;0CAMzCT,CAAAA,EAAyB;A,IAAgB,OAAhB,IAAM,CAAN,sBAAM,W;EAAS,C;wBArLvCC,CAAWC,OAAXD,EAAwC;A,IAAqB,OAArB,aAAO,OAAP,qB;EAAoB,C;sBAf5DA,CAAeC,O,EAAYQ,KAA3BT,EAA6D;A;IAAqB,OAArB,cAAa,OAAb,C;EAAoB,C;0BAkBjFA,CAAWC,O,EAAkBQ,KAA7BT,EAAgE;A;IAAsB,OAAtB,kBAAc,OAAd,C;EAAqB,C;sBAZrFA,CAAWC,O,EAAcQ,KAAzBT,EAAwD;A;IAAkB,OAAlB,cAAU,OAAV,C;EAAiB,C;uBAMzEA,CAAWC,O,EAAeQ,KAA1BT,EAA0D;A;IAAmB,OAAnB,eAAW,OAAX,C;EAAkB,C;;;;;;;;;;;;;;"}
|
package/app.properties
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
npmRegistry=https://verdaccio.mrsdev.ru/
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
(function (_, kotlin_clikt_clikt, kotlin_kotlin, kotlin_mordant_mordant) {
|
|
2
|
+
'use strict';
|
|
3
|
+
//region block: imports
|
|
4
|
+
var selfAndAncestors = kotlin_clikt_clikt.$_$.f;
|
|
5
|
+
var mapNotNull = kotlin_kotlin.$_$.kd;
|
|
6
|
+
var firstOrNull = kotlin_kotlin.$_$.fd;
|
|
7
|
+
var Terminal_init_$Create$ = kotlin_mordant_mordant.$_$.e;
|
|
8
|
+
var last = kotlin_kotlin.$_$.jd;
|
|
9
|
+
var Unit_instance = kotlin_kotlin.$_$.g5;
|
|
10
|
+
var Terminal = kotlin_mordant_mordant.$_$.d;
|
|
11
|
+
var VOID = kotlin_kotlin.$_$.g;
|
|
12
|
+
var transformAll = kotlin_clikt_clikt.$_$.m;
|
|
13
|
+
var to = kotlin_kotlin.$_$.wh;
|
|
14
|
+
var numberRangeToNumber = kotlin_kotlin.$_$.yb;
|
|
15
|
+
var slice = kotlin_kotlin.$_$.xe;
|
|
16
|
+
var charSequenceGet = kotlin_kotlin.$_$.qa;
|
|
17
|
+
var contains = kotlin_kotlin.$_$.td;
|
|
18
|
+
var charSequenceLength = kotlin_kotlin.$_$.ra;
|
|
19
|
+
var toString = kotlin_kotlin.$_$.v2;
|
|
20
|
+
var titlecase = kotlin_kotlin.$_$.hf;
|
|
21
|
+
var isLowerCase = kotlin_kotlin.$_$.ie;
|
|
22
|
+
var toString_0 = kotlin_kotlin.$_$.ic;
|
|
23
|
+
var Prompt = kotlin_mordant_mordant.$_$.c;
|
|
24
|
+
var OptionCallTransformContext = kotlin_clikt_clikt.$_$.j;
|
|
25
|
+
var listOf = kotlin_kotlin.$_$.w7;
|
|
26
|
+
var OptionWithValues = kotlin_clikt_clikt.$_$.k;
|
|
27
|
+
var isInterface = kotlin_kotlin.$_$.sb;
|
|
28
|
+
var Valid = kotlin_mordant_mordant.$_$.b;
|
|
29
|
+
var Plain_instance = kotlin_clikt_clikt.$_$.o;
|
|
30
|
+
var Invalid = kotlin_mordant_mordant.$_$.a;
|
|
31
|
+
var UsageError = kotlin_clikt_clikt.$_$.e;
|
|
32
|
+
var protoOf = kotlin_kotlin.$_$.dc;
|
|
33
|
+
var initMetadataForClass = kotlin_kotlin.$_$.db;
|
|
34
|
+
var compareTo = kotlin_kotlin.$_$.ta;
|
|
35
|
+
var Regex_init_$Create$ = kotlin_kotlin.$_$.d1;
|
|
36
|
+
var lastOrNull = kotlin_kotlin.$_$.s7;
|
|
37
|
+
var Abort = kotlin_clikt_clikt.$_$.a;
|
|
38
|
+
var Companion_instance = kotlin_mordant_mordant.$_$.f;
|
|
39
|
+
//endregion
|
|
40
|
+
//region block: pre-declaration
|
|
41
|
+
initMetadataForClass(prompt$1$builder$1$1, VOID, VOID, Prompt);
|
|
42
|
+
//endregion
|
|
43
|
+
function get_terminal(_this__u8e3s4) {
|
|
44
|
+
// Inline function 'com.github.ajalt.clikt.core.Context.findObject' call
|
|
45
|
+
var key = 'mordant_terminal';
|
|
46
|
+
var tmp = selfAndAncestors(_this__u8e3s4);
|
|
47
|
+
var tmp0_elvis_lhs = firstOrNull(mapNotNull(tmp, _get_terminal_$lambda_5keric(key)));
|
|
48
|
+
var tmp_0;
|
|
49
|
+
if (tmp0_elvis_lhs == null) {
|
|
50
|
+
// Inline function 'kotlin.also' call
|
|
51
|
+
var this_0 = Terminal_init_$Create$();
|
|
52
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
53
|
+
// Inline function 'com.github.ajalt.clikt.core.<get-terminal>.<anonymous>' call
|
|
54
|
+
// Inline function 'kotlin.collections.set' call
|
|
55
|
+
var this_1 = last(selfAndAncestors(_this__u8e3s4)).l6t_1;
|
|
56
|
+
var key_0 = 'mordant_terminal';
|
|
57
|
+
this_1.o2(key_0, this_0);
|
|
58
|
+
tmp_0 = this_0;
|
|
59
|
+
} else {
|
|
60
|
+
tmp_0 = tmp0_elvis_lhs;
|
|
61
|
+
}
|
|
62
|
+
return tmp_0;
|
|
63
|
+
}
|
|
64
|
+
function _get_terminal_$lambda_5keric($key) {
|
|
65
|
+
return function (it) {
|
|
66
|
+
var tmp = it.l6t_1.l2($key);
|
|
67
|
+
return tmp instanceof Terminal ? tmp : null;
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
function prompt(_this__u8e3s4, text, default_0, hideInput, promptSuffix, showDefault, requireConfirmation, confirmationPrompt, confirmationMismatchMessage) {
|
|
71
|
+
text = text === VOID ? null : text;
|
|
72
|
+
default_0 = default_0 === VOID ? null : default_0;
|
|
73
|
+
hideInput = hideInput === VOID ? false : hideInput;
|
|
74
|
+
promptSuffix = promptSuffix === VOID ? ': ' : promptSuffix;
|
|
75
|
+
showDefault = showDefault === VOID ? true : showDefault;
|
|
76
|
+
requireConfirmation = requireConfirmation === VOID ? false : requireConfirmation;
|
|
77
|
+
confirmationPrompt = confirmationPrompt === VOID ? 'Repeat for confirmation' : confirmationPrompt;
|
|
78
|
+
confirmationMismatchMessage = confirmationMismatchMessage === VOID ? 'Values do not match, try again' : confirmationMismatchMessage;
|
|
79
|
+
return transformAll(_this__u8e3s4, VOID, VOID, prompt$lambda(text, requireConfirmation, confirmationPrompt, confirmationMismatchMessage, default_0, showDefault, hideInput, promptSuffix, _this__u8e3s4));
|
|
80
|
+
}
|
|
81
|
+
function splitOptionPrefix(name) {
|
|
82
|
+
var tmp;
|
|
83
|
+
if (name.length < 2 || !contains('-@/+', charSequenceGet(name, 0))) {
|
|
84
|
+
tmp = to('', name);
|
|
85
|
+
} else if (name.length > 2 && charSequenceGet(name, 0) === charSequenceGet(name, 1)) {
|
|
86
|
+
var tmp_0 = slice(name, numberRangeToNumber(0, 1));
|
|
87
|
+
// Inline function 'kotlin.text.substring' call
|
|
88
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
89
|
+
var tmp$ret$1 = name.substring(2);
|
|
90
|
+
tmp = to(tmp_0, tmp$ret$1);
|
|
91
|
+
} else {
|
|
92
|
+
// Inline function 'kotlin.text.substring' call
|
|
93
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
94
|
+
var tmp_1 = name.substring(0, 1);
|
|
95
|
+
// Inline function 'kotlin.text.substring' call
|
|
96
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
97
|
+
var tmp$ret$5 = name.substring(1);
|
|
98
|
+
tmp = to(tmp_1, tmp$ret$5);
|
|
99
|
+
}
|
|
100
|
+
return tmp;
|
|
101
|
+
}
|
|
102
|
+
function capitalize2(_this__u8e3s4) {
|
|
103
|
+
// Inline function 'kotlin.text.replaceFirstChar' call
|
|
104
|
+
var tmp;
|
|
105
|
+
// Inline function 'kotlin.text.isNotEmpty' call
|
|
106
|
+
if (charSequenceLength(_this__u8e3s4) > 0) {
|
|
107
|
+
// Inline function 'com.github.ajalt.clikt.parameters.options.capitalize2.<anonymous>' call
|
|
108
|
+
var it = charSequenceGet(_this__u8e3s4, 0);
|
|
109
|
+
var tmp$ret$1 = isLowerCase(it) ? titlecase(it) : toString(it);
|
|
110
|
+
var tmp_0 = toString_0(tmp$ret$1);
|
|
111
|
+
// Inline function 'kotlin.text.substring' call
|
|
112
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
113
|
+
tmp = tmp_0 + _this__u8e3s4.substring(1);
|
|
114
|
+
} else {
|
|
115
|
+
tmp = _this__u8e3s4;
|
|
116
|
+
}
|
|
117
|
+
return tmp;
|
|
118
|
+
}
|
|
119
|
+
function prompt$1$builder$1$1($it, $this_transformAll, $default, $showDefault, $hideInput, $promptSuffix, $this_prompt) {
|
|
120
|
+
this.z7l_1 = $this_transformAll;
|
|
121
|
+
this.a7m_1 = $this_prompt;
|
|
122
|
+
Prompt.call(this, $it, get_terminal_0($this_transformAll), $default, $showDefault, VOID, $hideInput, VOID, $promptSuffix);
|
|
123
|
+
}
|
|
124
|
+
protoOf(prompt$1$builder$1$1).b7j = function (input) {
|
|
125
|
+
var ctx = new OptionCallTransformContext('', this.z7l_1, this.z7l_1.h6u_1);
|
|
126
|
+
try {
|
|
127
|
+
var v = this.a7m_1.h74()(ctx, listOf(this.a7m_1.f73()(ctx, input)));
|
|
128
|
+
var tmp = this.z7l_1.g6u_1;
|
|
129
|
+
var tmp4_safe_receiver = isInterface(tmp, OptionWithValues) ? tmp : null;
|
|
130
|
+
var validator = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.t74();
|
|
131
|
+
if (validator == null)
|
|
132
|
+
null;
|
|
133
|
+
else
|
|
134
|
+
validator(this.z7l_1, v);
|
|
135
|
+
return new Valid(v);
|
|
136
|
+
} catch ($p) {
|
|
137
|
+
if ($p instanceof UsageError) {
|
|
138
|
+
var e = $p;
|
|
139
|
+
var tmp0_elvis_lhs = e.r9();
|
|
140
|
+
e.q6w(tmp0_elvis_lhs == null ? this.z7l_1.h6u_1 : tmp0_elvis_lhs);
|
|
141
|
+
return new Invalid(e.p6w(this.z7l_1.h6u_1.j6t_1, Plain_instance));
|
|
142
|
+
} else {
|
|
143
|
+
throw $p;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
function prompt$lambda$lambda($this_transformAll, $default, $showDefault, $hideInput, $promptSuffix, $this_prompt) {
|
|
148
|
+
return function (it) {
|
|
149
|
+
return new prompt$1$builder$1$1(it, $this_transformAll, $default, $showDefault, $hideInput, $promptSuffix, $this_prompt);
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
function prompt$lambda($text, $requireConfirmation, $confirmationPrompt, $confirmationMismatchMessage, $default, $showDefault, $hideInput, $promptSuffix, $this_prompt) {
|
|
153
|
+
return function ($this$transformAll, invocations) {
|
|
154
|
+
var tmp0_elvis_lhs = $text;
|
|
155
|
+
var tmp;
|
|
156
|
+
if (tmp0_elvis_lhs == null) {
|
|
157
|
+
var tmp$ret$0;
|
|
158
|
+
$l$block_0: {
|
|
159
|
+
// Inline function 'kotlin.collections.maxByOrNull' call
|
|
160
|
+
var iterator = $this$transformAll.u6s().k();
|
|
161
|
+
if (!iterator.l()) {
|
|
162
|
+
tmp$ret$0 = null;
|
|
163
|
+
break $l$block_0;
|
|
164
|
+
}
|
|
165
|
+
var maxElem = iterator.m();
|
|
166
|
+
if (!iterator.l()) {
|
|
167
|
+
tmp$ret$0 = maxElem;
|
|
168
|
+
break $l$block_0;
|
|
169
|
+
}
|
|
170
|
+
// Inline function 'com.github.ajalt.clikt.parameters.options.prompt.<anonymous>.<anonymous>' call
|
|
171
|
+
var maxValue = maxElem.length;
|
|
172
|
+
do {
|
|
173
|
+
var e = iterator.m();
|
|
174
|
+
// Inline function 'com.github.ajalt.clikt.parameters.options.prompt.<anonymous>.<anonymous>' call
|
|
175
|
+
var v = e.length;
|
|
176
|
+
if (compareTo(maxValue, v) < 0) {
|
|
177
|
+
maxElem = e;
|
|
178
|
+
maxValue = v;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
while (iterator.l());
|
|
182
|
+
tmp$ret$0 = maxElem;
|
|
183
|
+
}
|
|
184
|
+
var tmp1_safe_receiver = tmp$ret$0;
|
|
185
|
+
var tmp_0;
|
|
186
|
+
if (tmp1_safe_receiver == null) {
|
|
187
|
+
tmp_0 = null;
|
|
188
|
+
} else {
|
|
189
|
+
// Inline function 'kotlin.let' call
|
|
190
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
191
|
+
// Inline function 'com.github.ajalt.clikt.parameters.options.prompt.<anonymous>.<anonymous>' call
|
|
192
|
+
tmp_0 = splitOptionPrefix(tmp1_safe_receiver).pg_1;
|
|
193
|
+
}
|
|
194
|
+
var tmp2_safe_receiver = tmp_0;
|
|
195
|
+
var tmp_1;
|
|
196
|
+
if (tmp2_safe_receiver == null) {
|
|
197
|
+
tmp_1 = null;
|
|
198
|
+
} else {
|
|
199
|
+
// Inline function 'kotlin.text.replace' call
|
|
200
|
+
tmp_1 = Regex_init_$Create$('\\W').ed(tmp2_safe_receiver, ' ');
|
|
201
|
+
}
|
|
202
|
+
var tmp3_safe_receiver = tmp_1;
|
|
203
|
+
tmp = tmp3_safe_receiver == null ? null : capitalize2(tmp3_safe_receiver);
|
|
204
|
+
} else {
|
|
205
|
+
tmp = tmp0_elvis_lhs;
|
|
206
|
+
}
|
|
207
|
+
var tmp1_elvis_lhs = tmp;
|
|
208
|
+
var promptText = tmp1_elvis_lhs == null ? 'Value' : tmp1_elvis_lhs;
|
|
209
|
+
var provided = lastOrNull(invocations);
|
|
210
|
+
var tmp_2;
|
|
211
|
+
if (!(provided == null)) {
|
|
212
|
+
return provided;
|
|
213
|
+
}
|
|
214
|
+
var tmp_3;
|
|
215
|
+
if ($this$transformAll.h6u_1.p6t_1) {
|
|
216
|
+
throw new Abort();
|
|
217
|
+
}
|
|
218
|
+
var builder = prompt$lambda$lambda($this$transformAll, $default, $showDefault, $hideInput, $promptSuffix, $this_prompt);
|
|
219
|
+
var tmp_4;
|
|
220
|
+
if ($requireConfirmation) {
|
|
221
|
+
tmp_4 = Companion_instance.o7j(promptText, $confirmationPrompt, $confirmationMismatchMessage, builder).i7j();
|
|
222
|
+
} else {
|
|
223
|
+
tmp_4 = builder(promptText).i7j();
|
|
224
|
+
}
|
|
225
|
+
var result = tmp_4;
|
|
226
|
+
var tmp_5;
|
|
227
|
+
if (result == null) {
|
|
228
|
+
throw new Abort();
|
|
229
|
+
} else {
|
|
230
|
+
tmp_5 = result;
|
|
231
|
+
}
|
|
232
|
+
return tmp_5;
|
|
233
|
+
};
|
|
234
|
+
}
|
|
235
|
+
function get_terminal_0(_this__u8e3s4) {
|
|
236
|
+
return get_terminal(_this__u8e3s4.h6u_1);
|
|
237
|
+
}
|
|
238
|
+
//region block: exports
|
|
239
|
+
_.$_$ = _.$_$ || {};
|
|
240
|
+
_.$_$.a = prompt;
|
|
241
|
+
//endregion
|
|
242
|
+
return _;
|
|
243
|
+
}(module.exports, require('./clikt-clikt.js'), require('./kotlin-kotlin-stdlib.js'), require('./mordant-mordant.js')));
|
|
244
|
+
|
|
245
|
+
//# sourceMappingURL=clikt-clikt-mordant.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../../../../Users/runner/work/clikt/clikt/clikt-mordant/src/commonMain/kotlin/com/github/ajalt/clikt/core/MordantContext.kt","../../../../../../../../../Users/runner/work/clikt/clikt/clikt/src/commonMain/kotlin/com/github/ajalt/clikt/core/Context.kt","../../../../../cli/build/compileSync/js/main/productionLibrary/kotlin/src/kotlin/util/Standard.kt","../../../../../cli/build/compileSync/js/main/productionLibrary/kotlin/src/kotlin/collections/Maps.kt","../../../../../../../../../Users/runner/work/clikt/clikt/clikt-mordant/src/commonMain/kotlin/com/github/ajalt/clikt/parameters/options/PromptOptions.kt","../../../../../cli/build/compileSync/js/main/productionLibrary/kotlin/js/src/kotlin/text/stringJs.kt","../../../../../cli/build/compileSync/js/main/productionLibrary/kotlin/src/kotlin/text/Strings.kt","../../../../../cli/build/compileSync/js/main/productionLibrary/kotlin/common/src/generated/_Collections.kt","../../../../../../../../../Users/runner/work/clikt/clikt/clikt-mordant/src/commonMain/kotlin/com/github/ajalt/clikt/parameters/transform/MordantTransformContext.kt"],"sourcesContent":[null,null,null,null,null,null,null,null,null],"names":["<get-terminal>","<this>","<get-terminal>$lambda","<get-terminal>$lambda$lambda","it","prompt","text","default","hideInput","promptSuffix","showDefault","requireConfirmation","confirmationPrompt","confirmationMismatchMessage","splitOptionPrefix","name","capitalize2","<init>","$it","$this_transformAll","$default","$showDefault","$hideInput","$promptSuffix","convert","input","ctx","v","validator","e","prompt$lambda$lambda","prompt$lambda$lambda$lambda","prompt$lambda","$text","$requireConfirmation","$confirmationPrompt","$confirmationMismatchMessage","$this$transformAll","invocations","iterator","maxElem","maxValue","promptText","provided","builder","result"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAYIA,CADAC,aACAD,EAAQ;A;cCFkB,kB;cA2If,iBA3II,aA2IJ,C;QDzIH,iBCyIwD,YAAlC,gBAAW,iCAAX,CAAkC,C;;IDzIxD,2B;;mBEEqB,wB;;;;mBCEM,KAAnB,+BAAmB,C,CAAO,K;kBAAK,kB;MA0P/C,UAAI,KAAJ,EHrM+wB,MGqM/wB,C;cDxKO,M;;cFtFC,c;;IAGP,Y;EAAD,C;uCAsDu2GE,C,IAAAA,E;oBAAAC,CAAAC,EAAAD,EAAA;A,gBAAE,GAAG,KAAH,IAAQ,IAAR,C;MAAkB,iC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