@zengenti/contensis-react-base 3.2.2-beta.6 → 3.2.2-beta.8
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/cjs/{App-b96f8a00.js → App-D2_FqsUD.js} +30 -30
- package/{esm/App-71b8475e.js.map → cjs/App-D2_FqsUD.js.map} +1 -1
- package/cjs/{ChangePassword.container-fe39e44a.js → ChangePassword.container-DrO8p-7S.js} +17 -34
- package/cjs/{ChangePassword.container-fe39e44a.js.map → ChangePassword.container-DrO8p-7S.js.map} +1 -1
- package/cjs/{CookieHelper.class-e0908573.js → CookieHelper.class-CNL3lC5D.js} +1 -6
- package/cjs/{CookieHelper.class-e0908573.js.map → CookieHelper.class-CNL3lC5D.js.map} +1 -1
- package/cjs/{RouteLoader-4ac8153a.js → RouteLoader-BrUuhdcK.js} +14 -14
- package/cjs/{RouteLoader-4ac8153a.js.map → RouteLoader-BrUuhdcK.js.map} +1 -1
- package/cjs/{SSRContext-79344de2.js → SSRContext-CmXDzwPL.js} +8 -14
- package/cjs/{SSRContext-79344de2.js.map → SSRContext-CmXDzwPL.js.map} +1 -1
- package/cjs/{ToJs-8fd54c8e.js → ToJs-C9jwV7YB.js} +25 -24
- package/cjs/{ToJs-8fd54c8e.js.map → ToJs-C9jwV7YB.js.map} +1 -1
- package/cjs/{_commonjsHelpers-b3309d7b.js → _commonjsHelpers-BJu3ubxk.js} +1 -1
- package/cjs/_commonjsHelpers-BJu3ubxk.js.map +1 -0
- package/cjs/client.js +16 -16
- package/cjs/client.js.map +1 -1
- package/cjs/contensis-react-base.js +177 -184
- package/cjs/contensis-react-base.js.map +1 -1
- package/cjs/forms.js +2478 -2482
- package/cjs/forms.js.map +1 -1
- package/cjs/{fromJSLeaveImmer-7c363211.js → fromJSLeaveImmer-Drk6JyYs.js} +2 -2
- package/{esm/fromJSLeaveImmer-e2dacd63.js.map → cjs/fromJSLeaveImmer-Drk6JyYs.js.map} +1 -1
- package/cjs/redux.js +5 -7
- package/cjs/redux.js.map +1 -1
- package/cjs/routing.js +6 -8
- package/cjs/routing.js.map +1 -1
- package/cjs/{sagas-497c6e94.js → sagas-DFdRjqSX.js} +54 -56
- package/cjs/{sagas-497c6e94.js.map → sagas-DFdRjqSX.js.map} +1 -1
- package/cjs/search.js +24 -23
- package/cjs/search.js.map +1 -1
- package/cjs/{selectors-d5cd6b19.js → selectors-wCs5fHD4.js} +43 -43
- package/cjs/{selectors-d5cd6b19.js.map → selectors-wCs5fHD4.js.map} +1 -1
- package/cjs/{store-0ef9b570.js → store-D8dJBaFw.js} +16 -34
- package/cjs/{store-0ef9b570.js.map → store-D8dJBaFw.js.map} +1 -1
- package/cjs/{urls-6fcaf4c6.js → urls-DVIwGZmd.js} +1 -1
- package/cjs/{urls-6fcaf4c6.js.map → urls-DVIwGZmd.js.map} +1 -1
- package/cjs/user.js +7 -9
- package/cjs/user.js.map +1 -1
- package/cjs/util.js +46 -46
- package/cjs/util.js.map +1 -1
- package/cjs/{version-0cb648de.js → version-CM-bJ62L.js} +3 -3
- package/cjs/{version-0cb648de.js.map → version-CM-bJ62L.js.map} +1 -1
- package/cjs/{version-8072b62e.js → version-DSW6Roy9.js} +5 -5
- package/cjs/{version-8072b62e.js.map → version-DSW6Roy9.js.map} +1 -1
- package/esm/{App-71b8475e.js → App-BE7fh-wb.js} +24 -24
- package/{cjs/App-b96f8a00.js.map → esm/App-BE7fh-wb.js.map} +1 -1
- package/esm/{ChangePassword.container-572653e2.js → ChangePassword.container-6fQXhkzW.js} +14 -13
- package/esm/{ChangePassword.container-572653e2.js.map → ChangePassword.container-6fQXhkzW.js.map} +1 -1
- package/esm/{CookieHelper.class-67f65459.js → CookieHelper.class-DqJ_o1jL.js} +2 -7
- package/esm/{CookieHelper.class-67f65459.js.map → CookieHelper.class-DqJ_o1jL.js.map} +1 -1
- package/esm/{RouteLoader-11833209.js → RouteLoader-BNKfOnU8.js} +5 -5
- package/esm/{RouteLoader-11833209.js.map → RouteLoader-BNKfOnU8.js.map} +1 -1
- package/esm/{SSRContext-0177db9c.js → SSRContext-BoisoiyV.js} +5 -11
- package/esm/{SSRContext-0177db9c.js.map → SSRContext-BoisoiyV.js.map} +1 -1
- package/esm/{ToJs-0ed7c7db.js → ToJs-B4MH53fx.js} +23 -22
- package/esm/{ToJs-0ed7c7db.js.map → ToJs-B4MH53fx.js.map} +1 -1
- package/esm/{_commonjsHelpers-1789f0cf.js → _commonjsHelpers-BFTU3MAI.js} +1 -1
- package/esm/_commonjsHelpers-BFTU3MAI.js.map +1 -0
- package/esm/client.js +11 -11
- package/esm/client.js.map +1 -1
- package/esm/contensis-react-base.js +135 -142
- package/esm/contensis-react-base.js.map +1 -1
- package/esm/forms.js +2224 -2226
- package/esm/forms.js.map +1 -1
- package/esm/{fromJSLeaveImmer-e2dacd63.js → fromJSLeaveImmer-DfnbPBKC.js} +1 -1
- package/{cjs/fromJSLeaveImmer-7c363211.js.map → esm/fromJSLeaveImmer-DfnbPBKC.js.map} +1 -1
- package/esm/redux.js +8 -8
- package/esm/routing.js +6 -6
- package/esm/{sagas-b654d1a6.js → sagas-waBQR0Ek.js} +43 -45
- package/esm/{sagas-b654d1a6.js.map → sagas-waBQR0Ek.js.map} +1 -1
- package/esm/search.js +14 -11
- package/esm/search.js.map +1 -1
- package/esm/{selectors-bb117d1b.js → selectors-BRzliwbK.js} +41 -41
- package/esm/{selectors-bb117d1b.js.map → selectors-BRzliwbK.js.map} +1 -1
- package/esm/{store-2ff73952.js → store-Cr0lmZNr.js} +12 -12
- package/esm/{store-2ff73952.js.map → store-Cr0lmZNr.js.map} +1 -1
- package/esm/{urls-eac9a747.js → urls-DfCisos-.js} +1 -1
- package/esm/{urls-eac9a747.js.map → urls-DfCisos-.js.map} +1 -1
- package/esm/user.js +6 -6
- package/esm/user.js.map +1 -1
- package/esm/util.js +10 -8
- package/esm/util.js.map +1 -1
- package/esm/{version-df7f7154.js → version-78jjDnHU.js} +3 -3
- package/esm/{version-df7f7154.js.map → version-78jjDnHU.js.map} +1 -1
- package/esm/{version-49ad9e9d.js → version-CB7rIyoF.js} +6 -6
- package/esm/{version-49ad9e9d.js.map → version-CB7rIyoF.js.map} +1 -1
- package/package.json +21 -32
- package/cjs/_commonjsHelpers-b3309d7b.js.map +0 -1
- package/esm/_commonjsHelpers-1789f0cf.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as cachedSearch, d as deliveryApi, S as SSRContextProvider } from './SSRContext-
|
|
1
|
+
import { c as cachedSearch, d as deliveryApi, S as SSRContextProvider } from './SSRContext-BoisoiyV.js';
|
|
2
2
|
import { Query as Query$1 } from 'contensis-delivery-api';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { Provider } from 'react-redux';
|
|
@@ -6,11 +6,11 @@ import mapJson from 'jsonpath-mapper';
|
|
|
6
6
|
import 'reselect';
|
|
7
7
|
import 'deepmerge';
|
|
8
8
|
import 'query-string';
|
|
9
|
-
import {
|
|
9
|
+
import { a8 as defaultExpressions, a9 as contentTypeIdExpression, aa as filterExpressions, ab as termExpressions, ac as orderByExpression, ad as customWhereExpressions } from './sagas-waBQR0Ek.js';
|
|
10
10
|
import 'immer';
|
|
11
11
|
import 'deep-equal';
|
|
12
12
|
import { Op, Query } from 'contensis-core-api';
|
|
13
|
-
import { s as setCachingHeaders, u as url } from './urls-
|
|
13
|
+
import { s as setCachingHeaders, u as url } from './urls-DfCisos-.js';
|
|
14
14
|
import 'isomorphic-fetch';
|
|
15
15
|
import express from 'express';
|
|
16
16
|
import http from 'http';
|
|
@@ -27,16 +27,16 @@ import serialize from 'serialize-javascript';
|
|
|
27
27
|
import minifyCssString from 'minify-css-string';
|
|
28
28
|
import { ChunkExtractor, ChunkExtractorManager } from '@loadable/server';
|
|
29
29
|
import { identity, noop } from 'lodash';
|
|
30
|
-
import { c as commonjsGlobal } from './_commonjsHelpers-
|
|
30
|
+
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './_commonjsHelpers-BFTU3MAI.js';
|
|
31
31
|
import { buildCleaner } from 'lodash-clean';
|
|
32
32
|
import { CookiesProvider } from 'react-cookie';
|
|
33
|
-
import {
|
|
33
|
+
import { a as Cookies } from './CookieHelper.class-DqJ_o1jL.js';
|
|
34
34
|
import cookiesMiddleware from 'universal-cookie-express';
|
|
35
|
-
import { c as createStore } from './store-
|
|
36
|
-
import { h as history, p as pickProject, r as rootSaga } from './App-
|
|
37
|
-
export { A as ReactApp } from './App-
|
|
38
|
-
import { s as setVersionStatus,
|
|
39
|
-
import {
|
|
35
|
+
import { c as createStore } from './store-Cr0lmZNr.js';
|
|
36
|
+
import { h as history, p as pickProject, r as rootSaga } from './App-BE7fh-wb.js';
|
|
37
|
+
export { A as ReactApp } from './App-BE7fh-wb.js';
|
|
38
|
+
import { s as setVersionStatus, d as setVersion } from './version-CB7rIyoF.js';
|
|
39
|
+
import { a3 as selectSurrogateKeys, a4 as selectSsrApiCalls, e as selectRouteEntry, l as selectCurrentProject, g as getImmutableOrJS, s as setCurrentProject, K as selectCurrentSearch } from './selectors-BRzliwbK.js';
|
|
40
40
|
import chalk from 'chalk';
|
|
41
41
|
import 'loglevel';
|
|
42
42
|
import '@redux-saga/core/effects';
|
|
@@ -46,11 +46,11 @@ import 'redux-saga';
|
|
|
46
46
|
import 'redux-injectors';
|
|
47
47
|
import 'history';
|
|
48
48
|
import 'await-to-js';
|
|
49
|
-
import './version-
|
|
50
|
-
import './ChangePassword.container-
|
|
51
|
-
import './ToJs-
|
|
49
|
+
import './version-78jjDnHU.js';
|
|
50
|
+
import './ChangePassword.container-6fQXhkzW.js';
|
|
51
|
+
import './ToJs-B4MH53fx.js';
|
|
52
52
|
import 'react-hot-loader';
|
|
53
|
-
import './RouteLoader-
|
|
53
|
+
import './RouteLoader-BNKfOnU8.js';
|
|
54
54
|
|
|
55
55
|
/**
|
|
56
56
|
* Util class holds our search results helper boilerplate methods
|
|
@@ -59,16 +59,16 @@ class Util {
|
|
|
59
59
|
static GetIds(entries, fieldId) {
|
|
60
60
|
if (fieldId) {
|
|
61
61
|
return entries === null || entries === void 0 ? void 0 : entries.map(e => {
|
|
62
|
-
var _e$fieldId, _e$fieldId2
|
|
63
|
-
return Array.isArray(e === null || e === void 0 ? void 0 : e[fieldId]) ? e === null || e === void 0
|
|
62
|
+
var _e$fieldId, _e$fieldId2;
|
|
63
|
+
return Array.isArray(e === null || e === void 0 ? void 0 : e[fieldId]) ? e === null || e === void 0 || (_e$fieldId = e[fieldId]) === null || _e$fieldId === void 0 ? void 0 : _e$fieldId.map(f => {
|
|
64
64
|
var _f$sys;
|
|
65
|
-
return f === null || f === void 0
|
|
66
|
-
}) : (e === null || e === void 0
|
|
65
|
+
return f === null || f === void 0 || (_f$sys = f.sys) === null || _f$sys === void 0 ? void 0 : _f$sys.id;
|
|
66
|
+
}) : (e === null || e === void 0 || (_e$fieldId2 = e[fieldId]) === null || _e$fieldId2 === void 0 || (_e$fieldId2 = _e$fieldId2.sys) === null || _e$fieldId2 === void 0 ? void 0 : _e$fieldId2.id) || '';
|
|
67
67
|
}).flat();
|
|
68
68
|
}
|
|
69
69
|
return entries === null || entries === void 0 ? void 0 : entries.map(e => {
|
|
70
70
|
var _e$sys;
|
|
71
|
-
return (e === null || e === void 0
|
|
71
|
+
return (e === null || e === void 0 || (_e$sys = e.sys) === null || _e$sys === void 0 ? void 0 : _e$sys.id) || '';
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
74
|
static GetItems(result) {
|
|
@@ -229,6 +229,7 @@ const resolveParentEntries = async (parentContentTypeIds, replaceContentTypeIds,
|
|
|
229
229
|
};
|
|
230
230
|
|
|
231
231
|
/* eslint-disable no-console */
|
|
232
|
+
|
|
232
233
|
class QueryLevelResults {
|
|
233
234
|
constructor({
|
|
234
235
|
level: _level,
|
|
@@ -242,21 +243,9 @@ class QueryLevelResults {
|
|
|
242
243
|
parent: _parent,
|
|
243
244
|
debug = false
|
|
244
245
|
}) {
|
|
245
|
-
this.level = void 0;
|
|
246
|
-
this.contentTypeIds = void 0;
|
|
247
|
-
this.linkFieldIds = void 0;
|
|
248
|
-
this.linkFields = void 0;
|
|
249
|
-
this.filters = void 0;
|
|
250
|
-
this.sharedFilters = void 0;
|
|
251
|
-
this.returnEntries = void 0;
|
|
252
|
-
this.resolveFirstParent = void 0;
|
|
253
246
|
this.validatedLinks = [];
|
|
254
|
-
this.parent = void 0;
|
|
255
247
|
this.children = [];
|
|
256
|
-
this.runFirstQuery = void 0;
|
|
257
|
-
this.runFinalQuery = void 0;
|
|
258
248
|
this.params = {};
|
|
259
|
-
this.debug = void 0;
|
|
260
249
|
this.firstQuery = new Query$1();
|
|
261
250
|
this.firstResults = {};
|
|
262
251
|
this.finalQuery = new Query$1();
|
|
@@ -316,7 +305,6 @@ class QueryLevelResults {
|
|
|
316
305
|
query.pageIndex = params.pageIndex;
|
|
317
306
|
// query.orderBy = params.orderBy;
|
|
318
307
|
}
|
|
319
|
-
|
|
320
308
|
if (runFinalQuery) {
|
|
321
309
|
if (this.debug) console.log(`\nLevel ${this.level} - Final query: \n${JSON.stringify(query.toJSON()).substring(0, 1000)}`);
|
|
322
310
|
this.finalResults = await cachedSearch.searchUsingPost(query, Number(params.linkDepth) || 0, params.projectId);
|
|
@@ -396,13 +384,6 @@ class LinkDepthSearchService {
|
|
|
396
384
|
params: _params,
|
|
397
385
|
debug = false
|
|
398
386
|
}) {
|
|
399
|
-
this.contentTypeIds = void 0;
|
|
400
|
-
this.filters = void 0;
|
|
401
|
-
this.sharedFilters = void 0;
|
|
402
|
-
this.linkFields = void 0;
|
|
403
|
-
this.params = void 0;
|
|
404
|
-
this.debug = void 0;
|
|
405
|
-
this.queryLevels = void 0;
|
|
406
387
|
this.DoSearch = async () => {
|
|
407
388
|
// Run queries "top-down" through each level of `linkField`
|
|
408
389
|
for (const queryLevel of this.queryLevels) {
|
|
@@ -651,7 +632,6 @@ const reverseProxies = (app, reverseProxyPaths = []) => {
|
|
|
651
632
|
});
|
|
652
633
|
});
|
|
653
634
|
};
|
|
654
|
-
|
|
655
635
|
const deliveryApiProxy = (apiProxy, app) => {
|
|
656
636
|
// This is just here to stop cors requests on localhost. In Production this is mapped using varnish.
|
|
657
637
|
app.all(['/api/delivery/*', '/api/forms/*', '/api/image/*', '/authenticate/*'], (req, res) => {
|
|
@@ -676,7 +656,6 @@ const CacheDuration = {
|
|
|
676
656
|
// Believe it or not these two max ages are the same in runtime
|
|
677
657
|
expressStatic: '31557600h' // Believe it or not these two max ages are the same in runtime
|
|
678
658
|
};
|
|
679
|
-
|
|
680
659
|
const getCacheDuration = (status = 200) => {
|
|
681
660
|
if (status >= 400) return CacheDuration[404];
|
|
682
661
|
return CacheDuration[200];
|
|
@@ -2091,46 +2070,50 @@ function stubFalse() {
|
|
|
2091
2070
|
|
|
2092
2071
|
var stubFalse_1 = stubFalse;
|
|
2093
2072
|
|
|
2094
|
-
|
|
2095
|
-
var root = _root,
|
|
2096
|
-
stubFalse = stubFalse_1;
|
|
2097
|
-
|
|
2098
|
-
/** Detect free variable `exports`. */
|
|
2099
|
-
var freeExports = exports && !exports.nodeType && exports;
|
|
2100
|
-
|
|
2101
|
-
/** Detect free variable `module`. */
|
|
2102
|
-
var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
|
|
2103
|
-
|
|
2104
|
-
/** Detect the popular CommonJS extension `module.exports`. */
|
|
2105
|
-
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
2106
|
-
|
|
2107
|
-
/** Built-in value references. */
|
|
2108
|
-
var Buffer = moduleExports ? root.Buffer : undefined;
|
|
2109
|
-
|
|
2110
|
-
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
2111
|
-
var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
|
|
2073
|
+
isBuffer$2.exports;
|
|
2112
2074
|
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
*/
|
|
2130
|
-
var
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2075
|
+
(function (module, exports) {
|
|
2076
|
+
var root = _root,
|
|
2077
|
+
stubFalse = stubFalse_1;
|
|
2078
|
+
|
|
2079
|
+
/** Detect free variable `exports`. */
|
|
2080
|
+
var freeExports = exports && !exports.nodeType && exports;
|
|
2081
|
+
|
|
2082
|
+
/** Detect free variable `module`. */
|
|
2083
|
+
var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
|
|
2084
|
+
|
|
2085
|
+
/** Detect the popular CommonJS extension `module.exports`. */
|
|
2086
|
+
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
2087
|
+
|
|
2088
|
+
/** Built-in value references. */
|
|
2089
|
+
var Buffer = moduleExports ? root.Buffer : undefined;
|
|
2090
|
+
|
|
2091
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
2092
|
+
var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
|
|
2093
|
+
|
|
2094
|
+
/**
|
|
2095
|
+
* Checks if `value` is a buffer.
|
|
2096
|
+
*
|
|
2097
|
+
* @static
|
|
2098
|
+
* @memberOf _
|
|
2099
|
+
* @since 4.3.0
|
|
2100
|
+
* @category Lang
|
|
2101
|
+
* @param {*} value The value to check.
|
|
2102
|
+
* @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
|
|
2103
|
+
* @example
|
|
2104
|
+
*
|
|
2105
|
+
* _.isBuffer(new Buffer(2));
|
|
2106
|
+
* // => true
|
|
2107
|
+
*
|
|
2108
|
+
* _.isBuffer(new Uint8Array(2));
|
|
2109
|
+
* // => false
|
|
2110
|
+
*/
|
|
2111
|
+
var isBuffer = nativeIsBuffer || stubFalse;
|
|
2112
|
+
|
|
2113
|
+
module.exports = isBuffer;
|
|
2114
|
+
} (isBuffer$2, isBuffer$2.exports));
|
|
2115
|
+
|
|
2116
|
+
var isBufferExports = isBuffer$2.exports;
|
|
2134
2117
|
|
|
2135
2118
|
/** Used as references for various `Number` constants. */
|
|
2136
2119
|
|
|
@@ -2275,42 +2258,46 @@ var _baseUnary = baseUnary$3;
|
|
|
2275
2258
|
|
|
2276
2259
|
var _nodeUtil = {exports: {}};
|
|
2277
2260
|
|
|
2261
|
+
_nodeUtil.exports;
|
|
2262
|
+
|
|
2278
2263
|
(function (module, exports) {
|
|
2279
|
-
var freeGlobal = _freeGlobal;
|
|
2264
|
+
var freeGlobal = _freeGlobal;
|
|
2280
2265
|
|
|
2281
|
-
/** Detect free variable `exports`. */
|
|
2282
|
-
var freeExports = exports && !exports.nodeType && exports;
|
|
2266
|
+
/** Detect free variable `exports`. */
|
|
2267
|
+
var freeExports = exports && !exports.nodeType && exports;
|
|
2283
2268
|
|
|
2284
|
-
/** Detect free variable `module`. */
|
|
2285
|
-
var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
|
|
2269
|
+
/** Detect free variable `module`. */
|
|
2270
|
+
var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
|
|
2286
2271
|
|
|
2287
|
-
/** Detect the popular CommonJS extension `module.exports`. */
|
|
2288
|
-
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
2272
|
+
/** Detect the popular CommonJS extension `module.exports`. */
|
|
2273
|
+
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
2289
2274
|
|
|
2290
|
-
/** Detect free variable `process` from Node.js. */
|
|
2291
|
-
var freeProcess = moduleExports && freeGlobal.process;
|
|
2275
|
+
/** Detect free variable `process` from Node.js. */
|
|
2276
|
+
var freeProcess = moduleExports && freeGlobal.process;
|
|
2292
2277
|
|
|
2293
|
-
/** Used to access faster Node.js helpers. */
|
|
2294
|
-
var nodeUtil = (function() {
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2278
|
+
/** Used to access faster Node.js helpers. */
|
|
2279
|
+
var nodeUtil = (function() {
|
|
2280
|
+
try {
|
|
2281
|
+
// Use `util.types` for Node.js 10+.
|
|
2282
|
+
var types = freeModule && freeModule.require && freeModule.require('util').types;
|
|
2298
2283
|
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2284
|
+
if (types) {
|
|
2285
|
+
return types;
|
|
2286
|
+
}
|
|
2302
2287
|
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
}());
|
|
2288
|
+
// Legacy `process.binding('util')` for Node.js < 10.
|
|
2289
|
+
return freeProcess && freeProcess.binding && freeProcess.binding('util');
|
|
2290
|
+
} catch (e) {}
|
|
2291
|
+
}());
|
|
2307
2292
|
|
|
2308
|
-
module.exports = nodeUtil;
|
|
2309
|
-
}(_nodeUtil, _nodeUtil.exports));
|
|
2293
|
+
module.exports = nodeUtil;
|
|
2294
|
+
} (_nodeUtil, _nodeUtil.exports));
|
|
2295
|
+
|
|
2296
|
+
var _nodeUtilExports = _nodeUtil.exports;
|
|
2310
2297
|
|
|
2311
2298
|
var baseIsTypedArray = _baseIsTypedArray,
|
|
2312
2299
|
baseUnary$2 = _baseUnary,
|
|
2313
|
-
nodeUtil$2 =
|
|
2300
|
+
nodeUtil$2 = _nodeUtilExports;
|
|
2314
2301
|
|
|
2315
2302
|
/* Node.js helper references. */
|
|
2316
2303
|
var nodeIsTypedArray = nodeUtil$2 && nodeUtil$2.isTypedArray;
|
|
@@ -2339,7 +2326,7 @@ var isTypedArray_1 = isTypedArray$1;
|
|
|
2339
2326
|
var baseTimes = _baseTimes,
|
|
2340
2327
|
isArguments = isArguments_1,
|
|
2341
2328
|
isArray$2 = isArray_1,
|
|
2342
|
-
isBuffer$1 =
|
|
2329
|
+
isBuffer$1 = isBufferExports,
|
|
2343
2330
|
isIndex = _isIndex,
|
|
2344
2331
|
isTypedArray = isTypedArray_1;
|
|
2345
2332
|
|
|
@@ -2660,43 +2647,47 @@ var _baseAssignIn = baseAssignIn$1;
|
|
|
2660
2647
|
|
|
2661
2648
|
var _cloneBuffer = {exports: {}};
|
|
2662
2649
|
|
|
2650
|
+
_cloneBuffer.exports;
|
|
2651
|
+
|
|
2663
2652
|
(function (module, exports) {
|
|
2664
|
-
var root = _root;
|
|
2653
|
+
var root = _root;
|
|
2665
2654
|
|
|
2666
|
-
/** Detect free variable `exports`. */
|
|
2667
|
-
var freeExports = exports && !exports.nodeType && exports;
|
|
2655
|
+
/** Detect free variable `exports`. */
|
|
2656
|
+
var freeExports = exports && !exports.nodeType && exports;
|
|
2668
2657
|
|
|
2669
|
-
/** Detect free variable `module`. */
|
|
2670
|
-
var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
|
|
2658
|
+
/** Detect free variable `module`. */
|
|
2659
|
+
var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
|
|
2671
2660
|
|
|
2672
|
-
/** Detect the popular CommonJS extension `module.exports`. */
|
|
2673
|
-
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
2661
|
+
/** Detect the popular CommonJS extension `module.exports`. */
|
|
2662
|
+
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
2674
2663
|
|
|
2675
|
-
/** Built-in value references. */
|
|
2676
|
-
var Buffer = moduleExports ? root.Buffer : undefined,
|
|
2677
|
-
|
|
2664
|
+
/** Built-in value references. */
|
|
2665
|
+
var Buffer = moduleExports ? root.Buffer : undefined,
|
|
2666
|
+
allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;
|
|
2678
2667
|
|
|
2679
|
-
/**
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
function cloneBuffer(buffer, isDeep) {
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2668
|
+
/**
|
|
2669
|
+
* Creates a clone of `buffer`.
|
|
2670
|
+
*
|
|
2671
|
+
* @private
|
|
2672
|
+
* @param {Buffer} buffer The buffer to clone.
|
|
2673
|
+
* @param {boolean} [isDeep] Specify a deep clone.
|
|
2674
|
+
* @returns {Buffer} Returns the cloned buffer.
|
|
2675
|
+
*/
|
|
2676
|
+
function cloneBuffer(buffer, isDeep) {
|
|
2677
|
+
if (isDeep) {
|
|
2678
|
+
return buffer.slice();
|
|
2679
|
+
}
|
|
2680
|
+
var length = buffer.length,
|
|
2681
|
+
result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
|
|
2693
2682
|
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
}
|
|
2683
|
+
buffer.copy(result);
|
|
2684
|
+
return result;
|
|
2685
|
+
}
|
|
2697
2686
|
|
|
2698
|
-
module.exports = cloneBuffer;
|
|
2699
|
-
}(_cloneBuffer, _cloneBuffer.exports));
|
|
2687
|
+
module.exports = cloneBuffer;
|
|
2688
|
+
} (_cloneBuffer, _cloneBuffer.exports));
|
|
2689
|
+
|
|
2690
|
+
var _cloneBufferExports = _cloneBuffer.exports;
|
|
2700
2691
|
|
|
2701
2692
|
/**
|
|
2702
2693
|
* Copies the values of `source` to `array`.
|
|
@@ -3312,7 +3303,7 @@ var _baseIsMap = baseIsMap$1;
|
|
|
3312
3303
|
|
|
3313
3304
|
var baseIsMap = _baseIsMap,
|
|
3314
3305
|
baseUnary$1 = _baseUnary,
|
|
3315
|
-
nodeUtil$1 =
|
|
3306
|
+
nodeUtil$1 = _nodeUtilExports;
|
|
3316
3307
|
|
|
3317
3308
|
/* Node.js helper references. */
|
|
3318
3309
|
var nodeIsMap = nodeUtil$1 && nodeUtil$1.isMap;
|
|
@@ -3359,7 +3350,7 @@ var _baseIsSet = baseIsSet$1;
|
|
|
3359
3350
|
|
|
3360
3351
|
var baseIsSet = _baseIsSet,
|
|
3361
3352
|
baseUnary = _baseUnary,
|
|
3362
|
-
nodeUtil =
|
|
3353
|
+
nodeUtil = _nodeUtilExports;
|
|
3363
3354
|
|
|
3364
3355
|
/* Node.js helper references. */
|
|
3365
3356
|
var nodeIsSet = nodeUtil && nodeUtil.isSet;
|
|
@@ -3390,7 +3381,7 @@ var Stack = _Stack,
|
|
|
3390
3381
|
assignValue = _assignValue,
|
|
3391
3382
|
baseAssign = _baseAssign,
|
|
3392
3383
|
baseAssignIn = _baseAssignIn,
|
|
3393
|
-
cloneBuffer =
|
|
3384
|
+
cloneBuffer = _cloneBufferExports,
|
|
3394
3385
|
copyArray = _copyArray,
|
|
3395
3386
|
copySymbols = _copySymbols,
|
|
3396
3387
|
copySymbolsIn = _copySymbolsIn,
|
|
@@ -3401,7 +3392,7 @@ var Stack = _Stack,
|
|
|
3401
3392
|
initCloneByTag = _initCloneByTag,
|
|
3402
3393
|
initCloneObject = _initCloneObject,
|
|
3403
3394
|
isArray = isArray_1,
|
|
3404
|
-
isBuffer =
|
|
3395
|
+
isBuffer = isBufferExports,
|
|
3405
3396
|
isMap = isMap_1,
|
|
3406
3397
|
isObject = isObject_1,
|
|
3407
3398
|
isSet = isSet_1,
|
|
@@ -3582,7 +3573,9 @@ function cloneDeep(value) {
|
|
|
3582
3573
|
|
|
3583
3574
|
var cloneDeep_1 = cloneDeep;
|
|
3584
3575
|
|
|
3585
|
-
var
|
|
3576
|
+
var cloneDeep$1 = /*@__PURE__*/getDefaultExportFromCjs(cloneDeep_1);
|
|
3577
|
+
|
|
3578
|
+
var stringifyAttributes = (attributes = {}) => Object.entries(attributes).map(([key, value], idx) => `${idx !== 0 ? ' ' : ''}${key}${value ? `="${value}"` : ''}`).join(' ');
|
|
3586
3579
|
|
|
3587
3580
|
/* eslint-disable no-console */
|
|
3588
3581
|
|
|
@@ -3650,8 +3643,8 @@ const loadableChunkExtractors = () => {
|
|
|
3650
3643
|
}
|
|
3651
3644
|
commonLoadableExtractor.addChunk = chunk => {
|
|
3652
3645
|
var _modern, _legacy, _legacy2;
|
|
3653
|
-
(_modern = modern) === null || _modern === void 0
|
|
3654
|
-
if (typeof ((_legacy = legacy) === null || _legacy === void 0 ? void 0 : _legacy.stats.assetsByChunkName[chunk]) !== 'undefined') (_legacy2 = legacy) === null || _legacy2 === void 0
|
|
3646
|
+
(_modern = modern) === null || _modern === void 0 || _modern.addChunk(chunk);
|
|
3647
|
+
if (typeof ((_legacy = legacy) === null || _legacy === void 0 ? void 0 : _legacy.stats.assetsByChunkName[chunk]) !== 'undefined') (_legacy2 = legacy) === null || _legacy2 === void 0 || _legacy2.addChunk(chunk);
|
|
3655
3648
|
};
|
|
3656
3649
|
return {
|
|
3657
3650
|
commonLoadableExtractor,
|
|
@@ -3948,7 +3941,7 @@ const webApp = (app, ReactApp, config) => {
|
|
|
3948
3941
|
isPlainObject: identity,
|
|
3949
3942
|
isString: identity,
|
|
3950
3943
|
isUndefined: noop
|
|
3951
|
-
})(
|
|
3944
|
+
})(cloneDeep$1(reduxState));
|
|
3952
3945
|
// These keys are used for preparing server-side response headers only
|
|
3953
3946
|
// and are not required in the client at all except for debugging ssr
|
|
3954
3947
|
if (!((_selectCurrentSearch = selectCurrentSearch(reduxState)) !== null && _selectCurrentSearch !== void 0 && _selectCurrentSearch.includes('includeApiCalls'))) {
|