@dao42/d42paas-front 0.9.9 → 0.9.10
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/DaoPaaS.es.js +402 -444
- package/dist/DaoPaaS.umd.js +69 -53
- package/dist/sdk/docs/assets/highlight.css +18 -4
- package/dist/sdk/docs/assets/main.js +2 -2
- package/dist/sdk/docs/index.html +4 -8
- package/dist/sdk/docs/interfaces/BrowserProps.html +5 -5
- package/dist/sdk/docs/interfaces/Component.html +2 -2
- package/dist/sdk/docs/interfaces/ConsoleOrShellProps.html +8 -8
- package/dist/sdk/docs/interfaces/DiffPatternInfo.html +1 -1
- package/dist/sdk/docs/interfaces/EditorProps.html +4 -4
- package/dist/sdk/docs/interfaces/IDaoPaaS.html +12 -12
- package/dist/sdk/docs/interfaces/MenuTagProps.html +1 -1
- package/dist/sdk/docs/interfaces/PaaSOptions.html +4 -4
- package/dist/sdk/docs/interfaces/TreeProps.html +8 -8
- package/dist/sdk/docs/modules.html +2 -2
- package/package.json +15 -18
package/dist/DaoPaaS.es.js
CHANGED
|
@@ -146,26 +146,26 @@ var objectAssign = shouldUseNative() ? Object.assign : function(target, source)
|
|
|
146
146
|
* This source code is licensed under the MIT license found in the
|
|
147
147
|
* LICENSE file in the root directory of this source tree.
|
|
148
148
|
*/
|
|
149
|
-
var l$
|
|
149
|
+
var l$4 = objectAssign, n$6 = 60103, p$5 = 60106;
|
|
150
150
|
react_production_min.Fragment = 60107;
|
|
151
151
|
react_production_min.StrictMode = 60108;
|
|
152
152
|
react_production_min.Profiler = 60114;
|
|
153
|
-
var q$
|
|
153
|
+
var q$5 = 60109, r$6 = 60110, t$6 = 60112;
|
|
154
154
|
react_production_min.Suspense = 60113;
|
|
155
|
-
var u$
|
|
155
|
+
var u$4 = 60115, v$3 = 60116;
|
|
156
156
|
if (typeof Symbol === "function" && Symbol.for) {
|
|
157
|
-
var w$
|
|
158
|
-
n$
|
|
159
|
-
p$
|
|
160
|
-
react_production_min.Fragment = w$
|
|
161
|
-
react_production_min.StrictMode = w$
|
|
162
|
-
react_production_min.Profiler = w$
|
|
163
|
-
q$
|
|
164
|
-
r$
|
|
165
|
-
t$
|
|
166
|
-
react_production_min.Suspense = w$
|
|
167
|
-
u$
|
|
168
|
-
v$
|
|
157
|
+
var w$3 = Symbol.for;
|
|
158
|
+
n$6 = w$3("react.element");
|
|
159
|
+
p$5 = w$3("react.portal");
|
|
160
|
+
react_production_min.Fragment = w$3("react.fragment");
|
|
161
|
+
react_production_min.StrictMode = w$3("react.strict_mode");
|
|
162
|
+
react_production_min.Profiler = w$3("react.profiler");
|
|
163
|
+
q$5 = w$3("react.provider");
|
|
164
|
+
r$6 = w$3("react.context");
|
|
165
|
+
t$6 = w$3("react.forward_ref");
|
|
166
|
+
react_production_min.Suspense = w$3("react.suspense");
|
|
167
|
+
u$4 = w$3("react.memo");
|
|
168
|
+
v$3 = w$3("react.lazy");
|
|
169
169
|
}
|
|
170
170
|
var x$2 = typeof Symbol === "function" && Symbol.iterator;
|
|
171
171
|
function y$3(a2) {
|
|
@@ -211,7 +211,7 @@ function E$2(a2, b2, c2) {
|
|
|
211
211
|
}
|
|
212
212
|
var F$2 = E$2.prototype = new D$2();
|
|
213
213
|
F$2.constructor = E$2;
|
|
214
|
-
l$
|
|
214
|
+
l$4(F$2, C$2.prototype);
|
|
215
215
|
F$2.isPureReactComponent = true;
|
|
216
216
|
var G$2 = { current: null }, H$2 = Object.prototype.hasOwnProperty, I$2 = { key: true, ref: true, __self: true, __source: true };
|
|
217
217
|
function J(a2, b2, c2) {
|
|
@@ -230,13 +230,13 @@ function J(a2, b2, c2) {
|
|
|
230
230
|
if (a2 && a2.defaultProps)
|
|
231
231
|
for (e2 in g2 = a2.defaultProps, g2)
|
|
232
232
|
d2[e2] === void 0 && (d2[e2] = g2[e2]);
|
|
233
|
-
return { $$typeof: n$
|
|
233
|
+
return { $$typeof: n$6, type: a2, key: k2, ref: h, props: d2, _owner: G$2.current };
|
|
234
234
|
}
|
|
235
235
|
function K(a2, b2) {
|
|
236
|
-
return { $$typeof: n$
|
|
236
|
+
return { $$typeof: n$6, type: a2.type, key: b2, ref: a2.ref, props: a2.props, _owner: a2._owner };
|
|
237
237
|
}
|
|
238
238
|
function L$1(a2) {
|
|
239
|
-
return typeof a2 === "object" && a2 !== null && a2.$$typeof === n$
|
|
239
|
+
return typeof a2 === "object" && a2 !== null && a2.$$typeof === n$6;
|
|
240
240
|
}
|
|
241
241
|
function escape(a2) {
|
|
242
242
|
var b2 = { "=": "=0", ":": "=2" };
|
|
@@ -263,8 +263,8 @@ function O$2(a2, b2, c2, e2, d2) {
|
|
|
263
263
|
break;
|
|
264
264
|
case "object":
|
|
265
265
|
switch (a2.$$typeof) {
|
|
266
|
-
case n$
|
|
267
|
-
case p$
|
|
266
|
+
case n$6:
|
|
267
|
+
case p$5:
|
|
268
268
|
h = true;
|
|
269
269
|
}
|
|
270
270
|
}
|
|
@@ -319,7 +319,7 @@ function S$2() {
|
|
|
319
319
|
throw Error(z$2(321));
|
|
320
320
|
return a2;
|
|
321
321
|
}
|
|
322
|
-
var T$1 = { ReactCurrentDispatcher: R$2, ReactCurrentBatchConfig: { transition: 0 }, ReactCurrentOwner: G$2, IsSomeRendererActing: { current: false }, assign: l$
|
|
322
|
+
var T$1 = { ReactCurrentDispatcher: R$2, ReactCurrentBatchConfig: { transition: 0 }, ReactCurrentOwner: G$2, IsSomeRendererActing: { current: false }, assign: l$4 };
|
|
323
323
|
react_production_min.Children = { map: P$2, forEach: function(a2, b2, c2) {
|
|
324
324
|
P$2(a2, function() {
|
|
325
325
|
b2.apply(this, arguments);
|
|
@@ -345,7 +345,7 @@ react_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = T$1;
|
|
|
345
345
|
react_production_min.cloneElement = function(a2, b2, c2) {
|
|
346
346
|
if (a2 === null || a2 === void 0)
|
|
347
347
|
throw Error(z$2(267, a2));
|
|
348
|
-
var e2 = l$
|
|
348
|
+
var e2 = l$4({}, a2.props), d2 = a2.key, k2 = a2.ref, h = a2._owner;
|
|
349
349
|
if (b2 != null) {
|
|
350
350
|
b2.ref !== void 0 && (k2 = b2.ref, h = G$2.current);
|
|
351
351
|
b2.key !== void 0 && (d2 = "" + b2.key);
|
|
@@ -364,7 +364,7 @@ react_production_min.cloneElement = function(a2, b2, c2) {
|
|
|
364
364
|
e2.children = g2;
|
|
365
365
|
}
|
|
366
366
|
return {
|
|
367
|
-
$$typeof: n$
|
|
367
|
+
$$typeof: n$6,
|
|
368
368
|
type: a2.type,
|
|
369
369
|
key: d2,
|
|
370
370
|
ref: k2,
|
|
@@ -374,8 +374,8 @@ react_production_min.cloneElement = function(a2, b2, c2) {
|
|
|
374
374
|
};
|
|
375
375
|
react_production_min.createContext = function(a2, b2) {
|
|
376
376
|
b2 === void 0 && (b2 = null);
|
|
377
|
-
a2 = { $$typeof: r$
|
|
378
|
-
a2.Provider = { $$typeof: q$
|
|
377
|
+
a2 = { $$typeof: r$6, _calculateChangedBits: b2, _currentValue: a2, _currentValue2: a2, _threadCount: 0, Provider: null, Consumer: null };
|
|
378
|
+
a2.Provider = { $$typeof: q$5, _context: a2 };
|
|
379
379
|
return a2.Consumer = a2;
|
|
380
380
|
};
|
|
381
381
|
react_production_min.createElement = J;
|
|
@@ -388,14 +388,14 @@ react_production_min.createRef = function() {
|
|
|
388
388
|
return { current: null };
|
|
389
389
|
};
|
|
390
390
|
react_production_min.forwardRef = function(a2) {
|
|
391
|
-
return { $$typeof: t$
|
|
391
|
+
return { $$typeof: t$6, render: a2 };
|
|
392
392
|
};
|
|
393
393
|
react_production_min.isValidElement = L$1;
|
|
394
394
|
react_production_min.lazy = function(a2) {
|
|
395
|
-
return { $$typeof: v$
|
|
395
|
+
return { $$typeof: v$3, _payload: { _status: -1, _result: a2 }, _init: Q$1 };
|
|
396
396
|
};
|
|
397
397
|
react_production_min.memo = function(a2, b2) {
|
|
398
|
-
return { $$typeof: u$
|
|
398
|
+
return { $$typeof: u$4, type: a2, compare: b2 === void 0 ? null : b2 };
|
|
399
399
|
};
|
|
400
400
|
react_production_min.useCallback = function(a2, b2) {
|
|
401
401
|
return S$2().useCallback(a2, b2);
|
|
@@ -731,7 +731,7 @@ var scheduler_production_min = {};
|
|
|
731
731
|
* This source code is licensed under the MIT license found in the
|
|
732
732
|
* LICENSE file in the root directory of this source tree.
|
|
733
733
|
*/
|
|
734
|
-
var aa = react.exports, m$
|
|
734
|
+
var aa = react.exports, m$4 = objectAssign, r$5 = scheduler$1.exports;
|
|
735
735
|
function y$2(a2) {
|
|
736
736
|
for (var b2 = "https://reactjs.org/docs/error-decoder.html?invariant=" + a2, c2 = 1; c2 < arguments.length; c2++)
|
|
737
737
|
b2 += "&args[]=" + encodeURIComponent(arguments[c2]);
|
|
@@ -1092,7 +1092,7 @@ function Xa(a2) {
|
|
|
1092
1092
|
}
|
|
1093
1093
|
function Ya(a2, b2) {
|
|
1094
1094
|
var c2 = b2.checked;
|
|
1095
|
-
return m$
|
|
1095
|
+
return m$4({}, b2, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: c2 != null ? c2 : a2._wrapperState.initialChecked });
|
|
1096
1096
|
}
|
|
1097
1097
|
function Za(a2, b2) {
|
|
1098
1098
|
var c2 = b2.defaultValue == null ? "" : b2.defaultValue, d2 = b2.checked != null ? b2.checked : b2.defaultChecked;
|
|
@@ -1145,7 +1145,7 @@ function db$1(a2) {
|
|
|
1145
1145
|
return b2;
|
|
1146
1146
|
}
|
|
1147
1147
|
function eb(a2, b2) {
|
|
1148
|
-
a2 = m$
|
|
1148
|
+
a2 = m$4({ children: void 0 }, b2);
|
|
1149
1149
|
if (b2 = db$1(b2.children))
|
|
1150
1150
|
a2.children = b2;
|
|
1151
1151
|
return a2;
|
|
@@ -1175,7 +1175,7 @@ function fb(a2, b2, c2, d2) {
|
|
|
1175
1175
|
function gb(a2, b2) {
|
|
1176
1176
|
if (b2.dangerouslySetInnerHTML != null)
|
|
1177
1177
|
throw Error(y$2(91));
|
|
1178
|
-
return m$
|
|
1178
|
+
return m$4({}, b2, { value: void 0, defaultValue: void 0, children: "" + a2._wrapperState.initialValue });
|
|
1179
1179
|
}
|
|
1180
1180
|
function hb(a2, b2) {
|
|
1181
1181
|
var c2 = b2.value;
|
|
@@ -1310,7 +1310,7 @@ function tb(a2, b2) {
|
|
|
1310
1310
|
d2 ? a2.setProperty(c2, e2) : a2[c2] = e2;
|
|
1311
1311
|
}
|
|
1312
1312
|
}
|
|
1313
|
-
var ub = m$
|
|
1313
|
+
var ub = m$4({ menuitem: true }, { area: true, base: true, br: true, col: true, embed: true, hr: true, img: true, input: true, keygen: true, link: true, meta: true, param: true, source: true, track: true, wbr: true });
|
|
1314
1314
|
function vb(a2, b2) {
|
|
1315
1315
|
if (b2) {
|
|
1316
1316
|
if (ub[a2] && (b2.children != null || b2.dangerouslySetInnerHTML != null))
|
|
@@ -1660,7 +1660,7 @@ function vc(a2) {
|
|
|
1660
1660
|
if (b2 = $b(c2), b2 !== null) {
|
|
1661
1661
|
a2.blockedOn = b2;
|
|
1662
1662
|
hc(a2.lanePriority, function() {
|
|
1663
|
-
r$
|
|
1663
|
+
r$5.unstable_runWithPriority(a2.priority, function() {
|
|
1664
1664
|
gc(c2);
|
|
1665
1665
|
});
|
|
1666
1666
|
});
|
|
@@ -1713,7 +1713,7 @@ function Ac() {
|
|
|
1713
1713
|
oc.forEach(zc);
|
|
1714
1714
|
}
|
|
1715
1715
|
function Bc(a2, b2) {
|
|
1716
|
-
a2.blockedOn === b2 && (a2.blockedOn = null, ic || (ic = true, r$
|
|
1716
|
+
a2.blockedOn === b2 && (a2.blockedOn = null, ic || (ic = true, r$5.unstable_scheduleCallback(r$5.unstable_NormalPriority, Ac)));
|
|
1717
1717
|
}
|
|
1718
1718
|
function Cc(a2) {
|
|
1719
1719
|
function b2(b3) {
|
|
@@ -1817,7 +1817,7 @@ function Pc$1(a2, b2) {
|
|
|
1817
1817
|
da(e2, [d2]);
|
|
1818
1818
|
}
|
|
1819
1819
|
}
|
|
1820
|
-
var Qc = r$
|
|
1820
|
+
var Qc = r$5.unstable_now;
|
|
1821
1821
|
Qc();
|
|
1822
1822
|
var F$1 = 8;
|
|
1823
1823
|
function Rc(a2) {
|
|
@@ -1972,7 +1972,7 @@ var Vc = Math.clz32 ? Math.clz32 : ad, bd = Math.log, cd = Math.LN2;
|
|
|
1972
1972
|
function ad(a2) {
|
|
1973
1973
|
return a2 === 0 ? 32 : 31 - (bd(a2) / cd | 0) | 0;
|
|
1974
1974
|
}
|
|
1975
|
-
var dd = r$
|
|
1975
|
+
var dd = r$5.unstable_UserBlockingPriority, ed = r$5.unstable_runWithPriority, fd = true;
|
|
1976
1976
|
function gd(a2, b2, c2, d2) {
|
|
1977
1977
|
Kb || Ib();
|
|
1978
1978
|
var e2 = hd, f2 = Kb;
|
|
@@ -2074,7 +2074,7 @@ function rd(a2) {
|
|
|
2074
2074
|
this.isPropagationStopped = qd;
|
|
2075
2075
|
return this;
|
|
2076
2076
|
}
|
|
2077
|
-
m$
|
|
2077
|
+
m$4(b2.prototype, { preventDefault: function() {
|
|
2078
2078
|
this.defaultPrevented = true;
|
|
2079
2079
|
var a3 = this.nativeEvent;
|
|
2080
2080
|
a3 && (a3.preventDefault ? a3.preventDefault() : typeof a3.returnValue !== "unknown" && (a3.returnValue = false), this.isDefaultPrevented = pd);
|
|
@@ -2087,7 +2087,7 @@ function rd(a2) {
|
|
|
2087
2087
|
}
|
|
2088
2088
|
var sd = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(a2) {
|
|
2089
2089
|
return a2.timeStamp || Date.now();
|
|
2090
|
-
}, defaultPrevented: 0, isTrusted: 0 }, td = rd(sd), ud = m$
|
|
2090
|
+
}, defaultPrevented: 0, isTrusted: 0 }, td = rd(sd), ud = m$4({}, sd, { view: 0, detail: 0 }), vd = rd(ud), wd, xd, yd, Ad = m$4({}, ud, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: zd, button: 0, buttons: 0, relatedTarget: function(a2) {
|
|
2091
2091
|
return a2.relatedTarget === void 0 ? a2.fromElement === a2.srcElement ? a2.toElement : a2.fromElement : a2.relatedTarget;
|
|
2092
2092
|
}, movementX: function(a2) {
|
|
2093
2093
|
if ("movementX" in a2)
|
|
@@ -2096,9 +2096,9 @@ var sd = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(a2) {
|
|
|
2096
2096
|
return wd;
|
|
2097
2097
|
}, movementY: function(a2) {
|
|
2098
2098
|
return "movementY" in a2 ? a2.movementY : xd;
|
|
2099
|
-
} }), Bd = rd(Ad), Cd = m$
|
|
2099
|
+
} }), Bd = rd(Ad), Cd = m$4({}, Ad, { dataTransfer: 0 }), Dd = rd(Cd), Ed = m$4({}, ud, { relatedTarget: 0 }), Fd = rd(Ed), Gd = m$4({}, sd, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), Hd = rd(Gd), Id = m$4({}, sd, { clipboardData: function(a2) {
|
|
2100
2100
|
return "clipboardData" in a2 ? a2.clipboardData : window.clipboardData;
|
|
2101
|
-
} }), Jd = rd(Id), Kd = m$
|
|
2101
|
+
} }), Jd = rd(Id), Kd = m$4({}, sd, { data: 0 }), Ld = rd(Kd), Md = {
|
|
2102
2102
|
Esc: "Escape",
|
|
2103
2103
|
Spacebar: " ",
|
|
2104
2104
|
Left: "ArrowLeft",
|
|
@@ -2156,7 +2156,7 @@ function Pd(a2) {
|
|
|
2156
2156
|
function zd() {
|
|
2157
2157
|
return Pd;
|
|
2158
2158
|
}
|
|
2159
|
-
var Qd = m$
|
|
2159
|
+
var Qd = m$4({}, ud, { key: function(a2) {
|
|
2160
2160
|
if (a2.key) {
|
|
2161
2161
|
var b2 = Md[a2.key] || a2.key;
|
|
2162
2162
|
if (b2 !== "Unidentified")
|
|
@@ -2169,7 +2169,7 @@ var Qd = m$3({}, ud, { key: function(a2) {
|
|
|
2169
2169
|
return a2.type === "keydown" || a2.type === "keyup" ? a2.keyCode : 0;
|
|
2170
2170
|
}, which: function(a2) {
|
|
2171
2171
|
return a2.type === "keypress" ? od(a2) : a2.type === "keydown" || a2.type === "keyup" ? a2.keyCode : 0;
|
|
2172
|
-
} }), Rd = rd(Qd), Sd = m$
|
|
2172
|
+
} }), Rd = rd(Qd), Sd = m$4({}, Ad, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }), Td = rd(Sd), Ud = m$4({}, ud, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: zd }), Vd = rd(Ud), Wd = m$4({}, sd, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), Xd = rd(Wd), Yd = m$4({}, Ad, {
|
|
2173
2173
|
deltaX: function(a2) {
|
|
2174
2174
|
return "deltaX" in a2 ? a2.deltaX : "wheelDeltaX" in a2 ? -a2.wheelDeltaX : 0;
|
|
2175
2175
|
},
|
|
@@ -2898,7 +2898,7 @@ function If(a2, b2, c2) {
|
|
|
2898
2898
|
for (var e2 in d2)
|
|
2899
2899
|
if (!(e2 in a2))
|
|
2900
2900
|
throw Error(y$2(108, Ra(b2) || "Unknown", e2));
|
|
2901
|
-
return m$
|
|
2901
|
+
return m$4({}, c2, d2);
|
|
2902
2902
|
}
|
|
2903
2903
|
function Jf(a2) {
|
|
2904
2904
|
a2 = (a2 = a2.stateNode) && a2.__reactInternalMemoizedMergedChildContext || Cf;
|
|
@@ -2914,7 +2914,7 @@ function Kf(a2, b2, c2) {
|
|
|
2914
2914
|
c2 ? (a2 = If(a2, b2, Df), d2.__reactInternalMemoizedMergedChildContext = a2, H$1(N), H$1(M$1), I$1(M$1, a2)) : H$1(N);
|
|
2915
2915
|
I$1(N, c2);
|
|
2916
2916
|
}
|
|
2917
|
-
var Lf = null, Mf = null, Nf = r$
|
|
2917
|
+
var Lf = null, Mf = null, Nf = r$5.unstable_runWithPriority, Of = r$5.unstable_scheduleCallback, Pf = r$5.unstable_cancelCallback, Qf = r$5.unstable_shouldYield, Rf = r$5.unstable_requestPaint, Sf = r$5.unstable_now, Tf = r$5.unstable_getCurrentPriorityLevel, Uf = r$5.unstable_ImmediatePriority, Vf = r$5.unstable_UserBlockingPriority, Wf = r$5.unstable_NormalPriority, Xf = r$5.unstable_LowPriority, Yf = r$5.unstable_IdlePriority, Zf = {}, $f = Rf !== void 0 ? Rf : function() {
|
|
2918
2918
|
}, ag = null, bg = null, cg = false, dg = Sf(), O$1 = 1e4 > dg ? Sf : function() {
|
|
2919
2919
|
return Sf() - dg;
|
|
2920
2920
|
};
|
|
@@ -2991,7 +2991,7 @@ function jg() {
|
|
|
2991
2991
|
var kg = ra.ReactCurrentBatchConfig;
|
|
2992
2992
|
function lg(a2, b2) {
|
|
2993
2993
|
if (a2 && a2.defaultProps) {
|
|
2994
|
-
b2 = m$
|
|
2994
|
+
b2 = m$4({}, b2);
|
|
2995
2995
|
a2 = a2.defaultProps;
|
|
2996
2996
|
for (var c2 in a2)
|
|
2997
2997
|
b2[c2] === void 0 && (b2[c2] = a2[c2]);
|
|
@@ -3137,7 +3137,7 @@ function Cg(a2, b2, c2, d2) {
|
|
|
3137
3137
|
h = typeof C2 === "function" ? C2.call(p2, A2, h) : C2;
|
|
3138
3138
|
if (h === null || h === void 0)
|
|
3139
3139
|
break a;
|
|
3140
|
-
A2 = m$
|
|
3140
|
+
A2 = m$4({}, A2, h);
|
|
3141
3141
|
break a;
|
|
3142
3142
|
case 2:
|
|
3143
3143
|
wg = true;
|
|
@@ -3181,7 +3181,7 @@ var Fg = new aa.Component().refs;
|
|
|
3181
3181
|
function Gg(a2, b2, c2, d2) {
|
|
3182
3182
|
b2 = a2.memoizedState;
|
|
3183
3183
|
c2 = c2(d2, b2);
|
|
3184
|
-
c2 = c2 === null || c2 === void 0 ? b2 : m$
|
|
3184
|
+
c2 = c2 === null || c2 === void 0 ? b2 : m$4({}, b2, c2);
|
|
3185
3185
|
a2.memoizedState = c2;
|
|
3186
3186
|
a2.lanes === 0 && (a2.updateQueue.baseState = c2);
|
|
3187
3187
|
}
|
|
@@ -4458,8 +4458,8 @@ Di = function(a2, b2, c2, d2) {
|
|
|
4458
4458
|
f2 = [];
|
|
4459
4459
|
break;
|
|
4460
4460
|
case "select":
|
|
4461
|
-
e2 = m$
|
|
4462
|
-
d2 = m$
|
|
4461
|
+
e2 = m$4({}, e2, { value: void 0 });
|
|
4462
|
+
d2 = m$4({}, d2, { value: void 0 });
|
|
4463
4463
|
f2 = [];
|
|
4464
4464
|
break;
|
|
4465
4465
|
case "textarea":
|
|
@@ -4679,7 +4679,7 @@ function Gi(a2, b2, c2) {
|
|
|
4679
4679
|
break;
|
|
4680
4680
|
case "select":
|
|
4681
4681
|
a2._wrapperState = { wasMultiple: !!d2.multiple };
|
|
4682
|
-
e2 = m$
|
|
4682
|
+
e2 = m$4({}, d2, { value: void 0 });
|
|
4683
4683
|
G$1("invalid", a2);
|
|
4684
4684
|
break;
|
|
4685
4685
|
case "textarea":
|
|
@@ -6865,17 +6865,17 @@ function checkDCE() {
|
|
|
6865
6865
|
checkDCE();
|
|
6866
6866
|
reactDom.exports = reactDom_production_min;
|
|
6867
6867
|
}
|
|
6868
|
-
function n$
|
|
6868
|
+
function n$5(n2) {
|
|
6869
6869
|
for (var r2 = arguments.length, t2 = Array(r2 > 1 ? r2 - 1 : 0), e2 = 1; e2 < r2; e2++)
|
|
6870
6870
|
t2[e2 - 1] = arguments[e2];
|
|
6871
6871
|
throw Error("[Immer] minified error nr: " + n2 + (t2.length ? " " + t2.map(function(n3) {
|
|
6872
6872
|
return "'" + n3 + "'";
|
|
6873
6873
|
}).join(",") : "") + ". Find the full error at: https://bit.ly/3cXEKWf");
|
|
6874
6874
|
}
|
|
6875
|
-
function r$
|
|
6875
|
+
function r$4(n2) {
|
|
6876
6876
|
return !!n2 && !!n2[Q];
|
|
6877
6877
|
}
|
|
6878
|
-
function t$
|
|
6878
|
+
function t$5(n2) {
|
|
6879
6879
|
return !!n2 && (function(n3) {
|
|
6880
6880
|
if (!n3 || typeof n3 != "object")
|
|
6881
6881
|
return false;
|
|
@@ -6884,7 +6884,7 @@ function t$3(n2) {
|
|
|
6884
6884
|
return true;
|
|
6885
6885
|
var t2 = Object.hasOwnProperty.call(r2, "constructor") && r2.constructor;
|
|
6886
6886
|
return t2 === Object || typeof t2 == "function" && Function.toString.call(t2) === Z;
|
|
6887
|
-
}(n2) || Array.isArray(n2) || !!n2[L] || !!n2.constructor[L] || s$1(n2) || v$
|
|
6887
|
+
}(n2) || Array.isArray(n2) || !!n2[L] || !!n2.constructor[L] || s$1(n2) || v$2(n2));
|
|
6888
6888
|
}
|
|
6889
6889
|
function i$5(n2, r2, t2) {
|
|
6890
6890
|
t2 === void 0 && (t2 = false), o$1(n2) === 0 ? (t2 ? Object.keys : nn)(n2).forEach(function(e2) {
|
|
@@ -6895,9 +6895,9 @@ function i$5(n2, r2, t2) {
|
|
|
6895
6895
|
}
|
|
6896
6896
|
function o$1(n2) {
|
|
6897
6897
|
var r2 = n2[Q];
|
|
6898
|
-
return r2 ? r2.i > 3 ? r2.i - 4 : r2.i : Array.isArray(n2) ? 1 : s$1(n2) ? 2 : v$
|
|
6898
|
+
return r2 ? r2.i > 3 ? r2.i - 4 : r2.i : Array.isArray(n2) ? 1 : s$1(n2) ? 2 : v$2(n2) ? 3 : 0;
|
|
6899
6899
|
}
|
|
6900
|
-
function u$
|
|
6900
|
+
function u$3(n2, r2) {
|
|
6901
6901
|
return o$1(n2) === 2 ? n2.has(r2) : Object.prototype.hasOwnProperty.call(n2, r2);
|
|
6902
6902
|
}
|
|
6903
6903
|
function a$1(n2, r2) {
|
|
@@ -6913,13 +6913,13 @@ function c$2(n2, r2) {
|
|
|
6913
6913
|
function s$1(n2) {
|
|
6914
6914
|
return X && n2 instanceof Map;
|
|
6915
6915
|
}
|
|
6916
|
-
function v$
|
|
6917
|
-
return q$
|
|
6916
|
+
function v$2(n2) {
|
|
6917
|
+
return q$4 && n2 instanceof Set;
|
|
6918
6918
|
}
|
|
6919
|
-
function p$
|
|
6919
|
+
function p$4(n2) {
|
|
6920
6920
|
return n2.o || n2.t;
|
|
6921
6921
|
}
|
|
6922
|
-
function l$
|
|
6922
|
+
function l$3(n2) {
|
|
6923
6923
|
if (Array.isArray(n2))
|
|
6924
6924
|
return Array.prototype.slice.call(n2);
|
|
6925
6925
|
var r2 = rn(n2);
|
|
@@ -6931,21 +6931,21 @@ function l$2(n2) {
|
|
|
6931
6931
|
return Object.create(Object.getPrototypeOf(n2), r2);
|
|
6932
6932
|
}
|
|
6933
6933
|
function d$1(n2, e2) {
|
|
6934
|
-
return e2 === void 0 && (e2 = false), y$1(n2) || r$
|
|
6934
|
+
return e2 === void 0 && (e2 = false), y$1(n2) || r$4(n2) || !t$5(n2) ? n2 : (o$1(n2) > 1 && (n2.set = n2.add = n2.clear = n2.delete = h$4), Object.freeze(n2), e2 && i$5(n2, function(n3, r2) {
|
|
6935
6935
|
return d$1(r2, true);
|
|
6936
6936
|
}, true), n2);
|
|
6937
6937
|
}
|
|
6938
|
-
function h$
|
|
6939
|
-
n$
|
|
6938
|
+
function h$4() {
|
|
6939
|
+
n$5(2);
|
|
6940
6940
|
}
|
|
6941
6941
|
function y$1(n2) {
|
|
6942
6942
|
return n2 == null || typeof n2 != "object" || Object.isFrozen(n2);
|
|
6943
6943
|
}
|
|
6944
6944
|
function b$1(r2) {
|
|
6945
6945
|
var t2 = tn[r2];
|
|
6946
|
-
return t2 || n$
|
|
6946
|
+
return t2 || n$5(18, r2), t2;
|
|
6947
6947
|
}
|
|
6948
|
-
function m$
|
|
6948
|
+
function m$3(n2, r2) {
|
|
6949
6949
|
tn[n2] || (tn[n2] = r2);
|
|
6950
6950
|
}
|
|
6951
6951
|
function _() {
|
|
@@ -6960,7 +6960,7 @@ function O(n2) {
|
|
|
6960
6960
|
function g$3(n2) {
|
|
6961
6961
|
n2 === U && (U = n2.l);
|
|
6962
6962
|
}
|
|
6963
|
-
function w$
|
|
6963
|
+
function w$2(n2) {
|
|
6964
6964
|
return U = { p: [], l: U, h: n2, m: true, _: 0 };
|
|
6965
6965
|
}
|
|
6966
6966
|
function S(n2) {
|
|
@@ -6970,7 +6970,7 @@ function S(n2) {
|
|
|
6970
6970
|
function P(r2, e2) {
|
|
6971
6971
|
e2._ = e2.p.length;
|
|
6972
6972
|
var i2 = e2.p[0], o2 = r2 !== void 0 && r2 !== i2;
|
|
6973
|
-
return e2.h.g || b$1("ES5").S(e2, r2, o2), o2 ? (i2[Q].P && (O(e2), n$
|
|
6973
|
+
return e2.h.g || b$1("ES5").S(e2, r2, o2), o2 ? (i2[Q].P && (O(e2), n$5(4)), t$5(r2) && (r2 = M(e2, r2), e2.l || x$1(e2, r2)), e2.u && b$1("Patches").M(i2[Q].t, r2, e2.u, e2.s)) : r2 = M(e2, i2, []), O(e2), e2.u && e2.v(e2.u, e2.s), r2 !== H ? r2 : void 0;
|
|
6974
6974
|
}
|
|
6975
6975
|
function M(n2, r2, t2) {
|
|
6976
6976
|
if (y$1(r2))
|
|
@@ -6986,7 +6986,7 @@ function M(n2, r2, t2) {
|
|
|
6986
6986
|
return x$1(n2, e2.t, true), e2.t;
|
|
6987
6987
|
if (!e2.I) {
|
|
6988
6988
|
e2.I = true, e2.A._--;
|
|
6989
|
-
var o2 = e2.i === 4 || e2.i === 5 ? e2.o = l$
|
|
6989
|
+
var o2 = e2.i === 4 || e2.i === 5 ? e2.o = l$3(e2.k) : e2.o;
|
|
6990
6990
|
i$5(e2.i === 3 ? new Set(o2) : o2, function(r3, i2) {
|
|
6991
6991
|
return A$1(n2, e2, o2, r3, i2, t2);
|
|
6992
6992
|
}), x$1(n2, o2, false), t2 && n2.u && b$1("Patches").R(e2, t2, n2.u, n2.s);
|
|
@@ -6994,13 +6994,13 @@ function M(n2, r2, t2) {
|
|
|
6994
6994
|
return e2.o;
|
|
6995
6995
|
}
|
|
6996
6996
|
function A$1(e2, i2, o2, a2, c2, s2) {
|
|
6997
|
-
if (r$
|
|
6998
|
-
var v2 = M(e2, c2, s2 && i2 && i2.i !== 3 && !u$
|
|
6999
|
-
if (f$2(o2, a2, v2), !r$
|
|
6997
|
+
if (r$4(c2)) {
|
|
6998
|
+
var v2 = M(e2, c2, s2 && i2 && i2.i !== 3 && !u$3(i2.D, a2) ? s2.concat(a2) : void 0);
|
|
6999
|
+
if (f$2(o2, a2, v2), !r$4(v2))
|
|
7000
7000
|
return;
|
|
7001
7001
|
e2.m = false;
|
|
7002
7002
|
}
|
|
7003
|
-
if (t$
|
|
7003
|
+
if (t$5(c2) && !y$1(c2)) {
|
|
7004
7004
|
if (!e2.h.F && e2._ < 1)
|
|
7005
7005
|
return;
|
|
7006
7006
|
M(e2, c2), i2 && i2.A.l || x$1(e2, c2);
|
|
@@ -7011,7 +7011,7 @@ function x$1(n2, r2, t2) {
|
|
|
7011
7011
|
}
|
|
7012
7012
|
function z$1(n2, r2) {
|
|
7013
7013
|
var t2 = n2[Q];
|
|
7014
|
-
return (t2 ? p$
|
|
7014
|
+
return (t2 ? p$4(t2) : n2)[r2];
|
|
7015
7015
|
}
|
|
7016
7016
|
function I(n2, r2) {
|
|
7017
7017
|
if (r2 in n2)
|
|
@@ -7022,14 +7022,14 @@ function I(n2, r2) {
|
|
|
7022
7022
|
t2 = Object.getPrototypeOf(t2);
|
|
7023
7023
|
}
|
|
7024
7024
|
}
|
|
7025
|
-
function k$
|
|
7026
|
-
n2.P || (n2.P = true, n2.l && k$
|
|
7025
|
+
function k$2(n2) {
|
|
7026
|
+
n2.P || (n2.P = true, n2.l && k$2(n2.l));
|
|
7027
7027
|
}
|
|
7028
7028
|
function E(n2) {
|
|
7029
|
-
n2.o || (n2.o = l$
|
|
7029
|
+
n2.o || (n2.o = l$3(n2.t));
|
|
7030
7030
|
}
|
|
7031
7031
|
function R(n2, r2, t2) {
|
|
7032
|
-
var e2 = s$1(r2) ? b$1("MapSet").N(r2, t2) : v$
|
|
7032
|
+
var e2 = s$1(r2) ? b$1("MapSet").N(r2, t2) : v$2(r2) ? b$1("MapSet").T(r2, t2) : n2.g ? function(n3, r3) {
|
|
7033
7033
|
var t3 = Array.isArray(n3), e3 = { i: t3 ? 1 : 0, A: r3 ? r3.A : _(), P: false, I: false, D: {}, l: r3, t: n3, k: null, o: null, j: null, C: false }, i2 = e3, o2 = en;
|
|
7034
7034
|
t3 && (i2 = [e3], o2 = on$2);
|
|
7035
7035
|
var u2 = Proxy.revocable(i2, o2), a2 = u2.revoke, f2 = u2.proxy;
|
|
@@ -7038,8 +7038,8 @@ function R(n2, r2, t2) {
|
|
|
7038
7038
|
return (t2 ? t2.A : _()).p.push(e2), e2;
|
|
7039
7039
|
}
|
|
7040
7040
|
function D(e2) {
|
|
7041
|
-
return r$
|
|
7042
|
-
if (!t$
|
|
7041
|
+
return r$4(e2) || n$5(22, e2), function n2(r2) {
|
|
7042
|
+
if (!t$5(r2))
|
|
7043
7043
|
return r2;
|
|
7044
7044
|
var e3, u2 = r2[Q], c2 = o$1(r2);
|
|
7045
7045
|
if (u2) {
|
|
@@ -7060,7 +7060,7 @@ function F(n2, r2) {
|
|
|
7060
7060
|
case 3:
|
|
7061
7061
|
return Array.from(n2);
|
|
7062
7062
|
}
|
|
7063
|
-
return l$
|
|
7063
|
+
return l$3(n2);
|
|
7064
7064
|
}
|
|
7065
7065
|
function C$1() {
|
|
7066
7066
|
function r2(n2, r3) {
|
|
@@ -7074,7 +7074,7 @@ function C$1() {
|
|
|
7074
7074
|
}
|
|
7075
7075
|
function o2(n2) {
|
|
7076
7076
|
n2.o || (n2.o = /* @__PURE__ */ new Set(), n2.t.forEach(function(r3) {
|
|
7077
|
-
if (t$
|
|
7077
|
+
if (t$5(r3)) {
|
|
7078
7078
|
var e3 = R(n2.A.h, r3, n2);
|
|
7079
7079
|
n2.p.set(r3, e3), n2.o.add(e3);
|
|
7080
7080
|
} else
|
|
@@ -7082,7 +7082,7 @@ function C$1() {
|
|
|
7082
7082
|
}));
|
|
7083
7083
|
}
|
|
7084
7084
|
function u2(r3) {
|
|
7085
|
-
r3.O && n$
|
|
7085
|
+
r3.O && n$5(3, JSON.stringify(p$4(r3)));
|
|
7086
7086
|
}
|
|
7087
7087
|
var a2 = function(n2, r3) {
|
|
7088
7088
|
return (a2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n3, r4) {
|
|
@@ -7098,39 +7098,39 @@ function C$1() {
|
|
|
7098
7098
|
r2(n2, Map);
|
|
7099
7099
|
var o3 = n2.prototype;
|
|
7100
7100
|
return Object.defineProperty(o3, "size", { get: function() {
|
|
7101
|
-
return p$
|
|
7101
|
+
return p$4(this[Q]).size;
|
|
7102
7102
|
} }), o3.has = function(n3) {
|
|
7103
|
-
return p$
|
|
7103
|
+
return p$4(this[Q]).has(n3);
|
|
7104
7104
|
}, o3.set = function(n3, r3) {
|
|
7105
7105
|
var t2 = this[Q];
|
|
7106
|
-
return u2(t2), p$
|
|
7106
|
+
return u2(t2), p$4(t2).has(n3) && p$4(t2).get(n3) === r3 || (e2(t2), k$2(t2), t2.D.set(n3, true), t2.o.set(n3, r3), t2.D.set(n3, true)), this;
|
|
7107
7107
|
}, o3.delete = function(n3) {
|
|
7108
7108
|
if (!this.has(n3))
|
|
7109
7109
|
return false;
|
|
7110
7110
|
var r3 = this[Q];
|
|
7111
|
-
return u2(r3), e2(r3), k$
|
|
7111
|
+
return u2(r3), e2(r3), k$2(r3), r3.t.has(n3) ? r3.D.set(n3, false) : r3.D.delete(n3), r3.o.delete(n3), true;
|
|
7112
7112
|
}, o3.clear = function() {
|
|
7113
7113
|
var n3 = this[Q];
|
|
7114
|
-
u2(n3), p$
|
|
7114
|
+
u2(n3), p$4(n3).size && (e2(n3), k$2(n3), n3.D = /* @__PURE__ */ new Map(), i$5(n3.t, function(r3) {
|
|
7115
7115
|
n3.D.set(r3, false);
|
|
7116
7116
|
}), n3.o.clear());
|
|
7117
7117
|
}, o3.forEach = function(n3, r3) {
|
|
7118
7118
|
var t2 = this;
|
|
7119
|
-
p$
|
|
7119
|
+
p$4(this[Q]).forEach(function(e3, i2) {
|
|
7120
7120
|
n3.call(r3, t2.get(i2), i2, t2);
|
|
7121
7121
|
});
|
|
7122
7122
|
}, o3.get = function(n3) {
|
|
7123
7123
|
var r3 = this[Q];
|
|
7124
7124
|
u2(r3);
|
|
7125
|
-
var i2 = p$
|
|
7126
|
-
if (r3.I || !t$
|
|
7125
|
+
var i2 = p$4(r3).get(n3);
|
|
7126
|
+
if (r3.I || !t$5(i2))
|
|
7127
7127
|
return i2;
|
|
7128
7128
|
if (i2 !== r3.t.get(n3))
|
|
7129
7129
|
return i2;
|
|
7130
7130
|
var o4 = R(r3.A.h, i2, r3);
|
|
7131
7131
|
return e2(r3), r3.o.set(n3, o4), o4;
|
|
7132
7132
|
}, o3.keys = function() {
|
|
7133
|
-
return p$
|
|
7133
|
+
return p$4(this[Q]).keys();
|
|
7134
7134
|
}, o3.values = function() {
|
|
7135
7135
|
var n3, r3 = this, t2 = this.keys();
|
|
7136
7136
|
return (n3 = {})[V] = function() {
|
|
@@ -7160,21 +7160,21 @@ function C$1() {
|
|
|
7160
7160
|
r2(n2, Set);
|
|
7161
7161
|
var t2 = n2.prototype;
|
|
7162
7162
|
return Object.defineProperty(t2, "size", { get: function() {
|
|
7163
|
-
return p$
|
|
7163
|
+
return p$4(this[Q]).size;
|
|
7164
7164
|
} }), t2.has = function(n3) {
|
|
7165
7165
|
var r3 = this[Q];
|
|
7166
7166
|
return u2(r3), r3.o ? !!r3.o.has(n3) || !(!r3.p.has(n3) || !r3.o.has(r3.p.get(n3))) : r3.t.has(n3);
|
|
7167
7167
|
}, t2.add = function(n3) {
|
|
7168
7168
|
var r3 = this[Q];
|
|
7169
|
-
return u2(r3), this.has(n3) || (o2(r3), k$
|
|
7169
|
+
return u2(r3), this.has(n3) || (o2(r3), k$2(r3), r3.o.add(n3)), this;
|
|
7170
7170
|
}, t2.delete = function(n3) {
|
|
7171
7171
|
if (!this.has(n3))
|
|
7172
7172
|
return false;
|
|
7173
7173
|
var r3 = this[Q];
|
|
7174
|
-
return u2(r3), o2(r3), k$
|
|
7174
|
+
return u2(r3), o2(r3), k$2(r3), r3.o.delete(n3) || !!r3.p.has(n3) && r3.o.delete(r3.p.get(n3));
|
|
7175
7175
|
}, t2.clear = function() {
|
|
7176
7176
|
var n3 = this[Q];
|
|
7177
|
-
u2(n3), p$
|
|
7177
|
+
u2(n3), p$4(n3).size && (o2(n3), k$2(n3), n3.o.clear());
|
|
7178
7178
|
}, t2.values = function() {
|
|
7179
7179
|
var n3 = this[Q];
|
|
7180
7180
|
return u2(n3), o2(n3), n3.o.values();
|
|
@@ -7190,13 +7190,13 @@ function C$1() {
|
|
|
7190
7190
|
n3.call(r3, e3.value, e3.value, this), e3 = t3.next();
|
|
7191
7191
|
}, n2;
|
|
7192
7192
|
}();
|
|
7193
|
-
m$
|
|
7193
|
+
m$3("MapSet", { N: function(n2, r3) {
|
|
7194
7194
|
return new f2(n2, r3);
|
|
7195
7195
|
}, T: function(n2, r3) {
|
|
7196
7196
|
return new c2(n2, r3);
|
|
7197
7197
|
} });
|
|
7198
7198
|
}
|
|
7199
|
-
var G, U, W = typeof Symbol != "undefined" && typeof Symbol("x") == "symbol", X = typeof Map != "undefined", q$
|
|
7199
|
+
var G, U, W = typeof Symbol != "undefined" && typeof Symbol("x") == "symbol", X = typeof Map != "undefined", q$4 = typeof Set != "undefined", B = typeof Proxy != "undefined" && Proxy.revocable !== void 0 && typeof Reflect != "undefined", H = W ? Symbol.for("immer-nothing") : ((G = {})["immer-nothing"] = true, G), L = W ? Symbol.for("immer-draftable") : "__$immer_draftable", Q = W ? Symbol.for("immer-state") : "__$immer_state", V = typeof Symbol != "undefined" && Symbol.iterator || "@@iterator", Z = "" + Object.prototype.constructor, nn = typeof Reflect != "undefined" && Reflect.ownKeys ? Reflect.ownKeys : Object.getOwnPropertySymbols !== void 0 ? function(n2) {
|
|
7200
7200
|
return Object.getOwnPropertyNames(n2).concat(Object.getOwnPropertySymbols(n2));
|
|
7201
7201
|
} : Object.getOwnPropertyNames, rn = Object.getOwnPropertyDescriptors || function(n2) {
|
|
7202
7202
|
var r2 = {};
|
|
@@ -7206,42 +7206,42 @@ var G, U, W = typeof Symbol != "undefined" && typeof Symbol("x") == "symbol", X
|
|
|
7206
7206
|
}, tn = {}, en = { get: function(n2, r2) {
|
|
7207
7207
|
if (r2 === Q)
|
|
7208
7208
|
return n2;
|
|
7209
|
-
var e2 = p$
|
|
7210
|
-
if (!u$
|
|
7209
|
+
var e2 = p$4(n2);
|
|
7210
|
+
if (!u$3(e2, r2))
|
|
7211
7211
|
return function(n3, r3, t2) {
|
|
7212
7212
|
var e3, i3 = I(r3, t2);
|
|
7213
7213
|
return i3 ? "value" in i3 ? i3.value : (e3 = i3.get) === null || e3 === void 0 ? void 0 : e3.call(n3.k) : void 0;
|
|
7214
7214
|
}(n2, e2, r2);
|
|
7215
7215
|
var i2 = e2[r2];
|
|
7216
|
-
return n2.I || !t$
|
|
7216
|
+
return n2.I || !t$5(i2) ? i2 : i2 === z$1(n2.t, r2) ? (E(n2), n2.o[r2] = R(n2.A.h, i2, n2)) : i2;
|
|
7217
7217
|
}, has: function(n2, r2) {
|
|
7218
|
-
return r2 in p$
|
|
7218
|
+
return r2 in p$4(n2);
|
|
7219
7219
|
}, ownKeys: function(n2) {
|
|
7220
|
-
return Reflect.ownKeys(p$
|
|
7220
|
+
return Reflect.ownKeys(p$4(n2));
|
|
7221
7221
|
}, set: function(n2, r2, t2) {
|
|
7222
|
-
var e2 = I(p$
|
|
7222
|
+
var e2 = I(p$4(n2), r2);
|
|
7223
7223
|
if (e2 == null ? void 0 : e2.set)
|
|
7224
7224
|
return e2.set.call(n2.k, t2), true;
|
|
7225
7225
|
if (!n2.P) {
|
|
7226
|
-
var i2 = z$1(p$
|
|
7226
|
+
var i2 = z$1(p$4(n2), r2), o2 = i2 == null ? void 0 : i2[Q];
|
|
7227
7227
|
if (o2 && o2.t === t2)
|
|
7228
7228
|
return n2.o[r2] = t2, n2.D[r2] = false, true;
|
|
7229
|
-
if (c$2(t2, i2) && (t2 !== void 0 || u$
|
|
7229
|
+
if (c$2(t2, i2) && (t2 !== void 0 || u$3(n2.t, r2)))
|
|
7230
7230
|
return true;
|
|
7231
|
-
E(n2), k$
|
|
7231
|
+
E(n2), k$2(n2);
|
|
7232
7232
|
}
|
|
7233
7233
|
return n2.o[r2] === t2 && typeof t2 != "number" && (t2 !== void 0 || r2 in n2.o) || (n2.o[r2] = t2, n2.D[r2] = true, true);
|
|
7234
7234
|
}, deleteProperty: function(n2, r2) {
|
|
7235
|
-
return z$1(n2.t, r2) !== void 0 || r2 in n2.t ? (n2.D[r2] = false, E(n2), k$
|
|
7235
|
+
return z$1(n2.t, r2) !== void 0 || r2 in n2.t ? (n2.D[r2] = false, E(n2), k$2(n2)) : delete n2.D[r2], n2.o && delete n2.o[r2], true;
|
|
7236
7236
|
}, getOwnPropertyDescriptor: function(n2, r2) {
|
|
7237
|
-
var t2 = p$
|
|
7237
|
+
var t2 = p$4(n2), e2 = Reflect.getOwnPropertyDescriptor(t2, r2);
|
|
7238
7238
|
return e2 ? { writable: true, configurable: n2.i !== 1 || r2 !== "length", enumerable: e2.enumerable, value: t2[r2] } : e2;
|
|
7239
7239
|
}, defineProperty: function() {
|
|
7240
|
-
n$
|
|
7240
|
+
n$5(11);
|
|
7241
7241
|
}, getPrototypeOf: function(n2) {
|
|
7242
7242
|
return Object.getPrototypeOf(n2.t);
|
|
7243
7243
|
}, setPrototypeOf: function() {
|
|
7244
|
-
n$
|
|
7244
|
+
n$5(12);
|
|
7245
7245
|
} }, on$2 = {};
|
|
7246
7246
|
i$5(en, function(n2, r2) {
|
|
7247
7247
|
on$2[n2] = function() {
|
|
@@ -7272,8 +7272,8 @@ var un = function() {
|
|
|
7272
7272
|
};
|
|
7273
7273
|
}
|
|
7274
7274
|
var f2;
|
|
7275
|
-
if (typeof i3 != "function" && n$
|
|
7276
|
-
var c2 = w$
|
|
7275
|
+
if (typeof i3 != "function" && n$5(6), o2 !== void 0 && typeof o2 != "function" && n$5(7), t$5(r3)) {
|
|
7276
|
+
var c2 = w$2(e3), s2 = R(e3, r3, void 0), v2 = true;
|
|
7277
7277
|
try {
|
|
7278
7278
|
f2 = i3(s2), v2 = false;
|
|
7279
7279
|
} finally {
|
|
@@ -7292,7 +7292,7 @@ var un = function() {
|
|
|
7292
7292
|
}
|
|
7293
7293
|
return f2;
|
|
7294
7294
|
}
|
|
7295
|
-
n$
|
|
7295
|
+
n$5(21, r3);
|
|
7296
7296
|
}, this.produceWithPatches = function(n2, r3) {
|
|
7297
7297
|
if (typeof n2 == "function")
|
|
7298
7298
|
return function(r4) {
|
|
@@ -7312,8 +7312,8 @@ var un = function() {
|
|
|
7312
7312
|
}
|
|
7313
7313
|
var i2 = e2.prototype;
|
|
7314
7314
|
return i2.createDraft = function(e3) {
|
|
7315
|
-
t$
|
|
7316
|
-
var i3 = w$
|
|
7315
|
+
t$5(e3) || n$5(8), r$4(e3) && (e3 = D(e3));
|
|
7316
|
+
var i3 = w$2(this), o2 = R(this, e3, void 0);
|
|
7317
7317
|
return o2[Q].C = true, g$3(i3), o2;
|
|
7318
7318
|
}, i2.finishDraft = function(r2, t2) {
|
|
7319
7319
|
var e3 = r2 && r2[Q];
|
|
@@ -7322,7 +7322,7 @@ var un = function() {
|
|
|
7322
7322
|
}, i2.setAutoFreeze = function(n2) {
|
|
7323
7323
|
this.F = n2;
|
|
7324
7324
|
}, i2.setUseProxies = function(r2) {
|
|
7325
|
-
r2 && !B && n$
|
|
7325
|
+
r2 && !B && n$5(20), this.g = r2;
|
|
7326
7326
|
}, i2.applyPatches = function(n2, t2) {
|
|
7327
7327
|
var e3;
|
|
7328
7328
|
for (e3 = t2.length - 1; e3 >= 0; e3--) {
|
|
@@ -7334,7 +7334,7 @@ var un = function() {
|
|
|
7334
7334
|
}
|
|
7335
7335
|
e3 > -1 && (t2 = t2.slice(e3 + 1));
|
|
7336
7336
|
var o2 = b$1("Patches").$;
|
|
7337
|
-
return r$
|
|
7337
|
+
return r$4(n2) ? o2(n2, t2) : this.produce(n2, function(n3) {
|
|
7338
7338
|
return o2(n3, t2);
|
|
7339
7339
|
});
|
|
7340
7340
|
}, e2;
|
|
@@ -7345,27 +7345,27 @@ an.setUseProxies.bind(an);
|
|
|
7345
7345
|
an.applyPatches.bind(an);
|
|
7346
7346
|
an.createDraft.bind(an);
|
|
7347
7347
|
an.finishDraft.bind(an);
|
|
7348
|
-
const e$
|
|
7348
|
+
const e$2 = Symbol(), t$4 = Symbol(), r$3 = Symbol(), n$4 = Object.getPrototypeOf, o = /* @__PURE__ */ new WeakMap(), s = (e2) => e2 && (o.has(e2) ? o.get(e2) : n$4(e2) === Object.prototype || n$4(e2) === Array.prototype), c$1 = (e2) => typeof e2 == "object" && e2 !== null, i$4 = (n2, o2) => {
|
|
7349
7349
|
let s2 = false;
|
|
7350
7350
|
const c2 = (t2, r2, o3) => {
|
|
7351
7351
|
if (!s2) {
|
|
7352
7352
|
let s3 = t2.a.get(n2);
|
|
7353
|
-
s3 || (s3 = /* @__PURE__ */ new Set(), t2.a.set(n2, s3)), o3 && s3.has(e$
|
|
7353
|
+
s3 || (s3 = /* @__PURE__ */ new Set(), t2.a.set(n2, s3)), o3 && s3.has(e$2) || s3.add(r2);
|
|
7354
7354
|
}
|
|
7355
7355
|
}, i2 = { f: o2, get(e2, t2) {
|
|
7356
|
-
return t2 === r$
|
|
7356
|
+
return t2 === r$3 ? n2 : (c2(this, t2), a(e2[t2], this.a, this.c));
|
|
7357
7357
|
}, has(e2, r2) {
|
|
7358
|
-
return r2 === t$
|
|
7358
|
+
return r2 === t$4 ? (s2 = true, this.a.delete(n2), true) : (c2(this, r2), r2 in e2);
|
|
7359
7359
|
}, getOwnPropertyDescriptor(e2, t2) {
|
|
7360
7360
|
return c2(this, t2, true), Object.getOwnPropertyDescriptor(e2, t2);
|
|
7361
7361
|
}, ownKeys(t2) {
|
|
7362
|
-
return c2(this, e$
|
|
7362
|
+
return c2(this, e$2), Reflect.ownKeys(t2);
|
|
7363
7363
|
} };
|
|
7364
7364
|
return o2 && (i2.set = i2.deleteProperty = () => false), i2;
|
|
7365
7365
|
}, a = (e2, t2, o2) => {
|
|
7366
7366
|
if (!s(e2))
|
|
7367
7367
|
return e2;
|
|
7368
|
-
const c2 = e2[r$
|
|
7368
|
+
const c2 = e2[r$3] || e2, a2 = ((e3) => Object.isFrozen(e3) || Object.values(Object.getOwnPropertyDescriptors(e3)).some((e4) => !e4.writable))(c2);
|
|
7369
7369
|
let l2 = o2 && o2.get(c2);
|
|
7370
7370
|
return l2 && l2.f === a2 || (l2 = i$4(c2, a2), l2.p = new Proxy(a2 ? ((e3) => {
|
|
7371
7371
|
if (Array.isArray(e3))
|
|
@@ -7373,12 +7373,12 @@ const e$1 = Symbol(), t$2 = Symbol(), r$1 = Symbol(), n$2 = Object.getPrototypeO
|
|
|
7373
7373
|
const t3 = Object.getOwnPropertyDescriptors(e3);
|
|
7374
7374
|
return Object.values(t3).forEach((e4) => {
|
|
7375
7375
|
e4.configurable = true;
|
|
7376
|
-
}), Object.create(n$
|
|
7376
|
+
}), Object.create(n$4(e3), t3);
|
|
7377
7377
|
})(c2) : c2, l2), o2 && o2.set(c2, l2)), l2.a = t2, l2.c = o2, l2.p;
|
|
7378
|
-
}, l$
|
|
7378
|
+
}, l$2 = (e2, t2) => {
|
|
7379
7379
|
const r2 = Reflect.ownKeys(e2), n2 = Reflect.ownKeys(t2);
|
|
7380
7380
|
return r2.length !== n2.length || r2.some((e3, t3) => e3 !== n2[t3]);
|
|
7381
|
-
}, u = (t2, r2, n2, o2) => {
|
|
7381
|
+
}, u$2 = (t2, r2, n2, o2) => {
|
|
7382
7382
|
if (Object.is(t2, r2))
|
|
7383
7383
|
return false;
|
|
7384
7384
|
if (!c$1(t2) || !c$1(r2))
|
|
@@ -7394,7 +7394,7 @@ const e$1 = Symbol(), t$2 = Symbol(), r$1 = Symbol(), n$2 = Object.getPrototypeO
|
|
|
7394
7394
|
}
|
|
7395
7395
|
let i2 = null;
|
|
7396
7396
|
for (const c2 of s2) {
|
|
7397
|
-
const s3 = c2 === e$
|
|
7397
|
+
const s3 = c2 === e$2 ? l$2(t2, r2) : u$2(t2[c2], r2[c2], n2, o2);
|
|
7398
7398
|
if (s3 !== true && s3 !== false || (i2 = s3), i2)
|
|
7399
7399
|
break;
|
|
7400
7400
|
}
|
|
@@ -7427,14 +7427,14 @@ const createTrackedSelector = (useSelector) => {
|
|
|
7427
7427
|
const lastState = react.exports.useRef();
|
|
7428
7428
|
react.exports.useEffect(() => {
|
|
7429
7429
|
lastAffected.current = affected;
|
|
7430
|
-
if (prevState.current !== lastState.current && u(prevState.current, lastState.current, affected, /* @__PURE__ */ new WeakMap())) {
|
|
7430
|
+
if (prevState.current !== lastState.current && u$2(prevState.current, lastState.current, affected, /* @__PURE__ */ new WeakMap())) {
|
|
7431
7431
|
prevState.current = lastState.current;
|
|
7432
7432
|
forceUpdate();
|
|
7433
7433
|
}
|
|
7434
7434
|
});
|
|
7435
7435
|
const selector = react.exports.useCallback((nextState) => {
|
|
7436
7436
|
lastState.current = nextState;
|
|
7437
|
-
if (prevState.current && prevState.current !== nextState && lastAffected.current && !u(prevState.current, nextState, lastAffected.current, /* @__PURE__ */ new WeakMap())) {
|
|
7437
|
+
if (prevState.current && prevState.current !== nextState && lastAffected.current && !u$2(prevState.current, nextState, lastAffected.current, /* @__PURE__ */ new WeakMap())) {
|
|
7438
7438
|
return prevState.current;
|
|
7439
7439
|
}
|
|
7440
7440
|
prevState.current = nextState;
|
|
@@ -7449,7 +7449,7 @@ const createTrackedSelector = (useSelector) => {
|
|
|
7449
7449
|
};
|
|
7450
7450
|
return useTrackedSelector;
|
|
7451
7451
|
};
|
|
7452
|
-
|
|
7452
|
+
const createStoreImpl = (createState) => {
|
|
7453
7453
|
let state;
|
|
7454
7454
|
const listeners = /* @__PURE__ */ new Set();
|
|
7455
7455
|
const setState = (partial, replace2) => {
|
|
@@ -7461,23 +7461,7 @@ function createStore$2(createState) {
|
|
|
7461
7461
|
}
|
|
7462
7462
|
};
|
|
7463
7463
|
const getState = () => state;
|
|
7464
|
-
const
|
|
7465
|
-
console.warn("[DEPRECATED] Please use `subscribeWithSelector` middleware");
|
|
7466
|
-
let currentSlice = selector(state);
|
|
7467
|
-
function listenerToAdd() {
|
|
7468
|
-
const nextSlice = selector(state);
|
|
7469
|
-
if (!equalityFn(currentSlice, nextSlice)) {
|
|
7470
|
-
const previousSlice = currentSlice;
|
|
7471
|
-
listener(currentSlice = nextSlice, previousSlice);
|
|
7472
|
-
}
|
|
7473
|
-
}
|
|
7474
|
-
listeners.add(listenerToAdd);
|
|
7475
|
-
return () => listeners.delete(listenerToAdd);
|
|
7476
|
-
};
|
|
7477
|
-
const subscribe = (listener, selector, equalityFn) => {
|
|
7478
|
-
if (selector || equalityFn) {
|
|
7479
|
-
return subscribeWithSelector(listener, selector, equalityFn);
|
|
7480
|
-
}
|
|
7464
|
+
const subscribe = (listener) => {
|
|
7481
7465
|
listeners.add(listener);
|
|
7482
7466
|
return () => listeners.delete(listener);
|
|
7483
7467
|
};
|
|
@@ -7485,213 +7469,244 @@ function createStore$2(createState) {
|
|
|
7485
7469
|
const api = { setState, getState, subscribe, destroy };
|
|
7486
7470
|
state = createState(setState, getState, api);
|
|
7487
7471
|
return api;
|
|
7472
|
+
};
|
|
7473
|
+
const createStore$1 = (createState) => createState ? createStoreImpl(createState) : createStoreImpl;
|
|
7474
|
+
var withSelector = { exports: {} };
|
|
7475
|
+
var withSelector_production_min = {};
|
|
7476
|
+
var shim = { exports: {} };
|
|
7477
|
+
var useSyncExternalStoreShim_production_min = {};
|
|
7478
|
+
/**
|
|
7479
|
+
* @license React
|
|
7480
|
+
* use-sync-external-store-shim.production.min.js
|
|
7481
|
+
*
|
|
7482
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
7483
|
+
*
|
|
7484
|
+
* This source code is licensed under the MIT license found in the
|
|
7485
|
+
* LICENSE file in the root directory of this source tree.
|
|
7486
|
+
*/
|
|
7487
|
+
var e$1 = react.exports;
|
|
7488
|
+
function h$3(a2, b2) {
|
|
7489
|
+
return a2 === b2 && (a2 !== 0 || 1 / a2 === 1 / b2) || a2 !== a2 && b2 !== b2;
|
|
7488
7490
|
}
|
|
7489
|
-
|
|
7490
|
-
|
|
7491
|
-
|
|
7492
|
-
|
|
7493
|
-
|
|
7494
|
-
|
|
7495
|
-
|
|
7496
|
-
|
|
7497
|
-
|
|
7498
|
-
|
|
7499
|
-
|
|
7500
|
-
|
|
7501
|
-
if (currentSliceRef.current === void 0) {
|
|
7502
|
-
currentSliceRef.current = selector(state);
|
|
7503
|
-
}
|
|
7504
|
-
let newStateSlice;
|
|
7505
|
-
let hasNewStateSlice = false;
|
|
7506
|
-
if (stateRef.current !== state || selectorRef.current !== selector || equalityFnRef.current !== equalityFn || erroredRef.current) {
|
|
7507
|
-
newStateSlice = selector(state);
|
|
7508
|
-
hasNewStateSlice = !equalityFn(currentSliceRef.current, newStateSlice);
|
|
7509
|
-
}
|
|
7510
|
-
useIsomorphicLayoutEffect(() => {
|
|
7511
|
-
if (hasNewStateSlice) {
|
|
7512
|
-
currentSliceRef.current = newStateSlice;
|
|
7513
|
-
}
|
|
7514
|
-
stateRef.current = state;
|
|
7515
|
-
selectorRef.current = selector;
|
|
7516
|
-
equalityFnRef.current = equalityFn;
|
|
7517
|
-
erroredRef.current = false;
|
|
7491
|
+
var k$1 = typeof Object.is === "function" ? Object.is : h$3, l$1 = e$1.useState, m$2 = e$1.useEffect, n$3 = e$1.useLayoutEffect, p$3 = e$1.useDebugValue;
|
|
7492
|
+
function q$3(a2, b2) {
|
|
7493
|
+
var d2 = b2(), f2 = l$1({ inst: { value: d2, getSnapshot: b2 } }), c2 = f2[0].inst, g2 = f2[1];
|
|
7494
|
+
n$3(function() {
|
|
7495
|
+
c2.value = d2;
|
|
7496
|
+
c2.getSnapshot = b2;
|
|
7497
|
+
r$2(c2) && g2({ inst: c2 });
|
|
7498
|
+
}, [a2, d2, b2]);
|
|
7499
|
+
m$2(function() {
|
|
7500
|
+
r$2(c2) && g2({ inst: c2 });
|
|
7501
|
+
return a2(function() {
|
|
7502
|
+
r$2(c2) && g2({ inst: c2 });
|
|
7518
7503
|
});
|
|
7519
|
-
|
|
7520
|
-
|
|
7521
|
-
|
|
7522
|
-
try {
|
|
7523
|
-
const nextState = api.getState();
|
|
7524
|
-
const nextStateSlice = selectorRef.current(nextState);
|
|
7525
|
-
if (!equalityFnRef.current(currentSliceRef.current, nextStateSlice)) {
|
|
7526
|
-
stateRef.current = nextState;
|
|
7527
|
-
currentSliceRef.current = nextStateSlice;
|
|
7528
|
-
forceUpdate();
|
|
7529
|
-
}
|
|
7530
|
-
} catch (error) {
|
|
7531
|
-
erroredRef.current = true;
|
|
7532
|
-
forceUpdate();
|
|
7533
|
-
}
|
|
7534
|
-
};
|
|
7535
|
-
const unsubscribe = api.subscribe(listener);
|
|
7536
|
-
if (api.getState() !== stateBeforeSubscriptionRef.current) {
|
|
7537
|
-
listener();
|
|
7538
|
-
}
|
|
7539
|
-
return unsubscribe;
|
|
7540
|
-
}, []);
|
|
7541
|
-
const sliceToReturn = hasNewStateSlice ? newStateSlice : currentSliceRef.current;
|
|
7542
|
-
react.exports.useDebugValue(sliceToReturn);
|
|
7543
|
-
return sliceToReturn;
|
|
7544
|
-
};
|
|
7545
|
-
Object.assign(useStore2, api);
|
|
7546
|
-
useStore2[Symbol.iterator] = function() {
|
|
7547
|
-
console.warn("[useStore, api] = create() is deprecated and will be removed in v4");
|
|
7548
|
-
const items = [useStore2, api];
|
|
7549
|
-
return {
|
|
7550
|
-
next() {
|
|
7551
|
-
const done = items.length <= 0;
|
|
7552
|
-
return { value: items.shift(), done };
|
|
7553
|
-
}
|
|
7554
|
-
};
|
|
7555
|
-
};
|
|
7556
|
-
return useStore2;
|
|
7504
|
+
}, [a2]);
|
|
7505
|
+
p$3(d2);
|
|
7506
|
+
return d2;
|
|
7557
7507
|
}
|
|
7558
|
-
function
|
|
7559
|
-
|
|
7560
|
-
|
|
7561
|
-
|
|
7562
|
-
|
|
7563
|
-
|
|
7564
|
-
|
|
7565
|
-
|
|
7566
|
-
|
|
7567
|
-
|
|
7568
|
-
|
|
7569
|
-
|
|
7570
|
-
|
|
7571
|
-
|
|
7572
|
-
|
|
7573
|
-
|
|
7508
|
+
function r$2(a2) {
|
|
7509
|
+
var b2 = a2.getSnapshot;
|
|
7510
|
+
a2 = a2.value;
|
|
7511
|
+
try {
|
|
7512
|
+
var d2 = b2();
|
|
7513
|
+
return !k$1(a2, d2);
|
|
7514
|
+
} catch (f2) {
|
|
7515
|
+
return true;
|
|
7516
|
+
}
|
|
7517
|
+
}
|
|
7518
|
+
function t$3(a2, b2) {
|
|
7519
|
+
return b2();
|
|
7520
|
+
}
|
|
7521
|
+
var u$1 = typeof window === "undefined" || typeof window.document === "undefined" || typeof window.document.createElement === "undefined" ? t$3 : q$3;
|
|
7522
|
+
useSyncExternalStoreShim_production_min.useSyncExternalStore = e$1.useSyncExternalStore !== void 0 ? e$1.useSyncExternalStore : u$1;
|
|
7523
|
+
{
|
|
7524
|
+
shim.exports = useSyncExternalStoreShim_production_min;
|
|
7525
|
+
}
|
|
7526
|
+
/**
|
|
7527
|
+
* @license React
|
|
7528
|
+
* use-sync-external-store-shim/with-selector.production.min.js
|
|
7529
|
+
*
|
|
7530
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
7531
|
+
*
|
|
7532
|
+
* This source code is licensed under the MIT license found in the
|
|
7533
|
+
* LICENSE file in the root directory of this source tree.
|
|
7534
|
+
*/
|
|
7535
|
+
var h$2 = react.exports, n$2 = shim.exports;
|
|
7536
|
+
function p$2(a2, b2) {
|
|
7537
|
+
return a2 === b2 && (a2 !== 0 || 1 / a2 === 1 / b2) || a2 !== a2 && b2 !== b2;
|
|
7538
|
+
}
|
|
7539
|
+
var q$2 = typeof Object.is === "function" ? Object.is : p$2, r$1 = n$2.useSyncExternalStore, t$2 = h$2.useRef, u = h$2.useEffect, v$1 = h$2.useMemo, w$1 = h$2.useDebugValue;
|
|
7540
|
+
withSelector_production_min.useSyncExternalStoreWithSelector = function(a2, b2, e2, l2, g2) {
|
|
7541
|
+
var c2 = t$2(null);
|
|
7542
|
+
if (c2.current === null) {
|
|
7543
|
+
var f2 = { hasValue: false, value: null };
|
|
7544
|
+
c2.current = f2;
|
|
7545
|
+
} else
|
|
7546
|
+
f2 = c2.current;
|
|
7547
|
+
c2 = v$1(function() {
|
|
7548
|
+
function a3(a4) {
|
|
7549
|
+
if (!c3) {
|
|
7550
|
+
c3 = true;
|
|
7551
|
+
d3 = a4;
|
|
7552
|
+
a4 = l2(a4);
|
|
7553
|
+
if (g2 !== void 0 && f2.hasValue) {
|
|
7554
|
+
var b3 = f2.value;
|
|
7555
|
+
if (g2(b3, a4))
|
|
7556
|
+
return k2 = b3;
|
|
7557
|
+
}
|
|
7558
|
+
return k2 = a4;
|
|
7559
|
+
}
|
|
7560
|
+
b3 = k2;
|
|
7561
|
+
if (q$2(d3, a4))
|
|
7562
|
+
return b3;
|
|
7563
|
+
var e3 = l2(a4);
|
|
7564
|
+
if (g2 !== void 0 && g2(b3, e3))
|
|
7565
|
+
return b3;
|
|
7566
|
+
d3 = a4;
|
|
7567
|
+
return k2 = e3;
|
|
7568
|
+
}
|
|
7569
|
+
var c3 = false, d3, k2, m2 = e2 === void 0 ? null : e2;
|
|
7570
|
+
return [function() {
|
|
7571
|
+
return a3(b2());
|
|
7572
|
+
}, m2 === null ? void 0 : function() {
|
|
7573
|
+
return a3(m2());
|
|
7574
|
+
}];
|
|
7575
|
+
}, [b2, e2, l2, g2]);
|
|
7576
|
+
var d2 = r$1(a2, c2[0], c2[1]);
|
|
7577
|
+
u(function() {
|
|
7578
|
+
f2.hasValue = true;
|
|
7579
|
+
f2.value = d2;
|
|
7580
|
+
}, [d2]);
|
|
7581
|
+
w$1(d2);
|
|
7582
|
+
return d2;
|
|
7583
|
+
};
|
|
7584
|
+
{
|
|
7585
|
+
withSelector.exports = withSelector_production_min;
|
|
7586
|
+
}
|
|
7587
|
+
function useStore$1(api, selector = api.getState, equalityFn) {
|
|
7588
|
+
const slice2 = withSelector.exports.useSyncExternalStoreWithSelector(api.subscribe, api.getState, api.getServerState || api.getState, selector, equalityFn);
|
|
7589
|
+
react.exports.useDebugValue(slice2);
|
|
7590
|
+
return slice2;
|
|
7591
|
+
}
|
|
7592
|
+
const createImpl = (createState) => {
|
|
7593
|
+
const api = typeof createState === "function" ? createStore$1(createState) : createState;
|
|
7594
|
+
const useBoundStore = (selector, equalityFn) => useStore$1(api, selector, equalityFn);
|
|
7595
|
+
Object.assign(useBoundStore, api);
|
|
7596
|
+
return useBoundStore;
|
|
7597
|
+
};
|
|
7598
|
+
const create = (createState) => createState ? createImpl(createState) : createImpl;
|
|
7599
|
+
var create$1 = create;
|
|
7600
|
+
var __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;
|
|
7601
|
+
var __hasOwnProp$1 = Object.prototype.hasOwnProperty;
|
|
7602
|
+
var __propIsEnum$1 = Object.prototype.propertyIsEnumerable;
|
|
7603
|
+
var __objRest2 = (source, exclude) => {
|
|
7604
|
+
var target = {};
|
|
7605
|
+
for (var prop in source)
|
|
7606
|
+
if (__hasOwnProp$1.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
7607
|
+
target[prop] = source[prop];
|
|
7608
|
+
if (source != null && __getOwnPropSymbols$1)
|
|
7609
|
+
for (var prop of __getOwnPropSymbols$1(source)) {
|
|
7610
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$1.call(source, prop))
|
|
7611
|
+
target[prop] = source[prop];
|
|
7574
7612
|
}
|
|
7575
|
-
|
|
7576
|
-
|
|
7577
|
-
|
|
7578
|
-
|
|
7579
|
-
|
|
7613
|
+
return target;
|
|
7614
|
+
};
|
|
7615
|
+
const devtoolsImpl = (fn2, devtoolsOptions = {}) => (set, get2, api) => {
|
|
7616
|
+
const _a2 = devtoolsOptions, { enabled, anonymousActionType } = _a2, options = __objRest2(_a2, ["enabled", "anonymousActionType"]);
|
|
7617
|
+
let extensionConnector;
|
|
7618
|
+
try {
|
|
7619
|
+
extensionConnector = (enabled != null ? enabled : ({ "BASE_URL": "/", "MODE": "production", "DEV": false, "PROD": true } && "production") !== "production") && window.__REDUX_DEVTOOLS_EXTENSION__;
|
|
7620
|
+
} catch {
|
|
7621
|
+
}
|
|
7622
|
+
if (!extensionConnector) {
|
|
7623
|
+
if (({ "BASE_URL": "/", "MODE": "production", "DEV": false, "PROD": true } && "production") !== "production" && enabled) {
|
|
7624
|
+
console.warn("[zustand devtools middleware] Please install/enable Redux devtools extension");
|
|
7580
7625
|
}
|
|
7581
|
-
|
|
7582
|
-
|
|
7583
|
-
|
|
7584
|
-
|
|
7585
|
-
|
|
7586
|
-
|
|
7587
|
-
|
|
7588
|
-
|
|
7589
|
-
|
|
7590
|
-
|
|
7591
|
-
|
|
7592
|
-
|
|
7593
|
-
|
|
7594
|
-
|
|
7595
|
-
|
|
7596
|
-
|
|
7597
|
-
|
|
7598
|
-
|
|
7599
|
-
|
|
7600
|
-
|
|
7601
|
-
|
|
7602
|
-
|
|
7603
|
-
|
|
7604
|
-
|
|
7605
|
-
|
|
7606
|
-
|
|
7607
|
-
}
|
|
7608
|
-
|
|
7609
|
-
|
|
7610
|
-
|
|
7611
|
-
|
|
7626
|
+
return fn2(set, get2, api);
|
|
7627
|
+
}
|
|
7628
|
+
const extension = extensionConnector.connect(options);
|
|
7629
|
+
let isRecording = true;
|
|
7630
|
+
api.setState = (state, replace2, nameOrAction) => {
|
|
7631
|
+
const r2 = set(state, replace2);
|
|
7632
|
+
if (!isRecording)
|
|
7633
|
+
return r2;
|
|
7634
|
+
extension.send(nameOrAction === void 0 ? { type: anonymousActionType || "anonymous" } : typeof nameOrAction === "string" ? { type: nameOrAction } : nameOrAction, get2());
|
|
7635
|
+
return r2;
|
|
7636
|
+
};
|
|
7637
|
+
const setStateFromDevtools = (...a2) => {
|
|
7638
|
+
const originalIsRecording = isRecording;
|
|
7639
|
+
isRecording = false;
|
|
7640
|
+
set(...a2);
|
|
7641
|
+
isRecording = originalIsRecording;
|
|
7642
|
+
};
|
|
7643
|
+
const initialState = fn2(api.setState, get2, api);
|
|
7644
|
+
extension.init(initialState);
|
|
7645
|
+
if (api.dispatchFromDevtools && typeof api.dispatch === "function") {
|
|
7646
|
+
let didWarnAboutReservedActionType = false;
|
|
7647
|
+
const originalDispatch = api.dispatch;
|
|
7648
|
+
api.dispatch = (...a2) => {
|
|
7649
|
+
if (({ "BASE_URL": "/", "MODE": "production", "DEV": false, "PROD": true } && "production") !== "production" && a2[0].type === "__setState" && !didWarnAboutReservedActionType) {
|
|
7650
|
+
console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.');
|
|
7651
|
+
didWarnAboutReservedActionType = true;
|
|
7652
|
+
}
|
|
7653
|
+
originalDispatch(...a2);
|
|
7654
|
+
};
|
|
7655
|
+
}
|
|
7656
|
+
extension.subscribe((message) => {
|
|
7657
|
+
var _a22;
|
|
7658
|
+
switch (message.type) {
|
|
7659
|
+
case "ACTION":
|
|
7660
|
+
if (typeof message.payload !== "string") {
|
|
7661
|
+
console.error("[zustand devtools middleware] Unsupported action format");
|
|
7662
|
+
return;
|
|
7612
7663
|
}
|
|
7613
|
-
|
|
7614
|
-
|
|
7615
|
-
|
|
7616
|
-
api.setState = (state, replace2, nameOrAction) => {
|
|
7617
|
-
set(state, replace2);
|
|
7618
|
-
if (!isRecording)
|
|
7619
|
-
return;
|
|
7620
|
-
extension.send(nameOrAction === void 0 ? { type: devtoolsOptions.anonymousActionType || "anonymous" } : typeof nameOrAction === "string" ? { type: nameOrAction } : nameOrAction, get2());
|
|
7621
|
-
};
|
|
7622
|
-
const setStateFromDevtools = (...a2) => {
|
|
7623
|
-
const originalIsRecording = isRecording;
|
|
7624
|
-
isRecording = false;
|
|
7625
|
-
set(...a2);
|
|
7626
|
-
isRecording = originalIsRecording;
|
|
7627
|
-
};
|
|
7628
|
-
const initialState = fn2(api.setState, get2, api);
|
|
7629
|
-
extension.init(initialState);
|
|
7630
|
-
if (api.dispatchFromDevtools && typeof api.dispatch === "function") {
|
|
7631
|
-
let didWarnAboutReservedActionType = false;
|
|
7632
|
-
const originalDispatch = api.dispatch;
|
|
7633
|
-
api.dispatch = (...a2) => {
|
|
7634
|
-
if (a2[0].type === "__setState" && !didWarnAboutReservedActionType) {
|
|
7635
|
-
console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.');
|
|
7636
|
-
didWarnAboutReservedActionType = true;
|
|
7637
|
-
}
|
|
7638
|
-
originalDispatch(...a2);
|
|
7639
|
-
};
|
|
7640
|
-
}
|
|
7641
|
-
extension.subscribe((message) => {
|
|
7642
|
-
var _a22;
|
|
7643
|
-
switch (message.type) {
|
|
7644
|
-
case "ACTION":
|
|
7645
|
-
if (typeof message.payload !== "string") {
|
|
7646
|
-
console.error("[zustand devtools middleware] Unsupported action format");
|
|
7664
|
+
return parseJsonThen(message.payload, (action) => {
|
|
7665
|
+
if (action.type === "__setState") {
|
|
7666
|
+
setStateFromDevtools(action.state);
|
|
7647
7667
|
return;
|
|
7648
7668
|
}
|
|
7649
|
-
|
|
7650
|
-
|
|
7651
|
-
|
|
7652
|
-
|
|
7653
|
-
|
|
7654
|
-
|
|
7655
|
-
|
|
7656
|
-
|
|
7657
|
-
|
|
7658
|
-
|
|
7659
|
-
|
|
7660
|
-
|
|
7661
|
-
|
|
7662
|
-
|
|
7663
|
-
|
|
7664
|
-
|
|
7665
|
-
|
|
7666
|
-
|
|
7667
|
-
|
|
7668
|
-
|
|
7669
|
-
|
|
7670
|
-
|
|
7671
|
-
|
|
7672
|
-
|
|
7673
|
-
|
|
7674
|
-
|
|
7675
|
-
|
|
7676
|
-
});
|
|
7677
|
-
case "IMPORT_STATE": {
|
|
7678
|
-
const { nextLiftedState } = message.payload;
|
|
7679
|
-
const lastComputedState = (_a22 = nextLiftedState.computedStates.slice(-1)[0]) == null ? void 0 : _a22.state;
|
|
7680
|
-
if (!lastComputedState)
|
|
7681
|
-
return;
|
|
7682
|
-
setStateFromDevtools(lastComputedState);
|
|
7683
|
-
extension.send(null, nextLiftedState);
|
|
7669
|
+
if (!api.dispatchFromDevtools)
|
|
7670
|
+
return;
|
|
7671
|
+
if (typeof api.dispatch !== "function")
|
|
7672
|
+
return;
|
|
7673
|
+
api.dispatch(action);
|
|
7674
|
+
});
|
|
7675
|
+
case "DISPATCH":
|
|
7676
|
+
switch (message.payload.type) {
|
|
7677
|
+
case "RESET":
|
|
7678
|
+
setStateFromDevtools(initialState);
|
|
7679
|
+
return extension.init(api.getState());
|
|
7680
|
+
case "COMMIT":
|
|
7681
|
+
return extension.init(api.getState());
|
|
7682
|
+
case "ROLLBACK":
|
|
7683
|
+
return parseJsonThen(message.state, (state) => {
|
|
7684
|
+
setStateFromDevtools(state);
|
|
7685
|
+
extension.init(api.getState());
|
|
7686
|
+
});
|
|
7687
|
+
case "JUMP_TO_STATE":
|
|
7688
|
+
case "JUMP_TO_ACTION":
|
|
7689
|
+
return parseJsonThen(message.state, (state) => {
|
|
7690
|
+
setStateFromDevtools(state);
|
|
7691
|
+
});
|
|
7692
|
+
case "IMPORT_STATE": {
|
|
7693
|
+
const { nextLiftedState } = message.payload;
|
|
7694
|
+
const lastComputedState = (_a22 = nextLiftedState.computedStates.slice(-1)[0]) == null ? void 0 : _a22.state;
|
|
7695
|
+
if (!lastComputedState)
|
|
7684
7696
|
return;
|
|
7685
|
-
|
|
7686
|
-
|
|
7687
|
-
|
|
7697
|
+
setStateFromDevtools(lastComputedState);
|
|
7698
|
+
extension.send(null, nextLiftedState);
|
|
7699
|
+
return;
|
|
7688
7700
|
}
|
|
7689
|
-
|
|
7690
|
-
|
|
7691
|
-
|
|
7692
|
-
|
|
7693
|
-
|
|
7694
|
-
}
|
|
7701
|
+
case "PAUSE_RECORDING":
|
|
7702
|
+
return isRecording = !isRecording;
|
|
7703
|
+
}
|
|
7704
|
+
return;
|
|
7705
|
+
}
|
|
7706
|
+
});
|
|
7707
|
+
return initialState;
|
|
7708
|
+
};
|
|
7709
|
+
const devtools = devtoolsImpl;
|
|
7695
7710
|
const parseJsonThen = (stringified, f2) => {
|
|
7696
7711
|
let parsed;
|
|
7697
7712
|
try {
|
|
@@ -7743,7 +7758,7 @@ const toThenable = (fn2) => (input) => {
|
|
|
7743
7758
|
};
|
|
7744
7759
|
}
|
|
7745
7760
|
};
|
|
7746
|
-
const
|
|
7761
|
+
const persistImpl = (config2, baseOptions) => (set, get2, api) => {
|
|
7747
7762
|
let options = __spreadValues2({
|
|
7748
7763
|
getStorage: () => localStorage,
|
|
7749
7764
|
serialize: JSON.stringify,
|
|
@@ -7752,9 +7767,6 @@ const persist = (config2, baseOptions) => (set, get2, api) => {
|
|
|
7752
7767
|
version: 0,
|
|
7753
7768
|
merge: (persistedState, currentState) => __spreadValues2(__spreadValues2({}, currentState), persistedState)
|
|
7754
7769
|
}, baseOptions);
|
|
7755
|
-
if (options.blacklist || options.whitelist) {
|
|
7756
|
-
console.warn(`The ${options.blacklist ? "blacklist" : "whitelist"} option is deprecated and will be removed in the next version. Please use the 'partialize' option instead.`);
|
|
7757
|
-
}
|
|
7758
7770
|
let hasHydrated = false;
|
|
7759
7771
|
const hydrationListeners = /* @__PURE__ */ new Set();
|
|
7760
7772
|
const finishHydrationListeners = /* @__PURE__ */ new Set();
|
|
@@ -7768,21 +7780,10 @@ const persist = (config2, baseOptions) => (set, get2, api) => {
|
|
|
7768
7780
|
console.warn(`[zustand persist middleware] Unable to update item '${options.name}', the given storage is currently unavailable.`);
|
|
7769
7781
|
set(...args);
|
|
7770
7782
|
}, get2, api);
|
|
7771
|
-
} else if (!storage.removeItem) {
|
|
7772
|
-
console.warn(`[zustand persist middleware] The given storage for item '${options.name}' does not contain a 'removeItem' method, which will be required in v4.`);
|
|
7773
7783
|
}
|
|
7774
7784
|
const thenableSerialize = toThenable(options.serialize);
|
|
7775
7785
|
const setItem = () => {
|
|
7776
7786
|
const state = options.partialize(__spreadValues2({}, get2()));
|
|
7777
|
-
if (options.whitelist) {
|
|
7778
|
-
Object.keys(state).forEach((key) => {
|
|
7779
|
-
var _a2;
|
|
7780
|
-
!((_a2 = options.whitelist) == null ? void 0 : _a2.includes(key)) && delete state[key];
|
|
7781
|
-
});
|
|
7782
|
-
}
|
|
7783
|
-
if (options.blacklist) {
|
|
7784
|
-
options.blacklist.forEach((key) => delete state[key]);
|
|
7785
|
-
}
|
|
7786
7787
|
let errorInSync;
|
|
7787
7788
|
const thenable = thenableSerialize({ state, version: options.version }).then((serializedValue) => storage.setItem(options.name, serializedValue)).catch((e2) => {
|
|
7788
7789
|
errorInSync = e2;
|
|
@@ -7845,8 +7846,7 @@ const persist = (config2, baseOptions) => (set, get2, api) => {
|
|
|
7845
7846
|
}
|
|
7846
7847
|
},
|
|
7847
7848
|
clearStorage: () => {
|
|
7848
|
-
|
|
7849
|
-
(_a2 = storage == null ? void 0 : storage.removeItem) == null ? void 0 : _a2.call(storage, options.name);
|
|
7849
|
+
storage == null ? void 0 : storage.removeItem(options.name);
|
|
7850
7850
|
},
|
|
7851
7851
|
rehydrate: () => hydrate(),
|
|
7852
7852
|
hasHydrated: () => hasHydrated,
|
|
@@ -7866,43 +7866,7 @@ const persist = (config2, baseOptions) => (set, get2, api) => {
|
|
|
7866
7866
|
hydrate();
|
|
7867
7867
|
return stateFromStorage || configResult;
|
|
7868
7868
|
};
|
|
7869
|
-
|
|
7870
|
-
let state;
|
|
7871
|
-
const listeners = /* @__PURE__ */ new Set();
|
|
7872
|
-
const setState = (partial, replace2) => {
|
|
7873
|
-
const nextState = typeof partial === "function" ? partial(state) : partial;
|
|
7874
|
-
if (nextState !== state) {
|
|
7875
|
-
const previousState = state;
|
|
7876
|
-
state = replace2 ? nextState : Object.assign({}, state, nextState);
|
|
7877
|
-
listeners.forEach((listener) => listener(state, previousState));
|
|
7878
|
-
}
|
|
7879
|
-
};
|
|
7880
|
-
const getState = () => state;
|
|
7881
|
-
const subscribeWithSelector = (listener, selector = getState, equalityFn = Object.is) => {
|
|
7882
|
-
console.warn("[DEPRECATED] Please use `subscribeWithSelector` middleware");
|
|
7883
|
-
let currentSlice = selector(state);
|
|
7884
|
-
function listenerToAdd() {
|
|
7885
|
-
const nextSlice = selector(state);
|
|
7886
|
-
if (!equalityFn(currentSlice, nextSlice)) {
|
|
7887
|
-
const previousSlice = currentSlice;
|
|
7888
|
-
listener(currentSlice = nextSlice, previousSlice);
|
|
7889
|
-
}
|
|
7890
|
-
}
|
|
7891
|
-
listeners.add(listenerToAdd);
|
|
7892
|
-
return () => listeners.delete(listenerToAdd);
|
|
7893
|
-
};
|
|
7894
|
-
const subscribe = (listener, selector, equalityFn) => {
|
|
7895
|
-
if (selector || equalityFn) {
|
|
7896
|
-
return subscribeWithSelector(listener, selector, equalityFn);
|
|
7897
|
-
}
|
|
7898
|
-
listeners.add(listener);
|
|
7899
|
-
return () => listeners.delete(listener);
|
|
7900
|
-
};
|
|
7901
|
-
const destroy = () => listeners.clear();
|
|
7902
|
-
const api = { setState, getState, subscribe, destroy };
|
|
7903
|
-
state = createState(setState, getState, api);
|
|
7904
|
-
return api;
|
|
7905
|
-
}
|
|
7869
|
+
const persist = persistImpl;
|
|
7906
7870
|
const generateStateActions = (store2, storeName) => {
|
|
7907
7871
|
const actions2 = {};
|
|
7908
7872
|
Object.keys(store2.getState()).forEach((key) => {
|
|
@@ -8017,7 +7981,7 @@ const createStore = (name2) => (initialState, options = {}) => {
|
|
|
8017
7981
|
middlewares.push(createStore$1);
|
|
8018
7982
|
const createStore2 = (createState) => pipe(createState, ...middlewares);
|
|
8019
7983
|
const store2 = createStore2(() => initialState);
|
|
8020
|
-
const useStore2 = create(store2);
|
|
7984
|
+
const useStore2 = create$1(store2);
|
|
8021
7985
|
const stateActions = generateStateActions(useStore2, name2);
|
|
8022
7986
|
const mergeState = (state, actionName) => {
|
|
8023
7987
|
store2.setState((draft) => {
|
|
@@ -11457,7 +11421,7 @@ const Loading$1 = () => {
|
|
|
11457
11421
|
});
|
|
11458
11422
|
};
|
|
11459
11423
|
const name$2 = "@dao42/d42paas-front";
|
|
11460
|
-
const version = "0.9.
|
|
11424
|
+
const version = "0.9.10";
|
|
11461
11425
|
const description = "d42paas front";
|
|
11462
11426
|
const author = "dao42 paas team";
|
|
11463
11427
|
const homepage = "https://github.com/dao42/d42paas_frontend#readme";
|
|
@@ -11476,6 +11440,16 @@ const scripts = {
|
|
|
11476
11440
|
test: "jest --coverage"
|
|
11477
11441
|
};
|
|
11478
11442
|
const devDependencies = {
|
|
11443
|
+
"@codemirror/collab": "^0.20.0",
|
|
11444
|
+
"@codemirror/lang-javascript": "^0.20.0",
|
|
11445
|
+
"@codemirror/state": "^0.20.0",
|
|
11446
|
+
"@codemirror/view": "^0.20.7",
|
|
11447
|
+
"utf-8-validate": "^5.0.9",
|
|
11448
|
+
uuid: "^8.3.2",
|
|
11449
|
+
xterm: "^4.13.0",
|
|
11450
|
+
"xterm-addon-attach": "^0.6.0",
|
|
11451
|
+
"xterm-addon-fit": "^0.5.0",
|
|
11452
|
+
zustand: "^4.0.0-rc.1",
|
|
11479
11453
|
"@emotion/babel-plugin": "^11.3.0",
|
|
11480
11454
|
"@emotion/babel-preset-css-prop": "^11.2.0",
|
|
11481
11455
|
"@emotion/core": "^11.0.0",
|
|
@@ -11499,10 +11473,12 @@ const devDependencies = {
|
|
|
11499
11473
|
"@types/uuid": "^8.3.1",
|
|
11500
11474
|
"@typescript-eslint/eslint-plugin": "^4.28.2",
|
|
11501
11475
|
"@typescript-eslint/parser": "^4.28.2",
|
|
11476
|
+
"@uiw/react-codemirror": "^4.7.0",
|
|
11502
11477
|
"@udecode/zustood": "^1.1.1",
|
|
11503
11478
|
"@vitejs/plugin-react": "^1.0.7",
|
|
11504
11479
|
ahooks: "^3.3.10",
|
|
11505
11480
|
"babel-loader": "^8.2.2",
|
|
11481
|
+
bufferutil: "^4.0.6",
|
|
11506
11482
|
classnames: "^2.3.1",
|
|
11507
11483
|
concurrently: "^6.3.0",
|
|
11508
11484
|
"cross-env": "^7.0.3",
|
|
@@ -11511,6 +11487,7 @@ const devDependencies = {
|
|
|
11511
11487
|
"file-icons-js": "^1.1.0",
|
|
11512
11488
|
"file-loader": "^6.2.0",
|
|
11513
11489
|
"fs-extra": "^10.0.0",
|
|
11490
|
+
immer: "^9.0.14",
|
|
11514
11491
|
"glob-all": "^3.2.1",
|
|
11515
11492
|
jest: "27.0.6",
|
|
11516
11493
|
lodash: "^4.17.21",
|
|
@@ -11540,27 +11517,11 @@ const devDependencies = {
|
|
|
11540
11517
|
"ts-loader": "^9.2.5",
|
|
11541
11518
|
"ts-node": "^10.0.0",
|
|
11542
11519
|
typedoc: "^0.22.12",
|
|
11520
|
+
"use-immer": "^0.7.0",
|
|
11543
11521
|
vite: "^2.7.2",
|
|
11544
11522
|
"vite-plugin-html": "^3.0.6",
|
|
11545
11523
|
"whatwg-fetch": "^3.6.2"
|
|
11546
11524
|
};
|
|
11547
|
-
const dependencies = {
|
|
11548
|
-
"@codemirror/collab": "^0.20.0",
|
|
11549
|
-
"@codemirror/lang-javascript": "^0.20.0",
|
|
11550
|
-
"@codemirror/state": "^0.20.0",
|
|
11551
|
-
"@codemirror/view": "^0.20.7",
|
|
11552
|
-
"@uiw/react-codemirror": "^4.7.0",
|
|
11553
|
-
bufferutil: "^4.0.6",
|
|
11554
|
-
immer: "^9.0.14",
|
|
11555
|
-
"react-content-loader": "^6.2.0",
|
|
11556
|
-
"use-immer": "^0.7.0",
|
|
11557
|
-
"utf-8-validate": "^5.0.9",
|
|
11558
|
-
uuid: "^8.3.2",
|
|
11559
|
-
xterm: "^4.13.0",
|
|
11560
|
-
"xterm-addon-attach": "^0.6.0",
|
|
11561
|
-
"xterm-addon-fit": "^0.5.0",
|
|
11562
|
-
zustand: "^4.0.0-rc.1"
|
|
11563
|
-
};
|
|
11564
11525
|
const files = [
|
|
11565
11526
|
"dist"
|
|
11566
11527
|
];
|
|
@@ -11586,7 +11547,6 @@ var packageInfo = {
|
|
|
11586
11547
|
types: types$1,
|
|
11587
11548
|
scripts,
|
|
11588
11549
|
devDependencies,
|
|
11589
|
-
dependencies,
|
|
11590
11550
|
files,
|
|
11591
11551
|
repository,
|
|
11592
11552
|
bugs,
|
|
@@ -12815,7 +12775,6 @@ class Socket$1 extends Emitter {
|
|
|
12815
12775
|
}
|
|
12816
12776
|
}
|
|
12817
12777
|
Socket$1.protocol = protocol$1;
|
|
12818
|
-
Socket$1.protocol;
|
|
12819
12778
|
function url(uri, path = "", loc) {
|
|
12820
12779
|
let obj = uri;
|
|
12821
12780
|
loc = loc || typeof location !== "undefined" && location;
|
|
@@ -16796,7 +16755,7 @@ function emptyFunctionWithReset() {
|
|
|
16796
16755
|
}
|
|
16797
16756
|
emptyFunctionWithReset.resetWarningCache = emptyFunction;
|
|
16798
16757
|
var factoryWithThrowingShims = function() {
|
|
16799
|
-
function
|
|
16758
|
+
function shim2(props, propName, componentName, location2, propFullName, secret) {
|
|
16800
16759
|
if (secret === ReactPropTypesSecret) {
|
|
16801
16760
|
return;
|
|
16802
16761
|
}
|
|
@@ -16804,25 +16763,25 @@ var factoryWithThrowingShims = function() {
|
|
|
16804
16763
|
err.name = "Invariant Violation";
|
|
16805
16764
|
throw err;
|
|
16806
16765
|
}
|
|
16807
|
-
|
|
16766
|
+
shim2.isRequired = shim2;
|
|
16808
16767
|
function getShim() {
|
|
16809
|
-
return
|
|
16768
|
+
return shim2;
|
|
16810
16769
|
}
|
|
16811
16770
|
var ReactPropTypes = {
|
|
16812
|
-
array:
|
|
16813
|
-
bigint:
|
|
16814
|
-
bool:
|
|
16815
|
-
func:
|
|
16816
|
-
number:
|
|
16817
|
-
object:
|
|
16818
|
-
string:
|
|
16819
|
-
symbol:
|
|
16820
|
-
any:
|
|
16771
|
+
array: shim2,
|
|
16772
|
+
bigint: shim2,
|
|
16773
|
+
bool: shim2,
|
|
16774
|
+
func: shim2,
|
|
16775
|
+
number: shim2,
|
|
16776
|
+
object: shim2,
|
|
16777
|
+
string: shim2,
|
|
16778
|
+
symbol: shim2,
|
|
16779
|
+
any: shim2,
|
|
16821
16780
|
arrayOf: getShim,
|
|
16822
|
-
element:
|
|
16823
|
-
elementType:
|
|
16781
|
+
element: shim2,
|
|
16782
|
+
elementType: shim2,
|
|
16824
16783
|
instanceOf: getShim,
|
|
16825
|
-
node:
|
|
16784
|
+
node: shim2,
|
|
16826
16785
|
objectOf: getShim,
|
|
16827
16786
|
oneOf: getShim,
|
|
16828
16787
|
oneOfType: getShim,
|
|
@@ -56020,8 +55979,8 @@ function sameArray$1(a2, b2) {
|
|
|
56020
55979
|
return a2 == b2 || a2.length == b2.length && a2.every((e2, i2) => e2 === b2[i2]);
|
|
56021
55980
|
}
|
|
56022
55981
|
class FacetProvider {
|
|
56023
|
-
constructor(
|
|
56024
|
-
this.dependencies =
|
|
55982
|
+
constructor(dependencies, facet, type, value2) {
|
|
55983
|
+
this.dependencies = dependencies;
|
|
56025
55984
|
this.facet = facet;
|
|
56026
55985
|
this.type = type;
|
|
56027
55986
|
this.value = value2;
|
|
@@ -64769,7 +64728,7 @@ function isOverRange(view, from2, to, x2, y2, margin) {
|
|
|
64769
64728
|
}
|
|
64770
64729
|
return false;
|
|
64771
64730
|
}
|
|
64772
|
-
function hoverTooltip(source, options) {
|
|
64731
|
+
function hoverTooltip(source, options = {}) {
|
|
64773
64732
|
let setHover = StateEffect.define();
|
|
64774
64733
|
let hoverState = StateField.define({
|
|
64775
64734
|
create() {
|
|
@@ -67500,7 +67459,7 @@ function delimitedStrategy(context, align, units, closing2, closedAt) {
|
|
|
67500
67459
|
return context.baseIndent + (closed ? 0 : context.unit * units);
|
|
67501
67460
|
}
|
|
67502
67461
|
const flatIndent = (context) => context.baseIndent;
|
|
67503
|
-
function continuedIndent({ except, units = 1 }) {
|
|
67462
|
+
function continuedIndent({ except, units = 1 } = {}) {
|
|
67504
67463
|
return (context) => {
|
|
67505
67464
|
let matchExcept = except && except.test(context.textAfter);
|
|
67506
67465
|
return context.baseIndent + (matchExcept ? 0 : units * context.unit);
|
|
@@ -71922,7 +71881,7 @@ class LintPanel {
|
|
|
71922
71881
|
return new LintPanel(view);
|
|
71923
71882
|
}
|
|
71924
71883
|
}
|
|
71925
|
-
function svg(content2, attrs) {
|
|
71884
|
+
function svg(content2, attrs = `viewBox="0 0 40 40"`) {
|
|
71926
71885
|
return `url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" ${attrs}>${encodeURIComponent(content2)}</svg>')`;
|
|
71927
71886
|
}
|
|
71928
71887
|
function underline(color) {
|
|
@@ -74046,7 +74005,7 @@ const javascriptLanguage = /* @__PURE__ */ LRLanguage.define({
|
|
|
74046
74005
|
const typescriptLanguage = /* @__PURE__ */ javascriptLanguage.configure({ dialect: "ts" });
|
|
74047
74006
|
const jsxLanguage = /* @__PURE__ */ javascriptLanguage.configure({ dialect: "jsx" });
|
|
74048
74007
|
const tsxLanguage = /* @__PURE__ */ javascriptLanguage.configure({ dialect: "jsx ts" });
|
|
74049
|
-
function javascript(config2) {
|
|
74008
|
+
function javascript(config2 = {}) {
|
|
74050
74009
|
let lang = config2.jsx ? config2.typescript ? tsxLanguage : jsxLanguage : config2.typescript ? typescriptLanguage : javascriptLanguage;
|
|
74051
74010
|
return new LanguageSupport(lang, [
|
|
74052
74011
|
javascriptLanguage.data.of({
|
|
@@ -74131,7 +74090,7 @@ const collabField = /* @__PURE__ */ StateField.define({
|
|
|
74131
74090
|
return collab2;
|
|
74132
74091
|
}
|
|
74133
74092
|
});
|
|
74134
|
-
function collab(config2) {
|
|
74093
|
+
function collab(config2 = {}) {
|
|
74135
74094
|
return [collabField, collabConfig.of(Object.assign({ generatedID: Math.floor(Math.random() * 1e9).toString(36) }, config2))];
|
|
74136
74095
|
}
|
|
74137
74096
|
function receiveUpdates(state, updates) {
|
|
@@ -76247,7 +76206,6 @@ var xterm = { exports: {} };
|
|
|
76247
76206
|
}, e4.prototype.onCursorMove = function() {
|
|
76248
76207
|
}, e4.prototype.onGridChanged = function(e5, t4) {
|
|
76249
76208
|
}, e4.prototype.onSelectionChanged = function(e5, t4, r3) {
|
|
76250
|
-
r3 === void 0 && (r3 = false);
|
|
76251
76209
|
}, e4.prototype.setColors = function(e5) {
|
|
76252
76210
|
this._refreshCharAtlas(e5);
|
|
76253
76211
|
}, e4.prototype._setTransparency = function(e5) {
|