@kontur.candy/tools 2.217.0 → 2.219.0
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/distr/Tools/src/CLICommands/BuildServer/ResourcesControllers/BuildServerBackendResourcesUpdatesController.js +1 -1
- package/distr/Tools/src/CLICommands/BuildServer/ResourcesControllers/BuildServerBackendResourcesUpdatesController.js.map +1 -1
- package/distr/Tools/src/CLICommands/BuildServer/ResourcesControllers/DevServers/BuildFormDevServer.js +1 -1
- package/distr/Tools/src/CLICommands/BuildServer/ResourcesControllers/DevServers/BuildFormDevServer.js.map +1 -1
- package/distr/Tools/src/StaticFilesForProductionResourcesDir/client.js +685 -314
- package/distr/Tools/src/StaticFilesForProductionResourcesDir/client.js.map +1 -1
- package/distr/Tools/src/StaticFilesForProductionResourcesDir/client.min.js +154 -108
- package/distr/Tools/src/StaticFilesForProductionResourcesDir/client.min.js.map +1 -1
- package/package.json +2 -1
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
var __webpack_modules__ = {
|
|
8
8
|
750: function (e, t, r) {
|
|
9
|
-
var
|
|
9
|
+
var n, o, i;
|
|
10
10
|
function a(e) {
|
|
11
11
|
return "v1/ns/".concat(e.ns, "/drafts/").concat(e.draftId, "/client-draft-info");
|
|
12
12
|
}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
I: function () {
|
|
15
15
|
return a;
|
|
16
16
|
}
|
|
17
|
-
}), e = r.hmd(e), (
|
|
17
|
+
}), e = r.hmd(e), (n = "undefined" != typeof reactHotLoaderGlobal ? reactHotLoaderGlobal.enterModule : void 0) && n(e), "undefined" != typeof reactHotLoaderGlobal && reactHotLoaderGlobal.default.signature, (o = "undefined" != typeof reactHotLoaderGlobal ? reactHotLoaderGlobal.default : void 0) && o.register(a, "getClientDraftInfoUrl", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\CandyApiClient\\ClientDraftInfo\\GetClientDraftInfoUrl.ts"), (i = "undefined" != typeof reactHotLoaderGlobal ? reactHotLoaderGlobal.leaveModule : void 0) && i(e);
|
|
18
18
|
},
|
|
19
19
|
336: function (module, __webpack_exports__, __webpack_require__) {
|
|
20
20
|
function _typeof(e) {
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
}
|
|
31
31
|
function _defineProperties(e, t) {
|
|
32
32
|
for (var r = 0; r < t.length; r++) {
|
|
33
|
-
var
|
|
34
|
-
|
|
33
|
+
var n = t[r];
|
|
34
|
+
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, _toPropertyKey(n.key), n);
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
function _createClass(e, t, r) {
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
if ("object" != _typeof(e) || !e) return e;
|
|
48
48
|
var r = e[Symbol.toPrimitive];
|
|
49
49
|
if (void 0 !== r) {
|
|
50
|
-
var
|
|
51
|
-
if ("object" != _typeof(
|
|
50
|
+
var n = r.call(e, t || "default");
|
|
51
|
+
if ("object" != _typeof(n)) return n;
|
|
52
52
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
53
53
|
}
|
|
54
54
|
return ("string" === t ? String : Number)(e);
|
|
@@ -101,10 +101,10 @@
|
|
|
101
101
|
}
|
|
102
102
|
function _construct(e, t, r) {
|
|
103
103
|
if (_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments);
|
|
104
|
-
var
|
|
105
|
-
|
|
106
|
-
var
|
|
107
|
-
return r && _setPrototypeOf(
|
|
104
|
+
var n = [null];
|
|
105
|
+
n.push.apply(n, t);
|
|
106
|
+
var o = new (e.bind.apply(e, n))();
|
|
107
|
+
return r && _setPrototypeOf(o, r.prototype), o;
|
|
108
108
|
}
|
|
109
109
|
function _isNativeReflectConstruct() {
|
|
110
110
|
try {
|
|
@@ -211,7 +211,7 @@
|
|
|
211
211
|
reactHotLoader = "undefined" != typeof reactHotLoaderGlobal ? reactHotLoaderGlobal.default : void 0, reactHotLoader && (reactHotLoader.register(ApplicationError, "ApplicationError", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\Errors.ts"), reactHotLoader.register(NotImplementedError, "NotImplementedError", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\Errors.ts"), reactHotLoader.register(NotSupportedError, "NotSupportedError", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\Errors.ts"), reactHotLoader.register(InvalidProgramStateError, "InvalidProgramStateError", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\Errors.ts"), reactHotLoader.register(InvalidArgumentError, "InvalidArgumentError", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\Errors.ts"), reactHotLoader.register(TypingError, "TypingError", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\Errors.ts")), leaveModule = "undefined" != typeof reactHotLoaderGlobal ? reactHotLoaderGlobal.leaveModule : void 0, leaveModule && leaveModule(module);
|
|
212
212
|
},
|
|
213
213
|
163: function (e, t, r) {
|
|
214
|
-
var
|
|
214
|
+
var n, o, i;
|
|
215
215
|
function a(e) {
|
|
216
216
|
return a = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) {
|
|
217
217
|
return typeof e;
|
|
@@ -231,67 +231,67 @@
|
|
|
231
231
|
function s(e, t) {
|
|
232
232
|
return e.length === t;
|
|
233
233
|
}
|
|
234
|
-
function
|
|
234
|
+
function f(e) {
|
|
235
235
|
return e.length > 0;
|
|
236
236
|
}
|
|
237
|
-
function
|
|
237
|
+
function d(e) {
|
|
238
238
|
return null == e || "" === e;
|
|
239
239
|
}
|
|
240
240
|
r.d(t, {
|
|
241
241
|
ku: function () {
|
|
242
242
|
return c;
|
|
243
243
|
}
|
|
244
|
-
}), e = r.hmd(e), (
|
|
244
|
+
}), e = r.hmd(e), (n = "undefined" != typeof reactHotLoaderGlobal ? reactHotLoaderGlobal.enterModule : void 0) && n(e), "undefined" != typeof reactHotLoaderGlobal && reactHotLoaderGlobal.default.signature, (o = "undefined" != typeof reactHotLoaderGlobal ? reactHotLoaderGlobal.default : void 0) && (o.register(u, "isNotNullOrUndefined", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\TypingUtils.ts"), o.register(function (e) {
|
|
245
245
|
return "object" === a(e) && (null == e ? void 0 : e.message);
|
|
246
|
-
}, "stringifyUnknownError", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\TypingUtils.ts"),
|
|
246
|
+
}, "stringifyUnknownError", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\TypingUtils.ts"), o.register(function (e) {
|
|
247
247
|
if (!u(e)) throw new Error("Value must be defined");
|
|
248
|
-
}, "ensureNotNullOrUndefined", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\TypingUtils.ts"),
|
|
248
|
+
}, "ensureNotNullOrUndefined", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\TypingUtils.ts"), o.register(function () {}, "noop", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\TypingUtils.ts"), o.register(c, "reject", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\TypingUtils.ts"), o.register(l, "isLengthGreaterThenOrEqual", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\TypingUtils.ts"), o.register(function (e, t) {
|
|
249
249
|
if (l(e, t)) return e;
|
|
250
|
-
}, "minLengthOrUndefined", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\TypingUtils.ts"),
|
|
250
|
+
}, "minLengthOrUndefined", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\TypingUtils.ts"), o.register(function (e) {
|
|
251
251
|
if (!Array.isArray(e)) throw new Error("Must be an array!");
|
|
252
252
|
return e;
|
|
253
|
-
}, "ensureIsArray", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\TypingUtils.ts"),
|
|
253
|
+
}, "ensureIsArray", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\TypingUtils.ts"), o.register(s, "arrayHasLength", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\TypingUtils.ts"), o.register(f, "arrayIsNotEmpty", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\TypingUtils.ts"), o.register(function (e) {
|
|
254
254
|
return e.length > 0;
|
|
255
|
-
}, "arrayHasAtLeastOneItem", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\TypingUtils.ts"),
|
|
256
|
-
if (!
|
|
257
|
-
}, "ensureArrayIsNotEmpty", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\TypingUtils.ts"),
|
|
255
|
+
}, "arrayHasAtLeastOneItem", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\TypingUtils.ts"), o.register(function (e) {
|
|
256
|
+
if (!f(e)) throw new Error("Array must be not empty");
|
|
257
|
+
}, "ensureArrayIsNotEmpty", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\TypingUtils.ts"), o.register(function (e, t) {
|
|
258
258
|
if (!s(e, t)) throw new Error("Array should has length ".concat(t));
|
|
259
|
-
}, "ensureArrayHasLength", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\TypingUtils.ts"),
|
|
259
|
+
}, "ensureArrayHasLength", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\TypingUtils.ts"), o.register(function (e, t) {
|
|
260
260
|
if (!l(e, t)) throw new Error("Array must have minimal length ".concat(t));
|
|
261
|
-
}, "ensureArrayLengthGreaterThenOrEqual", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\TypingUtils.ts"),
|
|
261
|
+
}, "ensureArrayLengthGreaterThenOrEqual", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\TypingUtils.ts"), o.register(function (e) {}, "ensureNever", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\TypingUtils.ts"), o.register(function (e) {
|
|
262
262
|
return "".concat(e);
|
|
263
|
-
}, "ensureAndGetString", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\TypingUtils.ts"),
|
|
263
|
+
}, "ensureAndGetString", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\TypingUtils.ts"), o.register(function (e) {
|
|
264
264
|
e();
|
|
265
|
-
}, "runAsyncAction", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\TypingUtils.ts"),
|
|
266
|
-
return !
|
|
267
|
-
}, "isNotNullOrEmpty", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\TypingUtils.ts"),
|
|
265
|
+
}, "runAsyncAction", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\TypingUtils.ts"), o.register(d, "isNullOrEmpty", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\TypingUtils.ts"), o.register(function (e) {
|
|
266
|
+
return !d(e);
|
|
267
|
+
}, "isNotNullOrEmpty", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\TypingUtils.ts"), o.register(function (e) {
|
|
268
268
|
return null == e || "" === e.trim();
|
|
269
|
-
}, "isNullOrWhiteSpace", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\TypingUtils.ts"),
|
|
269
|
+
}, "isNullOrWhiteSpace", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\TypingUtils.ts"), o.register(function (e) {
|
|
270
270
|
return "/" === e.slice(-1) ? e.slice(0, -1) : e;
|
|
271
|
-
}, "trimLastSlash", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\TypingUtils.ts"),
|
|
271
|
+
}, "trimLastSlash", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\TypingUtils.ts"), o.register(function (e) {}, "assertIs", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Common\\TypingUtils.ts")), (i = "undefined" != typeof reactHotLoaderGlobal ? reactHotLoaderGlobal.leaveModule : void 0) && i(e);
|
|
272
272
|
},
|
|
273
273
|
591: function (e, t, r) {
|
|
274
|
-
var
|
|
275
|
-
|
|
276
|
-
i = "Symbol" in
|
|
277
|
-
a = "FileReader" in
|
|
274
|
+
var n = "undefined" != typeof globalThis && globalThis || "undefined" != typeof self && self || void 0 !== n && n,
|
|
275
|
+
o = ("URLSearchParams" in n),
|
|
276
|
+
i = "Symbol" in n && "iterator" in Symbol,
|
|
277
|
+
a = "FileReader" in n && "Blob" in n && function () {
|
|
278
278
|
try {
|
|
279
279
|
return new Blob(), !0;
|
|
280
280
|
} catch (e) {
|
|
281
281
|
return !1;
|
|
282
282
|
}
|
|
283
283
|
}(),
|
|
284
|
-
u = ("FormData" in
|
|
285
|
-
c = ("ArrayBuffer" in
|
|
284
|
+
u = ("FormData" in n),
|
|
285
|
+
c = ("ArrayBuffer" in n);
|
|
286
286
|
if (c) var l = ["[object Int8Array]", "[object Uint8Array]", "[object Uint8ClampedArray]", "[object Int16Array]", "[object Uint16Array]", "[object Int32Array]", "[object Uint32Array]", "[object Float32Array]", "[object Float64Array]"],
|
|
287
287
|
s = ArrayBuffer.isView || function (e) {
|
|
288
288
|
return e && l.indexOf(Object.prototype.toString.call(e)) > -1;
|
|
289
289
|
};
|
|
290
|
-
function
|
|
290
|
+
function f(e) {
|
|
291
291
|
if ("string" != typeof e && (e = String(e)), /[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e) || "" === e) throw new TypeError('Invalid character in header field name: "' + e + '"');
|
|
292
292
|
return e.toLowerCase();
|
|
293
293
|
}
|
|
294
|
-
function
|
|
294
|
+
function d(e) {
|
|
295
295
|
return "string" != typeof e && (e = String(e)), e;
|
|
296
296
|
}
|
|
297
297
|
function y(e) {
|
|
@@ -335,15 +335,15 @@
|
|
|
335
335
|
r = m(t);
|
|
336
336
|
return t.readAsArrayBuffer(e), r;
|
|
337
337
|
}
|
|
338
|
-
function
|
|
338
|
+
function v(e) {
|
|
339
339
|
if (e.slice) return e.slice(0);
|
|
340
340
|
var t = new Uint8Array(e.byteLength);
|
|
341
341
|
return t.set(new Uint8Array(e)), t.buffer;
|
|
342
342
|
}
|
|
343
|
-
function
|
|
343
|
+
function g() {
|
|
344
344
|
return this.bodyUsed = !1, this._initBody = function (e) {
|
|
345
345
|
var t;
|
|
346
|
-
this.bodyUsed = this.bodyUsed, this._bodyInit = e, e ? "string" == typeof e ? this._bodyText = e : a && Blob.prototype.isPrototypeOf(e) ? this._bodyBlob = e : u && FormData.prototype.isPrototypeOf(e) ? this._bodyFormData = e :
|
|
346
|
+
this.bodyUsed = this.bodyUsed, this._bodyInit = e, e ? "string" == typeof e ? this._bodyText = e : a && Blob.prototype.isPrototypeOf(e) ? this._bodyBlob = e : u && FormData.prototype.isPrototypeOf(e) ? this._bodyFormData = e : o && URLSearchParams.prototype.isPrototypeOf(e) ? this._bodyText = e.toString() : c && a && (t = e) && DataView.prototype.isPrototypeOf(t) ? (this._bodyArrayBuffer = v(e.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : c && (ArrayBuffer.prototype.isPrototypeOf(e) || s(e)) ? this._bodyArrayBuffer = v(e) : this._bodyText = e = Object.prototype.toString.call(e) : this._bodyText = "", this.headers.get("content-type") || ("string" == typeof e ? this.headers.set("content-type", "text/plain;charset=UTF-8") : this._bodyBlob && this._bodyBlob.type ? this.headers.set("content-type", this._bodyBlob.type) : o && URLSearchParams.prototype.isPrototypeOf(e) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8"));
|
|
347
347
|
}, a && (this.blob = function () {
|
|
348
348
|
var e = h(this);
|
|
349
349
|
if (e) return e;
|
|
@@ -357,33 +357,33 @@
|
|
|
357
357
|
var e,
|
|
358
358
|
t,
|
|
359
359
|
r,
|
|
360
|
-
|
|
361
|
-
if (
|
|
360
|
+
n = h(this);
|
|
361
|
+
if (n) return n;
|
|
362
362
|
if (this._bodyBlob) return e = this._bodyBlob, r = m(t = new FileReader()), t.readAsText(e), r;
|
|
363
363
|
if (this._bodyArrayBuffer) return Promise.resolve(function (e) {
|
|
364
|
-
for (var t = new Uint8Array(e), r = new Array(t.length),
|
|
364
|
+
for (var t = new Uint8Array(e), r = new Array(t.length), n = 0; n < t.length; n++) r[n] = String.fromCharCode(t[n]);
|
|
365
365
|
return r.join("");
|
|
366
366
|
}(this._bodyArrayBuffer));
|
|
367
367
|
if (this._bodyFormData) throw new Error("could not read FormData body as text");
|
|
368
368
|
return Promise.resolve(this._bodyText);
|
|
369
369
|
}, u && (this.formData = function () {
|
|
370
|
-
return this.text().then(
|
|
370
|
+
return this.text().then(E);
|
|
371
371
|
}), this.json = function () {
|
|
372
372
|
return this.text().then(JSON.parse);
|
|
373
373
|
}, this;
|
|
374
374
|
}
|
|
375
375
|
p.prototype.append = function (e, t) {
|
|
376
|
-
e =
|
|
376
|
+
e = f(e), t = d(t);
|
|
377
377
|
var r = this.map[e];
|
|
378
378
|
this.map[e] = r ? r + ", " + t : t;
|
|
379
379
|
}, p.prototype.delete = function (e) {
|
|
380
|
-
delete this.map[
|
|
380
|
+
delete this.map[f(e)];
|
|
381
381
|
}, p.prototype.get = function (e) {
|
|
382
|
-
return e =
|
|
382
|
+
return e = f(e), this.has(e) ? this.map[e] : null;
|
|
383
383
|
}, p.prototype.has = function (e) {
|
|
384
|
-
return this.map.hasOwnProperty(
|
|
384
|
+
return this.map.hasOwnProperty(f(e));
|
|
385
385
|
}, p.prototype.set = function (e, t) {
|
|
386
|
-
this.map[
|
|
386
|
+
this.map[f(e)] = d(t);
|
|
387
387
|
}, p.prototype.forEach = function (e, t) {
|
|
388
388
|
for (var r in this.map) this.map.hasOwnProperty(r) && e.call(t, this.map[r], r, this);
|
|
389
389
|
}, p.prototype.keys = function () {
|
|
@@ -403,29 +403,29 @@
|
|
|
403
403
|
}), y(e);
|
|
404
404
|
}, i && (p.prototype[Symbol.iterator] = p.prototype.entries);
|
|
405
405
|
var b = ["DELETE", "GET", "HEAD", "OPTIONS", "POST", "PUT"];
|
|
406
|
-
function
|
|
407
|
-
if (!(this instanceof
|
|
406
|
+
function w(e, t) {
|
|
407
|
+
if (!(this instanceof w)) throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
|
|
408
408
|
var r,
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
if (e instanceof
|
|
409
|
+
n,
|
|
410
|
+
o = (t = t || {}).body;
|
|
411
|
+
if (e instanceof w) {
|
|
412
412
|
if (e.bodyUsed) throw new TypeError("Already read");
|
|
413
|
-
this.url = e.url, this.credentials = e.credentials, t.headers || (this.headers = new p(e.headers)), this.method = e.method, this.mode = e.mode, this.signal = e.signal,
|
|
413
|
+
this.url = e.url, this.credentials = e.credentials, t.headers || (this.headers = new p(e.headers)), this.method = e.method, this.mode = e.mode, this.signal = e.signal, o || null == e._bodyInit || (o = e._bodyInit, e.bodyUsed = !0);
|
|
414
414
|
} else this.url = String(e);
|
|
415
|
-
if (this.credentials = t.credentials || this.credentials || "same-origin", !t.headers && this.headers || (this.headers = new p(t.headers)), this.method = (
|
|
416
|
-
if (this._initBody(
|
|
415
|
+
if (this.credentials = t.credentials || this.credentials || "same-origin", !t.headers && this.headers || (this.headers = new p(t.headers)), this.method = (n = (r = t.method || this.method || "GET").toUpperCase(), b.indexOf(n) > -1 ? n : r), this.mode = t.mode || this.mode || null, this.signal = t.signal || this.signal, this.referrer = null, ("GET" === this.method || "HEAD" === this.method) && o) throw new TypeError("Body not allowed for GET or HEAD requests");
|
|
416
|
+
if (this._initBody(o), !("GET" !== this.method && "HEAD" !== this.method || "no-store" !== t.cache && "no-cache" !== t.cache)) {
|
|
417
417
|
var i = /([?&])_=[^&]*/;
|
|
418
418
|
i.test(this.url) ? this.url = this.url.replace(i, "$1_=" + new Date().getTime()) : this.url += (/\?/.test(this.url) ? "&" : "?") + "_=" + new Date().getTime();
|
|
419
419
|
}
|
|
420
420
|
}
|
|
421
|
-
function
|
|
421
|
+
function E(e) {
|
|
422
422
|
var t = new FormData();
|
|
423
423
|
return e.trim().split("&").forEach(function (e) {
|
|
424
424
|
if (e) {
|
|
425
425
|
var r = e.split("="),
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
t.append(decodeURIComponent(
|
|
426
|
+
n = r.shift().replace(/\+/g, " "),
|
|
427
|
+
o = r.join("=").replace(/\+/g, " ");
|
|
428
|
+
t.append(decodeURIComponent(n), decodeURIComponent(o));
|
|
429
429
|
}
|
|
430
430
|
}), t;
|
|
431
431
|
}
|
|
@@ -433,11 +433,11 @@
|
|
|
433
433
|
if (!(this instanceof C)) throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
|
|
434
434
|
t || (t = {}), this.type = "default", this.status = void 0 === t.status ? 200 : t.status, this.ok = this.status >= 200 && this.status < 300, this.statusText = void 0 === t.statusText ? "" : "" + t.statusText, this.headers = new p(t.headers), this.url = t.url || "", this._initBody(e);
|
|
435
435
|
}
|
|
436
|
-
|
|
437
|
-
return new
|
|
436
|
+
w.prototype.clone = function () {
|
|
437
|
+
return new w(this, {
|
|
438
438
|
body: this._bodyInit
|
|
439
439
|
});
|
|
440
|
-
},
|
|
440
|
+
}, g.call(w.prototype), g.call(C.prototype), C.prototype.clone = function () {
|
|
441
441
|
return new C(this._bodyInit, {
|
|
442
442
|
status: this.status,
|
|
443
443
|
statusText: this.statusText,
|
|
@@ -461,20 +461,20 @@
|
|
|
461
461
|
}
|
|
462
462
|
});
|
|
463
463
|
};
|
|
464
|
-
var
|
|
464
|
+
var P = n.DOMException;
|
|
465
465
|
try {
|
|
466
|
-
new
|
|
466
|
+
new P();
|
|
467
467
|
} catch (e) {
|
|
468
|
-
(
|
|
468
|
+
(P = function (e, t) {
|
|
469
469
|
this.message = e, this.name = t;
|
|
470
470
|
var r = Error(e);
|
|
471
471
|
this.stack = r.stack;
|
|
472
|
-
}).prototype = Object.create(Error.prototype),
|
|
472
|
+
}).prototype = Object.create(Error.prototype), P.prototype.constructor = P;
|
|
473
473
|
}
|
|
474
|
-
function
|
|
475
|
-
return new Promise(function (r,
|
|
476
|
-
var i = new
|
|
477
|
-
if (i.signal && i.signal.aborted) return
|
|
474
|
+
function A(e, t) {
|
|
475
|
+
return new Promise(function (r, o) {
|
|
476
|
+
var i = new w(e, t);
|
|
477
|
+
if (i.signal && i.signal.aborted) return o(new P("Aborted", "AbortError"));
|
|
478
478
|
var u = new XMLHttpRequest();
|
|
479
479
|
function l() {
|
|
480
480
|
u.abort();
|
|
@@ -482,58 +482,58 @@
|
|
|
482
482
|
u.onload = function () {
|
|
483
483
|
var e,
|
|
484
484
|
t,
|
|
485
|
-
|
|
485
|
+
n = {
|
|
486
486
|
status: u.status,
|
|
487
487
|
statusText: u.statusText,
|
|
488
488
|
headers: (e = u.getAllResponseHeaders() || "", t = new p(), e.replace(/\r?\n[\t ]+/g, " ").split("\r").map(function (e) {
|
|
489
489
|
return 0 === e.indexOf("\n") ? e.substr(1, e.length) : e;
|
|
490
490
|
}).forEach(function (e) {
|
|
491
491
|
var r = e.split(":"),
|
|
492
|
-
|
|
493
|
-
if (
|
|
494
|
-
var
|
|
495
|
-
t.append(
|
|
492
|
+
n = r.shift().trim();
|
|
493
|
+
if (n) {
|
|
494
|
+
var o = r.join(":").trim();
|
|
495
|
+
t.append(n, o);
|
|
496
496
|
}
|
|
497
497
|
}), t)
|
|
498
498
|
};
|
|
499
|
-
|
|
500
|
-
var
|
|
499
|
+
n.url = "responseURL" in u ? u.responseURL : n.headers.get("X-Request-URL");
|
|
500
|
+
var o = "response" in u ? u.response : u.responseText;
|
|
501
501
|
setTimeout(function () {
|
|
502
|
-
r(new C(
|
|
502
|
+
r(new C(o, n));
|
|
503
503
|
}, 0);
|
|
504
504
|
}, u.onerror = function () {
|
|
505
505
|
setTimeout(function () {
|
|
506
|
-
|
|
506
|
+
o(new TypeError("Network request failed"));
|
|
507
507
|
}, 0);
|
|
508
508
|
}, u.ontimeout = function () {
|
|
509
509
|
setTimeout(function () {
|
|
510
|
-
|
|
510
|
+
o(new TypeError("Network request failed"));
|
|
511
511
|
}, 0);
|
|
512
512
|
}, u.onabort = function () {
|
|
513
513
|
setTimeout(function () {
|
|
514
|
-
|
|
514
|
+
o(new P("Aborted", "AbortError"));
|
|
515
515
|
}, 0);
|
|
516
516
|
}, u.open(i.method, function (e) {
|
|
517
517
|
try {
|
|
518
|
-
return "" === e &&
|
|
518
|
+
return "" === e && n.location.href ? n.location.href : e;
|
|
519
519
|
} catch (t) {
|
|
520
520
|
return e;
|
|
521
521
|
}
|
|
522
522
|
}(i.url), !0), "include" === i.credentials ? u.withCredentials = !0 : "omit" === i.credentials && (u.withCredentials = !1), "responseType" in u && (a ? u.responseType = "blob" : c && i.headers.get("Content-Type") && -1 !== i.headers.get("Content-Type").indexOf("application/octet-stream") && (u.responseType = "arraybuffer")), !t || "object" != typeof t.headers || t.headers instanceof p ? i.headers.forEach(function (e, t) {
|
|
523
523
|
u.setRequestHeader(t, e);
|
|
524
524
|
}) : Object.getOwnPropertyNames(t.headers).forEach(function (e) {
|
|
525
|
-
u.setRequestHeader(e,
|
|
525
|
+
u.setRequestHeader(e, d(t.headers[e]));
|
|
526
526
|
}), i.signal && (i.signal.addEventListener("abort", l), u.onreadystatechange = function () {
|
|
527
527
|
4 === u.readyState && i.signal.removeEventListener("abort", l);
|
|
528
528
|
}), u.send(void 0 === i._bodyInit ? null : i._bodyInit);
|
|
529
529
|
});
|
|
530
530
|
}
|
|
531
|
-
|
|
532
|
-
var
|
|
533
|
-
|
|
531
|
+
A.polyfill = !0, n.fetch || (n.fetch = A, n.Headers = p, n.Request = w, n.Response = C);
|
|
532
|
+
var L,
|
|
533
|
+
O = r(163),
|
|
534
534
|
S = r(500),
|
|
535
|
-
|
|
536
|
-
|
|
535
|
+
T = r(750),
|
|
536
|
+
B = r(171),
|
|
537
537
|
I = r(768);
|
|
538
538
|
function j(e) {
|
|
539
539
|
return j = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) {
|
|
@@ -542,28 +542,28 @@
|
|
|
542
542
|
return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
543
543
|
}, j(e);
|
|
544
544
|
}
|
|
545
|
-
function
|
|
545
|
+
function x(e, t) {
|
|
546
546
|
var r = Object.keys(e);
|
|
547
547
|
if (Object.getOwnPropertySymbols) {
|
|
548
|
-
var
|
|
549
|
-
t && (
|
|
548
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
549
|
+
t && (n = n.filter(function (t) {
|
|
550
550
|
return Object.getOwnPropertyDescriptor(e, t).enumerable;
|
|
551
|
-
})), r.push.apply(r,
|
|
551
|
+
})), r.push.apply(r, n);
|
|
552
552
|
}
|
|
553
553
|
return r;
|
|
554
554
|
}
|
|
555
|
-
function
|
|
555
|
+
function H(e) {
|
|
556
556
|
for (var t = 1; t < arguments.length; t++) {
|
|
557
557
|
var r = null != arguments[t] ? arguments[t] : {};
|
|
558
|
-
t % 2 ?
|
|
559
|
-
|
|
560
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) :
|
|
558
|
+
t % 2 ? x(Object(r), !0).forEach(function (t) {
|
|
559
|
+
M(e, t, r[t]);
|
|
560
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : x(Object(r)).forEach(function (t) {
|
|
561
561
|
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t));
|
|
562
562
|
});
|
|
563
563
|
}
|
|
564
564
|
return e;
|
|
565
565
|
}
|
|
566
|
-
function
|
|
566
|
+
function M(e, t, r) {
|
|
567
567
|
return (t = function (e) {
|
|
568
568
|
var t = function (e) {
|
|
569
569
|
if ("object" != j(e) || !e) return e;
|
|
@@ -585,41 +585,41 @@
|
|
|
585
585
|
}
|
|
586
586
|
function F(e, t) {
|
|
587
587
|
(null == t || t > e.length) && (t = e.length);
|
|
588
|
-
for (var r = 0,
|
|
589
|
-
return
|
|
588
|
+
for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
|
|
589
|
+
return n;
|
|
590
590
|
}
|
|
591
|
-
function
|
|
591
|
+
function U() {}
|
|
592
592
|
function G(e) {
|
|
593
593
|
return "string" == typeof e ? "false" !== e && "true" === e : Boolean(e);
|
|
594
594
|
}
|
|
595
|
-
function
|
|
595
|
+
function D() {
|
|
596
596
|
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "",
|
|
597
597
|
t = r.g.CF.keformsUrl || "";
|
|
598
598
|
return "".concat(t, "/").concat(e).replace(/([^:])\/{2,}/g, "$1/");
|
|
599
599
|
}
|
|
600
|
-
function
|
|
600
|
+
function N(e, t) {
|
|
601
601
|
if (void 0 === t) return e;
|
|
602
|
-
for (var r = [],
|
|
603
|
-
var i = n
|
|
602
|
+
for (var r = [], n = 0, o = Object.keys(t); n < o.length; n++) {
|
|
603
|
+
var i = o[n],
|
|
604
604
|
a = t[i];
|
|
605
605
|
null != a && r.push("".concat(i, "=").concat(encodeURIComponent(a)));
|
|
606
606
|
}
|
|
607
607
|
return 0 === r.length ? e : e + "?" + r.join("&");
|
|
608
608
|
}
|
|
609
|
-
function
|
|
609
|
+
function R(e) {
|
|
610
610
|
return new RegExp("^(?:".concat(e.replace(/\./g, "\\.").replace(/\*/g, "[a-z0-9-._]+"), ")$")).test(r.g.location.host);
|
|
611
611
|
}
|
|
612
612
|
function q(e) {
|
|
613
613
|
return (r.g.location.search.trim().replace(/^(\?|#|&)/, "").split("&").map(function (e) {
|
|
614
614
|
return e.replace(/\+/g, " ").split("=").map(decodeURIComponent);
|
|
615
615
|
}).find(function (t) {
|
|
616
|
-
return (r = t,
|
|
616
|
+
return (r = t, n = 1, function (e) {
|
|
617
617
|
if (Array.isArray(e)) return e;
|
|
618
618
|
}(r) || function (e, t) {
|
|
619
619
|
var r = null == e ? null : "undefined" != typeof Symbol && e[Symbol.iterator] || e["@@iterator"];
|
|
620
620
|
if (null != r) {
|
|
621
|
-
var
|
|
622
|
-
|
|
621
|
+
var n,
|
|
622
|
+
o,
|
|
623
623
|
i,
|
|
624
624
|
a,
|
|
625
625
|
u = [],
|
|
@@ -629,118 +629,118 @@
|
|
|
629
629
|
if (i = (r = r.call(e)).next, 0 === t) {
|
|
630
630
|
if (Object(r) !== r) return;
|
|
631
631
|
c = !1;
|
|
632
|
-
} else for (; !(c = (
|
|
632
|
+
} else for (; !(c = (n = i.call(r)).done) && (u.push(n.value), u.length !== t); c = !0);
|
|
633
633
|
} catch (e) {
|
|
634
|
-
l = !0,
|
|
634
|
+
l = !0, o = e;
|
|
635
635
|
} finally {
|
|
636
636
|
try {
|
|
637
637
|
if (!c && null != r.return && (a = r.return(), Object(a) !== a)) return;
|
|
638
638
|
} finally {
|
|
639
|
-
if (l) throw
|
|
639
|
+
if (l) throw o;
|
|
640
640
|
}
|
|
641
641
|
}
|
|
642
642
|
return u;
|
|
643
643
|
}
|
|
644
|
-
}(r,
|
|
644
|
+
}(r, n) || function (e, t) {
|
|
645
645
|
if (e) {
|
|
646
646
|
if ("string" == typeof e) return F(e, t);
|
|
647
647
|
var r = {}.toString.call(e).slice(8, -1);
|
|
648
648
|
return "Object" === r && e.constructor && (r = e.constructor.name), "Map" === r || "Set" === r ? Array.from(e) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? F(e, t) : void 0;
|
|
649
649
|
}
|
|
650
|
-
}(r,
|
|
650
|
+
}(r, n) || function () {
|
|
651
651
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
652
652
|
}())[0] == e;
|
|
653
|
-
var r,
|
|
653
|
+
var r, n;
|
|
654
654
|
}) || [])[1];
|
|
655
655
|
}
|
|
656
656
|
function K(e, t) {
|
|
657
657
|
var r = 0;
|
|
658
|
-
e.forEach(function (
|
|
659
|
-
|
|
658
|
+
e.forEach(function (n) {
|
|
659
|
+
n(function (n) {
|
|
660
660
|
if (r !== e.length) {
|
|
661
|
-
if (
|
|
661
|
+
if (n) return r = e.length, void t(n);
|
|
662
662
|
(r += 1) === e.length && t();
|
|
663
663
|
}
|
|
664
664
|
});
|
|
665
665
|
});
|
|
666
666
|
}
|
|
667
667
|
function V(e, t) {
|
|
668
|
-
var
|
|
669
|
-
|
|
670
|
-
if (r.g.CF.entryPoint[
|
|
671
|
-
var i =
|
|
668
|
+
var n = e.gfv,
|
|
669
|
+
o = e.engineVersion;
|
|
670
|
+
if (r.g.CF.entryPoint[n]) t();else {
|
|
671
|
+
var i = o && !r.g[o],
|
|
672
672
|
a = "true" === q("debug") ? "" : ".min",
|
|
673
673
|
u = [],
|
|
674
674
|
c = {
|
|
675
675
|
resourceZone: e.resourceZone
|
|
676
676
|
};
|
|
677
677
|
u.push(function (e) {
|
|
678
|
-
return S.q.styleSheet(
|
|
678
|
+
return S.q.styleSheet(D(N("static/public/styles/".concat(n).concat(a, ".css"), c)), !0, e);
|
|
679
679
|
}), u.push(function (e) {
|
|
680
|
-
return S.q.script(
|
|
680
|
+
return S.q.script(D(N("static/public/scripts/".concat(n).concat(a, ".js"), c)), e);
|
|
681
681
|
}), i && u.push(function (e) {
|
|
682
|
-
return S.q.styleSheet(
|
|
682
|
+
return S.q.styleSheet(D(N("static/public/styles/candy_".concat(o).concat(a, ".css"), c)), !1, e);
|
|
683
683
|
}, function (e) {
|
|
684
|
-
return S.q.script(
|
|
684
|
+
return S.q.script(D(N("static/public/scripts/candy_".concat(o).concat(a, ".js"), c)), e);
|
|
685
685
|
}), K(u, t);
|
|
686
686
|
}
|
|
687
687
|
}
|
|
688
|
-
function W(e, t,
|
|
689
|
-
var
|
|
690
|
-
(null !== (
|
|
688
|
+
function W(e, t, n) {
|
|
689
|
+
var o;
|
|
690
|
+
(null !== (o = r.g.CF.entryPoint[t.gfv]) && void 0 !== o ? o : (0, O.ku)("Form entry point ".concat(t.gfv, " not found.")))(e, t).then(function (e) {
|
|
691
691
|
var t = e.publicForm || (0, I.v)(e);
|
|
692
|
-
|
|
693
|
-
}).catch(
|
|
692
|
+
n(null, t);
|
|
693
|
+
}).catch(n);
|
|
694
694
|
}
|
|
695
695
|
function z(e) {
|
|
696
696
|
if (null != e) return r.g[e] && r.g[e].default;
|
|
697
697
|
}
|
|
698
698
|
function Z(e, t) {
|
|
699
|
-
var
|
|
700
|
-
|
|
701
|
-
i = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] :
|
|
699
|
+
var n,
|
|
700
|
+
o,
|
|
701
|
+
i = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : U,
|
|
702
702
|
a = null,
|
|
703
703
|
u = t.ns,
|
|
704
704
|
c = t.draftId;
|
|
705
|
-
if (
|
|
706
|
-
var l = null !== (
|
|
707
|
-
s =
|
|
705
|
+
if (R(B.r.konturDomains) ? B.r.authorized ? c ? u || (a = new Error("options.ns is required")) : a = new Error("options.draftId is required") : a = new Error("user.unauthenticated") : a = new Error("domain.untrusted"), a) i(a);else {
|
|
706
|
+
var l = null !== (n = t.resourceZone) && void 0 !== n ? n : q("resourceZone"),
|
|
707
|
+
s = N(D((0, T.I)({
|
|
708
708
|
ns: u,
|
|
709
709
|
draftId: c
|
|
710
710
|
})), {
|
|
711
711
|
resourceZone: l
|
|
712
712
|
}),
|
|
713
|
-
|
|
713
|
+
f = {
|
|
714
714
|
method: "GET"
|
|
715
715
|
};
|
|
716
|
-
if (null == t.authentication || "browser-credentials-include" === t.authentication)
|
|
717
|
-
var
|
|
718
|
-
|
|
719
|
-
} else
|
|
720
|
-
(null !== (
|
|
716
|
+
if (null == t.authentication || "browser-credentials-include" === t.authentication) f.credentials = "include";else if ("authSid" in t.authentication && null != t.authentication.authSid) {
|
|
717
|
+
var d;
|
|
718
|
+
f.credentials = "omit", f.headers = null !== (d = f.headers) && void 0 !== d ? d : {}, f.headers.Authorization = "AUTH.SID ".concat(t.authentication.authSid);
|
|
719
|
+
} else f.credentials = "omit";
|
|
720
|
+
(null !== (o = t.fetch) && void 0 !== o ? o : A)(s, f).then(function (e) {
|
|
721
721
|
return e.json();
|
|
722
|
-
}).then(function (
|
|
723
|
-
var
|
|
722
|
+
}).then(function (n) {
|
|
723
|
+
var o,
|
|
724
724
|
a,
|
|
725
725
|
u,
|
|
726
726
|
c,
|
|
727
727
|
s,
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
y =
|
|
731
|
-
authorized:
|
|
732
|
-
cauldronApiUrl:
|
|
733
|
-
isTestServer:
|
|
734
|
-
renderCachingForIE8:
|
|
735
|
-
normalizationOnServer:
|
|
736
|
-
normativeUrl:
|
|
737
|
-
konturDomains:
|
|
738
|
-
showNavigationSidebar: null === (
|
|
728
|
+
f = n.gfv,
|
|
729
|
+
d = n.engineVersion,
|
|
730
|
+
y = H(H(H({
|
|
731
|
+
authorized: B.r.authorized,
|
|
732
|
+
cauldronApiUrl: B.r.cauldronApiUrl,
|
|
733
|
+
isTestServer: B.r.isTestServer,
|
|
734
|
+
renderCachingForIE8: B.r.renderCachingForIE8,
|
|
735
|
+
normalizationOnServer: B.r.normalizationOnServer,
|
|
736
|
+
normativeUrl: B.r.normativeUrl,
|
|
737
|
+
konturDomains: B.r.konturDomains,
|
|
738
|
+
showNavigationSidebar: null === (o = t.showNavigationSidebar) || void 0 === o || o,
|
|
739
739
|
onRemoveAttachment: t.onRemoveAttachment
|
|
740
|
-
}, t),
|
|
741
|
-
gfv:
|
|
742
|
-
engineVersion:
|
|
743
|
-
feedbackEnabled: null !== (a = t.feedbackEnabled) && void 0 !== a ? a :
|
|
740
|
+
}, t), n), {}, {
|
|
741
|
+
gfv: f,
|
|
742
|
+
engineVersion: d,
|
|
743
|
+
feedbackEnabled: null !== (a = t.feedbackEnabled) && void 0 !== a ? a : n.feedbackEnabled,
|
|
744
744
|
isDisabledCleanForm: null !== (u = t.isDisabledCleanForm) && void 0 !== u && u,
|
|
745
745
|
isDisabledCloseButton: null !== (c = t.isDisabledCloseButton) && void 0 !== c && c,
|
|
746
746
|
isDisabledCloseAndSaveButton: null !== (s = t.isDisabledCloseAndSaveButton) && void 0 !== s && s,
|
|
@@ -751,22 +751,22 @@
|
|
|
751
751
|
engineVersion: y.engineVersion,
|
|
752
752
|
resourceZone: y.resourceZone,
|
|
753
753
|
theme: y.theme
|
|
754
|
-
}, function (
|
|
755
|
-
if (!
|
|
756
|
-
var
|
|
757
|
-
W(e,
|
|
754
|
+
}, function (n) {
|
|
755
|
+
if (!n && r.g.CF.entryPoint[f]) {
|
|
756
|
+
var o = z(d);
|
|
757
|
+
W(e, H(H({}, y), {}, {
|
|
758
758
|
templatesApi: t.templatesApi,
|
|
759
|
-
renderForm:
|
|
759
|
+
renderForm: o
|
|
760
760
|
}), i);
|
|
761
|
-
} else i(new Error("dynamic loading is not supported for gfv ".concat(
|
|
761
|
+
} else i(new Error("dynamic loading is not supported for gfv ".concat(f, "\n").concat(n)));
|
|
762
762
|
});
|
|
763
763
|
}).catch(i);
|
|
764
764
|
}
|
|
765
765
|
}
|
|
766
|
-
e = r.hmd(e), (
|
|
766
|
+
e = r.hmd(e), (L = "undefined" != typeof reactHotLoaderGlobal ? reactHotLoaderGlobal.enterModule : void 0) && L(e), "undefined" != typeof reactHotLoaderGlobal && reactHotLoaderGlobal.default.signature;
|
|
767
767
|
var $,
|
|
768
|
-
|
|
769
|
-
|
|
768
|
+
Y,
|
|
769
|
+
J = {
|
|
770
770
|
start: Z,
|
|
771
771
|
entryPoint: {},
|
|
772
772
|
partialRenderingForIE8: G("{partialRenderingForIE8}"),
|
|
@@ -776,52 +776,52 @@
|
|
|
776
776
|
nidusUrl: "{nidusApiUrl}",
|
|
777
777
|
fsPrinterUrl: "{fsprinterApiUrl}"
|
|
778
778
|
};
|
|
779
|
-
r.g.CF =
|
|
779
|
+
r.g.CF = J, ($ = "undefined" != typeof reactHotLoaderGlobal ? reactHotLoaderGlobal.default : void 0) && ($.register(U, "defaultCallback", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Engine\\src\\Forms\\Client\\Client.ts"), $.register(G, "parseBool", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Engine\\src\\Forms\\Client\\Client.ts"), $.register(D, "url", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Engine\\src\\Forms\\Client\\Client.ts"), $.register(N, "buildUrl", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Engine\\src\\Forms\\Client\\Client.ts"), $.register(R, "isAllowed", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Engine\\src\\Forms\\Client\\Client.ts"), $.register(q, "getParameterByName", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Engine\\src\\Forms\\Client\\Client.ts"), $.register(K, "runParallel", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Engine\\src\\Forms\\Client\\Client.ts"), $.register(function (e, t) {
|
|
780
780
|
try {
|
|
781
781
|
var r,
|
|
782
|
-
o,
|
|
783
782
|
n,
|
|
783
|
+
o,
|
|
784
784
|
i,
|
|
785
785
|
a,
|
|
786
786
|
u,
|
|
787
787
|
c,
|
|
788
788
|
l,
|
|
789
789
|
s,
|
|
790
|
-
|
|
791
|
-
|
|
790
|
+
f,
|
|
791
|
+
d = e.split(".").slice(0, 3).map(function (e) {
|
|
792
792
|
return parseInt(e, 10);
|
|
793
793
|
}),
|
|
794
794
|
y = t.split(".").slice(0, 3).map(function (e) {
|
|
795
795
|
return parseInt(e, 10);
|
|
796
796
|
});
|
|
797
|
-
return (null !== (r =
|
|
797
|
+
return (null !== (r = d[0]) && void 0 !== r ? r : 0) > (null !== (n = y[0]) && void 0 !== n ? n : 0) || (null !== (o = d[0]) && void 0 !== o ? o : 0) === (null !== (i = y[0]) && void 0 !== i ? i : 0) && ((null !== (a = d[1]) && void 0 !== a ? a : 0) > (null !== (u = y[1]) && void 0 !== u ? u : 0) || (null !== (c = d[1]) && void 0 !== c ? c : 0) === (null !== (l = y[1]) && void 0 !== l ? l : 0) && (null !== (s = d[2]) && void 0 !== s ? s : 0) >= (null !== (f = y[2]) && void 0 !== f ? f : 0));
|
|
798
798
|
} catch (e) {
|
|
799
799
|
return !1;
|
|
800
800
|
}
|
|
801
|
-
}, "isEngineVersionGreaterThanOrEqual", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Engine\\src\\Forms\\Client\\Client.ts"), $.register(V, "loadForm", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Engine\\src\\Forms\\Client\\Client.ts"), $.register(W, "renderForm", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Engine\\src\\Forms\\Client\\Client.ts"), $.register(z, "getEngineEntryPoint", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Engine\\src\\Forms\\Client\\Client.ts"), $.register(Z, "start", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Engine\\src\\Forms\\Client\\Client.ts"), $.register(
|
|
801
|
+
}, "isEngineVersionGreaterThanOrEqual", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Engine\\src\\Forms\\Client\\Client.ts"), $.register(V, "loadForm", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Engine\\src\\Forms\\Client\\Client.ts"), $.register(W, "renderForm", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Engine\\src\\Forms\\Client\\Client.ts"), $.register(z, "getEngineEntryPoint", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Engine\\src\\Forms\\Client\\Client.ts"), $.register(Z, "start", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Engine\\src\\Forms\\Client\\Client.ts"), $.register(J, "CandyClientExports", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Engine\\src\\Forms\\Client\\Client.ts")), (Y = "undefined" != typeof reactHotLoaderGlobal ? reactHotLoaderGlobal.leaveModule : void 0) && Y(e);
|
|
802
802
|
},
|
|
803
803
|
171: function (e, t, r) {
|
|
804
|
-
var
|
|
805
|
-
function
|
|
804
|
+
var n;
|
|
805
|
+
function o(e) {
|
|
806
806
|
return "string" == typeof e ? "false" !== e && "true" === e : Boolean(e);
|
|
807
807
|
}
|
|
808
808
|
r.d(t, {
|
|
809
809
|
r: function () {
|
|
810
810
|
return u;
|
|
811
811
|
}
|
|
812
|
-
}), e = r.hmd(e), (
|
|
812
|
+
}), e = r.hmd(e), (n = "undefined" != typeof reactHotLoaderGlobal ? reactHotLoaderGlobal.enterModule : void 0) && n(e), "undefined" != typeof reactHotLoaderGlobal && reactHotLoaderGlobal.default.signature;
|
|
813
813
|
var i,
|
|
814
814
|
a,
|
|
815
815
|
u = {
|
|
816
|
-
authorized:
|
|
816
|
+
authorized: o("{authorized}"),
|
|
817
817
|
cauldronApiUrl: "{cauldronApiUrl}",
|
|
818
|
-
isTestServer:
|
|
819
|
-
renderCachingForIE8:
|
|
820
|
-
normalizationOnServer:
|
|
818
|
+
isTestServer: o("{isTestServer}"),
|
|
819
|
+
renderCachingForIE8: o("{renderCachingForIE8}"),
|
|
820
|
+
normalizationOnServer: o("{normalizationOnServer}"),
|
|
821
821
|
normativeUrl: "{normativeUrl}",
|
|
822
822
|
konturDomains: "{konturDomains}"
|
|
823
823
|
};
|
|
824
|
-
(i = "undefined" != typeof reactHotLoaderGlobal ? reactHotLoaderGlobal.default : void 0) && (i.register(
|
|
824
|
+
(i = "undefined" != typeof reactHotLoaderGlobal ? reactHotLoaderGlobal.default : void 0) && (i.register(o, "parseBool", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Engine\\src\\Forms\\Client\\ClientSettings.ts"), i.register(u, "clientSettings", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Engine\\src\\Forms\\Client\\ClientSettings.ts")), (a = "undefined" != typeof reactHotLoaderGlobal ? reactHotLoaderGlobal.leaveModule : void 0) && a(e);
|
|
825
825
|
},
|
|
826
826
|
768: function (module, __webpack_exports__, __webpack_require__) {
|
|
827
827
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -845,8 +845,8 @@
|
|
|
845
845
|
var e,
|
|
846
846
|
t = {},
|
|
847
847
|
r = Object.prototype,
|
|
848
|
-
|
|
849
|
-
|
|
848
|
+
n = r.hasOwnProperty,
|
|
849
|
+
o = Object.defineProperty || function (e, t, r) {
|
|
850
850
|
e[t] = r.value;
|
|
851
851
|
},
|
|
852
852
|
i = "function" == typeof Symbol ? Symbol : {},
|
|
@@ -868,15 +868,15 @@
|
|
|
868
868
|
return e[t] = r;
|
|
869
869
|
};
|
|
870
870
|
}
|
|
871
|
-
function s(e, t, r,
|
|
871
|
+
function s(e, t, r, n) {
|
|
872
872
|
var i = t && t.prototype instanceof _ ? t : _,
|
|
873
873
|
a = Object.create(i.prototype),
|
|
874
|
-
u = new
|
|
875
|
-
return
|
|
876
|
-
value:
|
|
874
|
+
u = new T(n || []);
|
|
875
|
+
return o(a, "_invoke", {
|
|
876
|
+
value: A(e, r, u)
|
|
877
877
|
}), a;
|
|
878
878
|
}
|
|
879
|
-
function
|
|
879
|
+
function f(e, t, r) {
|
|
880
880
|
try {
|
|
881
881
|
return {
|
|
882
882
|
type: "normal",
|
|
@@ -890,22 +890,22 @@
|
|
|
890
890
|
}
|
|
891
891
|
}
|
|
892
892
|
t.wrap = s;
|
|
893
|
-
var
|
|
893
|
+
var d = "suspendedStart",
|
|
894
894
|
y = "suspendedYield",
|
|
895
895
|
p = "executing",
|
|
896
896
|
h = "completed",
|
|
897
897
|
m = {};
|
|
898
898
|
function _() {}
|
|
899
|
-
function g() {}
|
|
900
899
|
function v() {}
|
|
900
|
+
function g() {}
|
|
901
901
|
var b = {};
|
|
902
902
|
l(b, a, function () {
|
|
903
903
|
return this;
|
|
904
904
|
});
|
|
905
|
-
var
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
var C =
|
|
905
|
+
var w = Object.getPrototypeOf,
|
|
906
|
+
E = w && w(w(B([])));
|
|
907
|
+
E && E !== r && n.call(E, a) && (b = E);
|
|
908
|
+
var C = g.prototype = _.prototype = Object.create(b);
|
|
909
909
|
function k(e) {
|
|
910
910
|
["next", "throw", "return"].forEach(function (t) {
|
|
911
911
|
l(e, t, function (e) {
|
|
@@ -913,13 +913,13 @@
|
|
|
913
913
|
});
|
|
914
914
|
});
|
|
915
915
|
}
|
|
916
|
-
function
|
|
917
|
-
function r(
|
|
918
|
-
var c =
|
|
916
|
+
function P(e, t) {
|
|
917
|
+
function r(o, i, a, u) {
|
|
918
|
+
var c = f(e[o], e, i);
|
|
919
919
|
if ("throw" !== c.type) {
|
|
920
920
|
var l = c.arg,
|
|
921
921
|
s = l.value;
|
|
922
|
-
return s && "object" == _typeof(s) &&
|
|
922
|
+
return s && "object" == _typeof(s) && n.call(s, "__await") ? t.resolve(s.__await).then(function (e) {
|
|
923
923
|
r("next", e, a, u);
|
|
924
924
|
}, function (e) {
|
|
925
925
|
r("throw", e, a, u);
|
|
@@ -932,64 +932,64 @@
|
|
|
932
932
|
u(c.arg);
|
|
933
933
|
}
|
|
934
934
|
var i;
|
|
935
|
-
|
|
936
|
-
value: function (e,
|
|
937
|
-
function
|
|
938
|
-
return new t(function (t,
|
|
939
|
-
r(e,
|
|
935
|
+
o(this, "_invoke", {
|
|
936
|
+
value: function (e, n) {
|
|
937
|
+
function o() {
|
|
938
|
+
return new t(function (t, o) {
|
|
939
|
+
r(e, n, t, o);
|
|
940
940
|
});
|
|
941
941
|
}
|
|
942
|
-
return i = i ? i.then(
|
|
942
|
+
return i = i ? i.then(o, o) : o();
|
|
943
943
|
}
|
|
944
944
|
});
|
|
945
945
|
}
|
|
946
|
-
function
|
|
947
|
-
var
|
|
946
|
+
function A(t, r, n) {
|
|
947
|
+
var o = d;
|
|
948
948
|
return function (i, a) {
|
|
949
|
-
if (
|
|
950
|
-
if (
|
|
949
|
+
if (o === p) throw Error("Generator is already running");
|
|
950
|
+
if (o === h) {
|
|
951
951
|
if ("throw" === i) throw a;
|
|
952
952
|
return {
|
|
953
953
|
value: e,
|
|
954
954
|
done: !0
|
|
955
955
|
};
|
|
956
956
|
}
|
|
957
|
-
for (
|
|
958
|
-
var u =
|
|
957
|
+
for (n.method = i, n.arg = a;;) {
|
|
958
|
+
var u = n.delegate;
|
|
959
959
|
if (u) {
|
|
960
|
-
var c =
|
|
960
|
+
var c = L(u, n);
|
|
961
961
|
if (c) {
|
|
962
962
|
if (c === m) continue;
|
|
963
963
|
return c;
|
|
964
964
|
}
|
|
965
965
|
}
|
|
966
|
-
if ("next" ===
|
|
967
|
-
if (
|
|
968
|
-
|
|
969
|
-
} else "return" ===
|
|
970
|
-
|
|
971
|
-
var l =
|
|
966
|
+
if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
|
|
967
|
+
if (o === d) throw o = h, n.arg;
|
|
968
|
+
n.dispatchException(n.arg);
|
|
969
|
+
} else "return" === n.method && n.abrupt("return", n.arg);
|
|
970
|
+
o = p;
|
|
971
|
+
var l = f(t, r, n);
|
|
972
972
|
if ("normal" === l.type) {
|
|
973
|
-
if (
|
|
973
|
+
if (o = n.done ? h : y, l.arg === m) continue;
|
|
974
974
|
return {
|
|
975
975
|
value: l.arg,
|
|
976
|
-
done:
|
|
976
|
+
done: n.done
|
|
977
977
|
};
|
|
978
978
|
}
|
|
979
|
-
"throw" === l.type && (
|
|
979
|
+
"throw" === l.type && (o = h, n.method = "throw", n.arg = l.arg);
|
|
980
980
|
}
|
|
981
981
|
};
|
|
982
982
|
}
|
|
983
|
-
function
|
|
984
|
-
var
|
|
985
|
-
|
|
986
|
-
if (
|
|
987
|
-
var i =
|
|
983
|
+
function L(t, r) {
|
|
984
|
+
var n = r.method,
|
|
985
|
+
o = t.iterator[n];
|
|
986
|
+
if (o === e) return r.delegate = null, "throw" === n && t.iterator.return && (r.method = "return", r.arg = e, L(t, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), m;
|
|
987
|
+
var i = f(o, t.iterator, r.arg);
|
|
988
988
|
if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, m;
|
|
989
989
|
var a = i.arg;
|
|
990
990
|
return a ? a.done ? (r[t.resultName] = a.value, r.next = t.nextLoc, "return" !== r.method && (r.method = "next", r.arg = e), r.delegate = null, m) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, m);
|
|
991
991
|
}
|
|
992
|
-
function
|
|
992
|
+
function O(e) {
|
|
993
993
|
var t = {
|
|
994
994
|
tryLoc: e[0]
|
|
995
995
|
};
|
|
@@ -999,20 +999,20 @@
|
|
|
999
999
|
var t = e.completion || {};
|
|
1000
1000
|
t.type = "normal", delete t.arg, e.completion = t;
|
|
1001
1001
|
}
|
|
1002
|
-
function
|
|
1002
|
+
function T(e) {
|
|
1003
1003
|
this.tryEntries = [{
|
|
1004
1004
|
tryLoc: "root"
|
|
1005
|
-
}], e.forEach(
|
|
1005
|
+
}], e.forEach(O, this), this.reset(!0);
|
|
1006
1006
|
}
|
|
1007
|
-
function
|
|
1007
|
+
function B(t) {
|
|
1008
1008
|
if (t || "" === t) {
|
|
1009
1009
|
var r = t[a];
|
|
1010
1010
|
if (r) return r.call(t);
|
|
1011
1011
|
if ("function" == typeof t.next) return t;
|
|
1012
1012
|
if (!isNaN(t.length)) {
|
|
1013
|
-
var
|
|
1013
|
+
var o = -1,
|
|
1014
1014
|
i = function r() {
|
|
1015
|
-
for (; ++
|
|
1015
|
+
for (; ++o < t.length;) if (n.call(t, o)) return r.value = t[o], r.done = !1, r;
|
|
1016
1016
|
return r.value = e, r.done = !0, r;
|
|
1017
1017
|
};
|
|
1018
1018
|
return i.next = i;
|
|
@@ -1020,26 +1020,26 @@
|
|
|
1020
1020
|
}
|
|
1021
1021
|
throw new TypeError(_typeof(t) + " is not iterable");
|
|
1022
1022
|
}
|
|
1023
|
-
return
|
|
1024
|
-
value: v,
|
|
1025
|
-
configurable: !0
|
|
1026
|
-
}), n(v, "constructor", {
|
|
1023
|
+
return v.prototype = g, o(C, "constructor", {
|
|
1027
1024
|
value: g,
|
|
1028
1025
|
configurable: !0
|
|
1029
|
-
}), g
|
|
1026
|
+
}), o(g, "constructor", {
|
|
1027
|
+
value: v,
|
|
1028
|
+
configurable: !0
|
|
1029
|
+
}), v.displayName = l(g, c, "GeneratorFunction"), t.isGeneratorFunction = function (e) {
|
|
1030
1030
|
var t = "function" == typeof e && e.constructor;
|
|
1031
|
-
return !!t && (t ===
|
|
1031
|
+
return !!t && (t === v || "GeneratorFunction" === (t.displayName || t.name));
|
|
1032
1032
|
}, t.mark = function (e) {
|
|
1033
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(e,
|
|
1033
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(e, g) : (e.__proto__ = g, l(e, c, "GeneratorFunction")), e.prototype = Object.create(C), e;
|
|
1034
1034
|
}, t.awrap = function (e) {
|
|
1035
1035
|
return {
|
|
1036
1036
|
__await: e
|
|
1037
1037
|
};
|
|
1038
|
-
}, k(
|
|
1038
|
+
}, k(P.prototype), l(P.prototype, u, function () {
|
|
1039
1039
|
return this;
|
|
1040
|
-
}), t.AsyncIterator =
|
|
1040
|
+
}), t.AsyncIterator = P, t.async = function (e, r, n, o, i) {
|
|
1041
1041
|
void 0 === i && (i = Promise);
|
|
1042
|
-
var a = new
|
|
1042
|
+
var a = new P(s(e, r, n, o), i);
|
|
1043
1043
|
return t.isGeneratorFunction(r) ? a : a.next().then(function (e) {
|
|
1044
1044
|
return e.done ? e.value : a.next();
|
|
1045
1045
|
});
|
|
@@ -1050,18 +1050,18 @@
|
|
|
1050
1050
|
}), t.keys = function (e) {
|
|
1051
1051
|
var t = Object(e),
|
|
1052
1052
|
r = [];
|
|
1053
|
-
for (var
|
|
1053
|
+
for (var n in t) r.push(n);
|
|
1054
1054
|
return r.reverse(), function e() {
|
|
1055
1055
|
for (; r.length;) {
|
|
1056
|
-
var
|
|
1057
|
-
if (
|
|
1056
|
+
var n = r.pop();
|
|
1057
|
+
if (n in t) return e.value = n, e.done = !1, e;
|
|
1058
1058
|
}
|
|
1059
1059
|
return e.done = !0, e;
|
|
1060
1060
|
};
|
|
1061
|
-
}, t.values =
|
|
1062
|
-
constructor:
|
|
1061
|
+
}, t.values = B, T.prototype = {
|
|
1062
|
+
constructor: T,
|
|
1063
1063
|
reset: function (t) {
|
|
1064
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent = e, this.done = !1, this.delegate = null, this.method = "next", this.arg = e, this.tryEntries.forEach(S), !t) for (var r in this) "t" === r.charAt(0) &&
|
|
1064
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = e, this.done = !1, this.delegate = null, this.method = "next", this.arg = e, this.tryEntries.forEach(S), !t) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = e);
|
|
1065
1065
|
},
|
|
1066
1066
|
stop: function () {
|
|
1067
1067
|
this.done = !0;
|
|
@@ -1072,33 +1072,33 @@
|
|
|
1072
1072
|
dispatchException: function (t) {
|
|
1073
1073
|
if (this.done) throw t;
|
|
1074
1074
|
var r = this;
|
|
1075
|
-
function n
|
|
1076
|
-
return u.type = "throw", u.arg = t, r.next =
|
|
1075
|
+
function o(n, o) {
|
|
1076
|
+
return u.type = "throw", u.arg = t, r.next = n, o && (r.method = "next", r.arg = e), !!o;
|
|
1077
1077
|
}
|
|
1078
1078
|
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
1079
1079
|
var a = this.tryEntries[i],
|
|
1080
1080
|
u = a.completion;
|
|
1081
|
-
if ("root" === a.tryLoc) return
|
|
1081
|
+
if ("root" === a.tryLoc) return o("end");
|
|
1082
1082
|
if (a.tryLoc <= this.prev) {
|
|
1083
|
-
var c =
|
|
1084
|
-
l =
|
|
1083
|
+
var c = n.call(a, "catchLoc"),
|
|
1084
|
+
l = n.call(a, "finallyLoc");
|
|
1085
1085
|
if (c && l) {
|
|
1086
|
-
if (this.prev < a.catchLoc) return
|
|
1087
|
-
if (this.prev < a.finallyLoc) return
|
|
1086
|
+
if (this.prev < a.catchLoc) return o(a.catchLoc, !0);
|
|
1087
|
+
if (this.prev < a.finallyLoc) return o(a.finallyLoc);
|
|
1088
1088
|
} else if (c) {
|
|
1089
|
-
if (this.prev < a.catchLoc) return
|
|
1089
|
+
if (this.prev < a.catchLoc) return o(a.catchLoc, !0);
|
|
1090
1090
|
} else {
|
|
1091
1091
|
if (!l) throw Error("try statement without catch or finally");
|
|
1092
|
-
if (this.prev < a.finallyLoc) return
|
|
1092
|
+
if (this.prev < a.finallyLoc) return o(a.finallyLoc);
|
|
1093
1093
|
}
|
|
1094
1094
|
}
|
|
1095
1095
|
}
|
|
1096
1096
|
},
|
|
1097
1097
|
abrupt: function (e, t) {
|
|
1098
1098
|
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
|
1099
|
-
var
|
|
1100
|
-
if (
|
|
1101
|
-
var i =
|
|
1099
|
+
var o = this.tryEntries[r];
|
|
1100
|
+
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
|
1101
|
+
var i = o;
|
|
1102
1102
|
break;
|
|
1103
1103
|
}
|
|
1104
1104
|
}
|
|
@@ -1120,45 +1120,45 @@
|
|
|
1120
1120
|
for (var t = this.tryEntries.length - 1; t >= 0; --t) {
|
|
1121
1121
|
var r = this.tryEntries[t];
|
|
1122
1122
|
if (r.tryLoc === e) {
|
|
1123
|
-
var
|
|
1124
|
-
if ("throw" ===
|
|
1125
|
-
var
|
|
1123
|
+
var n = r.completion;
|
|
1124
|
+
if ("throw" === n.type) {
|
|
1125
|
+
var o = n.arg;
|
|
1126
1126
|
S(r);
|
|
1127
1127
|
}
|
|
1128
|
-
return
|
|
1128
|
+
return o;
|
|
1129
1129
|
}
|
|
1130
1130
|
}
|
|
1131
1131
|
throw Error("illegal catch attempt");
|
|
1132
1132
|
},
|
|
1133
|
-
delegateYield: function (t, r,
|
|
1133
|
+
delegateYield: function (t, r, n) {
|
|
1134
1134
|
return this.delegate = {
|
|
1135
|
-
iterator:
|
|
1135
|
+
iterator: B(t),
|
|
1136
1136
|
resultName: r,
|
|
1137
|
-
nextLoc:
|
|
1137
|
+
nextLoc: n
|
|
1138
1138
|
}, "next" === this.method && (this.arg = e), m;
|
|
1139
1139
|
}
|
|
1140
1140
|
}, t;
|
|
1141
1141
|
}
|
|
1142
|
-
function asyncGeneratorStep(e, t, r,
|
|
1142
|
+
function asyncGeneratorStep(e, t, r, n, o, i, a) {
|
|
1143
1143
|
try {
|
|
1144
1144
|
var u = e[i](a),
|
|
1145
1145
|
c = u.value;
|
|
1146
1146
|
} catch (e) {
|
|
1147
1147
|
return void r(e);
|
|
1148
1148
|
}
|
|
1149
|
-
u.done ? t(c) : Promise.resolve(c).then(
|
|
1149
|
+
u.done ? t(c) : Promise.resolve(c).then(n, o);
|
|
1150
1150
|
}
|
|
1151
1151
|
function _asyncToGenerator(e) {
|
|
1152
1152
|
return function () {
|
|
1153
1153
|
var t = this,
|
|
1154
1154
|
r = arguments;
|
|
1155
|
-
return new Promise(function (
|
|
1155
|
+
return new Promise(function (n, o) {
|
|
1156
1156
|
var i = e.apply(t, r);
|
|
1157
1157
|
function a(e) {
|
|
1158
|
-
asyncGeneratorStep(i,
|
|
1158
|
+
asyncGeneratorStep(i, n, o, a, u, "next", e);
|
|
1159
1159
|
}
|
|
1160
1160
|
function u(e) {
|
|
1161
|
-
asyncGeneratorStep(i,
|
|
1161
|
+
asyncGeneratorStep(i, n, o, a, u, "throw", e);
|
|
1162
1162
|
}
|
|
1163
1163
|
a(void 0);
|
|
1164
1164
|
});
|
|
@@ -1169,8 +1169,8 @@
|
|
|
1169
1169
|
}
|
|
1170
1170
|
function _defineProperties(e, t) {
|
|
1171
1171
|
for (var r = 0; r < t.length; r++) {
|
|
1172
|
-
var
|
|
1173
|
-
|
|
1172
|
+
var n = t[r];
|
|
1173
|
+
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, _toPropertyKey(n.key), n);
|
|
1174
1174
|
}
|
|
1175
1175
|
}
|
|
1176
1176
|
function _createClass(e, t, r) {
|
|
@@ -1181,10 +1181,10 @@
|
|
|
1181
1181
|
function ownKeys(e, t) {
|
|
1182
1182
|
var r = Object.keys(e);
|
|
1183
1183
|
if (Object.getOwnPropertySymbols) {
|
|
1184
|
-
var
|
|
1185
|
-
t && (
|
|
1184
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
1185
|
+
t && (n = n.filter(function (t) {
|
|
1186
1186
|
return Object.getOwnPropertyDescriptor(e, t).enumerable;
|
|
1187
|
-
})), r.push.apply(r,
|
|
1187
|
+
})), r.push.apply(r, n);
|
|
1188
1188
|
}
|
|
1189
1189
|
return r;
|
|
1190
1190
|
}
|
|
@@ -1215,8 +1215,8 @@
|
|
|
1215
1215
|
if ("object" != _typeof(e) || !e) return e;
|
|
1216
1216
|
var r = e[Symbol.toPrimitive];
|
|
1217
1217
|
if (void 0 !== r) {
|
|
1218
|
-
var
|
|
1219
|
-
if ("object" != _typeof(
|
|
1218
|
+
var n = r.call(e, t || "default");
|
|
1219
|
+
if ("object" != _typeof(n)) return n;
|
|
1220
1220
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1221
1221
|
}
|
|
1222
1222
|
return ("string" === t ? String : Number)(e);
|
|
@@ -1613,76 +1613,447 @@
|
|
|
1613
1613
|
reactHotLoader = "undefined" != typeof reactHotLoaderGlobal ? reactHotLoaderGlobal.default : void 0, reactHotLoader && (reactHotLoader.register(modelChangeEventPath, "modelChangeEventPath", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Engine\\src\\Forms\\Client\\LegacyPublicForm\\CreateLegacyPublicForm.ts"), reactHotLoader.register(mapChunkValues, "mapChunkValues", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Engine\\src\\Forms\\Client\\LegacyPublicForm\\CreateLegacyPublicForm.ts"), reactHotLoader.register(reduceChunkValues, "reduceChunkValues", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Engine\\src\\Forms\\Client\\LegacyPublicForm\\CreateLegacyPublicForm.ts"), reactHotLoader.register(LegacyPublicForm, "LegacyPublicForm", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Engine\\src\\Forms\\Client\\LegacyPublicForm\\CreateLegacyPublicForm.ts"), reactHotLoader.register(createLegacyPublicForm, "createLegacyPublicForm", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Engine\\src\\Forms\\Client\\LegacyPublicForm\\CreateLegacyPublicForm.ts")), leaveModule = "undefined" != typeof reactHotLoaderGlobal ? reactHotLoaderGlobal.leaveModule : void 0, leaveModule && leaveModule(module);
|
|
1614
1614
|
},
|
|
1615
1615
|
500: function (e, t, r) {
|
|
1616
|
-
var
|
|
1617
|
-
function
|
|
1618
|
-
return
|
|
1616
|
+
var n;
|
|
1617
|
+
function o(e) {
|
|
1618
|
+
return o = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) {
|
|
1619
1619
|
return typeof e;
|
|
1620
1620
|
} : function (e) {
|
|
1621
1621
|
return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
1622
|
-
},
|
|
1622
|
+
}, o(e);
|
|
1623
|
+
}
|
|
1624
|
+
function i() {
|
|
1625
|
+
i = function () {
|
|
1626
|
+
return t;
|
|
1627
|
+
};
|
|
1628
|
+
var e,
|
|
1629
|
+
t = {},
|
|
1630
|
+
r = Object.prototype,
|
|
1631
|
+
n = r.hasOwnProperty,
|
|
1632
|
+
a = Object.defineProperty || function (e, t, r) {
|
|
1633
|
+
e[t] = r.value;
|
|
1634
|
+
},
|
|
1635
|
+
u = "function" == typeof Symbol ? Symbol : {},
|
|
1636
|
+
c = u.iterator || "@@iterator",
|
|
1637
|
+
l = u.asyncIterator || "@@asyncIterator",
|
|
1638
|
+
s = u.toStringTag || "@@toStringTag";
|
|
1639
|
+
function f(e, t, r) {
|
|
1640
|
+
return Object.defineProperty(e, t, {
|
|
1641
|
+
value: r,
|
|
1642
|
+
enumerable: !0,
|
|
1643
|
+
configurable: !0,
|
|
1644
|
+
writable: !0
|
|
1645
|
+
}), e[t];
|
|
1646
|
+
}
|
|
1647
|
+
try {
|
|
1648
|
+
f({}, "");
|
|
1649
|
+
} catch (e) {
|
|
1650
|
+
f = function (e, t, r) {
|
|
1651
|
+
return e[t] = r;
|
|
1652
|
+
};
|
|
1653
|
+
}
|
|
1654
|
+
function d(e, t, r, n) {
|
|
1655
|
+
var o = t && t.prototype instanceof g ? t : g,
|
|
1656
|
+
i = Object.create(o.prototype),
|
|
1657
|
+
u = new I(n || []);
|
|
1658
|
+
return a(i, "_invoke", {
|
|
1659
|
+
value: O(e, r, u)
|
|
1660
|
+
}), i;
|
|
1661
|
+
}
|
|
1662
|
+
function y(e, t, r) {
|
|
1663
|
+
try {
|
|
1664
|
+
return {
|
|
1665
|
+
type: "normal",
|
|
1666
|
+
arg: e.call(t, r)
|
|
1667
|
+
};
|
|
1668
|
+
} catch (e) {
|
|
1669
|
+
return {
|
|
1670
|
+
type: "throw",
|
|
1671
|
+
arg: e
|
|
1672
|
+
};
|
|
1673
|
+
}
|
|
1674
|
+
}
|
|
1675
|
+
t.wrap = d;
|
|
1676
|
+
var p = "suspendedStart",
|
|
1677
|
+
h = "suspendedYield",
|
|
1678
|
+
m = "executing",
|
|
1679
|
+
_ = "completed",
|
|
1680
|
+
v = {};
|
|
1681
|
+
function g() {}
|
|
1682
|
+
function b() {}
|
|
1683
|
+
function w() {}
|
|
1684
|
+
var E = {};
|
|
1685
|
+
f(E, c, function () {
|
|
1686
|
+
return this;
|
|
1687
|
+
});
|
|
1688
|
+
var C = Object.getPrototypeOf,
|
|
1689
|
+
k = C && C(C(j([])));
|
|
1690
|
+
k && k !== r && n.call(k, c) && (E = k);
|
|
1691
|
+
var P = w.prototype = g.prototype = Object.create(E);
|
|
1692
|
+
function A(e) {
|
|
1693
|
+
["next", "throw", "return"].forEach(function (t) {
|
|
1694
|
+
f(e, t, function (e) {
|
|
1695
|
+
return this._invoke(t, e);
|
|
1696
|
+
});
|
|
1697
|
+
});
|
|
1698
|
+
}
|
|
1699
|
+
function L(e, t) {
|
|
1700
|
+
function r(i, a, u, c) {
|
|
1701
|
+
var l = y(e[i], e, a);
|
|
1702
|
+
if ("throw" !== l.type) {
|
|
1703
|
+
var s = l.arg,
|
|
1704
|
+
f = s.value;
|
|
1705
|
+
return f && "object" == o(f) && n.call(f, "__await") ? t.resolve(f.__await).then(function (e) {
|
|
1706
|
+
r("next", e, u, c);
|
|
1707
|
+
}, function (e) {
|
|
1708
|
+
r("throw", e, u, c);
|
|
1709
|
+
}) : t.resolve(f).then(function (e) {
|
|
1710
|
+
s.value = e, u(s);
|
|
1711
|
+
}, function (e) {
|
|
1712
|
+
return r("throw", e, u, c);
|
|
1713
|
+
});
|
|
1714
|
+
}
|
|
1715
|
+
c(l.arg);
|
|
1716
|
+
}
|
|
1717
|
+
var i;
|
|
1718
|
+
a(this, "_invoke", {
|
|
1719
|
+
value: function (e, n) {
|
|
1720
|
+
function o() {
|
|
1721
|
+
return new t(function (t, o) {
|
|
1722
|
+
r(e, n, t, o);
|
|
1723
|
+
});
|
|
1724
|
+
}
|
|
1725
|
+
return i = i ? i.then(o, o) : o();
|
|
1726
|
+
}
|
|
1727
|
+
});
|
|
1728
|
+
}
|
|
1729
|
+
function O(t, r, n) {
|
|
1730
|
+
var o = p;
|
|
1731
|
+
return function (i, a) {
|
|
1732
|
+
if (o === m) throw Error("Generator is already running");
|
|
1733
|
+
if (o === _) {
|
|
1734
|
+
if ("throw" === i) throw a;
|
|
1735
|
+
return {
|
|
1736
|
+
value: e,
|
|
1737
|
+
done: !0
|
|
1738
|
+
};
|
|
1739
|
+
}
|
|
1740
|
+
for (n.method = i, n.arg = a;;) {
|
|
1741
|
+
var u = n.delegate;
|
|
1742
|
+
if (u) {
|
|
1743
|
+
var c = S(u, n);
|
|
1744
|
+
if (c) {
|
|
1745
|
+
if (c === v) continue;
|
|
1746
|
+
return c;
|
|
1747
|
+
}
|
|
1748
|
+
}
|
|
1749
|
+
if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
|
|
1750
|
+
if (o === p) throw o = _, n.arg;
|
|
1751
|
+
n.dispatchException(n.arg);
|
|
1752
|
+
} else "return" === n.method && n.abrupt("return", n.arg);
|
|
1753
|
+
o = m;
|
|
1754
|
+
var l = y(t, r, n);
|
|
1755
|
+
if ("normal" === l.type) {
|
|
1756
|
+
if (o = n.done ? _ : h, l.arg === v) continue;
|
|
1757
|
+
return {
|
|
1758
|
+
value: l.arg,
|
|
1759
|
+
done: n.done
|
|
1760
|
+
};
|
|
1761
|
+
}
|
|
1762
|
+
"throw" === l.type && (o = _, n.method = "throw", n.arg = l.arg);
|
|
1763
|
+
}
|
|
1764
|
+
};
|
|
1765
|
+
}
|
|
1766
|
+
function S(t, r) {
|
|
1767
|
+
var n = r.method,
|
|
1768
|
+
o = t.iterator[n];
|
|
1769
|
+
if (o === e) return r.delegate = null, "throw" === n && t.iterator.return && (r.method = "return", r.arg = e, S(t, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), v;
|
|
1770
|
+
var i = y(o, t.iterator, r.arg);
|
|
1771
|
+
if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, v;
|
|
1772
|
+
var a = i.arg;
|
|
1773
|
+
return a ? a.done ? (r[t.resultName] = a.value, r.next = t.nextLoc, "return" !== r.method && (r.method = "next", r.arg = e), r.delegate = null, v) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, v);
|
|
1774
|
+
}
|
|
1775
|
+
function T(e) {
|
|
1776
|
+
var t = {
|
|
1777
|
+
tryLoc: e[0]
|
|
1778
|
+
};
|
|
1779
|
+
1 in e && (t.catchLoc = e[1]), 2 in e && (t.finallyLoc = e[2], t.afterLoc = e[3]), this.tryEntries.push(t);
|
|
1780
|
+
}
|
|
1781
|
+
function B(e) {
|
|
1782
|
+
var t = e.completion || {};
|
|
1783
|
+
t.type = "normal", delete t.arg, e.completion = t;
|
|
1784
|
+
}
|
|
1785
|
+
function I(e) {
|
|
1786
|
+
this.tryEntries = [{
|
|
1787
|
+
tryLoc: "root"
|
|
1788
|
+
}], e.forEach(T, this), this.reset(!0);
|
|
1789
|
+
}
|
|
1790
|
+
function j(t) {
|
|
1791
|
+
if (t || "" === t) {
|
|
1792
|
+
var r = t[c];
|
|
1793
|
+
if (r) return r.call(t);
|
|
1794
|
+
if ("function" == typeof t.next) return t;
|
|
1795
|
+
if (!isNaN(t.length)) {
|
|
1796
|
+
var i = -1,
|
|
1797
|
+
a = function r() {
|
|
1798
|
+
for (; ++i < t.length;) if (n.call(t, i)) return r.value = t[i], r.done = !1, r;
|
|
1799
|
+
return r.value = e, r.done = !0, r;
|
|
1800
|
+
};
|
|
1801
|
+
return a.next = a;
|
|
1802
|
+
}
|
|
1803
|
+
}
|
|
1804
|
+
throw new TypeError(o(t) + " is not iterable");
|
|
1805
|
+
}
|
|
1806
|
+
return b.prototype = w, a(P, "constructor", {
|
|
1807
|
+
value: w,
|
|
1808
|
+
configurable: !0
|
|
1809
|
+
}), a(w, "constructor", {
|
|
1810
|
+
value: b,
|
|
1811
|
+
configurable: !0
|
|
1812
|
+
}), b.displayName = f(w, s, "GeneratorFunction"), t.isGeneratorFunction = function (e) {
|
|
1813
|
+
var t = "function" == typeof e && e.constructor;
|
|
1814
|
+
return !!t && (t === b || "GeneratorFunction" === (t.displayName || t.name));
|
|
1815
|
+
}, t.mark = function (e) {
|
|
1816
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(e, w) : (e.__proto__ = w, f(e, s, "GeneratorFunction")), e.prototype = Object.create(P), e;
|
|
1817
|
+
}, t.awrap = function (e) {
|
|
1818
|
+
return {
|
|
1819
|
+
__await: e
|
|
1820
|
+
};
|
|
1821
|
+
}, A(L.prototype), f(L.prototype, l, function () {
|
|
1822
|
+
return this;
|
|
1823
|
+
}), t.AsyncIterator = L, t.async = function (e, r, n, o, i) {
|
|
1824
|
+
void 0 === i && (i = Promise);
|
|
1825
|
+
var a = new L(d(e, r, n, o), i);
|
|
1826
|
+
return t.isGeneratorFunction(r) ? a : a.next().then(function (e) {
|
|
1827
|
+
return e.done ? e.value : a.next();
|
|
1828
|
+
});
|
|
1829
|
+
}, A(P), f(P, s, "Generator"), f(P, c, function () {
|
|
1830
|
+
return this;
|
|
1831
|
+
}), f(P, "toString", function () {
|
|
1832
|
+
return "[object Generator]";
|
|
1833
|
+
}), t.keys = function (e) {
|
|
1834
|
+
var t = Object(e),
|
|
1835
|
+
r = [];
|
|
1836
|
+
for (var n in t) r.push(n);
|
|
1837
|
+
return r.reverse(), function e() {
|
|
1838
|
+
for (; r.length;) {
|
|
1839
|
+
var n = r.pop();
|
|
1840
|
+
if (n in t) return e.value = n, e.done = !1, e;
|
|
1841
|
+
}
|
|
1842
|
+
return e.done = !0, e;
|
|
1843
|
+
};
|
|
1844
|
+
}, t.values = j, I.prototype = {
|
|
1845
|
+
constructor: I,
|
|
1846
|
+
reset: function (t) {
|
|
1847
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = e, this.done = !1, this.delegate = null, this.method = "next", this.arg = e, this.tryEntries.forEach(B), !t) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = e);
|
|
1848
|
+
},
|
|
1849
|
+
stop: function () {
|
|
1850
|
+
this.done = !0;
|
|
1851
|
+
var e = this.tryEntries[0].completion;
|
|
1852
|
+
if ("throw" === e.type) throw e.arg;
|
|
1853
|
+
return this.rval;
|
|
1854
|
+
},
|
|
1855
|
+
dispatchException: function (t) {
|
|
1856
|
+
if (this.done) throw t;
|
|
1857
|
+
var r = this;
|
|
1858
|
+
function o(n, o) {
|
|
1859
|
+
return u.type = "throw", u.arg = t, r.next = n, o && (r.method = "next", r.arg = e), !!o;
|
|
1860
|
+
}
|
|
1861
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
1862
|
+
var a = this.tryEntries[i],
|
|
1863
|
+
u = a.completion;
|
|
1864
|
+
if ("root" === a.tryLoc) return o("end");
|
|
1865
|
+
if (a.tryLoc <= this.prev) {
|
|
1866
|
+
var c = n.call(a, "catchLoc"),
|
|
1867
|
+
l = n.call(a, "finallyLoc");
|
|
1868
|
+
if (c && l) {
|
|
1869
|
+
if (this.prev < a.catchLoc) return o(a.catchLoc, !0);
|
|
1870
|
+
if (this.prev < a.finallyLoc) return o(a.finallyLoc);
|
|
1871
|
+
} else if (c) {
|
|
1872
|
+
if (this.prev < a.catchLoc) return o(a.catchLoc, !0);
|
|
1873
|
+
} else {
|
|
1874
|
+
if (!l) throw Error("try statement without catch or finally");
|
|
1875
|
+
if (this.prev < a.finallyLoc) return o(a.finallyLoc);
|
|
1876
|
+
}
|
|
1877
|
+
}
|
|
1878
|
+
}
|
|
1879
|
+
},
|
|
1880
|
+
abrupt: function (e, t) {
|
|
1881
|
+
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
|
1882
|
+
var o = this.tryEntries[r];
|
|
1883
|
+
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
|
1884
|
+
var i = o;
|
|
1885
|
+
break;
|
|
1886
|
+
}
|
|
1887
|
+
}
|
|
1888
|
+
i && ("break" === e || "continue" === e) && i.tryLoc <= t && t <= i.finallyLoc && (i = null);
|
|
1889
|
+
var a = i ? i.completion : {};
|
|
1890
|
+
return a.type = e, a.arg = t, i ? (this.method = "next", this.next = i.finallyLoc, v) : this.complete(a);
|
|
1891
|
+
},
|
|
1892
|
+
complete: function (e, t) {
|
|
1893
|
+
if ("throw" === e.type) throw e.arg;
|
|
1894
|
+
return "break" === e.type || "continue" === e.type ? this.next = e.arg : "return" === e.type ? (this.rval = this.arg = e.arg, this.method = "return", this.next = "end") : "normal" === e.type && t && (this.next = t), v;
|
|
1895
|
+
},
|
|
1896
|
+
finish: function (e) {
|
|
1897
|
+
for (var t = this.tryEntries.length - 1; t >= 0; --t) {
|
|
1898
|
+
var r = this.tryEntries[t];
|
|
1899
|
+
if (r.finallyLoc === e) return this.complete(r.completion, r.afterLoc), B(r), v;
|
|
1900
|
+
}
|
|
1901
|
+
},
|
|
1902
|
+
catch: function (e) {
|
|
1903
|
+
for (var t = this.tryEntries.length - 1; t >= 0; --t) {
|
|
1904
|
+
var r = this.tryEntries[t];
|
|
1905
|
+
if (r.tryLoc === e) {
|
|
1906
|
+
var n = r.completion;
|
|
1907
|
+
if ("throw" === n.type) {
|
|
1908
|
+
var o = n.arg;
|
|
1909
|
+
B(r);
|
|
1910
|
+
}
|
|
1911
|
+
return o;
|
|
1912
|
+
}
|
|
1913
|
+
}
|
|
1914
|
+
throw Error("illegal catch attempt");
|
|
1915
|
+
},
|
|
1916
|
+
delegateYield: function (t, r, n) {
|
|
1917
|
+
return this.delegate = {
|
|
1918
|
+
iterator: j(t),
|
|
1919
|
+
resultName: r,
|
|
1920
|
+
nextLoc: n
|
|
1921
|
+
}, "next" === this.method && (this.arg = e), v;
|
|
1922
|
+
}
|
|
1923
|
+
}, t;
|
|
1623
1924
|
}
|
|
1624
|
-
function
|
|
1925
|
+
function a(e, t, r, n, o, i, a) {
|
|
1926
|
+
try {
|
|
1927
|
+
var u = e[i](a),
|
|
1928
|
+
c = u.value;
|
|
1929
|
+
} catch (e) {
|
|
1930
|
+
return void r(e);
|
|
1931
|
+
}
|
|
1932
|
+
u.done ? t(c) : Promise.resolve(c).then(n, o);
|
|
1933
|
+
}
|
|
1934
|
+
function u(e) {
|
|
1935
|
+
return function () {
|
|
1936
|
+
var t = this,
|
|
1937
|
+
r = arguments;
|
|
1938
|
+
return new Promise(function (n, o) {
|
|
1939
|
+
var i = e.apply(t, r);
|
|
1940
|
+
function u(e) {
|
|
1941
|
+
a(i, n, o, u, c, "next", e);
|
|
1942
|
+
}
|
|
1943
|
+
function c(e) {
|
|
1944
|
+
a(i, n, o, u, c, "throw", e);
|
|
1945
|
+
}
|
|
1946
|
+
u(void 0);
|
|
1947
|
+
});
|
|
1948
|
+
};
|
|
1949
|
+
}
|
|
1950
|
+
function c(e, t) {
|
|
1625
1951
|
for (var r = 0; r < t.length; r++) {
|
|
1626
|
-
var
|
|
1627
|
-
|
|
1952
|
+
var n = t[r];
|
|
1953
|
+
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, l(n.key), n);
|
|
1628
1954
|
}
|
|
1629
1955
|
}
|
|
1630
|
-
function
|
|
1956
|
+
function l(e) {
|
|
1631
1957
|
var t = function (e) {
|
|
1632
|
-
if ("object" !=
|
|
1958
|
+
if ("object" != o(e) || !e) return e;
|
|
1633
1959
|
var t = e[Symbol.toPrimitive];
|
|
1634
1960
|
if (void 0 !== t) {
|
|
1635
1961
|
var r = t.call(e, "string");
|
|
1636
|
-
if ("object" !=
|
|
1962
|
+
if ("object" != o(r)) return r;
|
|
1637
1963
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1638
1964
|
}
|
|
1639
1965
|
return String(e);
|
|
1640
1966
|
}(e);
|
|
1641
|
-
return "symbol" ==
|
|
1967
|
+
return "symbol" == o(t) ? t : t + "";
|
|
1642
1968
|
}
|
|
1643
1969
|
r.d(t, {
|
|
1644
1970
|
q: function () {
|
|
1645
|
-
return
|
|
1971
|
+
return d;
|
|
1646
1972
|
}
|
|
1647
|
-
}), e = r.hmd(e), (
|
|
1648
|
-
var
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1973
|
+
}), e = r.hmd(e), (n = "undefined" != typeof reactHotLoaderGlobal ? reactHotLoaderGlobal.enterModule : void 0) && n(e), "undefined" != typeof reactHotLoaderGlobal && reactHotLoaderGlobal.default.signature;
|
|
1974
|
+
var s,
|
|
1975
|
+
f,
|
|
1976
|
+
d = function () {
|
|
1977
|
+
function e() {
|
|
1652
1978
|
!function (e, t) {
|
|
1653
1979
|
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
1654
1980
|
}(this, e);
|
|
1655
|
-
}
|
|
1981
|
+
}
|
|
1982
|
+
return t = e, r = [{
|
|
1983
|
+
key: "diagnoseNetworkError",
|
|
1984
|
+
value: (n = u(i().mark(function e(t) {
|
|
1985
|
+
var r, n;
|
|
1986
|
+
return i().wrap(function (e) {
|
|
1987
|
+
for (;;) switch (e.prev = e.next) {
|
|
1988
|
+
case 0:
|
|
1989
|
+
return e.prev = 0, e.next = 3, fetch(t, {
|
|
1990
|
+
method: "GET",
|
|
1991
|
+
mode: "cors",
|
|
1992
|
+
credentials: "include"
|
|
1993
|
+
});
|
|
1994
|
+
case 3:
|
|
1995
|
+
return r = e.sent, e.abrupt("return", {
|
|
1996
|
+
status: r.status,
|
|
1997
|
+
statusText: r.statusText,
|
|
1998
|
+
ok: r.ok,
|
|
1999
|
+
headers: Object.fromEntries(r.headers.entries())
|
|
2000
|
+
});
|
|
2001
|
+
case 7:
|
|
2002
|
+
return e.prev = 7, e.t0 = e.catch(0), n = e.t0, e.abrupt("return", {
|
|
2003
|
+
error: n.message,
|
|
2004
|
+
type: n.name,
|
|
2005
|
+
stack: n.stack
|
|
2006
|
+
});
|
|
2007
|
+
case 11:
|
|
2008
|
+
case "end":
|
|
2009
|
+
return e.stop();
|
|
2010
|
+
}
|
|
2011
|
+
}, e, null, [[0, 7]]);
|
|
2012
|
+
})), function (e) {
|
|
2013
|
+
return n.apply(this, arguments);
|
|
2014
|
+
})
|
|
2015
|
+
}, {
|
|
1656
2016
|
key: "script",
|
|
1657
|
-
value: function (
|
|
1658
|
-
var
|
|
2017
|
+
value: function (t, r) {
|
|
2018
|
+
var n = !1,
|
|
1659
2019
|
o = document.getElementsByTagName("head")[0] || document.documentElement,
|
|
1660
|
-
|
|
1661
|
-
function
|
|
1662
|
-
|
|
2020
|
+
a = document.createElement("script");
|
|
2021
|
+
function c() {
|
|
2022
|
+
n || a.readyState && "loaded" !== a.readyState && "complete" !== a.readyState || (n = !0, r());
|
|
1663
2023
|
}
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
2024
|
+
a.onload = c, a.onreadystatechange = c, a.onerror = u(i().mark(function n() {
|
|
2025
|
+
var o;
|
|
2026
|
+
return i().wrap(function (n) {
|
|
2027
|
+
for (;;) switch (n.prev = n.next) {
|
|
2028
|
+
case 0:
|
|
2029
|
+
return a.parentNode && a.parentNode.removeChild(a), n.next = 3, e.diagnoseNetworkError(t);
|
|
2030
|
+
case 3:
|
|
2031
|
+
o = n.sent, r(new Error("Error while loading script \n ".concat(JSON.stringify(o))));
|
|
2032
|
+
case 5:
|
|
2033
|
+
case "end":
|
|
2034
|
+
return n.stop();
|
|
2035
|
+
}
|
|
2036
|
+
}, n);
|
|
2037
|
+
})), a.src = t, a.setAttribute("crossorigin", "use-credentials"), o.appendChild(a);
|
|
1667
2038
|
}
|
|
1668
2039
|
}, {
|
|
1669
2040
|
key: "styleSheet",
|
|
1670
2041
|
value: function (e, t, r) {
|
|
1671
|
-
var
|
|
1672
|
-
|
|
2042
|
+
var n,
|
|
2043
|
+
o = null !== (n = document.getElementsByTagName("head")[0]) && void 0 !== n ? n : document.documentElement,
|
|
1673
2044
|
i = document.createElement("link");
|
|
1674
2045
|
i.setAttribute("rel", "stylesheet"), i.setAttribute("type", "text/css"), i.addEventListener("load", function () {
|
|
1675
2046
|
return r(void 0);
|
|
1676
2047
|
}), i.addEventListener("error", function () {
|
|
1677
2048
|
r(t ? void 0 : new Error("Error while loading stylesheet."));
|
|
1678
|
-
}),
|
|
2049
|
+
}), o.appendChild(i), i.setAttribute("href", e);
|
|
1679
2050
|
}
|
|
1680
|
-
}],
|
|
2051
|
+
}], r && c(t, r), Object.defineProperty(t, "prototype", {
|
|
1681
2052
|
writable: !1
|
|
1682
|
-
}),
|
|
1683
|
-
var
|
|
2053
|
+
}), t;
|
|
2054
|
+
var t, r, n;
|
|
1684
2055
|
}();
|
|
1685
|
-
(
|
|
2056
|
+
(s = "undefined" != typeof reactHotLoaderGlobal ? reactHotLoaderGlobal.default : void 0) && s.register(d, "LoadIntoDocument", "C:\\BuildAgent\\work\\forms-root-candy\\candy\\Engine\\src\\Helpers\\LoadIntoDocument.ts"), (f = "undefined" != typeof reactHotLoaderGlobal ? reactHotLoaderGlobal.leaveModule : void 0) && f(e);
|
|
1686
2057
|
}
|
|
1687
2058
|
},
|
|
1688
2059
|
__webpack_module_cache__ = {};
|