@diplodoc/client 1.0.2 → 2.0.0-alpha-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintignore +6 -2
- package/.eslintrc.js +7 -0
- package/.prettierignore +11 -0
- package/.prettierrc +1 -0
- package/build/client/app.css +4 -0
- package/build/client/app.css.map +1 -0
- package/build/client/app.js +2 -0
- package/build/client/app.js.map +1 -0
- package/build/client/manifest.json +11 -0
- package/build/client/react.js +3 -0
- package/build/client/react.js.LICENSE.txt +19 -0
- package/build/client/react.js.map +1 -0
- package/build/{app.client.css → client/vendor.css} +912 -66
- package/build/client/vendor.css.map +1 -0
- package/build/client/vendor.js +3 -0
- package/build/client/vendor.js.LICENSE.txt +59 -0
- package/build/client/vendor.js.map +1 -0
- package/build/components/HeaderControls/index.d.ts +16 -0
- package/build/components/Layout/index.d.ts +11 -0
- package/build/hooks/useMobile.d.ts +1 -0
- package/build/hooks/useSettings.d.ts +13 -0
- package/build/index.d.ts +2 -3
- package/build/index.server.d.ts +2 -0
- package/build/server/app.js +666 -0
- package/build/server/app.js.map +1 -0
- package/build/server/manifest.json +8 -0
- package/build/server/react.js +656 -0
- package/build/server/react.js.map +1 -0
- package/build/server/vendor.js +48443 -0
- package/build/server/vendor.js.map +1 -0
- package/build/stub/empty-module.d.ts +1 -0
- package/build/utils.d.ts +6 -1
- package/package.json +31 -23
- package/build/app.client.css.map +0 -1
- package/build/app.client.js +0 -3
- package/build/app.client.js.LICENSE.txt +0 -85
- package/build/app.client.js.map +0 -1
- package/build/app.server.js +0 -3
- package/build/app.server.js.LICENSE.txt +0 -83
- package/build/app.server.js.map +0 -1
|
@@ -0,0 +1,666 @@
|
|
|
1
|
+
/******/ (() => { // webpackBootstrap
|
|
2
|
+
/******/ var __webpack_modules__ = ({
|
|
3
|
+
|
|
4
|
+
/***/ 2722:
|
|
5
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6
|
+
|
|
7
|
+
"use strict";
|
|
8
|
+
// ESM COMPAT FLAG
|
|
9
|
+
__webpack_require__.r(__webpack_exports__);
|
|
10
|
+
|
|
11
|
+
// EXPORTS
|
|
12
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
13
|
+
render: () => (/* binding */ render)
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
// EXTERNAL MODULE: ./node_modules/react/index.js
|
|
17
|
+
var react = __webpack_require__(7294);
|
|
18
|
+
// EXTERNAL MODULE: ./node_modules/react-dom/server.node.js
|
|
19
|
+
var server_node = __webpack_require__(9680);
|
|
20
|
+
// EXTERNAL MODULE: ./node_modules/@gravity-ui/page-constructor/build/esm/containers/PageConstructor/Provider.js
|
|
21
|
+
var Provider = __webpack_require__(7725);
|
|
22
|
+
// EXTERNAL MODULE: ./node_modules/@gravity-ui/page-constructor/build/esm/containers/PageConstructor/PageConstructor.js + 343 modules
|
|
23
|
+
var PageConstructor = __webpack_require__(3898);
|
|
24
|
+
// EXTERNAL MODULE: ./node_modules/@diplodoc/components/build/esm/components/DocLeadingPage/DocLeadingPage.js + 2 modules
|
|
25
|
+
var DocLeadingPage = __webpack_require__(7332);
|
|
26
|
+
// EXTERNAL MODULE: ./node_modules/@diplodoc/components/build/esm/components/DocPage/DocPage.js + 36 modules
|
|
27
|
+
var DocPage = __webpack_require__(293);
|
|
28
|
+
// EXTERNAL MODULE: ./node_modules/@diplodoc/components/build/esm/models/index.js
|
|
29
|
+
var models = __webpack_require__(8534);
|
|
30
|
+
// EXTERNAL MODULE: ./node_modules/@diplodoc/components/build/esm/components/Controls/ControlsLayout.js
|
|
31
|
+
var ControlsLayout = __webpack_require__(9609);
|
|
32
|
+
// EXTERNAL MODULE: ./node_modules/@diplodoc/components/build/esm/components/Controls/Controls.js + 48 modules
|
|
33
|
+
var Controls = __webpack_require__(1422);
|
|
34
|
+
;// CONCATENATED MODULE: ./src/components/HeaderControls/index.tsx
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
39
|
+
|
|
40
|
+
const HeaderControls = /*#__PURE__*/(0,react.memo)(({
|
|
41
|
+
mobileView,
|
|
42
|
+
theme,
|
|
43
|
+
onChangeTheme,
|
|
44
|
+
textSize,
|
|
45
|
+
onChangeTextSize,
|
|
46
|
+
wideFormat,
|
|
47
|
+
onChangeWideFormat,
|
|
48
|
+
showMiniToc,
|
|
49
|
+
onChangeShowMiniToc
|
|
50
|
+
}) => {
|
|
51
|
+
return /*#__PURE__*/react.createElement(ControlsLayout/* ControlsLayout */.C, {
|
|
52
|
+
controlClassName: 'Control',
|
|
53
|
+
controlSize: models/* ControlSizes */.$D.L,
|
|
54
|
+
isWideView: mobileView
|
|
55
|
+
}, /*#__PURE__*/react.createElement(Controls/* default */.Z, {
|
|
56
|
+
className: 'Controls',
|
|
57
|
+
theme: theme,
|
|
58
|
+
onChangeTheme: onChangeTheme,
|
|
59
|
+
wideFormat: wideFormat,
|
|
60
|
+
onChangeWideFormat: onChangeWideFormat,
|
|
61
|
+
showMiniToc: showMiniToc,
|
|
62
|
+
onChangeShowMiniToc: onChangeShowMiniToc,
|
|
63
|
+
textSize: textSize,
|
|
64
|
+
onChangeTextSize: onChangeTextSize
|
|
65
|
+
}));
|
|
66
|
+
});
|
|
67
|
+
HeaderControls.displayName = 'HeaderControls';
|
|
68
|
+
;// CONCATENATED MODULE: ./src/utils.ts
|
|
69
|
+
|
|
70
|
+
const DEFAULT_USER_SETTINGS = {
|
|
71
|
+
theme: models/* Theme */.Q2.Light,
|
|
72
|
+
textSize: models/* TextSizes */.tF.M,
|
|
73
|
+
showMiniToc: true,
|
|
74
|
+
wideFormat: true,
|
|
75
|
+
fullScreen: false
|
|
76
|
+
};
|
|
77
|
+
function getDocSettings() {
|
|
78
|
+
const {
|
|
79
|
+
theme: defaultTheme,
|
|
80
|
+
textSize: defaultTextSize,
|
|
81
|
+
showMiniToc: defaultShowMiniToc,
|
|
82
|
+
wideFormat: defaultWideFormat,
|
|
83
|
+
fullScreen: defaultFullScreen
|
|
84
|
+
} = DEFAULT_USER_SETTINGS;
|
|
85
|
+
const theme = getSetting('theme') || defaultTheme;
|
|
86
|
+
const textSize = getSetting('textSize') || defaultTextSize;
|
|
87
|
+
const showMiniToc = getSetting('showMiniToc') || defaultShowMiniToc;
|
|
88
|
+
const wideFormat = getSetting('wideFormat') || defaultWideFormat;
|
|
89
|
+
const fullScreen = getSetting('fullScreen') || defaultFullScreen;
|
|
90
|
+
return {
|
|
91
|
+
theme,
|
|
92
|
+
textSize,
|
|
93
|
+
showMiniToc: strToBoolean(showMiniToc),
|
|
94
|
+
wideFormat: strToBoolean(wideFormat),
|
|
95
|
+
fullScreen: strToBoolean(fullScreen)
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
function getSetting(name) {
|
|
99
|
+
if (typeof sessionStorage === 'undefined') {
|
|
100
|
+
return null;
|
|
101
|
+
}
|
|
102
|
+
return sessionStorage.getItem(name);
|
|
103
|
+
}
|
|
104
|
+
function saveSetting(name, value) {
|
|
105
|
+
if (typeof sessionStorage === 'undefined') {
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
sessionStorage.setItem(name, String(value));
|
|
109
|
+
}
|
|
110
|
+
function strToBoolean(str) {
|
|
111
|
+
if (typeof str === 'boolean') {
|
|
112
|
+
return str;
|
|
113
|
+
}
|
|
114
|
+
return str ? str === 'true' : false;
|
|
115
|
+
}
|
|
116
|
+
function withSavingSetting(settingName, onChange) {
|
|
117
|
+
return value => {
|
|
118
|
+
saveSetting(settingName, value);
|
|
119
|
+
onChange(value);
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
function updateRootClassName({
|
|
123
|
+
theme,
|
|
124
|
+
mobileView = false,
|
|
125
|
+
wideFormat = false,
|
|
126
|
+
fullHeader = false
|
|
127
|
+
}) {
|
|
128
|
+
document.body.className = ['g-root', mobileView ? 'mobile' : 'desktop', wideFormat && 'dc-root_wide-format', fullHeader && 'dc-root_full-header', theme === 'light' && 'g-root_theme_light', theme === 'dark' && 'g-root_theme_dark'].filter(Boolean).join(' ');
|
|
129
|
+
}
|
|
130
|
+
// EXTERNAL MODULE: ./node_modules/bem-cn-lite/lib/index.js
|
|
131
|
+
var lib = __webpack_require__(2853);
|
|
132
|
+
;// CONCATENATED MODULE: ./src/components/Layout/index.tsx
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
const b = (0,lib/* default */.Z)('Layout');
|
|
137
|
+
function Header() {
|
|
138
|
+
return null;
|
|
139
|
+
}
|
|
140
|
+
function Content() {
|
|
141
|
+
return null;
|
|
142
|
+
}
|
|
143
|
+
function Footer() {
|
|
144
|
+
return null;
|
|
145
|
+
}
|
|
146
|
+
const Layout = props => {
|
|
147
|
+
const {
|
|
148
|
+
children,
|
|
149
|
+
doc
|
|
150
|
+
} = props;
|
|
151
|
+
let header, content, footer;
|
|
152
|
+
react.Children.forEach(children, child => {
|
|
153
|
+
switch (child.type) {
|
|
154
|
+
case Header:
|
|
155
|
+
header = child.props.children;
|
|
156
|
+
break;
|
|
157
|
+
case Content:
|
|
158
|
+
content = child.props.children;
|
|
159
|
+
break;
|
|
160
|
+
case Footer:
|
|
161
|
+
footer = child.props.children;
|
|
162
|
+
break;
|
|
163
|
+
}
|
|
164
|
+
});
|
|
165
|
+
return /*#__PURE__*/react.createElement("div", {
|
|
166
|
+
className: b()
|
|
167
|
+
}, header && /*#__PURE__*/react.createElement("div", {
|
|
168
|
+
className: b('header')
|
|
169
|
+
}, header), /*#__PURE__*/react.createElement("div", {
|
|
170
|
+
className: b('body')
|
|
171
|
+
}, content && /*#__PURE__*/react.createElement("div", {
|
|
172
|
+
className: b('content')
|
|
173
|
+
}, content), footer && /*#__PURE__*/react.createElement("div", {
|
|
174
|
+
className: b('footer', {
|
|
175
|
+
doc
|
|
176
|
+
})
|
|
177
|
+
}, footer)));
|
|
178
|
+
};
|
|
179
|
+
Layout.displayName = 'Layout';
|
|
180
|
+
Layout.defaultProps = {
|
|
181
|
+
doc: false
|
|
182
|
+
};
|
|
183
|
+
Layout.Header = Header;
|
|
184
|
+
Layout.Content = Content;
|
|
185
|
+
Layout.Footer = Footer;
|
|
186
|
+
;// CONCATENATED MODULE: ./src/hooks/useSettings.ts
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
function useSettings() {
|
|
190
|
+
const settings = getDocSettings();
|
|
191
|
+
const [wideFormat, setWideFormat] = (0,react.useState)(settings.wideFormat);
|
|
192
|
+
const [fullScreen, setFullScreen] = (0,react.useState)(settings.fullScreen);
|
|
193
|
+
const [showMiniToc, setShowMiniToc] = (0,react.useState)(settings.showMiniToc);
|
|
194
|
+
const [theme, setTheme] = (0,react.useState)(settings.theme);
|
|
195
|
+
const [textSize, setTextSize] = (0,react.useState)(settings.textSize);
|
|
196
|
+
return {
|
|
197
|
+
theme,
|
|
198
|
+
onChangeTheme: withSavingSetting('theme', setTheme),
|
|
199
|
+
textSize,
|
|
200
|
+
onChangeTextSize: withSavingSetting('textSize', setTextSize),
|
|
201
|
+
wideFormat,
|
|
202
|
+
onChangeWideFormat: withSavingSetting('wideFormat', setWideFormat),
|
|
203
|
+
showMiniToc,
|
|
204
|
+
onChangeShowMiniToc: withSavingSetting('showMiniToc', setShowMiniToc),
|
|
205
|
+
fullScreen,
|
|
206
|
+
onChangeFullScreen: withSavingSetting('fullScreen', setFullScreen)
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
;// CONCATENATED MODULE: ./src/hooks/useMobile.ts
|
|
210
|
+
|
|
211
|
+
const MOBILE_VIEW_WIDTH_BREAKPOINT = 769;
|
|
212
|
+
function useMobile() {
|
|
213
|
+
const [mobileView, setMobileView] = (0,react.useState)(typeof document !== 'undefined' && document.body.clientWidth < MOBILE_VIEW_WIDTH_BREAKPOINT);
|
|
214
|
+
const onResizeHandler = (0,react.useCallback)(() => {
|
|
215
|
+
setMobileView(document.body.clientWidth < MOBILE_VIEW_WIDTH_BREAKPOINT);
|
|
216
|
+
}, []);
|
|
217
|
+
(0,react.useEffect)(onResizeHandler, [onResizeHandler]);
|
|
218
|
+
(0,react.useEffect)(() => {
|
|
219
|
+
window.addEventListener('resize', onResizeHandler);
|
|
220
|
+
return () => window.removeEventListener('resize', onResizeHandler);
|
|
221
|
+
}, [onResizeHandler]);
|
|
222
|
+
return mobileView;
|
|
223
|
+
}
|
|
224
|
+
// EXTERNAL MODULE: ./src/interceptors/leading-page-links.js
|
|
225
|
+
var leading_page_links = __webpack_require__(9380);
|
|
226
|
+
;// CONCATENATED MODULE: external "@diplodoc/transform/dist/js/yfm"
|
|
227
|
+
const yfm_namespaceObject = require("@diplodoc/transform/dist/js/yfm");
|
|
228
|
+
// EXTERNAL MODULE: ./node_modules/@diplodoc/mermaid-extension/react/index.js
|
|
229
|
+
var mermaid_extension_react = __webpack_require__(5289);
|
|
230
|
+
// EXTERNAL MODULE: ./node_modules/@diplodoc/openapi-extension/runtime/index.min.js + 15 modules
|
|
231
|
+
var index_min = __webpack_require__(5584);
|
|
232
|
+
;// CONCATENATED MODULE: ./src/components/App/App.tsx
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
function Page(props) {
|
|
247
|
+
const {
|
|
248
|
+
data,
|
|
249
|
+
...pageProps
|
|
250
|
+
} = props;
|
|
251
|
+
const Page = data.leading ? DocLeadingPage/* DocLeadingPage */.IU : DocPage/* default */.Z;
|
|
252
|
+
return /*#__PURE__*/react.createElement(Layout, null, /*#__PURE__*/react.createElement(Layout.Content, null, /*#__PURE__*/react.createElement(Page, Object.assign({}, data, pageProps))));
|
|
253
|
+
}
|
|
254
|
+
function App(props) {
|
|
255
|
+
const {
|
|
256
|
+
data,
|
|
257
|
+
router,
|
|
258
|
+
lang
|
|
259
|
+
} = props;
|
|
260
|
+
const {
|
|
261
|
+
navigation
|
|
262
|
+
} = data.toc;
|
|
263
|
+
const settings = useSettings();
|
|
264
|
+
const mobileView = useMobile();
|
|
265
|
+
const {
|
|
266
|
+
theme,
|
|
267
|
+
textSize,
|
|
268
|
+
wideFormat,
|
|
269
|
+
fullScreen,
|
|
270
|
+
showMiniToc,
|
|
271
|
+
onChangeFullScreen
|
|
272
|
+
} = settings;
|
|
273
|
+
const fullHeader = !fullScreen && Boolean(navigation);
|
|
274
|
+
const headerHeight = fullHeader ? 64 : 0;
|
|
275
|
+
const pageProps = {
|
|
276
|
+
headerHeight,
|
|
277
|
+
data,
|
|
278
|
+
router,
|
|
279
|
+
lang,
|
|
280
|
+
wideFormat,
|
|
281
|
+
showMiniToc,
|
|
282
|
+
theme,
|
|
283
|
+
textSize,
|
|
284
|
+
fullScreen,
|
|
285
|
+
onChangeFullScreen
|
|
286
|
+
};
|
|
287
|
+
(0,react.useEffect)(() => {
|
|
288
|
+
updateRootClassName({
|
|
289
|
+
theme,
|
|
290
|
+
mobileView,
|
|
291
|
+
wideFormat,
|
|
292
|
+
fullHeader
|
|
293
|
+
});
|
|
294
|
+
}, [theme, mobileView, wideFormat, fullHeader]);
|
|
295
|
+
const {
|
|
296
|
+
header = {},
|
|
297
|
+
logo
|
|
298
|
+
} = navigation;
|
|
299
|
+
const {
|
|
300
|
+
leftItems = [],
|
|
301
|
+
rightItems = []
|
|
302
|
+
} = header;
|
|
303
|
+
const headerWithControls = rightItems.some(item => item.type === 'controls');
|
|
304
|
+
return /*#__PURE__*/react.createElement("div", {
|
|
305
|
+
className: "App"
|
|
306
|
+
}, /*#__PURE__*/react.createElement(Provider/* PageConstructorProvider */.W, {
|
|
307
|
+
theme: theme
|
|
308
|
+
}, /*#__PURE__*/react.createElement(PageConstructor/* PageConstructor */.C, {
|
|
309
|
+
custom: {
|
|
310
|
+
navigation: {
|
|
311
|
+
controls: () => /*#__PURE__*/react.createElement(HeaderControls, Object.assign({}, settings, {
|
|
312
|
+
mobileView: mobileView
|
|
313
|
+
}))
|
|
314
|
+
},
|
|
315
|
+
blocks: {
|
|
316
|
+
page: () => /*#__PURE__*/react.createElement(Page, Object.assign({}, pageProps, headerWithControls ? {} : settings))
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
content: {
|
|
320
|
+
blocks: [{
|
|
321
|
+
type: 'page'
|
|
322
|
+
}]
|
|
323
|
+
},
|
|
324
|
+
navigation: fullHeader ? {
|
|
325
|
+
header: {
|
|
326
|
+
withBorder: true,
|
|
327
|
+
leftItems,
|
|
328
|
+
rightItems
|
|
329
|
+
},
|
|
330
|
+
logo
|
|
331
|
+
} : undefined
|
|
332
|
+
})), /*#__PURE__*/react.createElement(index_min/* Runtime */.r, null), /*#__PURE__*/react.createElement(mermaid_extension_react/* MermaidRuntime */.u, {
|
|
333
|
+
theme: theme === models/* Theme */.Q2.Dark ? 'dark' : 'neutral',
|
|
334
|
+
zoom: {
|
|
335
|
+
showMenu: true,
|
|
336
|
+
bindKeys: true
|
|
337
|
+
}
|
|
338
|
+
}));
|
|
339
|
+
}
|
|
340
|
+
;// CONCATENATED MODULE: ./src/index.server.tsx
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
const render = props => (0,server_node/* renderToString */.Dq)( /*#__PURE__*/react.createElement(App, props));
|
|
345
|
+
|
|
346
|
+
/***/ }),
|
|
347
|
+
|
|
348
|
+
/***/ 9380:
|
|
349
|
+
/***/ (() => {
|
|
350
|
+
|
|
351
|
+
(function () {
|
|
352
|
+
/**
|
|
353
|
+
* Element.matches() polyfill.
|
|
354
|
+
* @link https://developer.mozilla.org/ru/docs/Web/API/Element/matches
|
|
355
|
+
*/
|
|
356
|
+
if (typeof Element !== 'undefined') {
|
|
357
|
+
(function (e) {
|
|
358
|
+
const matches = e.matches || e.matchesSelector || e.webkitMatchesSelector || e.mozMatchesSelector || e.msMatchesSelector || e.oMatchesSelector;
|
|
359
|
+
if (matches) {
|
|
360
|
+
e.matches = e.matchesSelector = matches;
|
|
361
|
+
} else {
|
|
362
|
+
e.matches = e.matchesSelector = function (selector) {
|
|
363
|
+
const th = this;
|
|
364
|
+
return Array.prototype.some.call(document.querySelectorAll(selector), el => {
|
|
365
|
+
return el === th;
|
|
366
|
+
});
|
|
367
|
+
};
|
|
368
|
+
}
|
|
369
|
+
})(Element.prototype);
|
|
370
|
+
}
|
|
371
|
+
if (typeof document !== 'undefined') {
|
|
372
|
+
document.addEventListener('click', event => {
|
|
373
|
+
const href = event.target.href;
|
|
374
|
+
const locationOrigin = window.location.origin;
|
|
375
|
+
if (event.target.matches('.dc-doc-layout__center a') && href.startsWith(locationOrigin)) {
|
|
376
|
+
event.preventDefault();
|
|
377
|
+
const mainFileName = 'index';
|
|
378
|
+
const extention = '.html';
|
|
379
|
+
if (href.endsWith('/')) {
|
|
380
|
+
window.location.href = `${href}${mainFileName}${extention}`;
|
|
381
|
+
return;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
// https://../file-name, https://../file-name#fragment
|
|
385
|
+
const splitedHref = href.split('#');
|
|
386
|
+
if (splitedHref.length > 0 && !splitedHref[0].endsWith(extention)) {
|
|
387
|
+
splitedHref[0] += extention;
|
|
388
|
+
window.location.href = splitedHref.join('#');
|
|
389
|
+
return;
|
|
390
|
+
}
|
|
391
|
+
window.location.href = href;
|
|
392
|
+
}
|
|
393
|
+
});
|
|
394
|
+
}
|
|
395
|
+
})();
|
|
396
|
+
|
|
397
|
+
/***/ }),
|
|
398
|
+
|
|
399
|
+
/***/ 3615:
|
|
400
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
401
|
+
|
|
402
|
+
"use strict";
|
|
403
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
404
|
+
/* harmony export */ Z: () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)
|
|
405
|
+
/* harmony export */ });
|
|
406
|
+
/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() {}
|
|
407
|
+
|
|
408
|
+
/***/ }),
|
|
409
|
+
|
|
410
|
+
/***/ 6113:
|
|
411
|
+
/***/ ((module) => {
|
|
412
|
+
|
|
413
|
+
"use strict";
|
|
414
|
+
module.exports = require("crypto");
|
|
415
|
+
|
|
416
|
+
/***/ }),
|
|
417
|
+
|
|
418
|
+
/***/ 2781:
|
|
419
|
+
/***/ ((module) => {
|
|
420
|
+
|
|
421
|
+
"use strict";
|
|
422
|
+
module.exports = require("stream");
|
|
423
|
+
|
|
424
|
+
/***/ }),
|
|
425
|
+
|
|
426
|
+
/***/ 7310:
|
|
427
|
+
/***/ ((module) => {
|
|
428
|
+
|
|
429
|
+
"use strict";
|
|
430
|
+
module.exports = require("url");
|
|
431
|
+
|
|
432
|
+
/***/ }),
|
|
433
|
+
|
|
434
|
+
/***/ 3837:
|
|
435
|
+
/***/ ((module) => {
|
|
436
|
+
|
|
437
|
+
"use strict";
|
|
438
|
+
module.exports = require("util");
|
|
439
|
+
|
|
440
|
+
/***/ })
|
|
441
|
+
|
|
442
|
+
/******/ });
|
|
443
|
+
/************************************************************************/
|
|
444
|
+
/******/ // The module cache
|
|
445
|
+
/******/ var __webpack_module_cache__ = {};
|
|
446
|
+
/******/
|
|
447
|
+
/******/ // The require function
|
|
448
|
+
/******/ function __webpack_require__(moduleId) {
|
|
449
|
+
/******/ // Check if module is in cache
|
|
450
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
451
|
+
/******/ if (cachedModule !== undefined) {
|
|
452
|
+
/******/ return cachedModule.exports;
|
|
453
|
+
/******/ }
|
|
454
|
+
/******/ // Create a new module (and put it into the cache)
|
|
455
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
456
|
+
/******/ id: moduleId,
|
|
457
|
+
/******/ loaded: false,
|
|
458
|
+
/******/ exports: {}
|
|
459
|
+
/******/ };
|
|
460
|
+
/******/
|
|
461
|
+
/******/ // Execute the module function
|
|
462
|
+
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
463
|
+
/******/
|
|
464
|
+
/******/ // Flag the module as loaded
|
|
465
|
+
/******/ module.loaded = true;
|
|
466
|
+
/******/
|
|
467
|
+
/******/ // Return the exports of the module
|
|
468
|
+
/******/ return module.exports;
|
|
469
|
+
/******/ }
|
|
470
|
+
/******/
|
|
471
|
+
/******/ // expose the modules object (__webpack_modules__)
|
|
472
|
+
/******/ __webpack_require__.m = __webpack_modules__;
|
|
473
|
+
/******/
|
|
474
|
+
/******/ // the startup function
|
|
475
|
+
/******/ __webpack_require__.x = () => {
|
|
476
|
+
/******/ // Load entry module and return exports
|
|
477
|
+
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
478
|
+
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, [514,736], () => (__webpack_require__(2722)))
|
|
479
|
+
/******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
|
|
480
|
+
/******/ return __webpack_exports__;
|
|
481
|
+
/******/ };
|
|
482
|
+
/******/
|
|
483
|
+
/************************************************************************/
|
|
484
|
+
/******/ /* webpack/runtime/amd options */
|
|
485
|
+
/******/ (() => {
|
|
486
|
+
/******/ __webpack_require__.amdO = {};
|
|
487
|
+
/******/ })();
|
|
488
|
+
/******/
|
|
489
|
+
/******/ /* webpack/runtime/chunk loaded */
|
|
490
|
+
/******/ (() => {
|
|
491
|
+
/******/ var deferred = [];
|
|
492
|
+
/******/ __webpack_require__.O = (result, chunkIds, fn, priority) => {
|
|
493
|
+
/******/ if(chunkIds) {
|
|
494
|
+
/******/ priority = priority || 0;
|
|
495
|
+
/******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
|
|
496
|
+
/******/ deferred[i] = [chunkIds, fn, priority];
|
|
497
|
+
/******/ return;
|
|
498
|
+
/******/ }
|
|
499
|
+
/******/ var notFulfilled = Infinity;
|
|
500
|
+
/******/ for (var i = 0; i < deferred.length; i++) {
|
|
501
|
+
/******/ var [chunkIds, fn, priority] = deferred[i];
|
|
502
|
+
/******/ var fulfilled = true;
|
|
503
|
+
/******/ for (var j = 0; j < chunkIds.length; j++) {
|
|
504
|
+
/******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {
|
|
505
|
+
/******/ chunkIds.splice(j--, 1);
|
|
506
|
+
/******/ } else {
|
|
507
|
+
/******/ fulfilled = false;
|
|
508
|
+
/******/ if(priority < notFulfilled) notFulfilled = priority;
|
|
509
|
+
/******/ }
|
|
510
|
+
/******/ }
|
|
511
|
+
/******/ if(fulfilled) {
|
|
512
|
+
/******/ deferred.splice(i--, 1)
|
|
513
|
+
/******/ var r = fn();
|
|
514
|
+
/******/ if (r !== undefined) result = r;
|
|
515
|
+
/******/ }
|
|
516
|
+
/******/ }
|
|
517
|
+
/******/ return result;
|
|
518
|
+
/******/ };
|
|
519
|
+
/******/ })();
|
|
520
|
+
/******/
|
|
521
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
522
|
+
/******/ (() => {
|
|
523
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
524
|
+
/******/ __webpack_require__.n = (module) => {
|
|
525
|
+
/******/ var getter = module && module.__esModule ?
|
|
526
|
+
/******/ () => (module['default']) :
|
|
527
|
+
/******/ () => (module);
|
|
528
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
529
|
+
/******/ return getter;
|
|
530
|
+
/******/ };
|
|
531
|
+
/******/ })();
|
|
532
|
+
/******/
|
|
533
|
+
/******/ /* webpack/runtime/define property getters */
|
|
534
|
+
/******/ (() => {
|
|
535
|
+
/******/ // define getter functions for harmony exports
|
|
536
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
|
537
|
+
/******/ for(var key in definition) {
|
|
538
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
539
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
540
|
+
/******/ }
|
|
541
|
+
/******/ }
|
|
542
|
+
/******/ };
|
|
543
|
+
/******/ })();
|
|
544
|
+
/******/
|
|
545
|
+
/******/ /* webpack/runtime/ensure chunk */
|
|
546
|
+
/******/ (() => {
|
|
547
|
+
/******/ __webpack_require__.f = {};
|
|
548
|
+
/******/ // This file contains only the entry chunk.
|
|
549
|
+
/******/ // The chunk loading function for additional chunks
|
|
550
|
+
/******/ __webpack_require__.e = (chunkId) => {
|
|
551
|
+
/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {
|
|
552
|
+
/******/ __webpack_require__.f[key](chunkId, promises);
|
|
553
|
+
/******/ return promises;
|
|
554
|
+
/******/ }, []));
|
|
555
|
+
/******/ };
|
|
556
|
+
/******/ })();
|
|
557
|
+
/******/
|
|
558
|
+
/******/ /* webpack/runtime/get javascript chunk filename */
|
|
559
|
+
/******/ (() => {
|
|
560
|
+
/******/ // This function allow to reference async chunks and sibling chunks for the entrypoint
|
|
561
|
+
/******/ __webpack_require__.u = (chunkId) => {
|
|
562
|
+
/******/ // return url for filenames based on template
|
|
563
|
+
/******/ return "" + {"514":"react","736":"vendor"}[chunkId] + ".js";
|
|
564
|
+
/******/ };
|
|
565
|
+
/******/ })();
|
|
566
|
+
/******/
|
|
567
|
+
/******/ /* webpack/runtime/get mini-css chunk filename */
|
|
568
|
+
/******/ (() => {
|
|
569
|
+
/******/ // This function allow to reference async chunks and sibling chunks for the entrypoint
|
|
570
|
+
/******/ __webpack_require__.miniCssF = (chunkId) => {
|
|
571
|
+
/******/ // return url for filenames based on template
|
|
572
|
+
/******/ return undefined;
|
|
573
|
+
/******/ };
|
|
574
|
+
/******/ })();
|
|
575
|
+
/******/
|
|
576
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
577
|
+
/******/ (() => {
|
|
578
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
579
|
+
/******/ })();
|
|
580
|
+
/******/
|
|
581
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
582
|
+
/******/ (() => {
|
|
583
|
+
/******/ // define __esModule on exports
|
|
584
|
+
/******/ __webpack_require__.r = (exports) => {
|
|
585
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
586
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
587
|
+
/******/ }
|
|
588
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
589
|
+
/******/ };
|
|
590
|
+
/******/ })();
|
|
591
|
+
/******/
|
|
592
|
+
/******/ /* webpack/runtime/node module decorator */
|
|
593
|
+
/******/ (() => {
|
|
594
|
+
/******/ __webpack_require__.nmd = (module) => {
|
|
595
|
+
/******/ module.paths = [];
|
|
596
|
+
/******/ if (!module.children) module.children = [];
|
|
597
|
+
/******/ return module;
|
|
598
|
+
/******/ };
|
|
599
|
+
/******/ })();
|
|
600
|
+
/******/
|
|
601
|
+
/******/ /* webpack/runtime/publicPath */
|
|
602
|
+
/******/ (() => {
|
|
603
|
+
/******/ __webpack_require__.p = "";
|
|
604
|
+
/******/ })();
|
|
605
|
+
/******/
|
|
606
|
+
/******/ /* webpack/runtime/require chunk loading */
|
|
607
|
+
/******/ (() => {
|
|
608
|
+
/******/ // no baseURI
|
|
609
|
+
/******/
|
|
610
|
+
/******/ // object to store loaded chunks
|
|
611
|
+
/******/ // "1" means "loaded", otherwise not loaded yet
|
|
612
|
+
/******/ var installedChunks = {
|
|
613
|
+
/******/ 143: 1
|
|
614
|
+
/******/ };
|
|
615
|
+
/******/
|
|
616
|
+
/******/ __webpack_require__.O.require = (chunkId) => (installedChunks[chunkId]);
|
|
617
|
+
/******/
|
|
618
|
+
/******/ var installChunk = (chunk) => {
|
|
619
|
+
/******/ var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;
|
|
620
|
+
/******/ for(var moduleId in moreModules) {
|
|
621
|
+
/******/ if(__webpack_require__.o(moreModules, moduleId)) {
|
|
622
|
+
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
|
|
623
|
+
/******/ }
|
|
624
|
+
/******/ }
|
|
625
|
+
/******/ if(runtime) runtime(__webpack_require__);
|
|
626
|
+
/******/ for(var i = 0; i < chunkIds.length; i++)
|
|
627
|
+
/******/ installedChunks[chunkIds[i]] = 1;
|
|
628
|
+
/******/ __webpack_require__.O();
|
|
629
|
+
/******/ };
|
|
630
|
+
/******/
|
|
631
|
+
/******/ // require() chunk loading for javascript
|
|
632
|
+
/******/ __webpack_require__.f.require = (chunkId, promises) => {
|
|
633
|
+
/******/ // "1" is the signal for "already loaded"
|
|
634
|
+
/******/ if(!installedChunks[chunkId]) {
|
|
635
|
+
/******/ if(true) { // all chunks have JS
|
|
636
|
+
/******/ installChunk(require("./" + __webpack_require__.u(chunkId)));
|
|
637
|
+
/******/ } else installedChunks[chunkId] = 1;
|
|
638
|
+
/******/ }
|
|
639
|
+
/******/ };
|
|
640
|
+
/******/
|
|
641
|
+
/******/ // no external install chunk
|
|
642
|
+
/******/
|
|
643
|
+
/******/ // no HMR
|
|
644
|
+
/******/
|
|
645
|
+
/******/ // no HMR manifest
|
|
646
|
+
/******/ })();
|
|
647
|
+
/******/
|
|
648
|
+
/******/ /* webpack/runtime/startup chunk dependencies */
|
|
649
|
+
/******/ (() => {
|
|
650
|
+
/******/ var next = __webpack_require__.x;
|
|
651
|
+
/******/ __webpack_require__.x = () => {
|
|
652
|
+
/******/ __webpack_require__.e(514);
|
|
653
|
+
/******/ __webpack_require__.e(736);
|
|
654
|
+
/******/ return next();
|
|
655
|
+
/******/ };
|
|
656
|
+
/******/ })();
|
|
657
|
+
/******/
|
|
658
|
+
/************************************************************************/
|
|
659
|
+
/******/
|
|
660
|
+
/******/ // run startup
|
|
661
|
+
/******/ var __webpack_exports__ = __webpack_require__.x();
|
|
662
|
+
/******/ module.exports = __webpack_exports__;
|
|
663
|
+
/******/
|
|
664
|
+
/******/ })()
|
|
665
|
+
;
|
|
666
|
+
//# sourceMappingURL=app.js.map
|