sample-piral 0.15.0-beta.4465 → 0.15.0-beta.4512
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/app/{index.ece454.js → index.c2c936.js} +140 -866
- package/app/index.c2c936.js.map +1 -0
- package/app/index.d.ts +54 -1547
- package/app/index.html +1 -1
- package/app/index.js +1 -1
- package/files.tar +0 -0
- package/files_once.tar +0 -0
- package/package.json +10 -3
- package/app/index.ece454.js.map +0 -1
|
@@ -2304,7 +2304,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2304
2304
|
/* harmony export */ "includeProvider": () => (/* binding */ includeProvider),
|
|
2305
2305
|
/* harmony export */ "initialize": () => (/* binding */ initialize),
|
|
2306
2306
|
/* harmony export */ "injectPilet": () => (/* binding */ injectPilet),
|
|
2307
|
-
/* harmony export */ "navigate": () => (/* binding */ navigate),
|
|
2308
2307
|
/* harmony export */ "removePilet": () => (/* binding */ removePilet),
|
|
2309
2308
|
/* harmony export */ "setComponent": () => (/* binding */ setComponent),
|
|
2310
2309
|
/* harmony export */ "setErrorComponent": () => (/* binding */ setErrorComponent),
|
|
@@ -2326,12 +2325,6 @@ function initialize(ctx, loading, error, modules) {
|
|
|
2326
2325
|
});
|
|
2327
2326
|
});
|
|
2328
2327
|
}
|
|
2329
|
-
function navigate(ctx, path, state) {
|
|
2330
|
-
ctx.emit('navigate', {
|
|
2331
|
-
path: path,
|
|
2332
|
-
state: state
|
|
2333
|
-
});
|
|
2334
|
-
}
|
|
2335
2328
|
function addPilet(ctx, meta) {
|
|
2336
2329
|
return ctx.options.loadPilet(meta).then(function (pilet) {
|
|
2337
2330
|
return ctx.injectPilet(pilet);
|
|
@@ -2538,7 +2531,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2538
2531
|
/* harmony export */ "includeProvider": () => (/* reexport safe */ _app__WEBPACK_IMPORTED_MODULE_0__.includeProvider),
|
|
2539
2532
|
/* harmony export */ "initialize": () => (/* reexport safe */ _app__WEBPACK_IMPORTED_MODULE_0__.initialize),
|
|
2540
2533
|
/* harmony export */ "injectPilet": () => (/* reexport safe */ _app__WEBPACK_IMPORTED_MODULE_0__.injectPilet),
|
|
2541
|
-
/* harmony export */ "navigate": () => (/* reexport safe */ _app__WEBPACK_IMPORTED_MODULE_0__.navigate),
|
|
2542
2534
|
/* harmony export */ "readDataItem": () => (/* reexport safe */ _data__WEBPACK_IMPORTED_MODULE_2__.readDataItem),
|
|
2543
2535
|
/* harmony export */ "readDataValue": () => (/* reexport safe */ _data__WEBPACK_IMPORTED_MODULE_2__.readDataValue),
|
|
2544
2536
|
/* harmony export */ "readState": () => (/* reexport safe */ _state__WEBPACK_IMPORTED_MODULE_5__.readState),
|
|
@@ -3398,19 +3390,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3398
3390
|
/* harmony export */ });
|
|
3399
3391
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
3400
3392
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
3401
|
-
/* harmony import */ var
|
|
3402
|
-
/* harmony import */ var
|
|
3393
|
+
/* harmony import */ var _PortalRenderer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./PortalRenderer */ "../../framework/piral-core/esm/components/PortalRenderer.js");
|
|
3394
|
+
/* harmony import */ var _ForeignComponentContainer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./ForeignComponentContainer */ "../../framework/piral-core/esm/components/ForeignComponentContainer.js");
|
|
3403
3395
|
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../hooks */ "../../framework/piral-core/esm/hooks/globalState.js");
|
|
3404
|
-
/* harmony import */ var
|
|
3405
|
-
/* harmony import */ var
|
|
3406
|
-
/* harmony import */ var _app_codegen__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../app.codegen */ "../../framework/piral-core/app.codegen");
|
|
3396
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils */ "../../framework/piral-core/esm/utils/helpers.js");
|
|
3397
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils */ "../../framework/piral-core/esm/utils/foreign.js");
|
|
3407
3398
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
3408
3399
|
|
|
3409
3400
|
|
|
3410
3401
|
|
|
3411
3402
|
|
|
3412
3403
|
|
|
3413
|
-
|
|
3414
3404
|
// this is an arbitrary start number to have 6 digits
|
|
3415
3405
|
|
|
3416
3406
|
var portalIdBase = 123456;
|
|
@@ -3424,21 +3414,22 @@ function wrapReactComponent(Component, captured, Wrapper) {
|
|
|
3424
3414
|
function wrapForeignComponent(component, captured, Wrapper) {
|
|
3425
3415
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.memo(function (props) {
|
|
3426
3416
|
var _useGlobalStateContex = (0,_hooks__WEBPACK_IMPORTED_MODULE_1__.useGlobalStateContext)(),
|
|
3427
|
-
state = _useGlobalStateContex.state,
|
|
3428
3417
|
readState = _useGlobalStateContex.readState,
|
|
3429
|
-
destroyPortal = _useGlobalStateContex.destroyPortal
|
|
3418
|
+
destroyPortal = _useGlobalStateContex.destroyPortal,
|
|
3419
|
+
navigation = _useGlobalStateContex.navigation;
|
|
3430
3420
|
|
|
3431
|
-
var
|
|
3421
|
+
var publicPath = readState(function (s) {
|
|
3422
|
+
return s.app.publicPath;
|
|
3423
|
+
});
|
|
3432
3424
|
var id = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(function () {
|
|
3433
3425
|
return (portalIdBase++).toString(26);
|
|
3434
|
-
},
|
|
3426
|
+
}, _utils__WEBPACK_IMPORTED_MODULE_2__.none);
|
|
3435
3427
|
var context = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(function () {
|
|
3436
3428
|
return {
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
readState: readState
|
|
3429
|
+
publicPath: publicPath,
|
|
3430
|
+
navigation: navigation
|
|
3440
3431
|
};
|
|
3441
|
-
}, [
|
|
3432
|
+
}, []);
|
|
3442
3433
|
var innerProps = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(function () {
|
|
3443
3434
|
return Object.assign(Object.assign({}, props), captured);
|
|
3444
3435
|
}, [props]);
|
|
@@ -3446,10 +3437,10 @@ function wrapForeignComponent(component, captured, Wrapper) {
|
|
|
3446
3437
|
return function () {
|
|
3447
3438
|
return destroyPortal(id);
|
|
3448
3439
|
};
|
|
3449
|
-
},
|
|
3450
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Wrapper, Object.assign({}, props), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(
|
|
3440
|
+
}, _utils__WEBPACK_IMPORTED_MODULE_2__.none);
|
|
3441
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Wrapper, Object.assign({}, props), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_PortalRenderer__WEBPACK_IMPORTED_MODULE_3__.PortalRenderer, {
|
|
3451
3442
|
id: id
|
|
3452
|
-
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(
|
|
3443
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_ForeignComponentContainer__WEBPACK_IMPORTED_MODULE_4__.ForeignComponentContainer, {
|
|
3453
3444
|
innerProps: innerProps,
|
|
3454
3445
|
"$portalId": id,
|
|
3455
3446
|
"$component": component,
|
|
@@ -3473,7 +3464,7 @@ function wrapComponent(converters, component, captured, Wrapper) {
|
|
|
3473
3464
|
}
|
|
3474
3465
|
|
|
3475
3466
|
if (_typeof(component) === 'object' && isNotExotic(component)) {
|
|
3476
|
-
var result = (0,
|
|
3467
|
+
var result = (0,_utils__WEBPACK_IMPORTED_MODULE_5__.convertComponent)(converters[component.type], component);
|
|
3477
3468
|
return wrapForeignComponent(result, captured, Wrapper);
|
|
3478
3469
|
}
|
|
3479
3470
|
|
|
@@ -3664,7 +3655,7 @@ function integrateDebugger(context, options) {
|
|
|
3664
3655
|
});
|
|
3665
3656
|
},
|
|
3666
3657
|
navigate: function navigate(path, state) {
|
|
3667
|
-
return context.
|
|
3658
|
+
return context.navigation.push(path, state);
|
|
3668
3659
|
},
|
|
3669
3660
|
getPilets: function getPilets() {
|
|
3670
3661
|
return context.readState(function (s) {
|
|
@@ -4528,7 +4519,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4528
4519
|
/* harmony export */ "createActions": () => (/* binding */ createActions),
|
|
4529
4520
|
/* harmony export */ "includeActions": () => (/* binding */ includeActions)
|
|
4530
4521
|
/* harmony export */ });
|
|
4531
|
-
/* harmony import */ var
|
|
4522
|
+
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../actions */ "../../framework/piral-core/esm/actions/index.js");
|
|
4523
|
+
/* harmony import */ var _app_codegen__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../app.codegen */ "../../framework/piral-core/app.codegen");
|
|
4524
|
+
|
|
4532
4525
|
|
|
4533
4526
|
|
|
4534
4527
|
function createContext(state, events) {
|
|
@@ -4540,6 +4533,7 @@ function createContext(state, events) {
|
|
|
4540
4533
|
return component;
|
|
4541
4534
|
}
|
|
4542
4535
|
},
|
|
4536
|
+
navigation: (0,_app_codegen__WEBPACK_IMPORTED_MODULE_0__.createNavigation)(),
|
|
4543
4537
|
state: state
|
|
4544
4538
|
});
|
|
4545
4539
|
return ctx;
|
|
@@ -4556,7 +4550,7 @@ function includeActions(ctx, actions) {
|
|
|
4556
4550
|
}
|
|
4557
4551
|
function createActions(state, events) {
|
|
4558
4552
|
var context = createContext(state, events);
|
|
4559
|
-
includeActions(context,
|
|
4553
|
+
includeActions(context, _actions__WEBPACK_IMPORTED_MODULE_1__);
|
|
4560
4554
|
return context;
|
|
4561
4555
|
}
|
|
4562
4556
|
|
|
@@ -5381,20 +5375,6 @@ var cookie = {
|
|
|
5381
5375
|
}
|
|
5382
5376
|
};
|
|
5383
5377
|
|
|
5384
|
-
/***/ }),
|
|
5385
|
-
|
|
5386
|
-
/***/ "../../framework/piral/polyfills.js":
|
|
5387
|
-
/*!******************************************!*\
|
|
5388
|
-
!*** ../../framework/piral/polyfills.js ***!
|
|
5389
|
-
\******************************************/
|
|
5390
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5391
|
-
|
|
5392
|
-
"use strict";
|
|
5393
|
-
__webpack_require__.r(__webpack_exports__);
|
|
5394
|
-
/* harmony import */ var regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! regenerator-runtime/runtime */ "../../../node_modules/regenerator-runtime/runtime.js");
|
|
5395
|
-
/* harmony import */ var regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_0__);
|
|
5396
|
-
|
|
5397
|
-
|
|
5398
5378
|
/***/ }),
|
|
5399
5379
|
|
|
5400
5380
|
/***/ "../../plugins/piral-auth/esm/actions.js":
|
|
@@ -8507,6 +8487,15 @@ function installPiralDebug(options) {
|
|
|
8507
8487
|
var eventDispatcher = document.body.dispatchEvent;
|
|
8508
8488
|
var systemResolve = System.constructor.prototype.resolve;
|
|
8509
8489
|
var depMap = {};
|
|
8490
|
+
var subDeps = {};
|
|
8491
|
+
|
|
8492
|
+
var findAncestor = function findAncestor(parent) {
|
|
8493
|
+
while (subDeps[parent]) {
|
|
8494
|
+
parent = subDeps[parent];
|
|
8495
|
+
}
|
|
8496
|
+
|
|
8497
|
+
return parent;
|
|
8498
|
+
};
|
|
8510
8499
|
|
|
8511
8500
|
System.constructor.prototype.resolve = function () {
|
|
8512
8501
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
@@ -8517,10 +8506,18 @@ function installPiralDebug(options) {
|
|
|
8517
8506
|
parent = args[1];
|
|
8518
8507
|
var result = systemResolve.call.apply(systemResolve, [this].concat(args));
|
|
8519
8508
|
|
|
8520
|
-
if (parent) {
|
|
8521
|
-
|
|
8509
|
+
if (!parent) {
|
|
8510
|
+
return result;
|
|
8511
|
+
}
|
|
8512
|
+
|
|
8513
|
+
var ancestor = findAncestor(parent);
|
|
8514
|
+
|
|
8515
|
+
if (url.startsWith('./')) {
|
|
8516
|
+
subDeps[result] = ancestor;
|
|
8517
|
+
} else {
|
|
8518
|
+
var deps = depMap[ancestor] || {};
|
|
8522
8519
|
deps[url] = result;
|
|
8523
|
-
depMap[
|
|
8520
|
+
depMap[ancestor] = deps;
|
|
8524
8521
|
}
|
|
8525
8522
|
|
|
8526
8523
|
return result;
|
|
@@ -8530,11 +8527,11 @@ function installPiralDebug(options) {
|
|
|
8530
8527
|
debug: debugApiVersion,
|
|
8531
8528
|
instance: {
|
|
8532
8529
|
name: "sample-piral",
|
|
8533
|
-
version: "0.15.0-beta.
|
|
8534
|
-
dependencies: "reactstrap,tslib,react,react-dom,react-router,react-router-dom
|
|
8530
|
+
version: "0.15.0-beta.4512",
|
|
8531
|
+
dependencies: "reactstrap,tslib,react,react-dom,react-router,react-router-dom"
|
|
8535
8532
|
},
|
|
8536
8533
|
build: {
|
|
8537
|
-
date: "2022-07-
|
|
8534
|
+
date: "2022-07-29T23:06:05.480Z",
|
|
8538
8535
|
cli: "0.14.29",
|
|
8539
8536
|
compat: "0.14"
|
|
8540
8537
|
}
|
|
@@ -13004,9 +13001,10 @@ var react_dom__WEBPACK_IMPORTED_MODULE_1___namespace_cache;
|
|
|
13004
13001
|
__webpack_require__.r(__webpack_exports__);
|
|
13005
13002
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13006
13003
|
/* harmony export */ "createDefaultState": () => (/* binding */ createDefaultState),
|
|
13004
|
+
/* harmony export */ "createNavigation": () => (/* binding */ createNavigation),
|
|
13007
13005
|
/* harmony export */ "fillDependencies": () => (/* binding */ fillDependencies),
|
|
13008
|
-
/* harmony export */ "integrateDebugger": () => (/* reexport safe */
|
|
13009
|
-
/* harmony export */ "integrateEmulator": () => (/* reexport safe */
|
|
13006
|
+
/* harmony export */ "integrateDebugger": () => (/* reexport safe */ piral_core_debugger__WEBPACK_IMPORTED_MODULE_11__.integrateDebugger),
|
|
13007
|
+
/* harmony export */ "integrateEmulator": () => (/* reexport safe */ piral_core_emulator__WEBPACK_IMPORTED_MODULE_12__.integrateEmulator),
|
|
13010
13008
|
/* harmony export */ "useRouteFilter": () => (/* binding */ useRouteFilter),
|
|
13011
13009
|
/* harmony export */ "useRouterContext": () => (/* binding */ useRouterContext)
|
|
13012
13010
|
/* harmony export */ });
|
|
@@ -13017,16 +13015,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13017
13015
|
/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-dom */ "../../../node_modules/react-dom/index.js");
|
|
13018
13016
|
/* harmony import */ var react_router__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-router */ "../../../node_modules/react-router/esm/react-router.js");
|
|
13019
13017
|
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-router-dom */ "../../../node_modules/react-router-dom/esm/react-router-dom.js");
|
|
13020
|
-
/* harmony import */ var
|
|
13021
|
-
/* harmony import */ var
|
|
13022
|
-
/* harmony import */ var
|
|
13023
|
-
/* harmony import */ var
|
|
13024
|
-
/* harmony import */ var
|
|
13025
|
-
/* harmony import */ var
|
|
13026
|
-
/* harmony import */ var
|
|
13027
|
-
/* harmony import */ var
|
|
13028
|
-
/* harmony import */ var piral_core_hooks_globalState__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! piral-core/_/hooks/globalState */ "../../framework/piral-core/esm/hooks/globalState.js");
|
|
13029
|
-
/* harmony import */ var piral_debug_utils__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! piral-debug-utils */ "../../utilities/piral-debug-utils/esm/emulator.js");
|
|
13018
|
+
/* harmony import */ var piral_core_defaults_DefaultErrorInfo__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! piral-core/_/defaults/DefaultErrorInfo */ "../../framework/piral-core/esm/defaults/DefaultErrorInfo.js");
|
|
13019
|
+
/* harmony import */ var piral_core_defaults_DefaultLoadingIndicator__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! piral-core/_/defaults/DefaultLoadingIndicator */ "../../framework/piral-core/esm/defaults/DefaultLoadingIndicator.js");
|
|
13020
|
+
/* harmony import */ var piral_core_defaults_DefaultLayout__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! piral-core/_/defaults/DefaultLayout */ "../../framework/piral-core/esm/defaults/DefaultLayout.js");
|
|
13021
|
+
/* harmony import */ var piral_core_defaults_DefaultRouter_v5__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! piral-core/_/defaults/DefaultRouter_v5 */ "../../framework/piral-core/esm/defaults/DefaultRouter_v5.js");
|
|
13022
|
+
/* harmony import */ var piral_core_defaults_DefaultRouteSwitch_v5__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! piral-core/_/defaults/DefaultRouteSwitch_v5 */ "../../framework/piral-core/esm/defaults/DefaultRouteSwitch_v5.js");
|
|
13023
|
+
/* harmony import */ var piral_core_debugger__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! piral-core/_/debugger */ "../../framework/piral-core/esm/debugger.js");
|
|
13024
|
+
/* harmony import */ var piral_core_emulator__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! piral-core/_/emulator */ "../../framework/piral-core/esm/emulator.js");
|
|
13025
|
+
/* harmony import */ var piral_debug_utils__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! piral-debug-utils */ "../../utilities/piral-debug-utils/esm/emulator.js");
|
|
13030
13026
|
|
|
13031
13027
|
|
|
13032
13028
|
|
|
@@ -13046,16 +13042,67 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13046
13042
|
|
|
13047
13043
|
|
|
13048
13044
|
|
|
13045
|
+
let _nav;
|
|
13046
|
+
const _noop = () => {};
|
|
13049
13047
|
|
|
13050
13048
|
|
|
13051
13049
|
function fillDependencies(deps) {
|
|
13052
|
-
deps['sample-piral']={};deps["reactstrap"]=reactstrap__WEBPACK_IMPORTED_MODULE_2__;deps["reactstrap@8.10.1"]=reactstrap__WEBPACK_IMPORTED_MODULE_2__;deps["tslib"]=tslib__WEBPACK_IMPORTED_MODULE_3__;deps["tslib@2.3.1"]=tslib__WEBPACK_IMPORTED_MODULE_3__;deps["react"]=react__WEBPACK_IMPORTED_MODULE_0__;deps["react@18.2.0"]=react__WEBPACK_IMPORTED_MODULE_0__;deps["react-dom"]=/*#__PURE__*/ (react_dom__WEBPACK_IMPORTED_MODULE_1___namespace_cache || (react_dom__WEBPACK_IMPORTED_MODULE_1___namespace_cache = __webpack_require__.t(react_dom__WEBPACK_IMPORTED_MODULE_1__, 2)));deps["react-dom@18.2.0"]=/*#__PURE__*/ (react_dom__WEBPACK_IMPORTED_MODULE_1___namespace_cache || (react_dom__WEBPACK_IMPORTED_MODULE_1___namespace_cache = __webpack_require__.t(react_dom__WEBPACK_IMPORTED_MODULE_1__, 2)));deps["react-router"]=react_router__WEBPACK_IMPORTED_MODULE_4__;deps["react-router@5.3.3"]=react_router__WEBPACK_IMPORTED_MODULE_4__;deps["react-router-dom"]=react_router_dom__WEBPACK_IMPORTED_MODULE_5__;deps["react-router-dom@5.3.3"]=react_router_dom__WEBPACK_IMPORTED_MODULE_5__
|
|
13050
|
+
deps['sample-piral']={};deps["reactstrap"]=reactstrap__WEBPACK_IMPORTED_MODULE_2__;deps["reactstrap@8.10.1"]=reactstrap__WEBPACK_IMPORTED_MODULE_2__;deps["tslib"]=tslib__WEBPACK_IMPORTED_MODULE_3__;deps["tslib@2.3.1"]=tslib__WEBPACK_IMPORTED_MODULE_3__;deps["react"]=react__WEBPACK_IMPORTED_MODULE_0__;deps["react@18.2.0"]=react__WEBPACK_IMPORTED_MODULE_0__;deps["react-dom"]=/*#__PURE__*/ (react_dom__WEBPACK_IMPORTED_MODULE_1___namespace_cache || (react_dom__WEBPACK_IMPORTED_MODULE_1___namespace_cache = __webpack_require__.t(react_dom__WEBPACK_IMPORTED_MODULE_1__, 2)));deps["react-dom@18.2.0"]=/*#__PURE__*/ (react_dom__WEBPACK_IMPORTED_MODULE_1___namespace_cache || (react_dom__WEBPACK_IMPORTED_MODULE_1___namespace_cache = __webpack_require__.t(react_dom__WEBPACK_IMPORTED_MODULE_1__, 2)));deps["react-router"]=react_router__WEBPACK_IMPORTED_MODULE_4__;deps["react-router@5.3.3"]=react_router__WEBPACK_IMPORTED_MODULE_4__;deps["react-router-dom"]=react_router_dom__WEBPACK_IMPORTED_MODULE_5__;deps["react-router-dom@5.3.3"]=react_router_dom__WEBPACK_IMPORTED_MODULE_5__
|
|
13053
13051
|
}
|
|
13054
13052
|
|
|
13055
13053
|
|
|
13056
|
-
function
|
|
13054
|
+
function useCurrentNavigation() {
|
|
13057
13055
|
const ctx = useRouterContext();
|
|
13058
|
-
|
|
13056
|
+
|
|
13057
|
+
(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
|
|
13058
|
+
_nav = ctx.history;
|
|
13059
|
+
return () => {
|
|
13060
|
+
_nav = undefined;
|
|
13061
|
+
};
|
|
13062
|
+
}, []);
|
|
13063
|
+
}
|
|
13064
|
+
|
|
13065
|
+
|
|
13066
|
+
function createNavigation() {
|
|
13067
|
+
const enhance = info => ({
|
|
13068
|
+
...info,
|
|
13069
|
+
location: {
|
|
13070
|
+
get href() {
|
|
13071
|
+
return _nav.createHref(info.location);
|
|
13072
|
+
},
|
|
13073
|
+
...info.location,
|
|
13074
|
+
},
|
|
13075
|
+
});
|
|
13076
|
+
|
|
13077
|
+
return {
|
|
13078
|
+
push(target, state) {
|
|
13079
|
+
if (_nav) {
|
|
13080
|
+
_nav.push(target, state);
|
|
13081
|
+
}
|
|
13082
|
+
},
|
|
13083
|
+
replace(target, state) {
|
|
13084
|
+
if (_nav) {
|
|
13085
|
+
_nav.replace(target, state);
|
|
13086
|
+
}
|
|
13087
|
+
},
|
|
13088
|
+
go(n) {
|
|
13089
|
+
if (_nav) {
|
|
13090
|
+
_nav.go(n);
|
|
13091
|
+
}
|
|
13092
|
+
},
|
|
13093
|
+
block(blocker) {
|
|
13094
|
+
if (!_nav) {
|
|
13095
|
+
return _noop;
|
|
13096
|
+
}
|
|
13097
|
+
return _nav.block((location, action) => blocker(enhance({ location, action })));
|
|
13098
|
+
},
|
|
13099
|
+
listen(listener) {
|
|
13100
|
+
if (!_nav) {
|
|
13101
|
+
return _noop;
|
|
13102
|
+
}
|
|
13103
|
+
return _nav.listen((location, action) => listener(enhance({ location, action })));
|
|
13104
|
+
},
|
|
13105
|
+
};
|
|
13059
13106
|
}
|
|
13060
13107
|
|
|
13061
13108
|
|
|
@@ -13067,11 +13114,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13067
13114
|
publicPath: "/",
|
|
13068
13115
|
},
|
|
13069
13116
|
components: {
|
|
13070
|
-
ErrorInfo:
|
|
13071
|
-
LoadingIndicator:
|
|
13072
|
-
Router:
|
|
13073
|
-
RouteSwitch:
|
|
13074
|
-
Layout:
|
|
13117
|
+
ErrorInfo: piral_core_defaults_DefaultErrorInfo__WEBPACK_IMPORTED_MODULE_6__.DefaultErrorInfo,
|
|
13118
|
+
LoadingIndicator: piral_core_defaults_DefaultLoadingIndicator__WEBPACK_IMPORTED_MODULE_7__.DefaultLoadingIndicator,
|
|
13119
|
+
Router: piral_core_defaults_DefaultRouter_v5__WEBPACK_IMPORTED_MODULE_8__.DefaultRouter,
|
|
13120
|
+
RouteSwitch: piral_core_defaults_DefaultRouteSwitch_v5__WEBPACK_IMPORTED_MODULE_9__.DefaultRouteSwitch,
|
|
13121
|
+
Layout: piral_core_defaults_DefaultLayout__WEBPACK_IMPORTED_MODULE_10__.DefaultLayout,
|
|
13075
13122
|
},
|
|
13076
13123
|
errorComponents: {},
|
|
13077
13124
|
registry: {
|
|
@@ -13096,16 +13143,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13096
13143
|
|
|
13097
13144
|
function useRouteFilter(paths) {
|
|
13098
13145
|
|
|
13099
|
-
|
|
13100
|
-
const navigate = useNavigate();
|
|
13101
|
-
|
|
13102
|
-
(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
|
|
13103
|
-
const handler = ({ path, state }) => navigate(path, state);
|
|
13104
|
-
stateContext.on('navigate', handler);
|
|
13105
|
-
return () => stateContext.off('navigate', handler);
|
|
13106
|
-
}, []);
|
|
13146
|
+
useCurrentNavigation();
|
|
13107
13147
|
|
|
13108
|
-
return (0,
|
|
13148
|
+
return (0,piral_debug_utils__WEBPACK_IMPORTED_MODULE_13__.debugRouteFilter)(paths);
|
|
13109
13149
|
}
|
|
13110
13150
|
|
|
13111
13151
|
|
|
@@ -63460,770 +63500,6 @@ function addMultipleEventListeners(_els, handler, _events, useCapture) {
|
|
|
63460
63500
|
}
|
|
63461
63501
|
var focusableElements = ['a[href]', 'area[href]', 'input:not([disabled]):not([type=hidden])', 'select:not([disabled])', 'textarea:not([disabled])', 'button:not([disabled])', 'object', 'embed', '[tabindex]:not(.modal)', 'audio[controls]', 'video[controls]', '[contenteditable]:not([contenteditable="false"])'];
|
|
63462
63502
|
|
|
63463
|
-
/***/ }),
|
|
63464
|
-
|
|
63465
|
-
/***/ "../../../node_modules/regenerator-runtime/runtime.js":
|
|
63466
|
-
/*!************************************************************!*\
|
|
63467
|
-
!*** ../../../node_modules/regenerator-runtime/runtime.js ***!
|
|
63468
|
-
\************************************************************/
|
|
63469
|
-
/***/ ((module) => {
|
|
63470
|
-
|
|
63471
|
-
/**
|
|
63472
|
-
* Copyright (c) 2014-present, Facebook, Inc.
|
|
63473
|
-
*
|
|
63474
|
-
* This source code is licensed under the MIT license found in the
|
|
63475
|
-
* LICENSE file in the root directory of this source tree.
|
|
63476
|
-
*/
|
|
63477
|
-
|
|
63478
|
-
var runtime = (function (exports) {
|
|
63479
|
-
"use strict";
|
|
63480
|
-
|
|
63481
|
-
var Op = Object.prototype;
|
|
63482
|
-
var hasOwn = Op.hasOwnProperty;
|
|
63483
|
-
var undefined; // More compressible than void 0.
|
|
63484
|
-
var $Symbol = typeof Symbol === "function" ? Symbol : {};
|
|
63485
|
-
var iteratorSymbol = $Symbol.iterator || "@@iterator";
|
|
63486
|
-
var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
|
|
63487
|
-
var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
|
|
63488
|
-
|
|
63489
|
-
function define(obj, key, value) {
|
|
63490
|
-
Object.defineProperty(obj, key, {
|
|
63491
|
-
value: value,
|
|
63492
|
-
enumerable: true,
|
|
63493
|
-
configurable: true,
|
|
63494
|
-
writable: true
|
|
63495
|
-
});
|
|
63496
|
-
return obj[key];
|
|
63497
|
-
}
|
|
63498
|
-
try {
|
|
63499
|
-
// IE 8 has a broken Object.defineProperty that only works on DOM objects.
|
|
63500
|
-
define({}, "");
|
|
63501
|
-
} catch (err) {
|
|
63502
|
-
define = function(obj, key, value) {
|
|
63503
|
-
return obj[key] = value;
|
|
63504
|
-
};
|
|
63505
|
-
}
|
|
63506
|
-
|
|
63507
|
-
function wrap(innerFn, outerFn, self, tryLocsList) {
|
|
63508
|
-
// If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.
|
|
63509
|
-
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
|
|
63510
|
-
var generator = Object.create(protoGenerator.prototype);
|
|
63511
|
-
var context = new Context(tryLocsList || []);
|
|
63512
|
-
|
|
63513
|
-
// The ._invoke method unifies the implementations of the .next,
|
|
63514
|
-
// .throw, and .return methods.
|
|
63515
|
-
generator._invoke = makeInvokeMethod(innerFn, self, context);
|
|
63516
|
-
|
|
63517
|
-
return generator;
|
|
63518
|
-
}
|
|
63519
|
-
exports.wrap = wrap;
|
|
63520
|
-
|
|
63521
|
-
// Try/catch helper to minimize deoptimizations. Returns a completion
|
|
63522
|
-
// record like context.tryEntries[i].completion. This interface could
|
|
63523
|
-
// have been (and was previously) designed to take a closure to be
|
|
63524
|
-
// invoked without arguments, but in all the cases we care about we
|
|
63525
|
-
// already have an existing method we want to call, so there's no need
|
|
63526
|
-
// to create a new function object. We can even get away with assuming
|
|
63527
|
-
// the method takes exactly one argument, since that happens to be true
|
|
63528
|
-
// in every case, so we don't have to touch the arguments object. The
|
|
63529
|
-
// only additional allocation required is the completion record, which
|
|
63530
|
-
// has a stable shape and so hopefully should be cheap to allocate.
|
|
63531
|
-
function tryCatch(fn, obj, arg) {
|
|
63532
|
-
try {
|
|
63533
|
-
return { type: "normal", arg: fn.call(obj, arg) };
|
|
63534
|
-
} catch (err) {
|
|
63535
|
-
return { type: "throw", arg: err };
|
|
63536
|
-
}
|
|
63537
|
-
}
|
|
63538
|
-
|
|
63539
|
-
var GenStateSuspendedStart = "suspendedStart";
|
|
63540
|
-
var GenStateSuspendedYield = "suspendedYield";
|
|
63541
|
-
var GenStateExecuting = "executing";
|
|
63542
|
-
var GenStateCompleted = "completed";
|
|
63543
|
-
|
|
63544
|
-
// Returning this object from the innerFn has the same effect as
|
|
63545
|
-
// breaking out of the dispatch switch statement.
|
|
63546
|
-
var ContinueSentinel = {};
|
|
63547
|
-
|
|
63548
|
-
// Dummy constructor functions that we use as the .constructor and
|
|
63549
|
-
// .constructor.prototype properties for functions that return Generator
|
|
63550
|
-
// objects. For full spec compliance, you may wish to configure your
|
|
63551
|
-
// minifier not to mangle the names of these two functions.
|
|
63552
|
-
function Generator() {}
|
|
63553
|
-
function GeneratorFunction() {}
|
|
63554
|
-
function GeneratorFunctionPrototype() {}
|
|
63555
|
-
|
|
63556
|
-
// This is a polyfill for %IteratorPrototype% for environments that
|
|
63557
|
-
// don't natively support it.
|
|
63558
|
-
var IteratorPrototype = {};
|
|
63559
|
-
define(IteratorPrototype, iteratorSymbol, function () {
|
|
63560
|
-
return this;
|
|
63561
|
-
});
|
|
63562
|
-
|
|
63563
|
-
var getProto = Object.getPrototypeOf;
|
|
63564
|
-
var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
|
|
63565
|
-
if (NativeIteratorPrototype &&
|
|
63566
|
-
NativeIteratorPrototype !== Op &&
|
|
63567
|
-
hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {
|
|
63568
|
-
// This environment has a native %IteratorPrototype%; use it instead
|
|
63569
|
-
// of the polyfill.
|
|
63570
|
-
IteratorPrototype = NativeIteratorPrototype;
|
|
63571
|
-
}
|
|
63572
|
-
|
|
63573
|
-
var Gp = GeneratorFunctionPrototype.prototype =
|
|
63574
|
-
Generator.prototype = Object.create(IteratorPrototype);
|
|
63575
|
-
GeneratorFunction.prototype = GeneratorFunctionPrototype;
|
|
63576
|
-
define(Gp, "constructor", GeneratorFunctionPrototype);
|
|
63577
|
-
define(GeneratorFunctionPrototype, "constructor", GeneratorFunction);
|
|
63578
|
-
GeneratorFunction.displayName = define(
|
|
63579
|
-
GeneratorFunctionPrototype,
|
|
63580
|
-
toStringTagSymbol,
|
|
63581
|
-
"GeneratorFunction"
|
|
63582
|
-
);
|
|
63583
|
-
|
|
63584
|
-
// Helper for defining the .next, .throw, and .return methods of the
|
|
63585
|
-
// Iterator interface in terms of a single ._invoke method.
|
|
63586
|
-
function defineIteratorMethods(prototype) {
|
|
63587
|
-
["next", "throw", "return"].forEach(function(method) {
|
|
63588
|
-
define(prototype, method, function(arg) {
|
|
63589
|
-
return this._invoke(method, arg);
|
|
63590
|
-
});
|
|
63591
|
-
});
|
|
63592
|
-
}
|
|
63593
|
-
|
|
63594
|
-
exports.isGeneratorFunction = function(genFun) {
|
|
63595
|
-
var ctor = typeof genFun === "function" && genFun.constructor;
|
|
63596
|
-
return ctor
|
|
63597
|
-
? ctor === GeneratorFunction ||
|
|
63598
|
-
// For the native GeneratorFunction constructor, the best we can
|
|
63599
|
-
// do is to check its .name property.
|
|
63600
|
-
(ctor.displayName || ctor.name) === "GeneratorFunction"
|
|
63601
|
-
: false;
|
|
63602
|
-
};
|
|
63603
|
-
|
|
63604
|
-
exports.mark = function(genFun) {
|
|
63605
|
-
if (Object.setPrototypeOf) {
|
|
63606
|
-
Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
|
|
63607
|
-
} else {
|
|
63608
|
-
genFun.__proto__ = GeneratorFunctionPrototype;
|
|
63609
|
-
define(genFun, toStringTagSymbol, "GeneratorFunction");
|
|
63610
|
-
}
|
|
63611
|
-
genFun.prototype = Object.create(Gp);
|
|
63612
|
-
return genFun;
|
|
63613
|
-
};
|
|
63614
|
-
|
|
63615
|
-
// Within the body of any async function, `await x` is transformed to
|
|
63616
|
-
// `yield regeneratorRuntime.awrap(x)`, so that the runtime can test
|
|
63617
|
-
// `hasOwn.call(value, "__await")` to determine if the yielded value is
|
|
63618
|
-
// meant to be awaited.
|
|
63619
|
-
exports.awrap = function(arg) {
|
|
63620
|
-
return { __await: arg };
|
|
63621
|
-
};
|
|
63622
|
-
|
|
63623
|
-
function AsyncIterator(generator, PromiseImpl) {
|
|
63624
|
-
function invoke(method, arg, resolve, reject) {
|
|
63625
|
-
var record = tryCatch(generator[method], generator, arg);
|
|
63626
|
-
if (record.type === "throw") {
|
|
63627
|
-
reject(record.arg);
|
|
63628
|
-
} else {
|
|
63629
|
-
var result = record.arg;
|
|
63630
|
-
var value = result.value;
|
|
63631
|
-
if (value &&
|
|
63632
|
-
typeof value === "object" &&
|
|
63633
|
-
hasOwn.call(value, "__await")) {
|
|
63634
|
-
return PromiseImpl.resolve(value.__await).then(function(value) {
|
|
63635
|
-
invoke("next", value, resolve, reject);
|
|
63636
|
-
}, function(err) {
|
|
63637
|
-
invoke("throw", err, resolve, reject);
|
|
63638
|
-
});
|
|
63639
|
-
}
|
|
63640
|
-
|
|
63641
|
-
return PromiseImpl.resolve(value).then(function(unwrapped) {
|
|
63642
|
-
// When a yielded Promise is resolved, its final value becomes
|
|
63643
|
-
// the .value of the Promise<{value,done}> result for the
|
|
63644
|
-
// current iteration.
|
|
63645
|
-
result.value = unwrapped;
|
|
63646
|
-
resolve(result);
|
|
63647
|
-
}, function(error) {
|
|
63648
|
-
// If a rejected Promise was yielded, throw the rejection back
|
|
63649
|
-
// into the async generator function so it can be handled there.
|
|
63650
|
-
return invoke("throw", error, resolve, reject);
|
|
63651
|
-
});
|
|
63652
|
-
}
|
|
63653
|
-
}
|
|
63654
|
-
|
|
63655
|
-
var previousPromise;
|
|
63656
|
-
|
|
63657
|
-
function enqueue(method, arg) {
|
|
63658
|
-
function callInvokeWithMethodAndArg() {
|
|
63659
|
-
return new PromiseImpl(function(resolve, reject) {
|
|
63660
|
-
invoke(method, arg, resolve, reject);
|
|
63661
|
-
});
|
|
63662
|
-
}
|
|
63663
|
-
|
|
63664
|
-
return previousPromise =
|
|
63665
|
-
// If enqueue has been called before, then we want to wait until
|
|
63666
|
-
// all previous Promises have been resolved before calling invoke,
|
|
63667
|
-
// so that results are always delivered in the correct order. If
|
|
63668
|
-
// enqueue has not been called before, then it is important to
|
|
63669
|
-
// call invoke immediately, without waiting on a callback to fire,
|
|
63670
|
-
// so that the async generator function has the opportunity to do
|
|
63671
|
-
// any necessary setup in a predictable way. This predictability
|
|
63672
|
-
// is why the Promise constructor synchronously invokes its
|
|
63673
|
-
// executor callback, and why async functions synchronously
|
|
63674
|
-
// execute code before the first await. Since we implement simple
|
|
63675
|
-
// async functions in terms of async generators, it is especially
|
|
63676
|
-
// important to get this right, even though it requires care.
|
|
63677
|
-
previousPromise ? previousPromise.then(
|
|
63678
|
-
callInvokeWithMethodAndArg,
|
|
63679
|
-
// Avoid propagating failures to Promises returned by later
|
|
63680
|
-
// invocations of the iterator.
|
|
63681
|
-
callInvokeWithMethodAndArg
|
|
63682
|
-
) : callInvokeWithMethodAndArg();
|
|
63683
|
-
}
|
|
63684
|
-
|
|
63685
|
-
// Define the unified helper method that is used to implement .next,
|
|
63686
|
-
// .throw, and .return (see defineIteratorMethods).
|
|
63687
|
-
this._invoke = enqueue;
|
|
63688
|
-
}
|
|
63689
|
-
|
|
63690
|
-
defineIteratorMethods(AsyncIterator.prototype);
|
|
63691
|
-
define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
|
|
63692
|
-
return this;
|
|
63693
|
-
});
|
|
63694
|
-
exports.AsyncIterator = AsyncIterator;
|
|
63695
|
-
|
|
63696
|
-
// Note that simple async functions are implemented on top of
|
|
63697
|
-
// AsyncIterator objects; they just return a Promise for the value of
|
|
63698
|
-
// the final result produced by the iterator.
|
|
63699
|
-
exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {
|
|
63700
|
-
if (PromiseImpl === void 0) PromiseImpl = Promise;
|
|
63701
|
-
|
|
63702
|
-
var iter = new AsyncIterator(
|
|
63703
|
-
wrap(innerFn, outerFn, self, tryLocsList),
|
|
63704
|
-
PromiseImpl
|
|
63705
|
-
);
|
|
63706
|
-
|
|
63707
|
-
return exports.isGeneratorFunction(outerFn)
|
|
63708
|
-
? iter // If outerFn is a generator, return the full iterator.
|
|
63709
|
-
: iter.next().then(function(result) {
|
|
63710
|
-
return result.done ? result.value : iter.next();
|
|
63711
|
-
});
|
|
63712
|
-
};
|
|
63713
|
-
|
|
63714
|
-
function makeInvokeMethod(innerFn, self, context) {
|
|
63715
|
-
var state = GenStateSuspendedStart;
|
|
63716
|
-
|
|
63717
|
-
return function invoke(method, arg) {
|
|
63718
|
-
if (state === GenStateExecuting) {
|
|
63719
|
-
throw new Error("Generator is already running");
|
|
63720
|
-
}
|
|
63721
|
-
|
|
63722
|
-
if (state === GenStateCompleted) {
|
|
63723
|
-
if (method === "throw") {
|
|
63724
|
-
throw arg;
|
|
63725
|
-
}
|
|
63726
|
-
|
|
63727
|
-
// Be forgiving, per 25.3.3.3.3 of the spec:
|
|
63728
|
-
// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume
|
|
63729
|
-
return doneResult();
|
|
63730
|
-
}
|
|
63731
|
-
|
|
63732
|
-
context.method = method;
|
|
63733
|
-
context.arg = arg;
|
|
63734
|
-
|
|
63735
|
-
while (true) {
|
|
63736
|
-
var delegate = context.delegate;
|
|
63737
|
-
if (delegate) {
|
|
63738
|
-
var delegateResult = maybeInvokeDelegate(delegate, context);
|
|
63739
|
-
if (delegateResult) {
|
|
63740
|
-
if (delegateResult === ContinueSentinel) continue;
|
|
63741
|
-
return delegateResult;
|
|
63742
|
-
}
|
|
63743
|
-
}
|
|
63744
|
-
|
|
63745
|
-
if (context.method === "next") {
|
|
63746
|
-
// Setting context._sent for legacy support of Babel's
|
|
63747
|
-
// function.sent implementation.
|
|
63748
|
-
context.sent = context._sent = context.arg;
|
|
63749
|
-
|
|
63750
|
-
} else if (context.method === "throw") {
|
|
63751
|
-
if (state === GenStateSuspendedStart) {
|
|
63752
|
-
state = GenStateCompleted;
|
|
63753
|
-
throw context.arg;
|
|
63754
|
-
}
|
|
63755
|
-
|
|
63756
|
-
context.dispatchException(context.arg);
|
|
63757
|
-
|
|
63758
|
-
} else if (context.method === "return") {
|
|
63759
|
-
context.abrupt("return", context.arg);
|
|
63760
|
-
}
|
|
63761
|
-
|
|
63762
|
-
state = GenStateExecuting;
|
|
63763
|
-
|
|
63764
|
-
var record = tryCatch(innerFn, self, context);
|
|
63765
|
-
if (record.type === "normal") {
|
|
63766
|
-
// If an exception is thrown from innerFn, we leave state ===
|
|
63767
|
-
// GenStateExecuting and loop back for another invocation.
|
|
63768
|
-
state = context.done
|
|
63769
|
-
? GenStateCompleted
|
|
63770
|
-
: GenStateSuspendedYield;
|
|
63771
|
-
|
|
63772
|
-
if (record.arg === ContinueSentinel) {
|
|
63773
|
-
continue;
|
|
63774
|
-
}
|
|
63775
|
-
|
|
63776
|
-
return {
|
|
63777
|
-
value: record.arg,
|
|
63778
|
-
done: context.done
|
|
63779
|
-
};
|
|
63780
|
-
|
|
63781
|
-
} else if (record.type === "throw") {
|
|
63782
|
-
state = GenStateCompleted;
|
|
63783
|
-
// Dispatch the exception by looping back around to the
|
|
63784
|
-
// context.dispatchException(context.arg) call above.
|
|
63785
|
-
context.method = "throw";
|
|
63786
|
-
context.arg = record.arg;
|
|
63787
|
-
}
|
|
63788
|
-
}
|
|
63789
|
-
};
|
|
63790
|
-
}
|
|
63791
|
-
|
|
63792
|
-
// Call delegate.iterator[context.method](context.arg) and handle the
|
|
63793
|
-
// result, either by returning a { value, done } result from the
|
|
63794
|
-
// delegate iterator, or by modifying context.method and context.arg,
|
|
63795
|
-
// setting context.delegate to null, and returning the ContinueSentinel.
|
|
63796
|
-
function maybeInvokeDelegate(delegate, context) {
|
|
63797
|
-
var method = delegate.iterator[context.method];
|
|
63798
|
-
if (method === undefined) {
|
|
63799
|
-
// A .throw or .return when the delegate iterator has no .throw
|
|
63800
|
-
// method always terminates the yield* loop.
|
|
63801
|
-
context.delegate = null;
|
|
63802
|
-
|
|
63803
|
-
if (context.method === "throw") {
|
|
63804
|
-
// Note: ["return"] must be used for ES3 parsing compatibility.
|
|
63805
|
-
if (delegate.iterator["return"]) {
|
|
63806
|
-
// If the delegate iterator has a return method, give it a
|
|
63807
|
-
// chance to clean up.
|
|
63808
|
-
context.method = "return";
|
|
63809
|
-
context.arg = undefined;
|
|
63810
|
-
maybeInvokeDelegate(delegate, context);
|
|
63811
|
-
|
|
63812
|
-
if (context.method === "throw") {
|
|
63813
|
-
// If maybeInvokeDelegate(context) changed context.method from
|
|
63814
|
-
// "return" to "throw", let that override the TypeError below.
|
|
63815
|
-
return ContinueSentinel;
|
|
63816
|
-
}
|
|
63817
|
-
}
|
|
63818
|
-
|
|
63819
|
-
context.method = "throw";
|
|
63820
|
-
context.arg = new TypeError(
|
|
63821
|
-
"The iterator does not provide a 'throw' method");
|
|
63822
|
-
}
|
|
63823
|
-
|
|
63824
|
-
return ContinueSentinel;
|
|
63825
|
-
}
|
|
63826
|
-
|
|
63827
|
-
var record = tryCatch(method, delegate.iterator, context.arg);
|
|
63828
|
-
|
|
63829
|
-
if (record.type === "throw") {
|
|
63830
|
-
context.method = "throw";
|
|
63831
|
-
context.arg = record.arg;
|
|
63832
|
-
context.delegate = null;
|
|
63833
|
-
return ContinueSentinel;
|
|
63834
|
-
}
|
|
63835
|
-
|
|
63836
|
-
var info = record.arg;
|
|
63837
|
-
|
|
63838
|
-
if (! info) {
|
|
63839
|
-
context.method = "throw";
|
|
63840
|
-
context.arg = new TypeError("iterator result is not an object");
|
|
63841
|
-
context.delegate = null;
|
|
63842
|
-
return ContinueSentinel;
|
|
63843
|
-
}
|
|
63844
|
-
|
|
63845
|
-
if (info.done) {
|
|
63846
|
-
// Assign the result of the finished delegate to the temporary
|
|
63847
|
-
// variable specified by delegate.resultName (see delegateYield).
|
|
63848
|
-
context[delegate.resultName] = info.value;
|
|
63849
|
-
|
|
63850
|
-
// Resume execution at the desired location (see delegateYield).
|
|
63851
|
-
context.next = delegate.nextLoc;
|
|
63852
|
-
|
|
63853
|
-
// If context.method was "throw" but the delegate handled the
|
|
63854
|
-
// exception, let the outer generator proceed normally. If
|
|
63855
|
-
// context.method was "next", forget context.arg since it has been
|
|
63856
|
-
// "consumed" by the delegate iterator. If context.method was
|
|
63857
|
-
// "return", allow the original .return call to continue in the
|
|
63858
|
-
// outer generator.
|
|
63859
|
-
if (context.method !== "return") {
|
|
63860
|
-
context.method = "next";
|
|
63861
|
-
context.arg = undefined;
|
|
63862
|
-
}
|
|
63863
|
-
|
|
63864
|
-
} else {
|
|
63865
|
-
// Re-yield the result returned by the delegate method.
|
|
63866
|
-
return info;
|
|
63867
|
-
}
|
|
63868
|
-
|
|
63869
|
-
// The delegate iterator is finished, so forget it and continue with
|
|
63870
|
-
// the outer generator.
|
|
63871
|
-
context.delegate = null;
|
|
63872
|
-
return ContinueSentinel;
|
|
63873
|
-
}
|
|
63874
|
-
|
|
63875
|
-
// Define Generator.prototype.{next,throw,return} in terms of the
|
|
63876
|
-
// unified ._invoke helper method.
|
|
63877
|
-
defineIteratorMethods(Gp);
|
|
63878
|
-
|
|
63879
|
-
define(Gp, toStringTagSymbol, "Generator");
|
|
63880
|
-
|
|
63881
|
-
// A Generator should always return itself as the iterator object when the
|
|
63882
|
-
// @@iterator function is called on it. Some browsers' implementations of the
|
|
63883
|
-
// iterator prototype chain incorrectly implement this, causing the Generator
|
|
63884
|
-
// object to not be returned from this call. This ensures that doesn't happen.
|
|
63885
|
-
// See https://github.com/facebook/regenerator/issues/274 for more details.
|
|
63886
|
-
define(Gp, iteratorSymbol, function() {
|
|
63887
|
-
return this;
|
|
63888
|
-
});
|
|
63889
|
-
|
|
63890
|
-
define(Gp, "toString", function() {
|
|
63891
|
-
return "[object Generator]";
|
|
63892
|
-
});
|
|
63893
|
-
|
|
63894
|
-
function pushTryEntry(locs) {
|
|
63895
|
-
var entry = { tryLoc: locs[0] };
|
|
63896
|
-
|
|
63897
|
-
if (1 in locs) {
|
|
63898
|
-
entry.catchLoc = locs[1];
|
|
63899
|
-
}
|
|
63900
|
-
|
|
63901
|
-
if (2 in locs) {
|
|
63902
|
-
entry.finallyLoc = locs[2];
|
|
63903
|
-
entry.afterLoc = locs[3];
|
|
63904
|
-
}
|
|
63905
|
-
|
|
63906
|
-
this.tryEntries.push(entry);
|
|
63907
|
-
}
|
|
63908
|
-
|
|
63909
|
-
function resetTryEntry(entry) {
|
|
63910
|
-
var record = entry.completion || {};
|
|
63911
|
-
record.type = "normal";
|
|
63912
|
-
delete record.arg;
|
|
63913
|
-
entry.completion = record;
|
|
63914
|
-
}
|
|
63915
|
-
|
|
63916
|
-
function Context(tryLocsList) {
|
|
63917
|
-
// The root entry object (effectively a try statement without a catch
|
|
63918
|
-
// or a finally block) gives us a place to store values thrown from
|
|
63919
|
-
// locations where there is no enclosing try statement.
|
|
63920
|
-
this.tryEntries = [{ tryLoc: "root" }];
|
|
63921
|
-
tryLocsList.forEach(pushTryEntry, this);
|
|
63922
|
-
this.reset(true);
|
|
63923
|
-
}
|
|
63924
|
-
|
|
63925
|
-
exports.keys = function(object) {
|
|
63926
|
-
var keys = [];
|
|
63927
|
-
for (var key in object) {
|
|
63928
|
-
keys.push(key);
|
|
63929
|
-
}
|
|
63930
|
-
keys.reverse();
|
|
63931
|
-
|
|
63932
|
-
// Rather than returning an object with a next method, we keep
|
|
63933
|
-
// things simple and return the next function itself.
|
|
63934
|
-
return function next() {
|
|
63935
|
-
while (keys.length) {
|
|
63936
|
-
var key = keys.pop();
|
|
63937
|
-
if (key in object) {
|
|
63938
|
-
next.value = key;
|
|
63939
|
-
next.done = false;
|
|
63940
|
-
return next;
|
|
63941
|
-
}
|
|
63942
|
-
}
|
|
63943
|
-
|
|
63944
|
-
// To avoid creating an additional object, we just hang the .value
|
|
63945
|
-
// and .done properties off the next function object itself. This
|
|
63946
|
-
// also ensures that the minifier will not anonymize the function.
|
|
63947
|
-
next.done = true;
|
|
63948
|
-
return next;
|
|
63949
|
-
};
|
|
63950
|
-
};
|
|
63951
|
-
|
|
63952
|
-
function values(iterable) {
|
|
63953
|
-
if (iterable) {
|
|
63954
|
-
var iteratorMethod = iterable[iteratorSymbol];
|
|
63955
|
-
if (iteratorMethod) {
|
|
63956
|
-
return iteratorMethod.call(iterable);
|
|
63957
|
-
}
|
|
63958
|
-
|
|
63959
|
-
if (typeof iterable.next === "function") {
|
|
63960
|
-
return iterable;
|
|
63961
|
-
}
|
|
63962
|
-
|
|
63963
|
-
if (!isNaN(iterable.length)) {
|
|
63964
|
-
var i = -1, next = function next() {
|
|
63965
|
-
while (++i < iterable.length) {
|
|
63966
|
-
if (hasOwn.call(iterable, i)) {
|
|
63967
|
-
next.value = iterable[i];
|
|
63968
|
-
next.done = false;
|
|
63969
|
-
return next;
|
|
63970
|
-
}
|
|
63971
|
-
}
|
|
63972
|
-
|
|
63973
|
-
next.value = undefined;
|
|
63974
|
-
next.done = true;
|
|
63975
|
-
|
|
63976
|
-
return next;
|
|
63977
|
-
};
|
|
63978
|
-
|
|
63979
|
-
return next.next = next;
|
|
63980
|
-
}
|
|
63981
|
-
}
|
|
63982
|
-
|
|
63983
|
-
// Return an iterator with no values.
|
|
63984
|
-
return { next: doneResult };
|
|
63985
|
-
}
|
|
63986
|
-
exports.values = values;
|
|
63987
|
-
|
|
63988
|
-
function doneResult() {
|
|
63989
|
-
return { value: undefined, done: true };
|
|
63990
|
-
}
|
|
63991
|
-
|
|
63992
|
-
Context.prototype = {
|
|
63993
|
-
constructor: Context,
|
|
63994
|
-
|
|
63995
|
-
reset: function(skipTempReset) {
|
|
63996
|
-
this.prev = 0;
|
|
63997
|
-
this.next = 0;
|
|
63998
|
-
// Resetting context._sent for legacy support of Babel's
|
|
63999
|
-
// function.sent implementation.
|
|
64000
|
-
this.sent = this._sent = undefined;
|
|
64001
|
-
this.done = false;
|
|
64002
|
-
this.delegate = null;
|
|
64003
|
-
|
|
64004
|
-
this.method = "next";
|
|
64005
|
-
this.arg = undefined;
|
|
64006
|
-
|
|
64007
|
-
this.tryEntries.forEach(resetTryEntry);
|
|
64008
|
-
|
|
64009
|
-
if (!skipTempReset) {
|
|
64010
|
-
for (var name in this) {
|
|
64011
|
-
// Not sure about the optimal order of these conditions:
|
|
64012
|
-
if (name.charAt(0) === "t" &&
|
|
64013
|
-
hasOwn.call(this, name) &&
|
|
64014
|
-
!isNaN(+name.slice(1))) {
|
|
64015
|
-
this[name] = undefined;
|
|
64016
|
-
}
|
|
64017
|
-
}
|
|
64018
|
-
}
|
|
64019
|
-
},
|
|
64020
|
-
|
|
64021
|
-
stop: function() {
|
|
64022
|
-
this.done = true;
|
|
64023
|
-
|
|
64024
|
-
var rootEntry = this.tryEntries[0];
|
|
64025
|
-
var rootRecord = rootEntry.completion;
|
|
64026
|
-
if (rootRecord.type === "throw") {
|
|
64027
|
-
throw rootRecord.arg;
|
|
64028
|
-
}
|
|
64029
|
-
|
|
64030
|
-
return this.rval;
|
|
64031
|
-
},
|
|
64032
|
-
|
|
64033
|
-
dispatchException: function(exception) {
|
|
64034
|
-
if (this.done) {
|
|
64035
|
-
throw exception;
|
|
64036
|
-
}
|
|
64037
|
-
|
|
64038
|
-
var context = this;
|
|
64039
|
-
function handle(loc, caught) {
|
|
64040
|
-
record.type = "throw";
|
|
64041
|
-
record.arg = exception;
|
|
64042
|
-
context.next = loc;
|
|
64043
|
-
|
|
64044
|
-
if (caught) {
|
|
64045
|
-
// If the dispatched exception was caught by a catch block,
|
|
64046
|
-
// then let that catch block handle the exception normally.
|
|
64047
|
-
context.method = "next";
|
|
64048
|
-
context.arg = undefined;
|
|
64049
|
-
}
|
|
64050
|
-
|
|
64051
|
-
return !! caught;
|
|
64052
|
-
}
|
|
64053
|
-
|
|
64054
|
-
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
64055
|
-
var entry = this.tryEntries[i];
|
|
64056
|
-
var record = entry.completion;
|
|
64057
|
-
|
|
64058
|
-
if (entry.tryLoc === "root") {
|
|
64059
|
-
// Exception thrown outside of any try block that could handle
|
|
64060
|
-
// it, so set the completion value of the entire function to
|
|
64061
|
-
// throw the exception.
|
|
64062
|
-
return handle("end");
|
|
64063
|
-
}
|
|
64064
|
-
|
|
64065
|
-
if (entry.tryLoc <= this.prev) {
|
|
64066
|
-
var hasCatch = hasOwn.call(entry, "catchLoc");
|
|
64067
|
-
var hasFinally = hasOwn.call(entry, "finallyLoc");
|
|
64068
|
-
|
|
64069
|
-
if (hasCatch && hasFinally) {
|
|
64070
|
-
if (this.prev < entry.catchLoc) {
|
|
64071
|
-
return handle(entry.catchLoc, true);
|
|
64072
|
-
} else if (this.prev < entry.finallyLoc) {
|
|
64073
|
-
return handle(entry.finallyLoc);
|
|
64074
|
-
}
|
|
64075
|
-
|
|
64076
|
-
} else if (hasCatch) {
|
|
64077
|
-
if (this.prev < entry.catchLoc) {
|
|
64078
|
-
return handle(entry.catchLoc, true);
|
|
64079
|
-
}
|
|
64080
|
-
|
|
64081
|
-
} else if (hasFinally) {
|
|
64082
|
-
if (this.prev < entry.finallyLoc) {
|
|
64083
|
-
return handle(entry.finallyLoc);
|
|
64084
|
-
}
|
|
64085
|
-
|
|
64086
|
-
} else {
|
|
64087
|
-
throw new Error("try statement without catch or finally");
|
|
64088
|
-
}
|
|
64089
|
-
}
|
|
64090
|
-
}
|
|
64091
|
-
},
|
|
64092
|
-
|
|
64093
|
-
abrupt: function(type, arg) {
|
|
64094
|
-
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
64095
|
-
var entry = this.tryEntries[i];
|
|
64096
|
-
if (entry.tryLoc <= this.prev &&
|
|
64097
|
-
hasOwn.call(entry, "finallyLoc") &&
|
|
64098
|
-
this.prev < entry.finallyLoc) {
|
|
64099
|
-
var finallyEntry = entry;
|
|
64100
|
-
break;
|
|
64101
|
-
}
|
|
64102
|
-
}
|
|
64103
|
-
|
|
64104
|
-
if (finallyEntry &&
|
|
64105
|
-
(type === "break" ||
|
|
64106
|
-
type === "continue") &&
|
|
64107
|
-
finallyEntry.tryLoc <= arg &&
|
|
64108
|
-
arg <= finallyEntry.finallyLoc) {
|
|
64109
|
-
// Ignore the finally entry if control is not jumping to a
|
|
64110
|
-
// location outside the try/catch block.
|
|
64111
|
-
finallyEntry = null;
|
|
64112
|
-
}
|
|
64113
|
-
|
|
64114
|
-
var record = finallyEntry ? finallyEntry.completion : {};
|
|
64115
|
-
record.type = type;
|
|
64116
|
-
record.arg = arg;
|
|
64117
|
-
|
|
64118
|
-
if (finallyEntry) {
|
|
64119
|
-
this.method = "next";
|
|
64120
|
-
this.next = finallyEntry.finallyLoc;
|
|
64121
|
-
return ContinueSentinel;
|
|
64122
|
-
}
|
|
64123
|
-
|
|
64124
|
-
return this.complete(record);
|
|
64125
|
-
},
|
|
64126
|
-
|
|
64127
|
-
complete: function(record, afterLoc) {
|
|
64128
|
-
if (record.type === "throw") {
|
|
64129
|
-
throw record.arg;
|
|
64130
|
-
}
|
|
64131
|
-
|
|
64132
|
-
if (record.type === "break" ||
|
|
64133
|
-
record.type === "continue") {
|
|
64134
|
-
this.next = record.arg;
|
|
64135
|
-
} else if (record.type === "return") {
|
|
64136
|
-
this.rval = this.arg = record.arg;
|
|
64137
|
-
this.method = "return";
|
|
64138
|
-
this.next = "end";
|
|
64139
|
-
} else if (record.type === "normal" && afterLoc) {
|
|
64140
|
-
this.next = afterLoc;
|
|
64141
|
-
}
|
|
64142
|
-
|
|
64143
|
-
return ContinueSentinel;
|
|
64144
|
-
},
|
|
64145
|
-
|
|
64146
|
-
finish: function(finallyLoc) {
|
|
64147
|
-
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
64148
|
-
var entry = this.tryEntries[i];
|
|
64149
|
-
if (entry.finallyLoc === finallyLoc) {
|
|
64150
|
-
this.complete(entry.completion, entry.afterLoc);
|
|
64151
|
-
resetTryEntry(entry);
|
|
64152
|
-
return ContinueSentinel;
|
|
64153
|
-
}
|
|
64154
|
-
}
|
|
64155
|
-
},
|
|
64156
|
-
|
|
64157
|
-
"catch": function(tryLoc) {
|
|
64158
|
-
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
64159
|
-
var entry = this.tryEntries[i];
|
|
64160
|
-
if (entry.tryLoc === tryLoc) {
|
|
64161
|
-
var record = entry.completion;
|
|
64162
|
-
if (record.type === "throw") {
|
|
64163
|
-
var thrown = record.arg;
|
|
64164
|
-
resetTryEntry(entry);
|
|
64165
|
-
}
|
|
64166
|
-
return thrown;
|
|
64167
|
-
}
|
|
64168
|
-
}
|
|
64169
|
-
|
|
64170
|
-
// The context.catch method must only be called with a location
|
|
64171
|
-
// argument that corresponds to a known catch block.
|
|
64172
|
-
throw new Error("illegal catch attempt");
|
|
64173
|
-
},
|
|
64174
|
-
|
|
64175
|
-
delegateYield: function(iterable, resultName, nextLoc) {
|
|
64176
|
-
this.delegate = {
|
|
64177
|
-
iterator: values(iterable),
|
|
64178
|
-
resultName: resultName,
|
|
64179
|
-
nextLoc: nextLoc
|
|
64180
|
-
};
|
|
64181
|
-
|
|
64182
|
-
if (this.method === "next") {
|
|
64183
|
-
// Deliberately forget the last sent value so that we don't
|
|
64184
|
-
// accidentally pass it on to the delegate.
|
|
64185
|
-
this.arg = undefined;
|
|
64186
|
-
}
|
|
64187
|
-
|
|
64188
|
-
return ContinueSentinel;
|
|
64189
|
-
}
|
|
64190
|
-
};
|
|
64191
|
-
|
|
64192
|
-
// Regardless of whether this script is executing as a CommonJS module
|
|
64193
|
-
// or not, return the runtime object so that we can declare the variable
|
|
64194
|
-
// regeneratorRuntime in the outer scope, which allows this module to be
|
|
64195
|
-
// injected easily by `bin/regenerator --include-runtime script.js`.
|
|
64196
|
-
return exports;
|
|
64197
|
-
|
|
64198
|
-
}(
|
|
64199
|
-
// If this script is executing as a CommonJS module, use module.exports
|
|
64200
|
-
// as the regeneratorRuntime namespace. Otherwise create a new empty
|
|
64201
|
-
// object. Either way, the resulting object will be used to initialize
|
|
64202
|
-
// the regeneratorRuntime variable at the top of this file.
|
|
64203
|
-
true ? module.exports : 0
|
|
64204
|
-
));
|
|
64205
|
-
|
|
64206
|
-
try {
|
|
64207
|
-
regeneratorRuntime = runtime;
|
|
64208
|
-
} catch (accidentalStrictMode) {
|
|
64209
|
-
// This module should not be running in strict mode, so the above
|
|
64210
|
-
// assignment should always work unless something is misconfigured. Just
|
|
64211
|
-
// in case runtime.js accidentally runs in strict mode, in modern engines
|
|
64212
|
-
// we can explicitly access globalThis. In older engines we can escape
|
|
64213
|
-
// strict mode using a global Function call. This could conceivably fail
|
|
64214
|
-
// if a Content Security Policy forbids using Function, but in that case
|
|
64215
|
-
// the proper solution is to fix the accidental strict mode problem. If
|
|
64216
|
-
// you've misconfigured your bundler to force strict mode and applied a
|
|
64217
|
-
// CSP to forbid Function, and you're not willing to fix either of those
|
|
64218
|
-
// problems, please detail your unique predicament in a GitHub issue.
|
|
64219
|
-
if (typeof globalThis === "object") {
|
|
64220
|
-
globalThis.regeneratorRuntime = runtime;
|
|
64221
|
-
} else {
|
|
64222
|
-
Function("r", "regeneratorRuntime = r")(runtime);
|
|
64223
|
-
}
|
|
64224
|
-
}
|
|
64225
|
-
|
|
64226
|
-
|
|
64227
63503
|
/***/ }),
|
|
64228
63504
|
|
|
64229
63505
|
/***/ "../../../node_modules/regexp.prototype.flags/implementation.js":
|
|
@@ -66910,19 +66186,18 @@ var update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js
|
|
|
66910
66186
|
\***********************/
|
|
66911
66187
|
__webpack_require__.r(__webpack_exports__);
|
|
66912
66188
|
/* harmony import */ var bootstrap_dist_css_bootstrap_min_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! bootstrap/dist/css/bootstrap.min.css */ "../../../node_modules/bootstrap/dist/css/bootstrap.min.css");
|
|
66913
|
-
/* harmony import */ var
|
|
66914
|
-
/* harmony import */ var
|
|
66915
|
-
/* harmony import */ var
|
|
66916
|
-
/* harmony import */ var
|
|
66917
|
-
/* harmony import */ var
|
|
66918
|
-
/* harmony import */ var piral__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! piral */ "../../plugins/piral-
|
|
66919
|
-
/* harmony import */ var piral__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! piral */ "../../plugins/piral-translate/esm/
|
|
66920
|
-
/* harmony import */ var piral__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! piral */ "../../
|
|
66921
|
-
/* harmony import */ var
|
|
66922
|
-
/* harmony import */ var
|
|
66923
|
-
/* harmony import */ var
|
|
66924
|
-
/* harmony import */ var
|
|
66925
|
-
/* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./layout */ "./src/layout.tsx");
|
|
66189
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
66190
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
66191
|
+
/* harmony import */ var react_dom_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-dom/client */ "../../../node_modules/react-dom/client.js");
|
|
66192
|
+
/* harmony import */ var piral__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! piral */ "../../framework/piral-core/esm/createInstance.js");
|
|
66193
|
+
/* harmony import */ var piral__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! piral */ "../../plugins/piral-ext/esm/create.js");
|
|
66194
|
+
/* harmony import */ var piral__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! piral */ "../../plugins/piral-translate/esm/create.js");
|
|
66195
|
+
/* harmony import */ var piral__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! piral */ "../../plugins/piral-translate/esm/current.js");
|
|
66196
|
+
/* harmony import */ var piral__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! piral */ "../../framework/piral-core/esm/Piral.js");
|
|
66197
|
+
/* harmony import */ var piral_auth__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! piral-auth */ "../../plugins/piral-auth/esm/create.js");
|
|
66198
|
+
/* harmony import */ var piral_search__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! piral-search */ "../../plugins/piral-search/esm/create.js");
|
|
66199
|
+
/* harmony import */ var _parts__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./parts */ "./src/parts/index.tsx");
|
|
66200
|
+
/* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./layout */ "./src/layout.tsx");
|
|
66926
66201
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
66927
66202
|
|
|
66928
66203
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
@@ -66943,18 +66218,17 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
66943
66218
|
|
|
66944
66219
|
|
|
66945
66220
|
|
|
66946
|
-
|
|
66947
|
-
|
|
66948
|
-
|
|
66949
|
-
|
|
66950
|
-
language: piral__WEBPACK_IMPORTED_MODULE_11__.getUserLocale,
|
|
66221
|
+
var instance = (0,piral__WEBPACK_IMPORTED_MODULE_5__.createInstance)({
|
|
66222
|
+
plugins: [(0,piral_auth__WEBPACK_IMPORTED_MODULE_6__.createAuthApi)(), (0,piral_search__WEBPACK_IMPORTED_MODULE_7__.createSearchApi)()].concat(_toConsumableArray((0,piral__WEBPACK_IMPORTED_MODULE_8__.createStandardApi)({
|
|
66223
|
+
locale: (0,piral__WEBPACK_IMPORTED_MODULE_9__.setupLocalizer)({
|
|
66224
|
+
language: piral__WEBPACK_IMPORTED_MODULE_10__.getUserLocale,
|
|
66951
66225
|
messages: {
|
|
66952
66226
|
de: {},
|
|
66953
66227
|
en: {}
|
|
66954
66228
|
}
|
|
66955
66229
|
}),
|
|
66956
66230
|
menu: {
|
|
66957
|
-
items: [].concat(_toConsumableArray((0,
|
|
66231
|
+
items: [].concat(_toConsumableArray((0,_parts__WEBPACK_IMPORTED_MODULE_3__.setupMenu)()), _toConsumableArray((0,_parts__WEBPACK_IMPORTED_MODULE_3__.setupFooter)()))
|
|
66958
66232
|
}
|
|
66959
66233
|
}))),
|
|
66960
66234
|
requestPilets: function requestPilets() {
|
|
@@ -66965,16 +66239,16 @@ var instance = (0,piral__WEBPACK_IMPORTED_MODULE_6__.createInstance)({
|
|
|
66965
66239
|
});
|
|
66966
66240
|
},
|
|
66967
66241
|
state: {
|
|
66968
|
-
components:
|
|
66969
|
-
errorComponents:
|
|
66242
|
+
components: _layout__WEBPACK_IMPORTED_MODULE_4__.layout,
|
|
66243
|
+
errorComponents: _layout__WEBPACK_IMPORTED_MODULE_4__.errors
|
|
66970
66244
|
}
|
|
66971
66245
|
});
|
|
66972
|
-
var root = (0,
|
|
66973
|
-
root.render( /*#__PURE__*/
|
|
66246
|
+
var root = (0,react_dom_client__WEBPACK_IMPORTED_MODULE_2__.createRoot)(document.querySelector('#app'));
|
|
66247
|
+
root.render( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(piral__WEBPACK_IMPORTED_MODULE_11__.Piral, {
|
|
66974
66248
|
instance: instance
|
|
66975
66249
|
}));
|
|
66976
66250
|
})();
|
|
66977
66251
|
|
|
66978
66252
|
/******/ })()
|
|
66979
66253
|
;
|
|
66980
|
-
//# sourceMappingURL=index.
|
|
66254
|
+
//# sourceMappingURL=index.c2c936.js.map
|