@appshell/react-shell 1.0.0-alpha.12 → 1.0.0-alpha.13
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/dist/279.js +1 -0
- package/dist/dev/favicon.ico +0 -0
- package/dist/dev/logo192.png +0 -0
- package/dist/dev/logo512.png +0 -0
- package/dist/dev/main.js +8105 -0
- package/dist/dev/main.js.map +1 -0
- package/dist/dev/manifest.json +25 -0
- package/dist/dev/mf-manifest.json +70 -0
- package/dist/dev/mf-stats.json +78 -0
- package/dist/dev/node_modules_web-vitals_dist_web-vitals_js.js +31 -0
- package/dist/dev/node_modules_web-vitals_dist_web-vitals_js.js.map +1 -0
- package/dist/dev/src_bootstrap_tsx-webpack_sharing_consume_default_react-dom_react-dom.js +1053 -0
- package/dist/dev/src_bootstrap_tsx-webpack_sharing_consume_default_react-dom_react-dom.js.map +1 -0
- package/dist/dev/vendors-node_modules_css-loader_dist_runtime_api_js-node_modules_css-loader_dist_runtime_sour-63708e.js +734 -0
- package/dist/dev/vendors-node_modules_css-loader_dist_runtime_api_js-node_modules_css-loader_dist_runtime_sour-63708e.js.map +1 -0
- package/dist/dev/vendors-node_modules_react-dom_index_js.js +30577 -0
- package/dist/dev/vendors-node_modules_react-dom_index_js.js.map +1 -0
- package/dist/dev/vendors-node_modules_react_index_js.js +2771 -0
- package/dist/dev/vendors-node_modules_react_index_js.js.map +1 -0
- package/dist/main.js +1 -1
- package/dist/mf-manifest.json +1 -1
- package/dist/mf-stats.json +1 -1
- package/package.json +5 -3
- package/dist/952.js +0 -1
|
@@ -0,0 +1,734 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
(globalThis["webpackChunkappshell_react_shell"] = globalThis["webpackChunkappshell_react_shell"] || []).push([["vendors-node_modules_css-loader_dist_runtime_api_js-node_modules_css-loader_dist_runtime_sour-63708e"],{
|
|
3
|
+
|
|
4
|
+
/***/ "../../node_modules/css-loader/dist/runtime/api.js"
|
|
5
|
+
/*!*********************************************************!*\
|
|
6
|
+
!*** ../../node_modules/css-loader/dist/runtime/api.js ***!
|
|
7
|
+
\*********************************************************/
|
|
8
|
+
(module) {
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
/*
|
|
13
|
+
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
14
|
+
Author Tobias Koppers @sokra
|
|
15
|
+
*/
|
|
16
|
+
module.exports = function (cssWithMappingToString) {
|
|
17
|
+
var list = [];
|
|
18
|
+
|
|
19
|
+
// return the list of modules as css string
|
|
20
|
+
list.toString = function toString() {
|
|
21
|
+
return this.map(function (item) {
|
|
22
|
+
var content = "";
|
|
23
|
+
var needLayer = typeof item[5] !== "undefined";
|
|
24
|
+
if (item[4]) {
|
|
25
|
+
content += "@supports (".concat(item[4], ") {");
|
|
26
|
+
}
|
|
27
|
+
if (item[2]) {
|
|
28
|
+
content += "@media ".concat(item[2], " {");
|
|
29
|
+
}
|
|
30
|
+
if (needLayer) {
|
|
31
|
+
content += "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {");
|
|
32
|
+
}
|
|
33
|
+
content += cssWithMappingToString(item);
|
|
34
|
+
if (needLayer) {
|
|
35
|
+
content += "}";
|
|
36
|
+
}
|
|
37
|
+
if (item[2]) {
|
|
38
|
+
content += "}";
|
|
39
|
+
}
|
|
40
|
+
if (item[4]) {
|
|
41
|
+
content += "}";
|
|
42
|
+
}
|
|
43
|
+
return content;
|
|
44
|
+
}).join("");
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
// import a list of modules into the list
|
|
48
|
+
list.i = function i(modules, media, dedupe, supports, layer) {
|
|
49
|
+
if (typeof modules === "string") {
|
|
50
|
+
modules = [[null, modules, undefined]];
|
|
51
|
+
}
|
|
52
|
+
var alreadyImportedModules = {};
|
|
53
|
+
if (dedupe) {
|
|
54
|
+
for (var k = 0; k < this.length; k++) {
|
|
55
|
+
var id = this[k][0];
|
|
56
|
+
if (id != null) {
|
|
57
|
+
alreadyImportedModules[id] = true;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
for (var _k = 0; _k < modules.length; _k++) {
|
|
62
|
+
var item = [].concat(modules[_k]);
|
|
63
|
+
if (dedupe && alreadyImportedModules[item[0]]) {
|
|
64
|
+
continue;
|
|
65
|
+
}
|
|
66
|
+
if (typeof layer !== "undefined") {
|
|
67
|
+
if (typeof item[5] === "undefined") {
|
|
68
|
+
item[5] = layer;
|
|
69
|
+
} else {
|
|
70
|
+
item[1] = "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {").concat(item[1], "}");
|
|
71
|
+
item[5] = layer;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
if (media) {
|
|
75
|
+
if (!item[2]) {
|
|
76
|
+
item[2] = media;
|
|
77
|
+
} else {
|
|
78
|
+
item[1] = "@media ".concat(item[2], " {").concat(item[1], "}");
|
|
79
|
+
item[2] = media;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
if (supports) {
|
|
83
|
+
if (!item[4]) {
|
|
84
|
+
item[4] = "".concat(supports);
|
|
85
|
+
} else {
|
|
86
|
+
item[1] = "@supports (".concat(item[4], ") {").concat(item[1], "}");
|
|
87
|
+
item[4] = supports;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
list.push(item);
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
return list;
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
/***/ },
|
|
97
|
+
|
|
98
|
+
/***/ "../../node_modules/css-loader/dist/runtime/sourceMaps.js"
|
|
99
|
+
/*!****************************************************************!*\
|
|
100
|
+
!*** ../../node_modules/css-loader/dist/runtime/sourceMaps.js ***!
|
|
101
|
+
\****************************************************************/
|
|
102
|
+
(module) {
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
module.exports = function (item) {
|
|
107
|
+
var content = item[1];
|
|
108
|
+
var cssMapping = item[3];
|
|
109
|
+
if (!cssMapping) {
|
|
110
|
+
return content;
|
|
111
|
+
}
|
|
112
|
+
if (typeof btoa === "function") {
|
|
113
|
+
var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping))));
|
|
114
|
+
var data = "sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(base64);
|
|
115
|
+
var sourceMapping = "/*# ".concat(data, " */");
|
|
116
|
+
return [content].concat([sourceMapping]).join("\n");
|
|
117
|
+
}
|
|
118
|
+
return [content].join("\n");
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
/***/ },
|
|
122
|
+
|
|
123
|
+
/***/ "../../node_modules/react-dom/client.js"
|
|
124
|
+
/*!**********************************************!*\
|
|
125
|
+
!*** ../../node_modules/react-dom/client.js ***!
|
|
126
|
+
\**********************************************/
|
|
127
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
var m = __webpack_require__(/*! react-dom */ "webpack/sharing/consume/default/react-dom/react-dom");
|
|
132
|
+
if (false) // removed by dead control flow
|
|
133
|
+
{} else {
|
|
134
|
+
var i = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
135
|
+
exports.createRoot = function(c, o) {
|
|
136
|
+
i.usingClientEntryPoint = true;
|
|
137
|
+
try {
|
|
138
|
+
return m.createRoot(c, o);
|
|
139
|
+
} finally {
|
|
140
|
+
i.usingClientEntryPoint = false;
|
|
141
|
+
}
|
|
142
|
+
};
|
|
143
|
+
exports.hydrateRoot = function(c, h, o) {
|
|
144
|
+
i.usingClientEntryPoint = true;
|
|
145
|
+
try {
|
|
146
|
+
return m.hydrateRoot(c, h, o);
|
|
147
|
+
} finally {
|
|
148
|
+
i.usingClientEntryPoint = false;
|
|
149
|
+
}
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
/***/ },
|
|
155
|
+
|
|
156
|
+
/***/ "../../node_modules/react-spinners/PropagateLoader.js"
|
|
157
|
+
/*!************************************************************!*\
|
|
158
|
+
!*** ../../node_modules/react-spinners/PropagateLoader.js ***!
|
|
159
|
+
\************************************************************/
|
|
160
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
var __assign = (this && this.__assign) || function () {
|
|
164
|
+
__assign = Object.assign || function(t) {
|
|
165
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
166
|
+
s = arguments[i];
|
|
167
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
168
|
+
t[p] = s[p];
|
|
169
|
+
}
|
|
170
|
+
return t;
|
|
171
|
+
};
|
|
172
|
+
return __assign.apply(this, arguments);
|
|
173
|
+
};
|
|
174
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
175
|
+
if (k2 === undefined) k2 = k;
|
|
176
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
177
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
178
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
179
|
+
}
|
|
180
|
+
Object.defineProperty(o, k2, desc);
|
|
181
|
+
}) : (function(o, m, k, k2) {
|
|
182
|
+
if (k2 === undefined) k2 = k;
|
|
183
|
+
o[k2] = m[k];
|
|
184
|
+
}));
|
|
185
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
186
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
187
|
+
}) : function(o, v) {
|
|
188
|
+
o["default"] = v;
|
|
189
|
+
});
|
|
190
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
191
|
+
if (mod && mod.__esModule) return mod;
|
|
192
|
+
var result = {};
|
|
193
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
194
|
+
__setModuleDefault(result, mod);
|
|
195
|
+
return result;
|
|
196
|
+
};
|
|
197
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
198
|
+
var t = {};
|
|
199
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
200
|
+
t[p] = s[p];
|
|
201
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
202
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
203
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
204
|
+
t[p[i]] = s[p[i]];
|
|
205
|
+
}
|
|
206
|
+
return t;
|
|
207
|
+
};
|
|
208
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
209
|
+
var React = __importStar(__webpack_require__(/*! react */ "webpack/sharing/consume/default/react/react"));
|
|
210
|
+
var unitConverter_1 = __webpack_require__(/*! ./helpers/unitConverter */ "../../node_modules/react-spinners/helpers/unitConverter.js");
|
|
211
|
+
var animation_1 = __webpack_require__(/*! ./helpers/animation */ "../../node_modules/react-spinners/helpers/animation.js");
|
|
212
|
+
// 1.5 4.5 7.5
|
|
213
|
+
var distance = [1, 3, 5];
|
|
214
|
+
var propagate = [
|
|
215
|
+
(0, animation_1.createAnimation)("PropagateLoader", "25% {transform: translateX(-".concat(distance[0], "rem) scale(0.75)}\n 50% {transform: translateX(-").concat(distance[1], "rem) scale(0.6)}\n 75% {transform: translateX(-").concat(distance[2], "rem) scale(0.5)}\n 95% {transform: translateX(0rem) scale(1)}"), "propogate-0"),
|
|
216
|
+
(0, animation_1.createAnimation)("PropagateLoader", "25% {transform: translateX(-".concat(distance[0], "rem) scale(0.75)}\n 50% {transform: translateX(-").concat(distance[1], "rem) scale(0.6)}\n 75% {transform: translateX(-").concat(distance[1], "rem) scale(0.6)}\n 95% {transform: translateX(0rem) scale(1)}"), "propogate-1"),
|
|
217
|
+
(0, animation_1.createAnimation)("PropagateLoader", "25% {transform: translateX(-".concat(distance[0], "rem) scale(0.75)}\n 75% {transform: translateX(-").concat(distance[0], "rem) scale(0.75)}\n 95% {transform: translateX(0rem) scale(1)}"), "propogate-2"),
|
|
218
|
+
(0, animation_1.createAnimation)("PropagateLoader", "25% {transform: translateX(".concat(distance[0], "rem) scale(0.75)}\n 75% {transform: translateX(").concat(distance[0], "rem) scale(0.75)}\n 95% {transform: translateX(0rem) scale(1)}"), "propogate-3"),
|
|
219
|
+
(0, animation_1.createAnimation)("PropagateLoader", "25% {transform: translateX(".concat(distance[0], "rem) scale(0.75)}\n 50% {transform: translateX(").concat(distance[1], "rem) scale(0.6)}\n 75% {transform: translateX(").concat(distance[1], "rem) scale(0.6)}\n 95% {transform: translateX(0rem) scale(1)}"), "propogate-4"),
|
|
220
|
+
(0, animation_1.createAnimation)("PropagateLoader", "25% {transform: translateX(".concat(distance[0], "rem) scale(0.75)}\n 50% {transform: translateX(").concat(distance[1], "rem) scale(0.6)}\n 75% {transform: translateX(").concat(distance[2], "rem) scale(0.5)}\n 95% {transform: translateX(0rem) scale(1)}"), "propogate-5"),
|
|
221
|
+
];
|
|
222
|
+
function PropagateLoader(_a) {
|
|
223
|
+
var _b = _a.loading, loading = _b === void 0 ? true : _b, _c = _a.color, color = _c === void 0 ? "#000000" : _c, _d = _a.speedMultiplier, speedMultiplier = _d === void 0 ? 1 : _d, _e = _a.cssOverride, cssOverride = _e === void 0 ? {} : _e, _f = _a.size, size = _f === void 0 ? 15 : _f, additionalprops = __rest(_a, ["loading", "color", "speedMultiplier", "cssOverride", "size"]);
|
|
224
|
+
var _g = (0, unitConverter_1.parseLengthAndUnit)(size), value = _g.value, unit = _g.unit;
|
|
225
|
+
var wrapper = __assign({ display: "inherit", position: "relative" }, cssOverride);
|
|
226
|
+
var style = function (i) {
|
|
227
|
+
return {
|
|
228
|
+
position: "absolute",
|
|
229
|
+
fontSize: "".concat(value / 3).concat(unit),
|
|
230
|
+
width: "".concat(value).concat(unit),
|
|
231
|
+
height: "".concat(value).concat(unit),
|
|
232
|
+
background: color,
|
|
233
|
+
borderRadius: "50%",
|
|
234
|
+
animation: "".concat(propagate[i], " ").concat(1.5 / speedMultiplier, "s infinite"),
|
|
235
|
+
animationFillMode: "forwards",
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
if (!loading) {
|
|
239
|
+
return null;
|
|
240
|
+
}
|
|
241
|
+
return (React.createElement("span", __assign({ style: wrapper }, additionalprops),
|
|
242
|
+
React.createElement("span", { style: style(0) }),
|
|
243
|
+
React.createElement("span", { style: style(1) }),
|
|
244
|
+
React.createElement("span", { style: style(2) }),
|
|
245
|
+
React.createElement("span", { style: style(3) }),
|
|
246
|
+
React.createElement("span", { style: style(4) }),
|
|
247
|
+
React.createElement("span", { style: style(5) })));
|
|
248
|
+
}
|
|
249
|
+
exports["default"] = PropagateLoader;
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
/***/ },
|
|
253
|
+
|
|
254
|
+
/***/ "../../node_modules/react-spinners/helpers/animation.js"
|
|
255
|
+
/*!**************************************************************!*\
|
|
256
|
+
!*** ../../node_modules/react-spinners/helpers/animation.js ***!
|
|
257
|
+
\**************************************************************/
|
|
258
|
+
(__unused_webpack_module, exports) {
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
262
|
+
exports.createAnimation = void 0;
|
|
263
|
+
var createAnimation = function (loaderName, frames, suffix) {
|
|
264
|
+
var animationName = "react-spinners-".concat(loaderName, "-").concat(suffix);
|
|
265
|
+
if (typeof window == "undefined" || !window.document) {
|
|
266
|
+
return animationName;
|
|
267
|
+
}
|
|
268
|
+
var styleEl = document.createElement("style");
|
|
269
|
+
document.head.appendChild(styleEl);
|
|
270
|
+
var styleSheet = styleEl.sheet;
|
|
271
|
+
var keyFrames = "\n @keyframes ".concat(animationName, " {\n ").concat(frames, "\n }\n ");
|
|
272
|
+
if (styleSheet) {
|
|
273
|
+
styleSheet.insertRule(keyFrames, 0);
|
|
274
|
+
}
|
|
275
|
+
return animationName;
|
|
276
|
+
};
|
|
277
|
+
exports.createAnimation = createAnimation;
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
/***/ },
|
|
281
|
+
|
|
282
|
+
/***/ "../../node_modules/react-spinners/helpers/unitConverter.js"
|
|
283
|
+
/*!******************************************************************!*\
|
|
284
|
+
!*** ../../node_modules/react-spinners/helpers/unitConverter.js ***!
|
|
285
|
+
\******************************************************************/
|
|
286
|
+
(__unused_webpack_module, exports) {
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
290
|
+
exports.cssValue = exports.parseLengthAndUnit = void 0;
|
|
291
|
+
var cssUnit = {
|
|
292
|
+
cm: true,
|
|
293
|
+
mm: true,
|
|
294
|
+
in: true,
|
|
295
|
+
px: true,
|
|
296
|
+
pt: true,
|
|
297
|
+
pc: true,
|
|
298
|
+
em: true,
|
|
299
|
+
ex: true,
|
|
300
|
+
ch: true,
|
|
301
|
+
rem: true,
|
|
302
|
+
vw: true,
|
|
303
|
+
vh: true,
|
|
304
|
+
vmin: true,
|
|
305
|
+
vmax: true,
|
|
306
|
+
"%": true,
|
|
307
|
+
};
|
|
308
|
+
/**
|
|
309
|
+
* If size is a number, append px to the value as default unit.
|
|
310
|
+
* If size is a string, validate against list of valid units.
|
|
311
|
+
* If unit is valid, return size as is.
|
|
312
|
+
* If unit is invalid, console warn issue, replace with px as the unit.
|
|
313
|
+
*
|
|
314
|
+
* @param {(number | string)} size
|
|
315
|
+
* @return {LengthObject} LengthObject
|
|
316
|
+
*/
|
|
317
|
+
function parseLengthAndUnit(size) {
|
|
318
|
+
if (typeof size === "number") {
|
|
319
|
+
return {
|
|
320
|
+
value: size,
|
|
321
|
+
unit: "px",
|
|
322
|
+
};
|
|
323
|
+
}
|
|
324
|
+
var value;
|
|
325
|
+
var valueString = (size.match(/^[0-9.]*/) || "").toString();
|
|
326
|
+
if (valueString.includes(".")) {
|
|
327
|
+
value = parseFloat(valueString);
|
|
328
|
+
}
|
|
329
|
+
else {
|
|
330
|
+
value = parseInt(valueString, 10);
|
|
331
|
+
}
|
|
332
|
+
var unit = (size.match(/[^0-9]*$/) || "").toString();
|
|
333
|
+
if (cssUnit[unit]) {
|
|
334
|
+
return {
|
|
335
|
+
value: value,
|
|
336
|
+
unit: unit,
|
|
337
|
+
};
|
|
338
|
+
}
|
|
339
|
+
console.warn("React Spinners: ".concat(size, " is not a valid css value. Defaulting to ").concat(value, "px."));
|
|
340
|
+
return {
|
|
341
|
+
value: value,
|
|
342
|
+
unit: "px",
|
|
343
|
+
};
|
|
344
|
+
}
|
|
345
|
+
exports.parseLengthAndUnit = parseLengthAndUnit;
|
|
346
|
+
/**
|
|
347
|
+
* Take value as an input and return valid css value
|
|
348
|
+
*
|
|
349
|
+
* @param {(number | string)} value
|
|
350
|
+
* @return {string} valid css value
|
|
351
|
+
*/
|
|
352
|
+
function cssValue(value) {
|
|
353
|
+
var lengthWithunit = parseLengthAndUnit(value);
|
|
354
|
+
return "".concat(lengthWithunit.value).concat(lengthWithunit.unit);
|
|
355
|
+
}
|
|
356
|
+
exports.cssValue = cssValue;
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
/***/ },
|
|
360
|
+
|
|
361
|
+
/***/ "../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"
|
|
362
|
+
/*!********************************************************************************!*\
|
|
363
|
+
!*** ../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js ***!
|
|
364
|
+
\********************************************************************************/
|
|
365
|
+
(module) {
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
var stylesInDOM = [];
|
|
370
|
+
|
|
371
|
+
function getIndexByIdentifier(identifier) {
|
|
372
|
+
var result = -1;
|
|
373
|
+
|
|
374
|
+
for (var i = 0; i < stylesInDOM.length; i++) {
|
|
375
|
+
if (stylesInDOM[i].identifier === identifier) {
|
|
376
|
+
result = i;
|
|
377
|
+
break;
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
return result;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
function modulesToDom(list, options) {
|
|
385
|
+
var idCountMap = {};
|
|
386
|
+
var identifiers = [];
|
|
387
|
+
|
|
388
|
+
for (var i = 0; i < list.length; i++) {
|
|
389
|
+
var item = list[i];
|
|
390
|
+
var id = options.base ? item[0] + options.base : item[0];
|
|
391
|
+
var count = idCountMap[id] || 0;
|
|
392
|
+
var identifier = "".concat(id, " ").concat(count);
|
|
393
|
+
idCountMap[id] = count + 1;
|
|
394
|
+
var indexByIdentifier = getIndexByIdentifier(identifier);
|
|
395
|
+
var obj = {
|
|
396
|
+
css: item[1],
|
|
397
|
+
media: item[2],
|
|
398
|
+
sourceMap: item[3],
|
|
399
|
+
supports: item[4],
|
|
400
|
+
layer: item[5]
|
|
401
|
+
};
|
|
402
|
+
|
|
403
|
+
if (indexByIdentifier !== -1) {
|
|
404
|
+
stylesInDOM[indexByIdentifier].references++;
|
|
405
|
+
stylesInDOM[indexByIdentifier].updater(obj);
|
|
406
|
+
} else {
|
|
407
|
+
var updater = addElementStyle(obj, options);
|
|
408
|
+
options.byIndex = i;
|
|
409
|
+
stylesInDOM.splice(i, 0, {
|
|
410
|
+
identifier: identifier,
|
|
411
|
+
updater: updater,
|
|
412
|
+
references: 1
|
|
413
|
+
});
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
identifiers.push(identifier);
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
return identifiers;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
function addElementStyle(obj, options) {
|
|
423
|
+
var api = options.domAPI(options);
|
|
424
|
+
api.update(obj);
|
|
425
|
+
|
|
426
|
+
var updater = function updater(newObj) {
|
|
427
|
+
if (newObj) {
|
|
428
|
+
if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {
|
|
429
|
+
return;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
api.update(obj = newObj);
|
|
433
|
+
} else {
|
|
434
|
+
api.remove();
|
|
435
|
+
}
|
|
436
|
+
};
|
|
437
|
+
|
|
438
|
+
return updater;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
module.exports = function (list, options) {
|
|
442
|
+
options = options || {};
|
|
443
|
+
list = list || [];
|
|
444
|
+
var lastIdentifiers = modulesToDom(list, options);
|
|
445
|
+
return function update(newList) {
|
|
446
|
+
newList = newList || [];
|
|
447
|
+
|
|
448
|
+
for (var i = 0; i < lastIdentifiers.length; i++) {
|
|
449
|
+
var identifier = lastIdentifiers[i];
|
|
450
|
+
var index = getIndexByIdentifier(identifier);
|
|
451
|
+
stylesInDOM[index].references--;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
var newLastIdentifiers = modulesToDom(newList, options);
|
|
455
|
+
|
|
456
|
+
for (var _i = 0; _i < lastIdentifiers.length; _i++) {
|
|
457
|
+
var _identifier = lastIdentifiers[_i];
|
|
458
|
+
|
|
459
|
+
var _index = getIndexByIdentifier(_identifier);
|
|
460
|
+
|
|
461
|
+
if (stylesInDOM[_index].references === 0) {
|
|
462
|
+
stylesInDOM[_index].updater();
|
|
463
|
+
|
|
464
|
+
stylesInDOM.splice(_index, 1);
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
lastIdentifiers = newLastIdentifiers;
|
|
469
|
+
};
|
|
470
|
+
};
|
|
471
|
+
|
|
472
|
+
/***/ },
|
|
473
|
+
|
|
474
|
+
/***/ "../../node_modules/style-loader/dist/runtime/insertBySelector.js"
|
|
475
|
+
/*!************************************************************************!*\
|
|
476
|
+
!*** ../../node_modules/style-loader/dist/runtime/insertBySelector.js ***!
|
|
477
|
+
\************************************************************************/
|
|
478
|
+
(module) {
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
|
|
482
|
+
var memo = {};
|
|
483
|
+
/* istanbul ignore next */
|
|
484
|
+
|
|
485
|
+
function getTarget(target) {
|
|
486
|
+
if (typeof memo[target] === "undefined") {
|
|
487
|
+
var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself
|
|
488
|
+
|
|
489
|
+
if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
|
|
490
|
+
try {
|
|
491
|
+
// This will throw an exception if access to iframe is blocked
|
|
492
|
+
// due to cross-origin restrictions
|
|
493
|
+
styleTarget = styleTarget.contentDocument.head;
|
|
494
|
+
} catch (e) {
|
|
495
|
+
// istanbul ignore next
|
|
496
|
+
styleTarget = null;
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
memo[target] = styleTarget;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
return memo[target];
|
|
504
|
+
}
|
|
505
|
+
/* istanbul ignore next */
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
function insertBySelector(insert, style) {
|
|
509
|
+
var target = getTarget(insert);
|
|
510
|
+
|
|
511
|
+
if (!target) {
|
|
512
|
+
throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
target.appendChild(style);
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
module.exports = insertBySelector;
|
|
519
|
+
|
|
520
|
+
/***/ },
|
|
521
|
+
|
|
522
|
+
/***/ "../../node_modules/style-loader/dist/runtime/insertStyleElement.js"
|
|
523
|
+
/*!**************************************************************************!*\
|
|
524
|
+
!*** ../../node_modules/style-loader/dist/runtime/insertStyleElement.js ***!
|
|
525
|
+
\**************************************************************************/
|
|
526
|
+
(module) {
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
/* istanbul ignore next */
|
|
531
|
+
function insertStyleElement(options) {
|
|
532
|
+
var element = document.createElement("style");
|
|
533
|
+
options.setAttributes(element, options.attributes);
|
|
534
|
+
options.insert(element, options.options);
|
|
535
|
+
return element;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
module.exports = insertStyleElement;
|
|
539
|
+
|
|
540
|
+
/***/ },
|
|
541
|
+
|
|
542
|
+
/***/ "../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"
|
|
543
|
+
/*!**************************************************************************************!*\
|
|
544
|
+
!*** ../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js ***!
|
|
545
|
+
\**************************************************************************************/
|
|
546
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
/* istanbul ignore next */
|
|
551
|
+
function setAttributesWithoutAttributes(styleElement) {
|
|
552
|
+
var nonce = true ? __webpack_require__.nc : 0;
|
|
553
|
+
|
|
554
|
+
if (nonce) {
|
|
555
|
+
styleElement.setAttribute("nonce", nonce);
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
module.exports = setAttributesWithoutAttributes;
|
|
560
|
+
|
|
561
|
+
/***/ },
|
|
562
|
+
|
|
563
|
+
/***/ "../../node_modules/style-loader/dist/runtime/styleDomAPI.js"
|
|
564
|
+
/*!*******************************************************************!*\
|
|
565
|
+
!*** ../../node_modules/style-loader/dist/runtime/styleDomAPI.js ***!
|
|
566
|
+
\*******************************************************************/
|
|
567
|
+
(module) {
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
/* istanbul ignore next */
|
|
572
|
+
function apply(styleElement, options, obj) {
|
|
573
|
+
var css = "";
|
|
574
|
+
|
|
575
|
+
if (obj.supports) {
|
|
576
|
+
css += "@supports (".concat(obj.supports, ") {");
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
if (obj.media) {
|
|
580
|
+
css += "@media ".concat(obj.media, " {");
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
var needLayer = typeof obj.layer !== "undefined";
|
|
584
|
+
|
|
585
|
+
if (needLayer) {
|
|
586
|
+
css += "@layer".concat(obj.layer.length > 0 ? " ".concat(obj.layer) : "", " {");
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
css += obj.css;
|
|
590
|
+
|
|
591
|
+
if (needLayer) {
|
|
592
|
+
css += "}";
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
if (obj.media) {
|
|
596
|
+
css += "}";
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
if (obj.supports) {
|
|
600
|
+
css += "}";
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
var sourceMap = obj.sourceMap;
|
|
604
|
+
|
|
605
|
+
if (sourceMap && typeof btoa !== "undefined") {
|
|
606
|
+
css += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), " */");
|
|
607
|
+
} // For old IE
|
|
608
|
+
|
|
609
|
+
/* istanbul ignore if */
|
|
610
|
+
|
|
611
|
+
|
|
612
|
+
options.styleTagTransform(css, styleElement, options.options);
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
function removeStyleElement(styleElement) {
|
|
616
|
+
// istanbul ignore if
|
|
617
|
+
if (styleElement.parentNode === null) {
|
|
618
|
+
return false;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
styleElement.parentNode.removeChild(styleElement);
|
|
622
|
+
}
|
|
623
|
+
/* istanbul ignore next */
|
|
624
|
+
|
|
625
|
+
|
|
626
|
+
function domAPI(options) {
|
|
627
|
+
var styleElement = options.insertStyleElement(options);
|
|
628
|
+
return {
|
|
629
|
+
update: function update(obj) {
|
|
630
|
+
apply(styleElement, options, obj);
|
|
631
|
+
},
|
|
632
|
+
remove: function remove() {
|
|
633
|
+
removeStyleElement(styleElement);
|
|
634
|
+
}
|
|
635
|
+
};
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
module.exports = domAPI;
|
|
639
|
+
|
|
640
|
+
/***/ },
|
|
641
|
+
|
|
642
|
+
/***/ "../../node_modules/style-loader/dist/runtime/styleTagTransform.js"
|
|
643
|
+
/*!*************************************************************************!*\
|
|
644
|
+
!*** ../../node_modules/style-loader/dist/runtime/styleTagTransform.js ***!
|
|
645
|
+
\*************************************************************************/
|
|
646
|
+
(module) {
|
|
647
|
+
|
|
648
|
+
|
|
649
|
+
|
|
650
|
+
/* istanbul ignore next */
|
|
651
|
+
function styleTagTransform(css, styleElement) {
|
|
652
|
+
if (styleElement.styleSheet) {
|
|
653
|
+
styleElement.styleSheet.cssText = css;
|
|
654
|
+
} else {
|
|
655
|
+
while (styleElement.firstChild) {
|
|
656
|
+
styleElement.removeChild(styleElement.firstChild);
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
styleElement.appendChild(document.createTextNode(css));
|
|
660
|
+
}
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
module.exports = styleTagTransform;
|
|
664
|
+
|
|
665
|
+
/***/ },
|
|
666
|
+
|
|
667
|
+
/***/ "../../node_modules/@module-federation/enhanced/dist/src/runtime.mjs"
|
|
668
|
+
/*!***************************************************************************!*\
|
|
669
|
+
!*** ../../node_modules/@module-federation/enhanced/dist/src/runtime.mjs ***!
|
|
670
|
+
\***************************************************************************/
|
|
671
|
+
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
672
|
+
|
|
673
|
+
__webpack_require__.r(__webpack_exports__);
|
|
674
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
675
|
+
/* harmony export */ Module: () => (/* reexport safe */ _module_federation_runtime_tools_runtime__WEBPACK_IMPORTED_MODULE_0__.Module),
|
|
676
|
+
/* harmony export */ ModuleFederation: () => (/* reexport safe */ _module_federation_runtime_tools_runtime__WEBPACK_IMPORTED_MODULE_0__.ModuleFederation),
|
|
677
|
+
/* harmony export */ createInstance: () => (/* reexport safe */ _module_federation_runtime_tools_runtime__WEBPACK_IMPORTED_MODULE_0__.createInstance),
|
|
678
|
+
/* harmony export */ getInstance: () => (/* reexport safe */ _module_federation_runtime_tools_runtime__WEBPACK_IMPORTED_MODULE_0__.getInstance),
|
|
679
|
+
/* harmony export */ getRemoteEntry: () => (/* reexport safe */ _module_federation_runtime_tools_runtime__WEBPACK_IMPORTED_MODULE_0__.getRemoteEntry),
|
|
680
|
+
/* harmony export */ getRemoteInfo: () => (/* reexport safe */ _module_federation_runtime_tools_runtime__WEBPACK_IMPORTED_MODULE_0__.getRemoteInfo),
|
|
681
|
+
/* harmony export */ init: () => (/* reexport safe */ _module_federation_runtime_tools_runtime__WEBPACK_IMPORTED_MODULE_0__.init),
|
|
682
|
+
/* harmony export */ loadRemote: () => (/* reexport safe */ _module_federation_runtime_tools_runtime__WEBPACK_IMPORTED_MODULE_0__.loadRemote),
|
|
683
|
+
/* harmony export */ loadScript: () => (/* reexport safe */ _module_federation_runtime_tools_runtime__WEBPACK_IMPORTED_MODULE_0__.loadScript),
|
|
684
|
+
/* harmony export */ loadScriptNode: () => (/* reexport safe */ _module_federation_runtime_tools_runtime__WEBPACK_IMPORTED_MODULE_0__.loadScriptNode),
|
|
685
|
+
/* harmony export */ loadShare: () => (/* reexport safe */ _module_federation_runtime_tools_runtime__WEBPACK_IMPORTED_MODULE_0__.loadShare),
|
|
686
|
+
/* harmony export */ loadShareSync: () => (/* reexport safe */ _module_federation_runtime_tools_runtime__WEBPACK_IMPORTED_MODULE_0__.loadShareSync),
|
|
687
|
+
/* harmony export */ preloadRemote: () => (/* reexport safe */ _module_federation_runtime_tools_runtime__WEBPACK_IMPORTED_MODULE_0__.preloadRemote),
|
|
688
|
+
/* harmony export */ registerGlobalPlugins: () => (/* reexport safe */ _module_federation_runtime_tools_runtime__WEBPACK_IMPORTED_MODULE_0__.registerGlobalPlugins),
|
|
689
|
+
/* harmony export */ registerPlugins: () => (/* reexport safe */ _module_federation_runtime_tools_runtime__WEBPACK_IMPORTED_MODULE_0__.registerPlugins),
|
|
690
|
+
/* harmony export */ registerRemotes: () => (/* reexport safe */ _module_federation_runtime_tools_runtime__WEBPACK_IMPORTED_MODULE_0__.registerRemotes),
|
|
691
|
+
/* harmony export */ registerShared: () => (/* reexport safe */ _module_federation_runtime_tools_runtime__WEBPACK_IMPORTED_MODULE_0__.registerShared)
|
|
692
|
+
/* harmony export */ });
|
|
693
|
+
/* harmony import */ var _module_federation_runtime_tools_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @module-federation/runtime-tools/runtime */ "../../node_modules/@module-federation/runtime-tools/dist/runtime.js");
|
|
694
|
+
|
|
695
|
+
|
|
696
|
+
|
|
697
|
+
|
|
698
|
+
/***/ },
|
|
699
|
+
|
|
700
|
+
/***/ "../../node_modules/@module-federation/runtime-tools/dist/runtime.js"
|
|
701
|
+
/*!***************************************************************************!*\
|
|
702
|
+
!*** ../../node_modules/@module-federation/runtime-tools/dist/runtime.js ***!
|
|
703
|
+
\***************************************************************************/
|
|
704
|
+
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
705
|
+
|
|
706
|
+
__webpack_require__.r(__webpack_exports__);
|
|
707
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
708
|
+
/* harmony export */ Module: () => (/* reexport safe */ _module_federation_runtime__WEBPACK_IMPORTED_MODULE_0__.Module),
|
|
709
|
+
/* harmony export */ ModuleFederation: () => (/* reexport safe */ _module_federation_runtime__WEBPACK_IMPORTED_MODULE_0__.ModuleFederation),
|
|
710
|
+
/* harmony export */ createInstance: () => (/* reexport safe */ _module_federation_runtime__WEBPACK_IMPORTED_MODULE_0__.createInstance),
|
|
711
|
+
/* harmony export */ getInstance: () => (/* reexport safe */ _module_federation_runtime__WEBPACK_IMPORTED_MODULE_0__.getInstance),
|
|
712
|
+
/* harmony export */ getRemoteEntry: () => (/* reexport safe */ _module_federation_runtime__WEBPACK_IMPORTED_MODULE_0__.getRemoteEntry),
|
|
713
|
+
/* harmony export */ getRemoteInfo: () => (/* reexport safe */ _module_federation_runtime__WEBPACK_IMPORTED_MODULE_0__.getRemoteInfo),
|
|
714
|
+
/* harmony export */ init: () => (/* reexport safe */ _module_federation_runtime__WEBPACK_IMPORTED_MODULE_0__.init),
|
|
715
|
+
/* harmony export */ loadRemote: () => (/* reexport safe */ _module_federation_runtime__WEBPACK_IMPORTED_MODULE_0__.loadRemote),
|
|
716
|
+
/* harmony export */ loadScript: () => (/* reexport safe */ _module_federation_runtime__WEBPACK_IMPORTED_MODULE_0__.loadScript),
|
|
717
|
+
/* harmony export */ loadScriptNode: () => (/* reexport safe */ _module_federation_runtime__WEBPACK_IMPORTED_MODULE_0__.loadScriptNode),
|
|
718
|
+
/* harmony export */ loadShare: () => (/* reexport safe */ _module_federation_runtime__WEBPACK_IMPORTED_MODULE_0__.loadShare),
|
|
719
|
+
/* harmony export */ loadShareSync: () => (/* reexport safe */ _module_federation_runtime__WEBPACK_IMPORTED_MODULE_0__.loadShareSync),
|
|
720
|
+
/* harmony export */ preloadRemote: () => (/* reexport safe */ _module_federation_runtime__WEBPACK_IMPORTED_MODULE_0__.preloadRemote),
|
|
721
|
+
/* harmony export */ registerGlobalPlugins: () => (/* reexport safe */ _module_federation_runtime__WEBPACK_IMPORTED_MODULE_0__.registerGlobalPlugins),
|
|
722
|
+
/* harmony export */ registerPlugins: () => (/* reexport safe */ _module_federation_runtime__WEBPACK_IMPORTED_MODULE_0__.registerPlugins),
|
|
723
|
+
/* harmony export */ registerRemotes: () => (/* reexport safe */ _module_federation_runtime__WEBPACK_IMPORTED_MODULE_0__.registerRemotes),
|
|
724
|
+
/* harmony export */ registerShared: () => (/* reexport safe */ _module_federation_runtime__WEBPACK_IMPORTED_MODULE_0__.registerShared)
|
|
725
|
+
/* harmony export */ });
|
|
726
|
+
/* harmony import */ var _module_federation_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @module-federation/runtime */ "../../node_modules/@module-federation/runtime/dist/bundler.js");
|
|
727
|
+
|
|
728
|
+
|
|
729
|
+
|
|
730
|
+
|
|
731
|
+
/***/ }
|
|
732
|
+
|
|
733
|
+
}]);
|
|
734
|
+
//# sourceMappingURL=vendors-node_modules_css-loader_dist_runtime_api_js-node_modules_css-loader_dist_runtime_sour-63708e.js.map
|