@arcgis/instant-apps-components-react 4.34.0-next.61 → 4.34.0-next.62
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/index.js +423 -425
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -4,12 +4,12 @@ var It = (s) => {
|
|
|
4
4
|
throw TypeError(s);
|
|
5
5
|
};
|
|
6
6
|
var ct = (s, e, t) => e.has(s) || It("Cannot " + t);
|
|
7
|
-
var L = (s, e, t) => (ct(s, e, "read from private field"), t ? t.call(s) : e.get(s)), F = (s, e, t) => e.has(s) ? It("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(s) : e.set(s, t), V = (s, e, t, o) => (ct(s, e, "write to private field"), o ? o.call(s, t) : e.set(s, t), t),
|
|
7
|
+
var L = (s, e, t) => (ct(s, e, "read from private field"), t ? t.call(s) : e.get(s)), F = (s, e, t) => e.has(s) ? It("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(s) : e.set(s, t), V = (s, e, t, o) => (ct(s, e, "write to private field"), o ? o.call(s, t) : e.set(s, t), t), me = (s, e, t) => (ct(s, e, "access private method"), t);
|
|
8
8
|
var Mt = (s, e, t) => Cn(An(s), t, e);
|
|
9
9
|
function On(s) {
|
|
10
10
|
return s && s.__esModule && Object.prototype.hasOwnProperty.call(s, "default") ? s.default : s;
|
|
11
11
|
}
|
|
12
|
-
var Qe = { exports: {} },
|
|
12
|
+
var Qe = { exports: {} }, b = {};
|
|
13
13
|
/**
|
|
14
14
|
* @license React
|
|
15
15
|
* react.production.js
|
|
@@ -21,9 +21,9 @@ var Qe = { exports: {} }, w = {};
|
|
|
21
21
|
*/
|
|
22
22
|
var jt;
|
|
23
23
|
function Sn() {
|
|
24
|
-
if (jt) return
|
|
24
|
+
if (jt) return b;
|
|
25
25
|
jt = 1;
|
|
26
|
-
var s = Symbol.for("react.transitional.element"), e = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), r = Symbol.for("react.profiler"),
|
|
26
|
+
var s = Symbol.for("react.transitional.element"), e = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), r = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), u = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), g = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), _ = Symbol.iterator;
|
|
27
27
|
function D(i) {
|
|
28
28
|
return i === null || typeof i != "object" ? null : (i = _ && i[_] || i["@@iterator"], typeof i == "function" ? i : null);
|
|
29
29
|
}
|
|
@@ -38,27 +38,27 @@ function Sn() {
|
|
|
38
38
|
enqueueSetState: function() {
|
|
39
39
|
}
|
|
40
40
|
}, I = Object.assign, Z = {};
|
|
41
|
-
function
|
|
41
|
+
function Y(i, l, E) {
|
|
42
42
|
this.props = i, this.context = l, this.refs = Z, this.updater = E || N;
|
|
43
43
|
}
|
|
44
|
-
|
|
44
|
+
Y.prototype.isReactComponent = {}, Y.prototype.setState = function(i, l) {
|
|
45
45
|
if (typeof i != "object" && typeof i != "function" && i != null)
|
|
46
46
|
throw Error(
|
|
47
47
|
"takes an object of state variables to update or a function which returns an object of state variables."
|
|
48
48
|
);
|
|
49
49
|
this.updater.enqueueSetState(this, i, l, "setState");
|
|
50
|
-
},
|
|
50
|
+
}, Y.prototype.forceUpdate = function(i) {
|
|
51
51
|
this.updater.enqueueForceUpdate(this, i, "forceUpdate");
|
|
52
52
|
};
|
|
53
53
|
function pe() {
|
|
54
54
|
}
|
|
55
|
-
pe.prototype =
|
|
55
|
+
pe.prototype = Y.prototype;
|
|
56
56
|
function Oe(i, l, E) {
|
|
57
57
|
this.props = i, this.context = l, this.refs = Z, this.updater = E || N;
|
|
58
58
|
}
|
|
59
59
|
var K = Oe.prototype = new pe();
|
|
60
|
-
K.constructor = Oe, I(K,
|
|
61
|
-
var
|
|
60
|
+
K.constructor = Oe, I(K, Y.prototype), K.isPureReactComponent = !0;
|
|
61
|
+
var Ye = Array.isArray, k = { H: null, A: null, T: null, S: null, V: null }, Se = Object.prototype.hasOwnProperty;
|
|
62
62
|
function Re(i, l, E, v, S, M) {
|
|
63
63
|
return E = M.ref, {
|
|
64
64
|
$$typeof: s,
|
|
@@ -134,7 +134,7 @@ function Sn() {
|
|
|
134
134
|
case e:
|
|
135
135
|
$ = !0;
|
|
136
136
|
break;
|
|
137
|
-
case
|
|
137
|
+
case m:
|
|
138
138
|
return $ = i._init, B(
|
|
139
139
|
$(i._payload),
|
|
140
140
|
l,
|
|
@@ -145,7 +145,7 @@ function Sn() {
|
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
if ($)
|
|
148
|
-
return S = S(i), $ = v === "" ? "." + Te(i, 0) : v,
|
|
148
|
+
return S = S(i), $ = v === "" ? "." + Te(i, 0) : v, Ye(S) ? (E = "", $ != null && (E = $.replace(j, "$&/") + "/"), B(S, l, E, "", function(ye) {
|
|
149
149
|
return ye;
|
|
150
150
|
})) : S != null && (ee(S) && (S = J(
|
|
151
151
|
S,
|
|
@@ -156,7 +156,7 @@ function Sn() {
|
|
|
156
156
|
)), l.push(S)), 1;
|
|
157
157
|
$ = 0;
|
|
158
158
|
var G = v === "" ? "." : v + ":";
|
|
159
|
-
if (
|
|
159
|
+
if (Ye(i))
|
|
160
160
|
for (var H = 0; H < i.length; H++)
|
|
161
161
|
v = i[H], M = G + Te(v, H), $ += B(
|
|
162
162
|
v,
|
|
@@ -226,9 +226,9 @@ function Sn() {
|
|
|
226
226
|
}
|
|
227
227
|
console.error(i);
|
|
228
228
|
};
|
|
229
|
-
function
|
|
229
|
+
function qe() {
|
|
230
230
|
}
|
|
231
|
-
return
|
|
231
|
+
return b.Children = {
|
|
232
232
|
map: te,
|
|
233
233
|
forEach: function(i, l, E) {
|
|
234
234
|
te(
|
|
@@ -257,16 +257,16 @@ function Sn() {
|
|
|
257
257
|
);
|
|
258
258
|
return i;
|
|
259
259
|
}
|
|
260
|
-
},
|
|
260
|
+
}, b.Component = Y, b.Fragment = t, b.Profiler = r, b.PureComponent = Oe, b.StrictMode = o, b.Suspense = h, b.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = k, b.__COMPILER_RUNTIME = {
|
|
261
261
|
__proto__: null,
|
|
262
262
|
c: function(i) {
|
|
263
263
|
return k.H.useMemoCache(i);
|
|
264
264
|
}
|
|
265
|
-
},
|
|
265
|
+
}, b.cache = function(i) {
|
|
266
266
|
return function() {
|
|
267
267
|
return i.apply(null, arguments);
|
|
268
268
|
};
|
|
269
|
-
},
|
|
269
|
+
}, b.cloneElement = function(i, l, E) {
|
|
270
270
|
if (i == null)
|
|
271
271
|
throw Error(
|
|
272
272
|
"The argument must be a React element, but you passed " + i + "."
|
|
@@ -283,7 +283,7 @@ function Sn() {
|
|
|
283
283
|
v.children = G;
|
|
284
284
|
}
|
|
285
285
|
return Re(i.type, S, void 0, void 0, M, v);
|
|
286
|
-
},
|
|
286
|
+
}, b.createContext = function(i) {
|
|
287
287
|
return i = {
|
|
288
288
|
$$typeof: u,
|
|
289
289
|
_currentValue: i,
|
|
@@ -292,10 +292,10 @@ function Sn() {
|
|
|
292
292
|
Provider: null,
|
|
293
293
|
Consumer: null
|
|
294
294
|
}, i.Provider = i, i.Consumer = {
|
|
295
|
-
$$typeof:
|
|
295
|
+
$$typeof: a,
|
|
296
296
|
_context: i
|
|
297
297
|
}, i;
|
|
298
|
-
},
|
|
298
|
+
}, b.createElement = function(i, l, E) {
|
|
299
299
|
var v, S = {}, M = null;
|
|
300
300
|
if (l != null)
|
|
301
301
|
for (v in l.key !== void 0 && (M = "" + l.key), l)
|
|
@@ -311,80 +311,80 @@ function Sn() {
|
|
|
311
311
|
for (v in $ = i.defaultProps, $)
|
|
312
312
|
S[v] === void 0 && (S[v] = $[v]);
|
|
313
313
|
return Re(i, M, void 0, void 0, null, S);
|
|
314
|
-
},
|
|
314
|
+
}, b.createRef = function() {
|
|
315
315
|
return { current: null };
|
|
316
|
-
},
|
|
316
|
+
}, b.forwardRef = function(i) {
|
|
317
317
|
return { $$typeof: p, render: i };
|
|
318
|
-
},
|
|
318
|
+
}, b.isValidElement = ee, b.lazy = function(i) {
|
|
319
319
|
return {
|
|
320
|
-
$$typeof:
|
|
320
|
+
$$typeof: m,
|
|
321
321
|
_payload: { _status: -1, _result: i },
|
|
322
322
|
_init: Ne
|
|
323
323
|
};
|
|
324
|
-
},
|
|
324
|
+
}, b.memo = function(i, l) {
|
|
325
325
|
return {
|
|
326
|
-
$$typeof:
|
|
326
|
+
$$typeof: g,
|
|
327
327
|
type: i,
|
|
328
328
|
compare: l === void 0 ? null : l
|
|
329
329
|
};
|
|
330
|
-
},
|
|
330
|
+
}, b.startTransition = function(i) {
|
|
331
331
|
var l = k.T, E = {};
|
|
332
332
|
k.T = E;
|
|
333
333
|
try {
|
|
334
334
|
var v = i(), S = k.S;
|
|
335
|
-
S !== null && S(E, v), typeof v == "object" && v !== null && typeof v.then == "function" && v.then(
|
|
335
|
+
S !== null && S(E, v), typeof v == "object" && v !== null && typeof v.then == "function" && v.then(qe, fe);
|
|
336
336
|
} catch (M) {
|
|
337
337
|
fe(M);
|
|
338
338
|
} finally {
|
|
339
339
|
k.T = l;
|
|
340
340
|
}
|
|
341
|
-
},
|
|
341
|
+
}, b.unstable_useCacheRefresh = function() {
|
|
342
342
|
return k.H.useCacheRefresh();
|
|
343
|
-
},
|
|
343
|
+
}, b.use = function(i) {
|
|
344
344
|
return k.H.use(i);
|
|
345
|
-
},
|
|
345
|
+
}, b.useActionState = function(i, l, E) {
|
|
346
346
|
return k.H.useActionState(i, l, E);
|
|
347
|
-
},
|
|
347
|
+
}, b.useCallback = function(i, l) {
|
|
348
348
|
return k.H.useCallback(i, l);
|
|
349
|
-
},
|
|
349
|
+
}, b.useContext = function(i) {
|
|
350
350
|
return k.H.useContext(i);
|
|
351
|
-
},
|
|
352
|
-
},
|
|
351
|
+
}, b.useDebugValue = function() {
|
|
352
|
+
}, b.useDeferredValue = function(i, l) {
|
|
353
353
|
return k.H.useDeferredValue(i, l);
|
|
354
|
-
},
|
|
354
|
+
}, b.useEffect = function(i, l, E) {
|
|
355
355
|
var v = k.H;
|
|
356
356
|
if (typeof E == "function")
|
|
357
357
|
throw Error(
|
|
358
358
|
"useEffect CRUD overload is not enabled in this build of React."
|
|
359
359
|
);
|
|
360
360
|
return v.useEffect(i, l);
|
|
361
|
-
},
|
|
361
|
+
}, b.useId = function() {
|
|
362
362
|
return k.H.useId();
|
|
363
|
-
},
|
|
363
|
+
}, b.useImperativeHandle = function(i, l, E) {
|
|
364
364
|
return k.H.useImperativeHandle(i, l, E);
|
|
365
|
-
},
|
|
365
|
+
}, b.useInsertionEffect = function(i, l) {
|
|
366
366
|
return k.H.useInsertionEffect(i, l);
|
|
367
|
-
},
|
|
367
|
+
}, b.useLayoutEffect = function(i, l) {
|
|
368
368
|
return k.H.useLayoutEffect(i, l);
|
|
369
|
-
},
|
|
369
|
+
}, b.useMemo = function(i, l) {
|
|
370
370
|
return k.H.useMemo(i, l);
|
|
371
|
-
},
|
|
371
|
+
}, b.useOptimistic = function(i, l) {
|
|
372
372
|
return k.H.useOptimistic(i, l);
|
|
373
|
-
},
|
|
373
|
+
}, b.useReducer = function(i, l, E) {
|
|
374
374
|
return k.H.useReducer(i, l, E);
|
|
375
|
-
},
|
|
375
|
+
}, b.useRef = function(i) {
|
|
376
376
|
return k.H.useRef(i);
|
|
377
|
-
},
|
|
377
|
+
}, b.useState = function(i) {
|
|
378
378
|
return k.H.useState(i);
|
|
379
|
-
},
|
|
379
|
+
}, b.useSyncExternalStore = function(i, l, E) {
|
|
380
380
|
return k.H.useSyncExternalStore(
|
|
381
381
|
i,
|
|
382
382
|
l,
|
|
383
383
|
E
|
|
384
384
|
);
|
|
385
|
-
},
|
|
385
|
+
}, b.useTransition = function() {
|
|
386
386
|
return k.H.useTransition();
|
|
387
|
-
},
|
|
387
|
+
}, b.version = "19.1.0", b;
|
|
388
388
|
}
|
|
389
389
|
var Pe = { exports: {} };
|
|
390
390
|
/**
|
|
@@ -401,58 +401,58 @@ var Ht;
|
|
|
401
401
|
function Rn() {
|
|
402
402
|
return Ht || (Ht = 1, function(s, e) {
|
|
403
403
|
process.env.NODE_ENV !== "production" && function() {
|
|
404
|
-
function t(n,
|
|
405
|
-
Object.defineProperty(
|
|
404
|
+
function t(n, c) {
|
|
405
|
+
Object.defineProperty(a.prototype, n, {
|
|
406
406
|
get: function() {
|
|
407
407
|
console.warn(
|
|
408
408
|
"%s(...) is deprecated in plain JavaScript React classes. %s",
|
|
409
|
-
|
|
410
|
-
|
|
409
|
+
c[0],
|
|
410
|
+
c[1]
|
|
411
411
|
);
|
|
412
412
|
}
|
|
413
413
|
});
|
|
414
414
|
}
|
|
415
415
|
function o(n) {
|
|
416
|
-
return n === null || typeof n != "object" ? null : (n =
|
|
416
|
+
return n === null || typeof n != "object" ? null : (n = wt && n[wt] || n["@@iterator"], typeof n == "function" ? n : null);
|
|
417
417
|
}
|
|
418
|
-
function r(n,
|
|
418
|
+
function r(n, c) {
|
|
419
419
|
n = (n = n.constructor) && (n.displayName || n.name) || "ReactClass";
|
|
420
|
-
var d = n + "." +
|
|
420
|
+
var d = n + "." + c;
|
|
421
421
|
$t[d] || (console.error(
|
|
422
422
|
"Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",
|
|
423
|
-
|
|
423
|
+
c,
|
|
424
424
|
n
|
|
425
425
|
), $t[d] = !0);
|
|
426
426
|
}
|
|
427
|
-
function
|
|
428
|
-
this.props = n, this.context =
|
|
427
|
+
function a(n, c, d) {
|
|
428
|
+
this.props = n, this.context = c, this.refs = it, this.updater = d || At;
|
|
429
429
|
}
|
|
430
430
|
function u() {
|
|
431
431
|
}
|
|
432
|
-
function p(n,
|
|
433
|
-
this.props = n, this.context =
|
|
432
|
+
function p(n, c, d) {
|
|
433
|
+
this.props = n, this.context = c, this.refs = it, this.updater = d || At;
|
|
434
434
|
}
|
|
435
435
|
function h(n) {
|
|
436
436
|
return "" + n;
|
|
437
437
|
}
|
|
438
|
-
function
|
|
438
|
+
function g(n) {
|
|
439
439
|
try {
|
|
440
440
|
h(n);
|
|
441
|
-
var
|
|
441
|
+
var c = !1;
|
|
442
442
|
} catch {
|
|
443
|
-
|
|
443
|
+
c = !0;
|
|
444
444
|
}
|
|
445
|
-
if (
|
|
446
|
-
|
|
447
|
-
var d =
|
|
445
|
+
if (c) {
|
|
446
|
+
c = console;
|
|
447
|
+
var d = c.error, f = typeof Symbol == "function" && Symbol.toStringTag && n[Symbol.toStringTag] || n.constructor.name || "Object";
|
|
448
448
|
return d.call(
|
|
449
|
-
|
|
449
|
+
c,
|
|
450
450
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
451
451
|
f
|
|
452
452
|
), h(n);
|
|
453
453
|
}
|
|
454
454
|
}
|
|
455
|
-
function
|
|
455
|
+
function m(n) {
|
|
456
456
|
if (n == null) return null;
|
|
457
457
|
if (typeof n == "function")
|
|
458
458
|
return n.$$typeof === En ? null : n.displayName || n.name || null;
|
|
@@ -475,21 +475,21 @@ function Rn() {
|
|
|
475
475
|
switch (typeof n.tag == "number" && console.error(
|
|
476
476
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
477
477
|
), n.$$typeof) {
|
|
478
|
-
case
|
|
478
|
+
case qe:
|
|
479
479
|
return "Portal";
|
|
480
480
|
case S:
|
|
481
481
|
return (n.displayName || "Context") + ".Provider";
|
|
482
482
|
case v:
|
|
483
483
|
return (n._context.displayName || "Context") + ".Consumer";
|
|
484
484
|
case M:
|
|
485
|
-
var
|
|
486
|
-
return n = n.displayName, n || (n =
|
|
485
|
+
var c = n.render;
|
|
486
|
+
return n = n.displayName, n || (n = c.displayName || c.name || "", n = n !== "" ? "ForwardRef(" + n + ")" : "ForwardRef"), n;
|
|
487
487
|
case H:
|
|
488
|
-
return
|
|
488
|
+
return c = n.displayName || null, c !== null ? c : m(n.type) || "Memo";
|
|
489
489
|
case ye:
|
|
490
|
-
|
|
490
|
+
c = n._payload, n = n._init;
|
|
491
491
|
try {
|
|
492
|
-
return
|
|
492
|
+
return m(n(c));
|
|
493
493
|
} catch {
|
|
494
494
|
}
|
|
495
495
|
}
|
|
@@ -500,8 +500,8 @@ function Rn() {
|
|
|
500
500
|
if (typeof n == "object" && n !== null && n.$$typeof === ye)
|
|
501
501
|
return "<...>";
|
|
502
502
|
try {
|
|
503
|
-
var
|
|
504
|
-
return
|
|
503
|
+
var c = m(n);
|
|
504
|
+
return c ? "<" + c + ">" : "<...>";
|
|
505
505
|
} catch {
|
|
506
506
|
return "<...>";
|
|
507
507
|
}
|
|
@@ -515,16 +515,16 @@ function Rn() {
|
|
|
515
515
|
}
|
|
516
516
|
function I(n) {
|
|
517
517
|
if (Be.call(n, "key")) {
|
|
518
|
-
var
|
|
519
|
-
if (
|
|
518
|
+
var c = Object.getOwnPropertyDescriptor(n, "key").get;
|
|
519
|
+
if (c && c.isReactWarning) return !1;
|
|
520
520
|
}
|
|
521
521
|
return n.key !== void 0;
|
|
522
522
|
}
|
|
523
|
-
function Z(n,
|
|
523
|
+
function Z(n, c) {
|
|
524
524
|
function d() {
|
|
525
525
|
Rt || (Rt = !0, console.error(
|
|
526
526
|
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
527
|
-
|
|
527
|
+
c
|
|
528
528
|
));
|
|
529
529
|
}
|
|
530
530
|
d.isReactWarning = !0, Object.defineProperty(n, "key", {
|
|
@@ -532,22 +532,22 @@ function Rn() {
|
|
|
532
532
|
configurable: !0
|
|
533
533
|
});
|
|
534
534
|
}
|
|
535
|
-
function
|
|
536
|
-
var n =
|
|
535
|
+
function Y() {
|
|
536
|
+
var n = m(this.type);
|
|
537
537
|
return Nt[n] || (Nt[n] = !0, console.error(
|
|
538
538
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
539
539
|
)), n = this.props.ref, n !== void 0 ? n : null;
|
|
540
540
|
}
|
|
541
|
-
function pe(n,
|
|
541
|
+
function pe(n, c, d, f, y, O, w, P) {
|
|
542
542
|
return d = O.ref, n = {
|
|
543
543
|
$$typeof: fe,
|
|
544
544
|
type: n,
|
|
545
|
-
key:
|
|
545
|
+
key: c,
|
|
546
546
|
props: O,
|
|
547
547
|
_owner: y
|
|
548
548
|
}, (d !== void 0 ? d : null) !== null ? Object.defineProperty(n, "ref", {
|
|
549
549
|
enumerable: !1,
|
|
550
|
-
get:
|
|
550
|
+
get: Y
|
|
551
551
|
}) : Object.defineProperty(n, "ref", { enumerable: !1, value: null }), n._store = {}, Object.defineProperty(n._store, "validated", {
|
|
552
552
|
configurable: !1,
|
|
553
553
|
enumerable: !1,
|
|
@@ -562,7 +562,7 @@ function Rn() {
|
|
|
562
562
|
configurable: !1,
|
|
563
563
|
enumerable: !1,
|
|
564
564
|
writable: !0,
|
|
565
|
-
value:
|
|
565
|
+
value: w
|
|
566
566
|
}), Object.defineProperty(n, "_debugTask", {
|
|
567
567
|
configurable: !1,
|
|
568
568
|
enumerable: !1,
|
|
@@ -570,29 +570,29 @@ function Rn() {
|
|
|
570
570
|
value: P
|
|
571
571
|
}), Object.freeze && (Object.freeze(n.props), Object.freeze(n)), n;
|
|
572
572
|
}
|
|
573
|
-
function Oe(n,
|
|
574
|
-
return
|
|
573
|
+
function Oe(n, c) {
|
|
574
|
+
return c = pe(
|
|
575
575
|
n.type,
|
|
576
|
-
|
|
576
|
+
c,
|
|
577
577
|
void 0,
|
|
578
578
|
void 0,
|
|
579
579
|
n._owner,
|
|
580
580
|
n.props,
|
|
581
581
|
n._debugStack,
|
|
582
582
|
n._debugTask
|
|
583
|
-
), n._store && (
|
|
583
|
+
), n._store && (c._store.validated = n._store.validated), c;
|
|
584
584
|
}
|
|
585
585
|
function K(n) {
|
|
586
586
|
return typeof n == "object" && n !== null && n.$$typeof === fe;
|
|
587
587
|
}
|
|
588
|
-
function
|
|
589
|
-
var
|
|
588
|
+
function Ye(n) {
|
|
589
|
+
var c = { "=": "=0", ":": "=2" };
|
|
590
590
|
return "$" + n.replace(/[=:]/g, function(d) {
|
|
591
|
-
return
|
|
591
|
+
return c[d];
|
|
592
592
|
});
|
|
593
593
|
}
|
|
594
|
-
function k(n,
|
|
595
|
-
return typeof n == "object" && n !== null && n.key != null ? (
|
|
594
|
+
function k(n, c) {
|
|
595
|
+
return typeof n == "object" && n !== null && n.key != null ? (g(n.key), Ye("" + n.key)) : c.toString(36);
|
|
596
596
|
}
|
|
597
597
|
function Se() {
|
|
598
598
|
}
|
|
@@ -604,11 +604,11 @@ function Rn() {
|
|
|
604
604
|
throw n.reason;
|
|
605
605
|
default:
|
|
606
606
|
switch (typeof n.status == "string" ? n.then(Se, Se) : (n.status = "pending", n.then(
|
|
607
|
-
function(
|
|
608
|
-
n.status === "pending" && (n.status = "fulfilled", n.value =
|
|
607
|
+
function(c) {
|
|
608
|
+
n.status === "pending" && (n.status = "fulfilled", n.value = c);
|
|
609
609
|
},
|
|
610
|
-
function(
|
|
611
|
-
n.status === "pending" && (n.status = "rejected", n.reason =
|
|
610
|
+
function(c) {
|
|
611
|
+
n.status === "pending" && (n.status = "rejected", n.reason = c);
|
|
612
612
|
}
|
|
613
613
|
)), n.status) {
|
|
614
614
|
case "fulfilled":
|
|
@@ -619,52 +619,52 @@ function Rn() {
|
|
|
619
619
|
}
|
|
620
620
|
throw n;
|
|
621
621
|
}
|
|
622
|
-
function J(n,
|
|
622
|
+
function J(n, c, d, f, y) {
|
|
623
623
|
var O = typeof n;
|
|
624
624
|
(O === "undefined" || O === "boolean") && (n = null);
|
|
625
|
-
var
|
|
626
|
-
if (n === null)
|
|
625
|
+
var w = !1;
|
|
626
|
+
if (n === null) w = !0;
|
|
627
627
|
else
|
|
628
628
|
switch (O) {
|
|
629
629
|
case "bigint":
|
|
630
630
|
case "string":
|
|
631
631
|
case "number":
|
|
632
|
-
|
|
632
|
+
w = !0;
|
|
633
633
|
break;
|
|
634
634
|
case "object":
|
|
635
635
|
switch (n.$$typeof) {
|
|
636
636
|
case fe:
|
|
637
|
-
case
|
|
638
|
-
|
|
637
|
+
case qe:
|
|
638
|
+
w = !0;
|
|
639
639
|
break;
|
|
640
640
|
case ye:
|
|
641
|
-
return
|
|
642
|
-
|
|
643
|
-
|
|
641
|
+
return w = n._init, J(
|
|
642
|
+
w(n._payload),
|
|
643
|
+
c,
|
|
644
644
|
d,
|
|
645
645
|
f,
|
|
646
646
|
y
|
|
647
647
|
);
|
|
648
648
|
}
|
|
649
649
|
}
|
|
650
|
-
if (
|
|
651
|
-
|
|
652
|
-
var P = f === "" ? "." + k(
|
|
653
|
-
return Ot(y) ? (d = "", P != null && (d = P.replace(Pt, "$&/") + "/"), J(y,
|
|
650
|
+
if (w) {
|
|
651
|
+
w = n, y = y(w);
|
|
652
|
+
var P = f === "" ? "." + k(w, 0) : f;
|
|
653
|
+
return Ot(y) ? (d = "", P != null && (d = P.replace(Pt, "$&/") + "/"), J(y, c, d, "", function(ne) {
|
|
654
654
|
return ne;
|
|
655
|
-
})) : y != null && (K(y) && (y.key != null && (
|
|
655
|
+
})) : y != null && (K(y) && (y.key != null && (w && w.key === y.key || g(y.key)), d = Oe(
|
|
656
656
|
y,
|
|
657
|
-
d + (y.key == null ||
|
|
657
|
+
d + (y.key == null || w && w.key === y.key ? "" : ("" + y.key).replace(
|
|
658
658
|
Pt,
|
|
659
659
|
"$&/"
|
|
660
660
|
) + "/") + P
|
|
661
|
-
), f !== "" &&
|
|
661
|
+
), f !== "" && w != null && K(w) && w.key == null && w._store && !w._store.validated && (d._store.validated = 2), y = d), c.push(y)), 1;
|
|
662
662
|
}
|
|
663
|
-
if (
|
|
663
|
+
if (w = 0, P = f === "" ? "." : f + ":", Ot(n))
|
|
664
664
|
for (var A = 0; A < n.length; A++)
|
|
665
|
-
f = n[A], O = P + k(f, A),
|
|
665
|
+
f = n[A], O = P + k(f, A), w += J(
|
|
666
666
|
f,
|
|
667
|
-
|
|
667
|
+
c,
|
|
668
668
|
d,
|
|
669
669
|
O,
|
|
670
670
|
y
|
|
@@ -673,9 +673,9 @@ function Rn() {
|
|
|
673
673
|
for (A === n.entries && (Lt || console.warn(
|
|
674
674
|
"Using Maps as children is not supported. Use an array of keyed ReactElements instead."
|
|
675
675
|
), Lt = !0), n = A.call(n), A = 0; !(f = n.next()).done; )
|
|
676
|
-
f = f.value, O = P + k(f, A++),
|
|
676
|
+
f = f.value, O = P + k(f, A++), w += J(
|
|
677
677
|
f,
|
|
678
|
-
|
|
678
|
+
c,
|
|
679
679
|
d,
|
|
680
680
|
O,
|
|
681
681
|
y
|
|
@@ -684,52 +684,52 @@ function Rn() {
|
|
|
684
684
|
if (typeof n.then == "function")
|
|
685
685
|
return J(
|
|
686
686
|
Re(n),
|
|
687
|
-
|
|
687
|
+
c,
|
|
688
688
|
d,
|
|
689
689
|
f,
|
|
690
690
|
y
|
|
691
691
|
);
|
|
692
|
-
throw
|
|
693
|
-
"Objects are not valid as a React child (found: " + (
|
|
692
|
+
throw c = String(n), Error(
|
|
693
|
+
"Objects are not valid as a React child (found: " + (c === "[object Object]" ? "object with keys {" + Object.keys(n).join(", ") + "}" : c) + "). If you meant to render a collection of children, use an array instead."
|
|
694
694
|
);
|
|
695
695
|
}
|
|
696
|
-
return
|
|
696
|
+
return w;
|
|
697
697
|
}
|
|
698
|
-
function ee(n,
|
|
698
|
+
function ee(n, c, d) {
|
|
699
699
|
if (n == null) return n;
|
|
700
700
|
var f = [], y = 0;
|
|
701
701
|
return J(n, f, "", "", function(O) {
|
|
702
|
-
return
|
|
702
|
+
return c.call(d, O, y++);
|
|
703
703
|
}), f;
|
|
704
704
|
}
|
|
705
705
|
function st(n) {
|
|
706
706
|
if (n._status === -1) {
|
|
707
|
-
var
|
|
708
|
-
|
|
707
|
+
var c = n._result;
|
|
708
|
+
c = c(), c.then(
|
|
709
709
|
function(d) {
|
|
710
710
|
(n._status === 0 || n._status === -1) && (n._status = 1, n._result = d);
|
|
711
711
|
},
|
|
712
712
|
function(d) {
|
|
713
713
|
(n._status === 0 || n._status === -1) && (n._status = 2, n._result = d);
|
|
714
714
|
}
|
|
715
|
-
), n._status === -1 && (n._status = 0, n._result =
|
|
715
|
+
), n._status === -1 && (n._status = 0, n._result = c);
|
|
716
716
|
}
|
|
717
717
|
if (n._status === 1)
|
|
718
|
-
return
|
|
718
|
+
return c = n._result, c === void 0 && console.error(
|
|
719
719
|
`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
720
720
|
|
|
721
721
|
Your code should look like:
|
|
722
722
|
const MyComponent = lazy(() => import('./MyComponent'))
|
|
723
723
|
|
|
724
724
|
Did you accidentally put curly braces around the import?`,
|
|
725
|
-
|
|
726
|
-
), "default" in
|
|
725
|
+
c
|
|
726
|
+
), "default" in c || console.error(
|
|
727
727
|
`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
728
728
|
|
|
729
729
|
Your code should look like:
|
|
730
730
|
const MyComponent = lazy(() => import('./MyComponent'))`,
|
|
731
|
-
|
|
732
|
-
),
|
|
731
|
+
c
|
|
732
|
+
), c.default;
|
|
733
733
|
throw n._result;
|
|
734
734
|
}
|
|
735
735
|
function j() {
|
|
@@ -747,8 +747,8 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
747
747
|
function se(n) {
|
|
748
748
|
if (Fe === null)
|
|
749
749
|
try {
|
|
750
|
-
var
|
|
751
|
-
Fe = (s && s[
|
|
750
|
+
var c = ("require" + Math.random()).slice(0, 7);
|
|
751
|
+
Fe = (s && s[c]).call(
|
|
752
752
|
s,
|
|
753
753
|
"timers"
|
|
754
754
|
).setImmediate;
|
|
@@ -766,39 +766,39 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
766
766
|
function ie(n) {
|
|
767
767
|
return 1 < n.length && typeof AggregateError == "function" ? new AggregateError(n) : n[0];
|
|
768
768
|
}
|
|
769
|
-
function B(n,
|
|
770
|
-
|
|
769
|
+
function B(n, c) {
|
|
770
|
+
c !== Ke - 1 && console.error(
|
|
771
771
|
"You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "
|
|
772
|
-
), Ke =
|
|
772
|
+
), Ke = c;
|
|
773
773
|
}
|
|
774
|
-
function te(n,
|
|
774
|
+
function te(n, c, d) {
|
|
775
775
|
var f = C.actQueue;
|
|
776
776
|
if (f !== null)
|
|
777
777
|
if (f.length !== 0)
|
|
778
778
|
try {
|
|
779
779
|
Ne(f), se(function() {
|
|
780
|
-
return te(n,
|
|
780
|
+
return te(n, c, d);
|
|
781
781
|
});
|
|
782
782
|
return;
|
|
783
783
|
} catch (y) {
|
|
784
784
|
C.thrownErrors.push(y);
|
|
785
785
|
}
|
|
786
786
|
else C.actQueue = null;
|
|
787
|
-
0 < C.thrownErrors.length ? (f = ie(C.thrownErrors), C.thrownErrors.length = 0, d(f)) :
|
|
787
|
+
0 < C.thrownErrors.length ? (f = ie(C.thrownErrors), C.thrownErrors.length = 0, d(f)) : c(n);
|
|
788
788
|
}
|
|
789
789
|
function Ne(n) {
|
|
790
790
|
if (!at) {
|
|
791
791
|
at = !0;
|
|
792
|
-
var
|
|
792
|
+
var c = 0;
|
|
793
793
|
try {
|
|
794
|
-
for (;
|
|
795
|
-
var d = n[
|
|
794
|
+
for (; c < n.length; c++) {
|
|
795
|
+
var d = n[c];
|
|
796
796
|
do {
|
|
797
797
|
C.didUsePromise = !1;
|
|
798
798
|
var f = d(!1);
|
|
799
799
|
if (f !== null) {
|
|
800
800
|
if (C.didUsePromise) {
|
|
801
|
-
n[
|
|
801
|
+
n[c] = d, n.splice(0, c);
|
|
802
802
|
return;
|
|
803
803
|
}
|
|
804
804
|
d = f;
|
|
@@ -807,14 +807,14 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
807
807
|
}
|
|
808
808
|
n.length = 0;
|
|
809
809
|
} catch (y) {
|
|
810
|
-
n.splice(0,
|
|
810
|
+
n.splice(0, c + 1), C.thrownErrors.push(y);
|
|
811
811
|
} finally {
|
|
812
812
|
at = !1;
|
|
813
813
|
}
|
|
814
814
|
}
|
|
815
815
|
}
|
|
816
816
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
817
|
-
var fe = Symbol.for("react.transitional.element"),
|
|
817
|
+
var fe = Symbol.for("react.transitional.element"), qe = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), E = Symbol.for("react.profiler"), v = Symbol.for("react.consumer"), S = Symbol.for("react.context"), M = Symbol.for("react.forward_ref"), $ = Symbol.for("react.suspense"), G = Symbol.for("react.suspense_list"), H = Symbol.for("react.memo"), ye = Symbol.for("react.lazy"), vn = Symbol.for("react.activity"), wt = Symbol.iterator, $t = {}, At = {
|
|
818
818
|
isMounted: function() {
|
|
819
819
|
return !1;
|
|
820
820
|
},
|
|
@@ -828,16 +828,16 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
828
828
|
r(n, "setState");
|
|
829
829
|
}
|
|
830
830
|
}, Ct = Object.assign, it = {};
|
|
831
|
-
Object.freeze(it),
|
|
831
|
+
Object.freeze(it), a.prototype.isReactComponent = {}, a.prototype.setState = function(n, c) {
|
|
832
832
|
if (typeof n != "object" && typeof n != "function" && n != null)
|
|
833
833
|
throw Error(
|
|
834
834
|
"takes an object of state variables to update or a function which returns an object of state variables."
|
|
835
835
|
);
|
|
836
|
-
this.updater.enqueueSetState(this, n,
|
|
837
|
-
},
|
|
836
|
+
this.updater.enqueueSetState(this, n, c, "setState");
|
|
837
|
+
}, a.prototype.forceUpdate = function(n) {
|
|
838
838
|
this.updater.enqueueForceUpdate(this, n, "forceUpdate");
|
|
839
839
|
};
|
|
840
|
-
var
|
|
840
|
+
var q = {
|
|
841
841
|
isMounted: [
|
|
842
842
|
"isMounted",
|
|
843
843
|
"Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."
|
|
@@ -847,9 +847,9 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
847
847
|
"Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."
|
|
848
848
|
]
|
|
849
849
|
}, Ve;
|
|
850
|
-
for (Ve in
|
|
851
|
-
|
|
852
|
-
u.prototype =
|
|
850
|
+
for (Ve in q)
|
|
851
|
+
q.hasOwnProperty(Ve) && t(Ve, q[Ve]);
|
|
852
|
+
u.prototype = a.prototype, q = p.prototype = new u(), q.constructor = p, Ct(q, a.prototype), q.isPureReactComponent = !0;
|
|
853
853
|
var Ot = Array.isArray, En = Symbol.for("react.client.reference"), C = {
|
|
854
854
|
H: null,
|
|
855
855
|
A: null,
|
|
@@ -866,20 +866,20 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
866
866
|
}, Be = Object.prototype.hasOwnProperty, St = console.createTask ? console.createTask : function() {
|
|
867
867
|
return null;
|
|
868
868
|
};
|
|
869
|
-
|
|
869
|
+
q = {
|
|
870
870
|
"react-stack-bottom-frame": function(n) {
|
|
871
871
|
return n();
|
|
872
872
|
}
|
|
873
873
|
};
|
|
874
|
-
var Rt, Tt, Nt = {}, _n =
|
|
874
|
+
var Rt, Tt, Nt = {}, _n = q["react-stack-bottom-frame"].bind(q, N)(), bn = St(_(N)), Lt = !1, Pt = /\/+/g, kt = typeof reportError == "function" ? reportError : function(n) {
|
|
875
875
|
if (typeof window == "object" && typeof window.ErrorEvent == "function") {
|
|
876
|
-
var
|
|
876
|
+
var c = new window.ErrorEvent("error", {
|
|
877
877
|
bubbles: !0,
|
|
878
878
|
cancelable: !0,
|
|
879
879
|
message: typeof n == "object" && n !== null && typeof n.message == "string" ? String(n.message) : String(n),
|
|
880
880
|
error: n
|
|
881
881
|
});
|
|
882
|
-
if (!window.dispatchEvent(
|
|
882
|
+
if (!window.dispatchEvent(c)) return;
|
|
883
883
|
} else if (typeof process == "object" && typeof process.emit == "function") {
|
|
884
884
|
process.emit("uncaughtException", n);
|
|
885
885
|
return;
|
|
@@ -890,31 +890,31 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
890
890
|
return queueMicrotask(n);
|
|
891
891
|
});
|
|
892
892
|
} : se;
|
|
893
|
-
|
|
893
|
+
q = Object.freeze({
|
|
894
894
|
__proto__: null,
|
|
895
895
|
c: function(n) {
|
|
896
896
|
return j().useMemoCache(n);
|
|
897
897
|
}
|
|
898
898
|
}), e.Children = {
|
|
899
899
|
map: ee,
|
|
900
|
-
forEach: function(n,
|
|
900
|
+
forEach: function(n, c, d) {
|
|
901
901
|
ee(
|
|
902
902
|
n,
|
|
903
903
|
function() {
|
|
904
|
-
|
|
904
|
+
c.apply(this, arguments);
|
|
905
905
|
},
|
|
906
906
|
d
|
|
907
907
|
);
|
|
908
908
|
},
|
|
909
909
|
count: function(n) {
|
|
910
|
-
var
|
|
910
|
+
var c = 0;
|
|
911
911
|
return ee(n, function() {
|
|
912
|
-
|
|
913
|
-
}),
|
|
912
|
+
c++;
|
|
913
|
+
}), c;
|
|
914
914
|
},
|
|
915
915
|
toArray: function(n) {
|
|
916
|
-
return ee(n, function(
|
|
917
|
-
return
|
|
916
|
+
return ee(n, function(c) {
|
|
917
|
+
return c;
|
|
918
918
|
}) || [];
|
|
919
919
|
},
|
|
920
920
|
only: function(n) {
|
|
@@ -924,32 +924,32 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
924
924
|
);
|
|
925
925
|
return n;
|
|
926
926
|
}
|
|
927
|
-
}, e.Component =
|
|
928
|
-
var
|
|
927
|
+
}, e.Component = a, e.Fragment = i, e.Profiler = E, e.PureComponent = p, e.StrictMode = l, e.Suspense = $, e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = C, e.__COMPILER_RUNTIME = q, e.act = function(n) {
|
|
928
|
+
var c = C.actQueue, d = Ke;
|
|
929
929
|
Ke++;
|
|
930
|
-
var f = C.actQueue =
|
|
930
|
+
var f = C.actQueue = c !== null ? c : [], y = !1;
|
|
931
931
|
try {
|
|
932
932
|
var O = n();
|
|
933
933
|
} catch (A) {
|
|
934
934
|
C.thrownErrors.push(A);
|
|
935
935
|
}
|
|
936
936
|
if (0 < C.thrownErrors.length)
|
|
937
|
-
throw B(
|
|
937
|
+
throw B(c, d), n = ie(C.thrownErrors), C.thrownErrors.length = 0, n;
|
|
938
938
|
if (O !== null && typeof O == "object" && typeof O.then == "function") {
|
|
939
|
-
var
|
|
939
|
+
var w = O;
|
|
940
940
|
return Ut(function() {
|
|
941
941
|
y || Ge || (Ge = !0, console.error(
|
|
942
942
|
"You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"
|
|
943
943
|
));
|
|
944
944
|
}), {
|
|
945
945
|
then: function(A, ne) {
|
|
946
|
-
y = !0,
|
|
947
|
-
function(
|
|
948
|
-
if (B(
|
|
946
|
+
y = !0, w.then(
|
|
947
|
+
function(ge) {
|
|
948
|
+
if (B(c, d), d === 0) {
|
|
949
949
|
try {
|
|
950
950
|
Ne(f), se(function() {
|
|
951
951
|
return te(
|
|
952
|
-
|
|
952
|
+
ge,
|
|
953
953
|
A,
|
|
954
954
|
ne
|
|
955
955
|
);
|
|
@@ -958,24 +958,24 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
958
958
|
C.thrownErrors.push($n);
|
|
959
959
|
}
|
|
960
960
|
if (0 < C.thrownErrors.length) {
|
|
961
|
-
var
|
|
961
|
+
var wn = ie(
|
|
962
962
|
C.thrownErrors
|
|
963
963
|
);
|
|
964
|
-
C.thrownErrors.length = 0, ne(
|
|
964
|
+
C.thrownErrors.length = 0, ne(wn);
|
|
965
965
|
}
|
|
966
|
-
} else A(
|
|
966
|
+
} else A(ge);
|
|
967
967
|
},
|
|
968
|
-
function(
|
|
969
|
-
B(
|
|
968
|
+
function(ge) {
|
|
969
|
+
B(c, d), 0 < C.thrownErrors.length && (ge = ie(
|
|
970
970
|
C.thrownErrors
|
|
971
|
-
), C.thrownErrors.length = 0), ne(
|
|
971
|
+
), C.thrownErrors.length = 0), ne(ge);
|
|
972
972
|
}
|
|
973
973
|
);
|
|
974
974
|
}
|
|
975
975
|
};
|
|
976
976
|
}
|
|
977
977
|
var P = O;
|
|
978
|
-
if (B(
|
|
978
|
+
if (B(c, d), d === 0 && (Ne(f), f.length !== 0 && Ut(function() {
|
|
979
979
|
y || Ge || (Ge = !0, console.error(
|
|
980
980
|
"A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"
|
|
981
981
|
));
|
|
@@ -999,35 +999,35 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
999
999
|
}, e.captureOwnerStack = function() {
|
|
1000
1000
|
var n = C.getCurrentStack;
|
|
1001
1001
|
return n === null ? null : n();
|
|
1002
|
-
}, e.cloneElement = function(n,
|
|
1002
|
+
}, e.cloneElement = function(n, c, d) {
|
|
1003
1003
|
if (n == null)
|
|
1004
1004
|
throw Error(
|
|
1005
1005
|
"The argument must be a React element, but you passed " + n + "."
|
|
1006
1006
|
);
|
|
1007
1007
|
var f = Ct({}, n.props), y = n.key, O = n._owner;
|
|
1008
|
-
if (
|
|
1009
|
-
var
|
|
1008
|
+
if (c != null) {
|
|
1009
|
+
var w;
|
|
1010
1010
|
e: {
|
|
1011
|
-
if (Be.call(
|
|
1012
|
-
|
|
1011
|
+
if (Be.call(c, "ref") && (w = Object.getOwnPropertyDescriptor(
|
|
1012
|
+
c,
|
|
1013
1013
|
"ref"
|
|
1014
|
-
).get) &&
|
|
1015
|
-
|
|
1014
|
+
).get) && w.isReactWarning) {
|
|
1015
|
+
w = !1;
|
|
1016
1016
|
break e;
|
|
1017
1017
|
}
|
|
1018
|
-
|
|
1018
|
+
w = c.ref !== void 0;
|
|
1019
1019
|
}
|
|
1020
|
-
|
|
1021
|
-
for (P in
|
|
1022
|
-
!Be.call(
|
|
1020
|
+
w && (O = D()), I(c) && (g(c.key), y = "" + c.key);
|
|
1021
|
+
for (P in c)
|
|
1022
|
+
!Be.call(c, P) || P === "key" || P === "__self" || P === "__source" || P === "ref" && c.ref === void 0 || (f[P] = c[P]);
|
|
1023
1023
|
}
|
|
1024
1024
|
var P = arguments.length - 2;
|
|
1025
1025
|
if (P === 1) f.children = d;
|
|
1026
1026
|
else if (1 < P) {
|
|
1027
|
-
|
|
1027
|
+
w = Array(P);
|
|
1028
1028
|
for (var A = 0; A < P; A++)
|
|
1029
|
-
|
|
1030
|
-
f.children =
|
|
1029
|
+
w[A] = arguments[A + 2];
|
|
1030
|
+
f.children = w;
|
|
1031
1031
|
}
|
|
1032
1032
|
for (f = pe(
|
|
1033
1033
|
n.type,
|
|
@@ -1053,22 +1053,22 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
1053
1053
|
$$typeof: v,
|
|
1054
1054
|
_context: n
|
|
1055
1055
|
}, n._currentRenderer = null, n._currentRenderer2 = null, n;
|
|
1056
|
-
}, e.createElement = function(n,
|
|
1056
|
+
}, e.createElement = function(n, c, d) {
|
|
1057
1057
|
for (var f = 2; f < arguments.length; f++) {
|
|
1058
1058
|
var y = arguments[f];
|
|
1059
1059
|
K(y) && y._store && (y._store.validated = 1);
|
|
1060
1060
|
}
|
|
1061
|
-
if (f = {}, y = null,
|
|
1062
|
-
for (A in Tt || !("__self" in
|
|
1061
|
+
if (f = {}, y = null, c != null)
|
|
1062
|
+
for (A in Tt || !("__self" in c) || "key" in c || (Tt = !0, console.warn(
|
|
1063
1063
|
"Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform"
|
|
1064
|
-
)), I(
|
|
1065
|
-
Be.call(
|
|
1064
|
+
)), I(c) && (g(c.key), y = "" + c.key), c)
|
|
1065
|
+
Be.call(c, A) && A !== "key" && A !== "__self" && A !== "__source" && (f[A] = c[A]);
|
|
1066
1066
|
var O = arguments.length - 2;
|
|
1067
1067
|
if (O === 1) f.children = d;
|
|
1068
1068
|
else if (1 < O) {
|
|
1069
|
-
for (var
|
|
1070
|
-
|
|
1071
|
-
Object.freeze && Object.freeze(
|
|
1069
|
+
for (var w = Array(O), P = 0; P < O; P++)
|
|
1070
|
+
w[P] = arguments[P + 2];
|
|
1071
|
+
Object.freeze && Object.freeze(w), f.children = w;
|
|
1072
1072
|
}
|
|
1073
1073
|
if (n && n.defaultProps)
|
|
1074
1074
|
for (A in O = n.defaultProps, O)
|
|
@@ -1086,7 +1086,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
1086
1086
|
D(),
|
|
1087
1087
|
f,
|
|
1088
1088
|
A ? Error("react-stack-top-frame") : _n,
|
|
1089
|
-
A ? St(_(n)) :
|
|
1089
|
+
A ? St(_(n)) : bn
|
|
1090
1090
|
);
|
|
1091
1091
|
}, e.createRef = function() {
|
|
1092
1092
|
var n = { current: null };
|
|
@@ -1103,8 +1103,8 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
1103
1103
|
), n != null && n.defaultProps != null && console.error(
|
|
1104
1104
|
"forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?"
|
|
1105
1105
|
);
|
|
1106
|
-
var
|
|
1107
|
-
return Object.defineProperty(
|
|
1106
|
+
var c = { $$typeof: M, render: n }, d;
|
|
1107
|
+
return Object.defineProperty(c, "displayName", {
|
|
1108
1108
|
enumerable: !1,
|
|
1109
1109
|
configurable: !0,
|
|
1110
1110
|
get: function() {
|
|
@@ -1113,24 +1113,24 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
1113
1113
|
set: function(f) {
|
|
1114
1114
|
d = f, n.name || n.displayName || (Object.defineProperty(n, "name", { value: f }), n.displayName = f);
|
|
1115
1115
|
}
|
|
1116
|
-
}),
|
|
1116
|
+
}), c;
|
|
1117
1117
|
}, e.isValidElement = K, e.lazy = function(n) {
|
|
1118
1118
|
return {
|
|
1119
1119
|
$$typeof: ye,
|
|
1120
1120
|
_payload: { _status: -1, _result: n },
|
|
1121
1121
|
_init: st
|
|
1122
1122
|
};
|
|
1123
|
-
}, e.memo = function(n,
|
|
1123
|
+
}, e.memo = function(n, c) {
|
|
1124
1124
|
n == null && console.error(
|
|
1125
1125
|
"memo: The first argument must be a component. Instead received: %s",
|
|
1126
1126
|
n === null ? "null" : typeof n
|
|
1127
|
-
),
|
|
1127
|
+
), c = {
|
|
1128
1128
|
$$typeof: H,
|
|
1129
1129
|
type: n,
|
|
1130
|
-
compare:
|
|
1130
|
+
compare: c === void 0 ? null : c
|
|
1131
1131
|
};
|
|
1132
1132
|
var d;
|
|
1133
|
-
return Object.defineProperty(
|
|
1133
|
+
return Object.defineProperty(c, "displayName", {
|
|
1134
1134
|
enumerable: !1,
|
|
1135
1135
|
configurable: !0,
|
|
1136
1136
|
get: function() {
|
|
@@ -1139,9 +1139,9 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
1139
1139
|
set: function(f) {
|
|
1140
1140
|
d = f, n.name || n.displayName || (Object.defineProperty(n, "name", { value: f }), n.displayName = f);
|
|
1141
1141
|
}
|
|
1142
|
-
}),
|
|
1142
|
+
}), c;
|
|
1143
1143
|
}, e.startTransition = function(n) {
|
|
1144
|
-
var
|
|
1144
|
+
var c = C.T, d = {};
|
|
1145
1145
|
C.T = d, d._updatedFibers = /* @__PURE__ */ new Set();
|
|
1146
1146
|
try {
|
|
1147
1147
|
var f = n(), y = C.S;
|
|
@@ -1149,32 +1149,32 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
1149
1149
|
} catch (O) {
|
|
1150
1150
|
kt(O);
|
|
1151
1151
|
} finally {
|
|
1152
|
-
|
|
1152
|
+
c === null && d._updatedFibers && (n = d._updatedFibers.size, d._updatedFibers.clear(), 10 < n && console.warn(
|
|
1153
1153
|
"Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
|
|
1154
|
-
)), C.T =
|
|
1154
|
+
)), C.T = c;
|
|
1155
1155
|
}
|
|
1156
1156
|
}, e.unstable_useCacheRefresh = function() {
|
|
1157
1157
|
return j().useCacheRefresh();
|
|
1158
1158
|
}, e.use = function(n) {
|
|
1159
1159
|
return j().use(n);
|
|
1160
|
-
}, e.useActionState = function(n,
|
|
1160
|
+
}, e.useActionState = function(n, c, d) {
|
|
1161
1161
|
return j().useActionState(
|
|
1162
1162
|
n,
|
|
1163
|
-
|
|
1163
|
+
c,
|
|
1164
1164
|
d
|
|
1165
1165
|
);
|
|
1166
|
-
}, e.useCallback = function(n,
|
|
1167
|
-
return j().useCallback(n,
|
|
1166
|
+
}, e.useCallback = function(n, c) {
|
|
1167
|
+
return j().useCallback(n, c);
|
|
1168
1168
|
}, e.useContext = function(n) {
|
|
1169
|
-
var
|
|
1169
|
+
var c = j();
|
|
1170
1170
|
return n.$$typeof === v && console.error(
|
|
1171
1171
|
"Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"
|
|
1172
|
-
),
|
|
1173
|
-
}, e.useDebugValue = function(n,
|
|
1174
|
-
return j().useDebugValue(n,
|
|
1175
|
-
}, e.useDeferredValue = function(n,
|
|
1176
|
-
return j().useDeferredValue(n,
|
|
1177
|
-
}, e.useEffect = function(n,
|
|
1172
|
+
), c.useContext(n);
|
|
1173
|
+
}, e.useDebugValue = function(n, c) {
|
|
1174
|
+
return j().useDebugValue(n, c);
|
|
1175
|
+
}, e.useDeferredValue = function(n, c) {
|
|
1176
|
+
return j().useDeferredValue(n, c);
|
|
1177
|
+
}, e.useEffect = function(n, c, d) {
|
|
1178
1178
|
n == null && console.warn(
|
|
1179
1179
|
"React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"
|
|
1180
1180
|
);
|
|
@@ -1183,33 +1183,33 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
1183
1183
|
throw Error(
|
|
1184
1184
|
"useEffect CRUD overload is not enabled in this build of React."
|
|
1185
1185
|
);
|
|
1186
|
-
return f.useEffect(n,
|
|
1186
|
+
return f.useEffect(n, c);
|
|
1187
1187
|
}, e.useId = function() {
|
|
1188
1188
|
return j().useId();
|
|
1189
|
-
}, e.useImperativeHandle = function(n,
|
|
1190
|
-
return j().useImperativeHandle(n,
|
|
1191
|
-
}, e.useInsertionEffect = function(n,
|
|
1189
|
+
}, e.useImperativeHandle = function(n, c, d) {
|
|
1190
|
+
return j().useImperativeHandle(n, c, d);
|
|
1191
|
+
}, e.useInsertionEffect = function(n, c) {
|
|
1192
1192
|
return n == null && console.warn(
|
|
1193
1193
|
"React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"
|
|
1194
|
-
), j().useInsertionEffect(n,
|
|
1195
|
-
}, e.useLayoutEffect = function(n,
|
|
1194
|
+
), j().useInsertionEffect(n, c);
|
|
1195
|
+
}, e.useLayoutEffect = function(n, c) {
|
|
1196
1196
|
return n == null && console.warn(
|
|
1197
1197
|
"React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"
|
|
1198
|
-
), j().useLayoutEffect(n,
|
|
1199
|
-
}, e.useMemo = function(n,
|
|
1200
|
-
return j().useMemo(n,
|
|
1201
|
-
}, e.useOptimistic = function(n,
|
|
1202
|
-
return j().useOptimistic(n,
|
|
1203
|
-
}, e.useReducer = function(n,
|
|
1204
|
-
return j().useReducer(n,
|
|
1198
|
+
), j().useLayoutEffect(n, c);
|
|
1199
|
+
}, e.useMemo = function(n, c) {
|
|
1200
|
+
return j().useMemo(n, c);
|
|
1201
|
+
}, e.useOptimistic = function(n, c) {
|
|
1202
|
+
return j().useOptimistic(n, c);
|
|
1203
|
+
}, e.useReducer = function(n, c, d) {
|
|
1204
|
+
return j().useReducer(n, c, d);
|
|
1205
1205
|
}, e.useRef = function(n) {
|
|
1206
1206
|
return j().useRef(n);
|
|
1207
1207
|
}, e.useState = function(n) {
|
|
1208
1208
|
return j().useState(n);
|
|
1209
|
-
}, e.useSyncExternalStore = function(n,
|
|
1209
|
+
}, e.useSyncExternalStore = function(n, c, d) {
|
|
1210
1210
|
return j().useSyncExternalStore(
|
|
1211
1211
|
n,
|
|
1212
|
-
|
|
1212
|
+
c,
|
|
1213
1213
|
d
|
|
1214
1214
|
);
|
|
1215
1215
|
}, e.useTransition = function() {
|
|
@@ -1230,27 +1230,27 @@ const Ln = /* @__PURE__ */ On(Nn);
|
|
|
1230
1230
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1231
1231
|
*/
|
|
1232
1232
|
const Pn = /* @__PURE__ */ new Set(["children", "localName", "ref", "style", "className"]), Wt = /* @__PURE__ */ new WeakMap(), zt = (s, e, t, o, r) => {
|
|
1233
|
-
const
|
|
1234
|
-
|
|
1235
|
-
let
|
|
1236
|
-
|
|
1237
|
-
let
|
|
1238
|
-
h !== void 0 ?
|
|
1239
|
-
})(s,
|
|
1233
|
+
const a = r?.[e];
|
|
1234
|
+
a === void 0 ? (s[e] = t, t == null && e in HTMLElement.prototype && s.removeAttribute(e)) : t !== o && ((u, p, h) => {
|
|
1235
|
+
let g = Wt.get(u);
|
|
1236
|
+
g === void 0 && Wt.set(u, g = /* @__PURE__ */ new Map());
|
|
1237
|
+
let m = g.get(p);
|
|
1238
|
+
h !== void 0 ? m === void 0 ? (g.set(p, m = { handleEvent: h }), u.addEventListener(p, m)) : m.handleEvent = h : m !== void 0 && (g.delete(p), u.removeEventListener(p, m));
|
|
1239
|
+
})(s, a, t);
|
|
1240
1240
|
}, kn = ({ react: s, tagName: e, elementClass: t, events: o, displayName: r }) => {
|
|
1241
|
-
const
|
|
1242
|
-
const
|
|
1243
|
-
for (const [N, I] of Object.entries(p)) Pn.has(N) ? _[N === "className" ? "class" : N] = I :
|
|
1241
|
+
const a = new Set(Object.keys(o ?? {})), u = s.forwardRef((p, h) => {
|
|
1242
|
+
const g = s.useRef(/* @__PURE__ */ new Map()), m = s.useRef(null), _ = {}, D = {};
|
|
1243
|
+
for (const [N, I] of Object.entries(p)) Pn.has(N) ? _[N === "className" ? "class" : N] = I : a.has(N) || N in t.prototype ? D[N] = I : _[N] = I;
|
|
1244
1244
|
return s.useLayoutEffect(() => {
|
|
1245
|
-
if (
|
|
1245
|
+
if (m.current === null) return;
|
|
1246
1246
|
const N = /* @__PURE__ */ new Map();
|
|
1247
|
-
for (const I in D) zt(
|
|
1248
|
-
for (const [I, Z] of
|
|
1249
|
-
|
|
1247
|
+
for (const I in D) zt(m.current, I, p[I], g.current.get(I), o), g.current.delete(I), N.set(I, p[I]);
|
|
1248
|
+
for (const [I, Z] of g.current) zt(m.current, I, void 0, Z, o);
|
|
1249
|
+
g.current = N;
|
|
1250
1250
|
}), s.useLayoutEffect(() => {
|
|
1251
|
-
|
|
1251
|
+
m.current?.removeAttribute("defer-hydration");
|
|
1252
1252
|
}, []), _.suppressHydrationWarning = !0, s.createElement(e, { ..._, ref: s.useCallback((N) => {
|
|
1253
|
-
|
|
1253
|
+
m.current = N, typeof h == "function" ? h(N) : h !== null && (h.current = N);
|
|
1254
1254
|
}, [h]) });
|
|
1255
1255
|
});
|
|
1256
1256
|
return u.displayName = r ?? t.name, u;
|
|
@@ -1294,16 +1294,14 @@ const ke = (s) => {
|
|
|
1294
1294
|
`@arcgis/lumina package installed
|
|
1295
1295
|
`,
|
|
1296
1296
|
...U() ? [
|
|
1297
|
-
"- You tried to create controller outside the component
|
|
1298
|
-
"
|
|
1299
|
-
"
|
|
1300
|
-
"
|
|
1301
|
-
"
|
|
1302
|
-
`instead.
|
|
1303
|
-
`,
|
|
1297
|
+
"- You tried to create controller outside the component (in ",
|
|
1298
|
+
"non-component class or in global scope).",
|
|
1299
|
+
"- You accidentally defined the controller using const a = ",
|
|
1300
|
+
"makeController(...); rather than const a = () => ",
|
|
1301
|
+
"makeController(...);",
|
|
1304
1302
|
"- You tried to create a controller inside an async function. ",
|
|
1305
|
-
"This is allowed without calling controller.use(). Make
|
|
1306
|
-
"use it like `await controller.use(useController())`."
|
|
1303
|
+
"This is not allowed without calling controller.use(). Make ",
|
|
1304
|
+
"sure you use it like `await controller.use(useController())`."
|
|
1307
1305
|
] : []
|
|
1308
1306
|
].join("")
|
|
1309
1307
|
);
|
|
@@ -1318,10 +1316,10 @@ const Un = (s) => {
|
|
|
1318
1316
|
const e = ce.indexOf(s);
|
|
1319
1317
|
ce = e === -1 ? [...ce, s] : ce.slice(0, e + 1), queueMicrotask(() => ce = []);
|
|
1320
1318
|
}, In = () => ce;
|
|
1321
|
-
let
|
|
1319
|
+
let Yt;
|
|
1322
1320
|
const Mn = () => {
|
|
1323
|
-
const s =
|
|
1324
|
-
return
|
|
1321
|
+
const s = Yt;
|
|
1322
|
+
return Yt = void 0, s;
|
|
1325
1323
|
}, jn = async (s, e) => {
|
|
1326
1324
|
const t = pt(s);
|
|
1327
1325
|
if (t === void 0) {
|
|
@@ -1361,7 +1359,7 @@ const Mn = () => {
|
|
|
1361
1359
|
* Copyright 2019 Google LLC
|
|
1362
1360
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1363
1361
|
*/
|
|
1364
|
-
const Xe = globalThis, ft = Xe.ShadowRoot && (Xe.ShadyCSS === void 0 || Xe.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, cn = Symbol(),
|
|
1362
|
+
const Xe = globalThis, ft = Xe.ShadowRoot && (Xe.ShadyCSS === void 0 || Xe.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, cn = Symbol(), qt = /* @__PURE__ */ new WeakMap();
|
|
1365
1363
|
let xn = class {
|
|
1366
1364
|
constructor(e, t, o) {
|
|
1367
1365
|
if (this._$cssResult$ = !0, o !== cn) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
@@ -1372,7 +1370,7 @@ let xn = class {
|
|
|
1372
1370
|
const t = this.t;
|
|
1373
1371
|
if (ft && e === void 0) {
|
|
1374
1372
|
const o = t !== void 0 && t.length === 1;
|
|
1375
|
-
o && (e =
|
|
1373
|
+
o && (e = qt.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), o && qt.set(t, e));
|
|
1376
1374
|
}
|
|
1377
1375
|
return e;
|
|
1378
1376
|
}
|
|
@@ -1396,7 +1394,7 @@ const Wn = (s) => new xn(typeof s == "string" ? s : s + "", void 0, cn), zn = (s
|
|
|
1396
1394
|
* Copyright 2017 Google LLC
|
|
1397
1395
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1398
1396
|
*/
|
|
1399
|
-
const { is:
|
|
1397
|
+
const { is: Yn, defineProperty: qn, getOwnPropertyDescriptor: Vn, getOwnPropertyNames: Bn, getOwnPropertySymbols: Fn, getPrototypeOf: Kn } = Object, ot = globalThis, Bt = ot.trustedTypes, Gn = Bt ? Bt.emptyScript : "", Qn = ot.reactiveElementPolyfillSupport, De = (s, e) => s, dt = { toAttribute(s, e) {
|
|
1400
1398
|
switch (e) {
|
|
1401
1399
|
case Boolean:
|
|
1402
1400
|
s = s ? Gn : null;
|
|
@@ -1424,7 +1422,7 @@ const { is: qn, defineProperty: Yn, getOwnPropertyDescriptor: Vn, getOwnProperty
|
|
|
1424
1422
|
}
|
|
1425
1423
|
}
|
|
1426
1424
|
return t;
|
|
1427
|
-
} }, yt = (s, e) => !
|
|
1425
|
+
} }, yt = (s, e) => !Yn(s, e), Ft = { attribute: !0, type: String, converter: dt, reflect: !1, useDefault: !1, hasChanged: yt };
|
|
1428
1426
|
Symbol.metadata ??= Symbol("metadata"), ot.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
|
|
1429
1427
|
class ve extends HTMLElement {
|
|
1430
1428
|
static addInitializer(e) {
|
|
@@ -1436,18 +1434,18 @@ class ve extends HTMLElement {
|
|
|
1436
1434
|
static createProperty(e, t = Ft) {
|
|
1437
1435
|
if (t.state && (t.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(e) && ((t = Object.create(t)).wrapped = !0), this.elementProperties.set(e, t), !t.noAccessor) {
|
|
1438
1436
|
const o = Symbol(), r = this.getPropertyDescriptor(e, o, t);
|
|
1439
|
-
r !== void 0 &&
|
|
1437
|
+
r !== void 0 && qn(this.prototype, e, r);
|
|
1440
1438
|
}
|
|
1441
1439
|
}
|
|
1442
1440
|
static getPropertyDescriptor(e, t, o) {
|
|
1443
|
-
const { get: r, set:
|
|
1441
|
+
const { get: r, set: a } = Vn(this.prototype, e) ?? { get() {
|
|
1444
1442
|
return this[t];
|
|
1445
1443
|
}, set(u) {
|
|
1446
1444
|
this[t] = u;
|
|
1447
1445
|
} };
|
|
1448
1446
|
return { get: r, set(u) {
|
|
1449
1447
|
const p = r?.call(this);
|
|
1450
|
-
|
|
1448
|
+
a?.call(this, u), this.requestUpdate(e, p, o);
|
|
1451
1449
|
}, configurable: !0, enumerable: !0 };
|
|
1452
1450
|
}
|
|
1453
1451
|
static getPropertyOptions(e) {
|
|
@@ -1523,27 +1521,27 @@ class ve extends HTMLElement {
|
|
|
1523
1521
|
_$ET(e, t) {
|
|
1524
1522
|
const o = this.constructor.elementProperties.get(e), r = this.constructor._$Eu(e, o);
|
|
1525
1523
|
if (r !== void 0 && o.reflect === !0) {
|
|
1526
|
-
const
|
|
1527
|
-
this._$Em = e,
|
|
1524
|
+
const a = (o.converter?.toAttribute !== void 0 ? o.converter : dt).toAttribute(t, o.type);
|
|
1525
|
+
this._$Em = e, a == null ? this.removeAttribute(r) : this.setAttribute(r, a), this._$Em = null;
|
|
1528
1526
|
}
|
|
1529
1527
|
}
|
|
1530
1528
|
_$AK(e, t) {
|
|
1531
1529
|
const o = this.constructor, r = o._$Eh.get(e);
|
|
1532
1530
|
if (r !== void 0 && this._$Em !== r) {
|
|
1533
|
-
const
|
|
1534
|
-
this._$Em = r, this[r] = u.fromAttribute(t,
|
|
1531
|
+
const a = o.getPropertyOptions(r), u = typeof a.converter == "function" ? { fromAttribute: a.converter } : a.converter?.fromAttribute !== void 0 ? a.converter : dt;
|
|
1532
|
+
this._$Em = r, this[r] = u.fromAttribute(t, a.type) ?? this._$Ej?.get(r) ?? null, this._$Em = null;
|
|
1535
1533
|
}
|
|
1536
1534
|
}
|
|
1537
1535
|
requestUpdate(e, t, o) {
|
|
1538
1536
|
if (e !== void 0) {
|
|
1539
|
-
const r = this.constructor,
|
|
1540
|
-
if (o ??= r.getPropertyOptions(e), !((o.hasChanged ?? yt)(
|
|
1537
|
+
const r = this.constructor, a = this[e];
|
|
1538
|
+
if (o ??= r.getPropertyOptions(e), !((o.hasChanged ?? yt)(a, t) || o.useDefault && o.reflect && a === this._$Ej?.get(e) && !this.hasAttribute(r._$Eu(e, o)))) return;
|
|
1541
1539
|
this.C(e, t, o);
|
|
1542
1540
|
}
|
|
1543
1541
|
this.isUpdatePending === !1 && (this._$ES = this._$EP());
|
|
1544
1542
|
}
|
|
1545
|
-
C(e, t, { useDefault: o, reflect: r, wrapped:
|
|
1546
|
-
o && !(this._$Ej ??= /* @__PURE__ */ new Map()).has(e) && (this._$Ej.set(e, u ?? t ?? this[e]),
|
|
1543
|
+
C(e, t, { useDefault: o, reflect: r, wrapped: a }, u) {
|
|
1544
|
+
o && !(this._$Ej ??= /* @__PURE__ */ new Map()).has(e) && (this._$Ej.set(e, u ?? t ?? this[e]), a !== !0 || u !== void 0) || (this._$AL.has(e) || (this.hasUpdated || o || (t = void 0), this._$AL.set(e, t)), r === !0 && this._$Em !== e && (this._$Eq ??= /* @__PURE__ */ new Set()).add(e));
|
|
1547
1545
|
}
|
|
1548
1546
|
async _$EP() {
|
|
1549
1547
|
this.isUpdatePending = !0;
|
|
@@ -1562,13 +1560,13 @@ class ve extends HTMLElement {
|
|
|
1562
1560
|
if (!this.isUpdatePending) return;
|
|
1563
1561
|
if (!this.hasUpdated) {
|
|
1564
1562
|
if (this.renderRoot ??= this.createRenderRoot(), this._$Ep) {
|
|
1565
|
-
for (const [r,
|
|
1563
|
+
for (const [r, a] of this._$Ep) this[r] = a;
|
|
1566
1564
|
this._$Ep = void 0;
|
|
1567
1565
|
}
|
|
1568
1566
|
const o = this.constructor.elementProperties;
|
|
1569
|
-
if (o.size > 0) for (const [r,
|
|
1570
|
-
const { wrapped: u } =
|
|
1571
|
-
u !== !0 || this._$AL.has(r) || p === void 0 || this.C(r, void 0,
|
|
1567
|
+
if (o.size > 0) for (const [r, a] of o) {
|
|
1568
|
+
const { wrapped: u } = a, p = this[r];
|
|
1569
|
+
u !== !0 || this._$AL.has(r) || p === void 0 || this.C(r, void 0, a, p);
|
|
1572
1570
|
}
|
|
1573
1571
|
}
|
|
1574
1572
|
let e = !1;
|
|
@@ -1611,55 +1609,55 @@ ve.elementStyles = [], ve.shadowRootOptions = { mode: "open" }, ve[De("elementPr
|
|
|
1611
1609
|
* Copyright 2017 Google LLC
|
|
1612
1610
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1613
1611
|
*/
|
|
1614
|
-
const
|
|
1612
|
+
const gt = globalThis, et = gt.trustedTypes, Kt = et ? et.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, un = "$lit$", oe = `lit$${Math.random().toFixed(9).slice(2)}$`, ln = "?" + oe, Xn = `<${ln}>`, he = document, Ie = () => he.createComment(""), Me = (s) => s === null || typeof s != "object" && typeof s != "function", mt = Array.isArray, Zn = (s) => mt(s) || typeof s?.[Symbol.iterator] == "function", ut = `[
|
|
1615
1613
|
\f\r]`, Le = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Gt = /-->/g, Qt = />/g, ae = RegExp(`>|${ut}(?:([^\\s"'>=/]+)(${ut}*=${ut}*(?:[^
|
|
1616
1614
|
\f\r"'\`<>=]|("|')|))|$)`, "g"), Xt = /'/g, Zt = /"/g, dn = /^(?:script|style|textarea|title)$/i, $e = Symbol.for("lit-noChange"), W = Symbol.for("lit-nothing"), Jt = /* @__PURE__ */ new WeakMap(), ue = he.createTreeWalker(he, 129);
|
|
1617
1615
|
function hn(s, e) {
|
|
1618
|
-
if (!
|
|
1616
|
+
if (!mt(s) || !s.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
1619
1617
|
return Kt !== void 0 ? Kt.createHTML(e) : e;
|
|
1620
1618
|
}
|
|
1621
1619
|
const Jn = (s, e) => {
|
|
1622
1620
|
const t = s.length - 1, o = [];
|
|
1623
|
-
let r,
|
|
1621
|
+
let r, a = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", u = Le;
|
|
1624
1622
|
for (let p = 0; p < t; p++) {
|
|
1625
1623
|
const h = s[p];
|
|
1626
|
-
let
|
|
1627
|
-
for (; D < h.length && (u.lastIndex = D,
|
|
1624
|
+
let g, m, _ = -1, D = 0;
|
|
1625
|
+
for (; D < h.length && (u.lastIndex = D, m = u.exec(h), m !== null); ) D = u.lastIndex, u === Le ? m[1] === "!--" ? u = Gt : m[1] !== void 0 ? u = Qt : m[2] !== void 0 ? (dn.test(m[2]) && (r = RegExp("</" + m[2], "g")), u = ae) : m[3] !== void 0 && (u = ae) : u === ae ? m[0] === ">" ? (u = r ?? Le, _ = -1) : m[1] === void 0 ? _ = -2 : (_ = u.lastIndex - m[2].length, g = m[1], u = m[3] === void 0 ? ae : m[3] === '"' ? Zt : Xt) : u === Zt || u === Xt ? u = ae : u === Gt || u === Qt ? u = Le : (u = ae, r = void 0);
|
|
1628
1626
|
const N = u === ae && s[p + 1].startsWith("/>") ? " " : "";
|
|
1629
|
-
|
|
1627
|
+
a += u === Le ? h + Xn : _ >= 0 ? (o.push(g), h.slice(0, _) + un + h.slice(_) + oe + N) : h + oe + (_ === -2 ? p : N);
|
|
1630
1628
|
}
|
|
1631
|
-
return [hn(s,
|
|
1629
|
+
return [hn(s, a + (s[t] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), o];
|
|
1632
1630
|
};
|
|
1633
1631
|
class je {
|
|
1634
1632
|
constructor({ strings: e, _$litType$: t }, o) {
|
|
1635
1633
|
let r;
|
|
1636
1634
|
this.parts = [];
|
|
1637
|
-
let
|
|
1638
|
-
const p = e.length - 1, h = this.parts, [
|
|
1639
|
-
if (this.el = je.createElement(
|
|
1635
|
+
let a = 0, u = 0;
|
|
1636
|
+
const p = e.length - 1, h = this.parts, [g, m] = Jn(e, t);
|
|
1637
|
+
if (this.el = je.createElement(g, o), ue.currentNode = this.el.content, t === 2 || t === 3) {
|
|
1640
1638
|
const _ = this.el.content.firstChild;
|
|
1641
1639
|
_.replaceWith(..._.childNodes);
|
|
1642
1640
|
}
|
|
1643
1641
|
for (; (r = ue.nextNode()) !== null && h.length < p; ) {
|
|
1644
1642
|
if (r.nodeType === 1) {
|
|
1645
1643
|
if (r.hasAttributes()) for (const _ of r.getAttributeNames()) if (_.endsWith(un)) {
|
|
1646
|
-
const D =
|
|
1647
|
-
h.push({ type: 1, index:
|
|
1648
|
-
} else _.startsWith(oe) && (h.push({ type: 6, index:
|
|
1644
|
+
const D = m[u++], N = r.getAttribute(_).split(oe), I = /([.?@])?(.*)/.exec(D);
|
|
1645
|
+
h.push({ type: 1, index: a, name: I[2], strings: N, ctor: I[1] === "." ? to : I[1] === "?" ? no : I[1] === "@" ? oo : rt }), r.removeAttribute(_);
|
|
1646
|
+
} else _.startsWith(oe) && (h.push({ type: 6, index: a }), r.removeAttribute(_));
|
|
1649
1647
|
if (dn.test(r.tagName)) {
|
|
1650
1648
|
const _ = r.textContent.split(oe), D = _.length - 1;
|
|
1651
1649
|
if (D > 0) {
|
|
1652
1650
|
r.textContent = et ? et.emptyScript : "";
|
|
1653
|
-
for (let N = 0; N < D; N++) r.append(_[N], Ie()), ue.nextNode(), h.push({ type: 2, index: ++
|
|
1651
|
+
for (let N = 0; N < D; N++) r.append(_[N], Ie()), ue.nextNode(), h.push({ type: 2, index: ++a });
|
|
1654
1652
|
r.append(_[D], Ie());
|
|
1655
1653
|
}
|
|
1656
1654
|
}
|
|
1657
|
-
} else if (r.nodeType === 8) if (r.data === ln) h.push({ type: 2, index:
|
|
1655
|
+
} else if (r.nodeType === 8) if (r.data === ln) h.push({ type: 2, index: a });
|
|
1658
1656
|
else {
|
|
1659
1657
|
let _ = -1;
|
|
1660
|
-
for (; (_ = r.data.indexOf(oe, _ + 1)) !== -1; ) h.push({ type: 7, index:
|
|
1658
|
+
for (; (_ = r.data.indexOf(oe, _ + 1)) !== -1; ) h.push({ type: 7, index: a }), _ += oe.length - 1;
|
|
1661
1659
|
}
|
|
1662
|
-
|
|
1660
|
+
a++;
|
|
1663
1661
|
}
|
|
1664
1662
|
}
|
|
1665
1663
|
static createElement(e, t) {
|
|
@@ -1670,8 +1668,8 @@ class je {
|
|
|
1670
1668
|
function Ae(s, e, t = s, o) {
|
|
1671
1669
|
if (e === $e) return e;
|
|
1672
1670
|
let r = o !== void 0 ? t._$Co?.[o] : t._$Cl;
|
|
1673
|
-
const
|
|
1674
|
-
return r?.constructor !==
|
|
1671
|
+
const a = Me(e) ? void 0 : e._$litDirective$;
|
|
1672
|
+
return r?.constructor !== a && (r?._$AO?.(!1), a === void 0 ? r = void 0 : (r = new a(s), r._$AT(s, t, o)), o !== void 0 ? (t._$Co ??= [])[o] = r : t._$Cl = r), r !== void 0 && (e = Ae(s, r._$AS(s, e.values), r, o)), e;
|
|
1675
1673
|
}
|
|
1676
1674
|
class eo {
|
|
1677
1675
|
constructor(e, t) {
|
|
@@ -1686,13 +1684,13 @@ class eo {
|
|
|
1686
1684
|
u(e) {
|
|
1687
1685
|
const { el: { content: t }, parts: o } = this._$AD, r = (e?.creationScope ?? he).importNode(t, !0);
|
|
1688
1686
|
ue.currentNode = r;
|
|
1689
|
-
let
|
|
1687
|
+
let a = ue.nextNode(), u = 0, p = 0, h = o[0];
|
|
1690
1688
|
for (; h !== void 0; ) {
|
|
1691
1689
|
if (u === h.index) {
|
|
1692
|
-
let
|
|
1693
|
-
h.type === 2 ?
|
|
1690
|
+
let g;
|
|
1691
|
+
h.type === 2 ? g = new ze(a, a.nextSibling, this, e) : h.type === 1 ? g = new h.ctor(a, h.name, h.strings, this, e) : h.type === 6 && (g = new ro(a, this, e)), this._$AV.push(g), h = o[++p];
|
|
1694
1692
|
}
|
|
1695
|
-
u !== h?.index && (
|
|
1693
|
+
u !== h?.index && (a = ue.nextNode(), u++);
|
|
1696
1694
|
}
|
|
1697
1695
|
return ue.currentNode = he, r;
|
|
1698
1696
|
}
|
|
@@ -1735,8 +1733,8 @@ class ze {
|
|
|
1735
1733
|
const { values: t, _$litType$: o } = e, r = typeof o == "number" ? this._$AC(e) : (o.el === void 0 && (o.el = je.createElement(hn(o.h, o.h[0]), this.options)), o);
|
|
1736
1734
|
if (this._$AH?._$AD === r) this._$AH.p(t);
|
|
1737
1735
|
else {
|
|
1738
|
-
const
|
|
1739
|
-
|
|
1736
|
+
const a = new eo(r, this), u = a.u(this.options);
|
|
1737
|
+
a.p(t), this.T(u), this._$AH = a;
|
|
1740
1738
|
}
|
|
1741
1739
|
}
|
|
1742
1740
|
_$AC(e) {
|
|
@@ -1744,10 +1742,10 @@ class ze {
|
|
|
1744
1742
|
return t === void 0 && Jt.set(e.strings, t = new je(e)), t;
|
|
1745
1743
|
}
|
|
1746
1744
|
k(e) {
|
|
1747
|
-
|
|
1745
|
+
mt(this._$AH) || (this._$AH = [], this._$AR());
|
|
1748
1746
|
const t = this._$AH;
|
|
1749
1747
|
let o, r = 0;
|
|
1750
|
-
for (const
|
|
1748
|
+
for (const a of e) r === t.length ? t.push(o = new ze(this.O(Ie()), this.O(Ie()), this, this.options)) : o = t[r], o._$AI(a), r++;
|
|
1751
1749
|
r < t.length && (this._$AR(o && o._$AB.nextSibling, r), t.length = r);
|
|
1752
1750
|
}
|
|
1753
1751
|
_$AR(e = this._$AA.nextSibling, t) {
|
|
@@ -1767,17 +1765,17 @@ class rt {
|
|
|
1767
1765
|
get _$AU() {
|
|
1768
1766
|
return this._$AM._$AU;
|
|
1769
1767
|
}
|
|
1770
|
-
constructor(e, t, o, r,
|
|
1771
|
-
this.type = 1, this._$AH = W, this._$AN = void 0, this.element = e, this.name = t, this._$AM = r, this.options =
|
|
1768
|
+
constructor(e, t, o, r, a) {
|
|
1769
|
+
this.type = 1, this._$AH = W, this._$AN = void 0, this.element = e, this.name = t, this._$AM = r, this.options = a, o.length > 2 || o[0] !== "" || o[1] !== "" ? (this._$AH = Array(o.length - 1).fill(new String()), this.strings = o) : this._$AH = W;
|
|
1772
1770
|
}
|
|
1773
1771
|
_$AI(e, t = this, o, r) {
|
|
1774
|
-
const
|
|
1772
|
+
const a = this.strings;
|
|
1775
1773
|
let u = !1;
|
|
1776
|
-
if (
|
|
1774
|
+
if (a === void 0) e = Ae(this, e, t, 0), u = !Me(e) || e !== this._$AH && e !== $e, u && (this._$AH = e);
|
|
1777
1775
|
else {
|
|
1778
1776
|
const p = e;
|
|
1779
|
-
let h,
|
|
1780
|
-
for (e =
|
|
1777
|
+
let h, g;
|
|
1778
|
+
for (e = a[0], h = 0; h < a.length - 1; h++) g = Ae(this, p[o + h], t, h), g === $e && (g = this._$AH[h]), u ||= !Me(g) || g !== this._$AH[h], g === W ? e = W : e !== W && (e += (g ?? "") + a[h + 1]), this._$AH[h] = g;
|
|
1781
1779
|
}
|
|
1782
1780
|
u && !r && this.j(e);
|
|
1783
1781
|
}
|
|
@@ -1802,13 +1800,13 @@ class no extends rt {
|
|
|
1802
1800
|
}
|
|
1803
1801
|
}
|
|
1804
1802
|
class oo extends rt {
|
|
1805
|
-
constructor(e, t, o, r,
|
|
1806
|
-
super(e, t, o, r,
|
|
1803
|
+
constructor(e, t, o, r, a) {
|
|
1804
|
+
super(e, t, o, r, a), this.type = 5;
|
|
1807
1805
|
}
|
|
1808
1806
|
_$AI(e, t = this) {
|
|
1809
1807
|
if ((e = Ae(this, e, t, 0) ?? W) === $e) return;
|
|
1810
|
-
const o = this._$AH, r = e === W && o !== W || e.capture !== o.capture || e.once !== o.once || e.passive !== o.passive,
|
|
1811
|
-
r && this.element.removeEventListener(this.name, this, o),
|
|
1808
|
+
const o = this._$AH, r = e === W && o !== W || e.capture !== o.capture || e.once !== o.once || e.passive !== o.passive, a = e !== W && (o === W || r);
|
|
1809
|
+
r && this.element.removeEventListener(this.name, this, o), a && this.element.addEventListener(this.name, this, e), this._$AH = e;
|
|
1812
1810
|
}
|
|
1813
1811
|
handleEvent(e) {
|
|
1814
1812
|
typeof this._$AH == "function" ? this._$AH.call(this.options?.host ?? this.element, e) : this._$AH.handleEvent(e);
|
|
@@ -1825,14 +1823,14 @@ class ro {
|
|
|
1825
1823
|
Ae(this, e);
|
|
1826
1824
|
}
|
|
1827
1825
|
}
|
|
1828
|
-
const so =
|
|
1829
|
-
so?.(je, ze), (
|
|
1826
|
+
const so = gt.litHtmlPolyfillSupport;
|
|
1827
|
+
so?.(je, ze), (gt.litHtmlVersions ??= []).push("3.3.0");
|
|
1830
1828
|
const io = (s, e, t) => {
|
|
1831
1829
|
const o = t?.renderBefore ?? e;
|
|
1832
1830
|
let r = o._$litPart$;
|
|
1833
1831
|
if (r === void 0) {
|
|
1834
|
-
const
|
|
1835
|
-
o._$litPart$ = r = new ze(e.insertBefore(Ie(),
|
|
1832
|
+
const a = t?.renderBefore ?? null;
|
|
1833
|
+
o._$litPart$ = r = new ze(e.insertBefore(Ie(), a), a, void 0, t ?? {});
|
|
1836
1834
|
}
|
|
1837
1835
|
return r._$AI(s), r;
|
|
1838
1836
|
};
|
|
@@ -1888,9 +1886,9 @@ const co = (s, e) => {
|
|
|
1888
1886
|
}, uo = 4, lo = (s, e, t) => {
|
|
1889
1887
|
const o = Object.keys(s), r = o.length;
|
|
1890
1888
|
_e === void 0 && queueMicrotask(Et), _e ??= /* @__PURE__ */ new Map();
|
|
1891
|
-
let
|
|
1892
|
-
return
|
|
1893
|
-
const p = (
|
|
1889
|
+
let a = _e.get(s);
|
|
1890
|
+
return a === void 0 && (a = { callbacks: [], keyCount: r }, _e.set(s, a)), a.keyCount !== r && (a.callbacks.forEach((u) => u(o)), a.callbacks = [], a.keyCount = r), a.callbacks.push((u) => {
|
|
1891
|
+
const p = (g) => x(e, null, g), h = u[r];
|
|
1894
1892
|
h === void 0 ? p(void 0) : s[h] === t ? p(h) : p(void 0);
|
|
1895
1893
|
}), t;
|
|
1896
1894
|
};
|
|
@@ -1902,20 +1900,20 @@ const Et = () => {
|
|
|
1902
1900
|
}), _e = void 0;
|
|
1903
1901
|
}, ho = (s, e, t) => {
|
|
1904
1902
|
const o = s.manager;
|
|
1905
|
-
return o.V !== W && o.V !== t && o.S(void 0, void 0), o.T.length === 0 && queueMicrotask(() => o.S(void 0, void 0)), o.V = t, o.T.push((r,
|
|
1903
|
+
return o.V !== W && o.V !== t && o.S(void 0, void 0), o.T.length === 0 && queueMicrotask(() => o.S(void 0, void 0)), o.V = t, o.T.push((r, a) => x(e, void 0, t === a ? r : void 0)), t;
|
|
1906
1904
|
}, po = (s = [
|
|
1907
1905
|
nt(),
|
|
1908
1906
|
...In()
|
|
1909
1907
|
], e, t) => {
|
|
1910
1908
|
const o = Array.isArray(s) ? s : [s];
|
|
1911
1909
|
let r = o.length + 1;
|
|
1912
|
-
const
|
|
1910
|
+
const a = (u) => {
|
|
1913
1911
|
r -= 1, u !== void 0 && (r = Math.min(r, 0)), r === 0 && e(u);
|
|
1914
1912
|
};
|
|
1915
1913
|
o.forEach(
|
|
1916
1914
|
(u) => lo(
|
|
1917
1915
|
u,
|
|
1918
|
-
(p) =>
|
|
1916
|
+
(p) => a(p === void 0 ? void 0 : { key: p, host: u, isReactive: !1 }),
|
|
1919
1917
|
t
|
|
1920
1918
|
)
|
|
1921
1919
|
);
|
|
@@ -1923,7 +1921,7 @@ const Et = () => {
|
|
|
1923
1921
|
if ("manager" in u && u.manager.component === u) {
|
|
1924
1922
|
ho(
|
|
1925
1923
|
u,
|
|
1926
|
-
(p) =>
|
|
1924
|
+
(p) => a(p === void 0 ? void 0 : { key: p, host: u, isReactive: !0 }),
|
|
1927
1925
|
t
|
|
1928
1926
|
);
|
|
1929
1927
|
break;
|
|
@@ -1934,14 +1932,14 @@ const Et = () => {
|
|
|
1934
1932
|
emit: (r) => {
|
|
1935
1933
|
if (process.env.NODE_ENV !== "production" && U() && !t.el.isConnected && console.warn(`Trying to emit an ${s} event on a disconnected element ${t.el.localName}`), s === "" && (Et(), process.env.NODE_ENV !== "production" && U() && s === ""))
|
|
1936
1934
|
throw new Error("Unable to resolve event name from property name");
|
|
1937
|
-
const
|
|
1935
|
+
const a = new CustomEvent(s, {
|
|
1938
1936
|
detail: r,
|
|
1939
1937
|
cancelable: !0,
|
|
1940
1938
|
bubbles: !0,
|
|
1941
1939
|
composed: !0,
|
|
1942
1940
|
...e
|
|
1943
1941
|
});
|
|
1944
|
-
return t.el.dispatchEvent(
|
|
1942
|
+
return t.el.dispatchEvent(a), a;
|
|
1945
1943
|
}
|
|
1946
1944
|
};
|
|
1947
1945
|
return s === "" && po(
|
|
@@ -2138,14 +2136,14 @@ class yo {
|
|
|
2138
2136
|
function en(s) {
|
|
2139
2137
|
x(s, void 0, this);
|
|
2140
2138
|
}
|
|
2141
|
-
const
|
|
2139
|
+
const go = yo, tn = (s) => {
|
|
2142
2140
|
if (typeof s != "object" && typeof s != "function" || s === null)
|
|
2143
2141
|
return s;
|
|
2144
2142
|
const e = {
|
|
2145
|
-
get(o, r,
|
|
2143
|
+
get(o, r, a) {
|
|
2146
2144
|
if (!((r === "exports" || r === "_exports") && r in o && o[r] === t)) {
|
|
2147
2145
|
if (r in o || r in Promise.prototype || typeof r == "symbol")
|
|
2148
|
-
return typeof o == "function" ? o[r] : Reflect.get(o, r,
|
|
2146
|
+
return typeof o == "function" ? o[r] : Reflect.get(o, r, a);
|
|
2149
2147
|
if (process.env.NODE_ENV !== "production" && U()) {
|
|
2150
2148
|
if (process.env.NODE_ENV === "test" && (r.startsWith("$$") || r.startsWith("@@") || r === "nodeType" || r === "tagName" || r === "toJSON" || r === "hasAttribute"))
|
|
2151
2149
|
return;
|
|
@@ -2156,7 +2154,7 @@ const mo = yo, tn = (s) => {
|
|
|
2156
2154
|
}
|
|
2157
2155
|
}
|
|
2158
2156
|
};
|
|
2159
|
-
process.env.NODE_ENV !== "production" && U() && (e.set = (o, r,
|
|
2157
|
+
process.env.NODE_ENV !== "production" && U() && (e.set = (o, r, a, u) => (console.error(`Trying to set "${r.toString()}" on the controller before it's loaded. ${nn}`), Reflect.set(o, r, a, u)));
|
|
2160
2158
|
const t = new Proxy(s, e);
|
|
2161
2159
|
return t;
|
|
2162
2160
|
}, nn = process.env.NODE_ENV !== "production" && U() ? [
|
|
@@ -2166,10 +2164,10 @@ const mo = yo, tn = (s) => {
|
|
|
2166
2164
|
`usage:
|
|
2167
2165
|
`,
|
|
2168
2166
|
"makeController(async (component, controller)=>{ await controller.use(someOtherController); });"
|
|
2169
|
-
].join("") : void 0,
|
|
2167
|
+
].join("") : void 0, mo = (s) => (
|
|
2170
2168
|
//#endregion camelToKebab
|
|
2171
2169
|
s.replace(vo, (e, t) => `${t === 0 ? "" : "-"}${e.toLowerCase()}`)
|
|
2172
|
-
), vo = /[A-Z]+(?![a-z])|[A-Z]/gu, Eo = 1, _o = 2,
|
|
2170
|
+
), vo = /[A-Z]+(?![a-z])|[A-Z]/gu, Eo = 1, _o = 2, bo = 4, wo = 8, $o = 16, Ao = 32, Co = 64;
|
|
2173
2171
|
function Oo(s) {
|
|
2174
2172
|
const e = s.prototype, t = Object.getOwnPropertyDescriptor(e, "innerText");
|
|
2175
2173
|
if (t !== void 0 && t.set?.name === "setWrapper")
|
|
@@ -2196,35 +2194,35 @@ function Oo(s) {
|
|
|
2196
2194
|
...Object.getOwnPropertyDescriptors(Element.prototype),
|
|
2197
2195
|
...Object.getOwnPropertyDescriptors(Node.prototype),
|
|
2198
2196
|
...Object.getOwnPropertyDescriptors(EventTarget.prototype)
|
|
2199
|
-
}).forEach(([
|
|
2200
|
-
if (o.has(
|
|
2197
|
+
}).forEach(([a, u]) => {
|
|
2198
|
+
if (o.has(a))
|
|
2201
2199
|
return;
|
|
2202
2200
|
function p(...h) {
|
|
2203
2201
|
if (this !== this.el) {
|
|
2204
|
-
if (
|
|
2202
|
+
if (a === "hasAttribute" && h[0] === "defer-hydration")
|
|
2205
2203
|
return !1;
|
|
2206
2204
|
throw new Error(
|
|
2207
|
-
`You should not be trying to access this.${
|
|
2205
|
+
`You should not be trying to access this.${a} directly as it won't work correctly in lazy-builds. Instead, ${r[a] ?? `use this.el.${a}`}`
|
|
2208
2206
|
);
|
|
2209
2207
|
}
|
|
2210
2208
|
}
|
|
2211
2209
|
if (typeof u.value == "function")
|
|
2212
|
-
e[
|
|
2213
|
-
return p.call(this, ...
|
|
2210
|
+
e[a] = function(...g) {
|
|
2211
|
+
return p.call(this, ...g) ?? u.value.call(this, ...g);
|
|
2214
2212
|
};
|
|
2215
2213
|
else if (typeof u.get == "function")
|
|
2216
|
-
Object.defineProperty(e,
|
|
2214
|
+
Object.defineProperty(e, a, {
|
|
2217
2215
|
get() {
|
|
2218
2216
|
return p.call(this), u.get.call(this);
|
|
2219
2217
|
},
|
|
2220
|
-
set: typeof u.set == "function" ? function(
|
|
2221
|
-
p.call(this), u.set.call(this,
|
|
2218
|
+
set: typeof u.set == "function" ? function(g) {
|
|
2219
|
+
p.call(this), u.set.call(this, g);
|
|
2222
2220
|
} : void 0
|
|
2223
2221
|
});
|
|
2224
2222
|
else {
|
|
2225
|
-
if (
|
|
2223
|
+
if (a === a.toUpperCase() && typeof u.value == "number")
|
|
2226
2224
|
return;
|
|
2227
|
-
throw new Error(`Unexpected value type for ${
|
|
2225
|
+
throw new Error(`Unexpected value type for ${a}: ${u}`);
|
|
2228
2226
|
}
|
|
2229
2227
|
});
|
|
2230
2228
|
}
|
|
@@ -2250,24 +2248,24 @@ function _t() {
|
|
|
2250
2248
|
}
|
|
2251
2249
|
process.env.NODE_ENV !== "production" && U();
|
|
2252
2250
|
const Ze = Object.defineProperty, So = globalThis.HTMLElement ?? _t;
|
|
2253
|
-
var z, Q,
|
|
2254
|
-
const
|
|
2251
|
+
var z, Q, be, we, Je;
|
|
2252
|
+
const bt = class bt extends So {
|
|
2255
2253
|
constructor() {
|
|
2256
2254
|
var r;
|
|
2257
2255
|
super();
|
|
2258
|
-
F(this,
|
|
2256
|
+
F(this, we);
|
|
2259
2257
|
F(this, z);
|
|
2260
2258
|
F(this, Q);
|
|
2261
|
-
F(this,
|
|
2262
|
-
V(this, Q, {}), V(this,
|
|
2263
|
-
V(this, Q,
|
|
2259
|
+
F(this, be);
|
|
2260
|
+
V(this, Q, {}), V(this, be, []), this.I = new He(), this.H = new He(), this.J = [], process.env.NODE_ENV !== "production" && U() && (this.devOnly$hmrSetProps = /* @__PURE__ */ new Set(), this.devOnly$hmrSetAttributes = /* @__PURE__ */ new Set(), globalThis.devOnly$createdElements ??= [], globalThis.devOnly$createdElements.push(new WeakRef(this)), this.devOnly$InitializeComponent = me(this, we, Je).bind(this), this.devOnly$hmrResetStore = (a) => {
|
|
2261
|
+
V(this, Q, a);
|
|
2264
2262
|
});
|
|
2265
2263
|
const t = this, o = t.constructor;
|
|
2266
|
-
t._offspring = t.J, t._postLoad = t.I, o.C?.forEach((
|
|
2267
|
-
Object.hasOwn(t,
|
|
2268
|
-
}), o.A ?
|
|
2264
|
+
t._offspring = t.J, t._postLoad = t.I, o.C?.forEach((a) => {
|
|
2265
|
+
Object.hasOwn(t, a) && (L(t, Q)[a] = t[a], delete t[a]);
|
|
2266
|
+
}), o.A ? me(r = t, we, Je).call(r, { a: o.A }) : o.B.then(async (a) => {
|
|
2269
2267
|
var u;
|
|
2270
|
-
await o.K.p,
|
|
2268
|
+
await o.K.p, me(u = t, we, Je).call(
|
|
2271
2269
|
u,
|
|
2272
2270
|
/**
|
|
2273
2271
|
* "$$" is our top-level await polyfill due to broken top-level await
|
|
@@ -2275,13 +2273,13 @@ const wt = class wt extends So {
|
|
|
2275
2273
|
* See https://devtopia.esri.com/WebGIS/arcgis-web-components/issues/3933
|
|
2276
2274
|
* and https://bugs.webkit.org/show_bug.cgi?id=242740
|
|
2277
2275
|
*/
|
|
2278
|
-
await (
|
|
2276
|
+
await (a.default?.then(
|
|
2279
2277
|
(p) => typeof p == "function" ? { a: p } : p
|
|
2280
|
-
) ??
|
|
2278
|
+
) ?? a)
|
|
2281
2279
|
);
|
|
2282
|
-
}).catch((
|
|
2283
|
-
t.H.reject(
|
|
2284
|
-
throw
|
|
2280
|
+
}).catch((a) => {
|
|
2281
|
+
t.H.reject(a), setTimeout(() => {
|
|
2282
|
+
throw a;
|
|
2285
2283
|
});
|
|
2286
2284
|
}), process.env.NODE_ENV !== "production" && U() && (o.devOnly$hmrInstances ??= [], o.devOnly$hmrInstances.push(new WeakRef(this)));
|
|
2287
2285
|
}
|
|
@@ -2308,9 +2306,9 @@ const wt = class wt extends So {
|
|
|
2308
2306
|
Ze(this.prototype, t, {
|
|
2309
2307
|
value(...o) {
|
|
2310
2308
|
if (process.env.NODE_ENV !== "production" && !L(this, z)) {
|
|
2311
|
-
const
|
|
2309
|
+
const a = this.constructor;
|
|
2312
2310
|
throw new Error(
|
|
2313
|
-
`Tried to call method ${t}() on <${
|
|
2311
|
+
`Tried to call method ${t}() on <${a.L}> component before it's fully loaded. Please do 'await component.componentOnReady();' before calling this method.`
|
|
2314
2312
|
);
|
|
2315
2313
|
}
|
|
2316
2314
|
return L(this, z)[t](...o);
|
|
@@ -2326,7 +2324,7 @@ const wt = class wt extends So {
|
|
|
2326
2324
|
* browsers won't call it. Same for connected and disconnected callbacks.
|
|
2327
2325
|
*/
|
|
2328
2326
|
attributeChangedCallback(t, o, r) {
|
|
2329
|
-
L(this, z)?.attributeChangedCallback(t, o, r), L(this, z) || L(this,
|
|
2327
|
+
L(this, z)?.attributeChangedCallback(t, o, r), L(this, z) || L(this, be).push(t), process.env.NODE_ENV !== "production" && U() && (L(this, z)?.__reflectingProperty === t || this.devOnly$hmrSetAttributes.add(t));
|
|
2330
2328
|
}
|
|
2331
2329
|
connectedCallback() {
|
|
2332
2330
|
L(this, z) ? L(this, z).connectedCallback?.() : queueMicrotask(() => this.G = fn(this));
|
|
@@ -2352,8 +2350,8 @@ const wt = class wt extends So {
|
|
|
2352
2350
|
L(this, z)?.requestUpdate();
|
|
2353
2351
|
}
|
|
2354
2352
|
};
|
|
2355
|
-
z = new WeakMap(), Q = new WeakMap(),
|
|
2356
|
-
const o = this.constructor, r = o.L,
|
|
2353
|
+
z = new WeakMap(), Q = new WeakMap(), be = new WeakMap(), we = new WeakSet(), Je = function(t) {
|
|
2354
|
+
const o = this.constructor, r = o.L, a = L(this, Q), u = Object.values(t).find(
|
|
2357
2355
|
(D) => D.L === r
|
|
2358
2356
|
);
|
|
2359
2357
|
if (process.env.NODE_ENV !== "production" && U() && !u)
|
|
@@ -2365,16 +2363,16 @@ z = new WeakMap(), Q = new WeakMap(), we = new WeakMap(), be = new WeakSet(), Je
|
|
|
2365
2363
|
for (; h && !Object.hasOwn(h, "lumina"); )
|
|
2366
2364
|
h = Object.getPrototypeOf(h);
|
|
2367
2365
|
To(h), !o.A && (o.A = u, customElements.define(p, u)), u.N = this;
|
|
2368
|
-
const
|
|
2369
|
-
if (u.N = void 0, V(this, z,
|
|
2370
|
-
(D) =>
|
|
2366
|
+
const m = document.createElement(p);
|
|
2367
|
+
if (u.N = void 0, V(this, z, m), process.env.NODE_ENV !== "production" && U() && Object.defineProperty(this, "$component", { value: m, configurable: !0, enumerable: !1 }), V(this, Q, m), L(this, be).forEach(
|
|
2368
|
+
(D) => m.attributeChangedCallback(
|
|
2371
2369
|
D,
|
|
2372
2370
|
// Lit doesn't look at this value, thus even if attribute already exists, that's ok
|
|
2373
2371
|
null,
|
|
2374
2372
|
this.getAttribute(D)
|
|
2375
2373
|
)
|
|
2376
|
-
), Object.entries(
|
|
2377
|
-
const D = u.observedAttributes ?? [], N = o.observedAttributes ?? [], I = D.filter((
|
|
2374
|
+
), Object.entries(a).forEach(Ro, m), process.env.NODE_ENV !== "production" && U()) {
|
|
2375
|
+
const D = u.observedAttributes ?? [], N = o.observedAttributes ?? [], I = D.filter((Y) => !N.includes(Y)), Z = N.filter((Y) => !D.includes(Y));
|
|
2378
2376
|
I.length > 0 && console.warn(
|
|
2379
2377
|
`The following attributes on <${o.L}> are present on the Lit element, but are missing from the lazy proxy component: ${I.join(", ")}. This either indicates a bug in Lumina, or you are creating the attribute dynamically in a way that compiler cannot infer statically. For these attributes, lazy-loading version of your component won't work correctly, thus this must be resolved`
|
|
2380
2378
|
), Z.length > 0 && console.warn(
|
|
@@ -2382,16 +2380,16 @@ z = new WeakMap(), Q = new WeakMap(), we = new WeakMap(), be = new WeakSet(), Je
|
|
|
2382
2380
|
);
|
|
2383
2381
|
}
|
|
2384
2382
|
const _ = this.isConnected;
|
|
2385
|
-
(_ || this.G) && (
|
|
2386
|
-
},
|
|
2387
|
-
let rn =
|
|
2383
|
+
(_ || this.G) && (m.connectedCallback?.(), _ || m.disconnectedCallback());
|
|
2384
|
+
}, bt.lumina = !0;
|
|
2385
|
+
let rn = bt;
|
|
2388
2386
|
function Ro([s, e]) {
|
|
2389
2387
|
this[s] = e;
|
|
2390
2388
|
}
|
|
2391
2389
|
const To = (s) => {
|
|
2392
2390
|
const e = s.prototype, t = Element.prototype;
|
|
2393
|
-
Object.hasOwn(e, "isConnected") || (e.setAttribute = function(r,
|
|
2394
|
-
t.setAttribute.call(this.el, r,
|
|
2391
|
+
Object.hasOwn(e, "isConnected") || (e.setAttribute = function(r, a) {
|
|
2392
|
+
t.setAttribute.call(this.el, r, a);
|
|
2395
2393
|
}, e.removeAttribute = function(r) {
|
|
2396
2394
|
t.removeAttribute.call(this.el, r);
|
|
2397
2395
|
}, Ze(e, "isConnected", {
|
|
@@ -2400,7 +2398,7 @@ const To = (s) => {
|
|
|
2400
2398
|
}
|
|
2401
2399
|
})), process.env.NODE_ENV !== "production" && U() && Oo(s);
|
|
2402
2400
|
};
|
|
2403
|
-
class yn extends
|
|
2401
|
+
class yn extends go {
|
|
2404
2402
|
constructor(e) {
|
|
2405
2403
|
super(e), this.destroyed = !1, this.R = !1, this.V = W, this.T = [], this.#o = /* @__PURE__ */ new WeakMap(), this.#t = e, this.exports = void 0, this.hasDestroy = tt in e && typeof e.destroy == "function", re.prototype.addController.call(e, {
|
|
2406
2404
|
// Lit will call these callbacks
|
|
@@ -2506,7 +2504,7 @@ process.env.NODE_ENV !== "production" && U() && (yn.prototype.devOnly$ensureHasD
|
|
|
2506
2504
|
let sn = 1e3;
|
|
2507
2505
|
const tt = "autoDestroyDisabled";
|
|
2508
2506
|
process.env.NODE_ENV !== "production" && U();
|
|
2509
|
-
var le, xe, We, de, X, Ce,
|
|
2507
|
+
var le, xe, We, de, X, Ce, gn, mn;
|
|
2510
2508
|
const Ue = class Ue extends re {
|
|
2511
2509
|
constructor() {
|
|
2512
2510
|
super();
|
|
@@ -2523,10 +2521,10 @@ const Ue = class Ue extends re {
|
|
|
2523
2521
|
F(this, de);
|
|
2524
2522
|
F(this, X);
|
|
2525
2523
|
this.M = [], this.manager = new yn(this);
|
|
2526
|
-
const t = this, o = t.constructor, r = o.N,
|
|
2524
|
+
const t = this, o = t.constructor, r = o.N, a = o.K.o, u = Ue.prototype.shouldUpdate;
|
|
2527
2525
|
if (V(t, de, r?.H ?? new He()), t.I = r?.I ?? new He(), t.J = r?.J ?? [], t._offspring = t.J, t._postLoad = t.I, t.el = r ?? t, V(t, We, t.enableUpdating), t.enableUpdating = _t, t.shouldUpdate !== u && (V(t, xe, t.shouldUpdate), t.shouldUpdate = u), process.env.NODE_ENV !== "production") {
|
|
2528
|
-
const p = globalThis.devOnly$ownTagNames?.has(t.el.localName), h = this.constructor,
|
|
2529
|
-
!p && !
|
|
2526
|
+
const p = globalThis.devOnly$ownTagNames?.has(t.el.localName), h = this.constructor, g = h.enabledWarnings !== re.enabledWarnings;
|
|
2527
|
+
!p && !g && h.disableWarning?.("change-in-update"), U() && (globalThis.devOnly$luminaComponentRefCallback?.(this), Object.entries({
|
|
2530
2528
|
componentDidLoad: "loaded",
|
|
2531
2529
|
componentDidRender: "updated",
|
|
2532
2530
|
componentDidUpdate: "updated",
|
|
@@ -2541,7 +2539,7 @@ const Ue = class Ue extends re {
|
|
|
2541
2539
|
);
|
|
2542
2540
|
}));
|
|
2543
2541
|
}
|
|
2544
|
-
|
|
2542
|
+
a && (V(t, le, /* @__PURE__ */ new Map()), o.elementProperties.forEach((p, h) => L(t, le).set(h, a())));
|
|
2545
2543
|
}
|
|
2546
2544
|
/**
|
|
2547
2545
|
* Customize Lit's default style handling to support non-shadow-root styles
|
|
@@ -2552,7 +2550,7 @@ const Ue = class Ue extends re {
|
|
|
2552
2550
|
return this.K?.commonStyles === void 0 || r ? o : [this.K.commonStyles, ...o];
|
|
2553
2551
|
}
|
|
2554
2552
|
static createProperty(t, o) {
|
|
2555
|
-
const r = typeof o == "number" ? o : Array.isArray(o) ? o[0] : 0,
|
|
2553
|
+
const r = typeof o == "number" ? o : Array.isArray(o) ? o[0] : 0, a = Array.isArray(o) ? o[1] : void 0, u = a?.hasChanged ?? yt, p = {
|
|
2556
2554
|
/**
|
|
2557
2555
|
* By default to infer attribute name from property name, Lit just
|
|
2558
2556
|
* converts property name to lowercase. That is consistent with
|
|
@@ -2569,9 +2567,9 @@ const Ue = class Ue extends re {
|
|
|
2569
2567
|
*
|
|
2570
2568
|
* Thus, overwriting Lit's default behavior to use kebab-case:
|
|
2571
2569
|
*/
|
|
2572
|
-
attribute: r & Eo && typeof t == "string" ?
|
|
2570
|
+
attribute: r & Eo && typeof t == "string" ? mo(t) : !1,
|
|
2573
2571
|
reflect: !!(r & _o),
|
|
2574
|
-
type: r &
|
|
2572
|
+
type: r & bo ? Boolean : r & wo ? Number : void 0,
|
|
2575
2573
|
/**
|
|
2576
2574
|
* At the moment in Lit, state:true just means attribute:false, so this
|
|
2577
2575
|
* line is technically redundant, but let's keep it here just in case Lit
|
|
@@ -2582,20 +2580,20 @@ const Ue = class Ue extends re {
|
|
|
2582
2580
|
readOnly: !!(r & Ao),
|
|
2583
2581
|
noAccessor: !!(r & Co),
|
|
2584
2582
|
c: !1,
|
|
2585
|
-
...
|
|
2586
|
-
hasChanged(h,
|
|
2587
|
-
const
|
|
2588
|
-
return p.c =
|
|
2583
|
+
...a,
|
|
2584
|
+
hasChanged(h, g) {
|
|
2585
|
+
const m = u(h, g);
|
|
2586
|
+
return p.c = m, m;
|
|
2589
2587
|
}
|
|
2590
2588
|
};
|
|
2591
2589
|
super.createProperty(t, p);
|
|
2592
2590
|
}
|
|
2593
2591
|
static getPropertyDescriptor(t, o, r) {
|
|
2594
|
-
const
|
|
2592
|
+
const a = this.K, u = super.getPropertyDescriptor(t, o, r);
|
|
2595
2593
|
return r.d = u, {
|
|
2596
2594
|
...u,
|
|
2597
2595
|
get() {
|
|
2598
|
-
return
|
|
2596
|
+
return a.t?.(L(this, le).get(t)), u.get?.call(this);
|
|
2599
2597
|
},
|
|
2600
2598
|
set(p) {
|
|
2601
2599
|
const h = this.manager;
|
|
@@ -2615,7 +2613,7 @@ const Ue = class Ue extends re {
|
|
|
2615
2613
|
const o = !this.manager.connectedCalled;
|
|
2616
2614
|
super.connectedCallback(), o ? queueMicrotask(
|
|
2617
2615
|
// eslint-disable-next-line @typescript-eslint/promise-function-async, @typescript-eslint/no-misused-promises
|
|
2618
|
-
() =>
|
|
2616
|
+
() => me(this, Ce, mn).call(this).catch((r) => {
|
|
2619
2617
|
L(this, de).reject(r), setTimeout(() => {
|
|
2620
2618
|
throw r;
|
|
2621
2619
|
});
|
|
@@ -2653,15 +2651,15 @@ const Ue = class Ue extends re {
|
|
|
2653
2651
|
return this.manager.Q = t, ((o = L(this, xe)) == null ? void 0 : o.call(this, t)) ?? !0;
|
|
2654
2652
|
}
|
|
2655
2653
|
update(t) {
|
|
2656
|
-
L(this, X) ?
|
|
2654
|
+
L(this, X) ? me(this, Ce, gn).call(this, t) : super.update(t);
|
|
2657
2655
|
}
|
|
2658
2656
|
listen(t, o, r) {
|
|
2659
|
-
const
|
|
2660
|
-
this.manager.onLifecycle(() => (this.el.addEventListener(t,
|
|
2657
|
+
const a = o?.bind(this) ?? o;
|
|
2658
|
+
this.manager.onLifecycle(() => (this.el.addEventListener(t, a, r), () => this.el.removeEventListener(t, a, r)));
|
|
2661
2659
|
}
|
|
2662
|
-
listenOn(t, o, r,
|
|
2660
|
+
listenOn(t, o, r, a) {
|
|
2663
2661
|
const u = r?.bind(this) ?? r;
|
|
2664
|
-
this.manager.onLifecycle(() => (t.addEventListener(o, u,
|
|
2662
|
+
this.manager.onLifecycle(() => (t.addEventListener(o, u, a), () => t.removeEventListener(o, u, a)));
|
|
2665
2663
|
}
|
|
2666
2664
|
/**
|
|
2667
2665
|
* Create a promise that resolves once component is fully loaded.
|
|
@@ -2695,7 +2693,7 @@ const Ue = class Ue extends re {
|
|
|
2695
2693
|
this.M.splice(this.M.indexOf(t), 1), t.controllerRemoved?.();
|
|
2696
2694
|
}
|
|
2697
2695
|
};
|
|
2698
|
-
le = new WeakMap(), xe = new WeakMap(), We = new WeakMap(), de = new WeakMap(), X = new WeakMap(), Ce = new WeakSet(),
|
|
2696
|
+
le = new WeakMap(), xe = new WeakMap(), We = new WeakMap(), de = new WeakMap(), X = new WeakMap(), Ce = new WeakSet(), gn = function(t) {
|
|
2699
2697
|
try {
|
|
2700
2698
|
L(this, X).clear(), this.constructor.K.r(
|
|
2701
2699
|
L(this, X),
|
|
@@ -2704,26 +2702,26 @@ le = new WeakMap(), xe = new WeakMap(), We = new WeakMap(), de = new WeakMap(),
|
|
|
2704
2702
|
} catch (o) {
|
|
2705
2703
|
throw L(this, X).clear(), o;
|
|
2706
2704
|
}
|
|
2707
|
-
},
|
|
2705
|
+
}, mn = async function() {
|
|
2708
2706
|
const t = this.el.G ?? fn(this.el);
|
|
2709
2707
|
t && await t;
|
|
2710
2708
|
const o = [];
|
|
2711
|
-
for (const
|
|
2712
|
-
"triggerLoad" in
|
|
2709
|
+
for (const a of this.M)
|
|
2710
|
+
"triggerLoad" in a ? o.push(a.triggerLoad()) : o.push(lt(a.hostLoad, a));
|
|
2713
2711
|
await Promise.all(o), await this.load?.(), this.manager.hasDestroy && this.manager.onUpdate(
|
|
2714
|
-
(
|
|
2712
|
+
(a) => a.has(tt) && this.manager.U()
|
|
2715
2713
|
), L(this, We).call(this, !0), this.performUpdate(), this.I.resolve(), await Promise.resolve();
|
|
2716
|
-
const r = this.J.filter((
|
|
2717
|
-
r.length && await Promise.allSettled(r.map(async (
|
|
2718
|
-
for (const
|
|
2719
|
-
"triggerLoaded" in
|
|
2714
|
+
const r = this.J.filter((a) => !a.manager?.loadedCalled);
|
|
2715
|
+
r.length && await Promise.allSettled(r.map(async (a) => await a.componentOnReady())), this.J.length = 0, this.el.setAttribute(this.constructor.K.hydratedAttribute, "");
|
|
2716
|
+
for (const a of this.M)
|
|
2717
|
+
"triggerLoaded" in a ? a.triggerLoaded() : x(a.hostLoaded, a);
|
|
2720
2718
|
this.loaded?.(), L(this, de).resolve();
|
|
2721
2719
|
}, Ue.lumina = !0;
|
|
2722
2720
|
let an = Ue;
|
|
2723
2721
|
const No = {}, Lo = (s, e) => (t) => {
|
|
2724
2722
|
const o = t.tagName;
|
|
2725
2723
|
let r = No;
|
|
2726
|
-
const
|
|
2724
|
+
const a = {
|
|
2727
2725
|
name: o,
|
|
2728
2726
|
/**
|
|
2729
2727
|
* Lit's createComponent tries to access the elementClass.prototype in
|
|
@@ -2744,14 +2742,14 @@ const No = {}, Lo = (s, e) => (t) => {
|
|
|
2744
2742
|
const p = customElements.get(o);
|
|
2745
2743
|
if (!p)
|
|
2746
2744
|
throw new Error(`Custom element "${o}" not found`);
|
|
2747
|
-
p.F?.(), p.F = _t, r = p.prototype, Object.defineProperty(
|
|
2745
|
+
p.F?.(), p.F = _t, r = p.prototype, Object.defineProperty(a, "prototype", { value: r });
|
|
2748
2746
|
}
|
|
2749
2747
|
return r;
|
|
2750
2748
|
}
|
|
2751
2749
|
}, u = e({
|
|
2752
2750
|
...t,
|
|
2753
2751
|
react: s,
|
|
2754
|
-
elementClass:
|
|
2752
|
+
elementClass: a
|
|
2755
2753
|
});
|
|
2756
2754
|
return r = void 0, u;
|
|
2757
2755
|
}, R = (s, e) => ({ tagName: s, events: e }), T = /* @__PURE__ */ Lo(Ln, kn), Do = /* @__PURE__ */ T(
|
|
@@ -2808,12 +2806,12 @@ const No = {}, Lo = (s, e) => (t) => {
|
|
|
2808
2806
|
"instant-apps-interactive-legend-classic",
|
|
2809
2807
|
{}
|
|
2810
2808
|
)
|
|
2811
|
-
),
|
|
2809
|
+
), Yo = /* @__PURE__ */ T(
|
|
2812
2810
|
R(
|
|
2813
2811
|
"instant-apps-interactive-legend-count",
|
|
2814
2812
|
{}
|
|
2815
2813
|
)
|
|
2816
|
-
),
|
|
2814
|
+
), qo = /* @__PURE__ */ T(
|
|
2817
2815
|
R(
|
|
2818
2816
|
"instant-apps-interactive-legend-group-legend-element",
|
|
2819
2817
|
{}
|
|
@@ -2967,8 +2965,8 @@ export {
|
|
|
2967
2965
|
xo as InstantAppsHeader,
|
|
2968
2966
|
Wo as InstantAppsInteractiveLegend,
|
|
2969
2967
|
zo as InstantAppsInteractiveLegendClassic,
|
|
2970
|
-
|
|
2971
|
-
|
|
2968
|
+
Yo as InstantAppsInteractiveLegendCount,
|
|
2969
|
+
qo as InstantAppsInteractiveLegendGroupLegendElement,
|
|
2972
2970
|
Vo as InstantAppsInteractiveLegendGroupLegendElementCaption,
|
|
2973
2971
|
Bo as InstantAppsInteractiveLegendLayerElement,
|
|
2974
2972
|
Fo as InstantAppsInteractiveLegendLayerElementCaption,
|