@arcgis/instant-apps-components-react 4.34.0-next.60 → 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 +492 -491
- 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,42 +1230,32 @@ 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;
|
|
1257
|
-
}
|
|
1258
|
-
|
|
1259
|
-
/**
|
|
1260
|
-
* Creates a new deferred promise.
|
|
1261
|
-
*/
|
|
1262
|
-
constructor() {
|
|
1263
|
-
this.promise = new Promise((e, t) => {
|
|
1264
|
-
this.resolve = e, this.reject = t;
|
|
1265
|
-
});
|
|
1266
|
-
}
|
|
1267
|
-
}
|
|
1268
|
-
const U = () => (
|
|
1257
|
+
}, U = () => (
|
|
1258
|
+
//#endregion isEsriInternalEnv
|
|
1269
1259
|
/*
|
|
1270
1260
|
* `globalThis.` is important here. Some bundlers remove the `typeof process`
|
|
1271
1261
|
* checks, but don't remove the usages of undefined variables - this can cause
|
|
@@ -1289,14 +1279,7 @@ const U = () => (
|
|
|
1289
1279
|
} catch (o) {
|
|
1290
1280
|
console.error(o, s);
|
|
1291
1281
|
}
|
|
1292
|
-
}, Dn = (s) => s
|
|
1293
|
-
const t = e / Mn;
|
|
1294
|
-
let o = 0;
|
|
1295
|
-
const r = setInterval(() => {
|
|
1296
|
-
o += t, o >= e && (clearInterval(r), s());
|
|
1297
|
-
}, t);
|
|
1298
|
-
return r;
|
|
1299
|
-
}, Mn = 4, ht = Symbol.for("controller"), jn = (s) => typeof s == "object" && s !== null && (ht in s || "hostConnected" in s || "hostDisconnected" in s || "hostUpdate" in s || "hostUpdated" in s);
|
|
1282
|
+
}, ht = Symbol.for("controller"), Dn = (s) => typeof s == "object" && s !== null && (ht in s || "hostConnected" in s || "hostDisconnected" in s || "hostUpdate" in s || "hostUpdated" in s);
|
|
1300
1283
|
let Ee;
|
|
1301
1284
|
const ke = (s) => {
|
|
1302
1285
|
Ee !== s && (Ee = s, queueMicrotask(() => Ee === s ? Ee = void 0 : 0));
|
|
@@ -1311,35 +1294,33 @@ const ke = (s) => {
|
|
|
1311
1294
|
`@arcgis/lumina package installed
|
|
1312
1295
|
`,
|
|
1313
1296
|
...U() ? [
|
|
1314
|
-
"- You tried to create controller outside the component
|
|
1315
|
-
"
|
|
1316
|
-
"
|
|
1317
|
-
"
|
|
1318
|
-
"
|
|
1319
|
-
`instead.
|
|
1320
|
-
`,
|
|
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(...);",
|
|
1321
1302
|
"- You tried to create a controller inside an async function. ",
|
|
1322
|
-
"This is allowed without calling controller.use(). Make
|
|
1323
|
-
"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())`."
|
|
1324
1305
|
] : []
|
|
1325
1306
|
].join("")
|
|
1326
1307
|
);
|
|
1327
1308
|
return Ee;
|
|
1328
1309
|
};
|
|
1329
1310
|
let ce = [];
|
|
1330
|
-
const
|
|
1311
|
+
const Un = (s) => {
|
|
1331
1312
|
if (s === void 0) {
|
|
1332
1313
|
ce = [];
|
|
1333
1314
|
return;
|
|
1334
1315
|
}
|
|
1335
1316
|
const e = ce.indexOf(s);
|
|
1336
1317
|
ce = e === -1 ? [...ce, s] : ce.slice(0, e + 1), queueMicrotask(() => ce = []);
|
|
1337
|
-
},
|
|
1338
|
-
let
|
|
1339
|
-
const
|
|
1340
|
-
const s =
|
|
1341
|
-
return
|
|
1342
|
-
},
|
|
1318
|
+
}, In = () => ce;
|
|
1319
|
+
let Yt;
|
|
1320
|
+
const Mn = () => {
|
|
1321
|
+
const s = Yt;
|
|
1322
|
+
return Yt = void 0, s;
|
|
1323
|
+
}, jn = async (s, e) => {
|
|
1343
1324
|
const t = pt(s);
|
|
1344
1325
|
if (t === void 0) {
|
|
1345
1326
|
if (process.env.NODE_ENV !== "production" && U() && typeof e == "function")
|
|
@@ -1356,7 +1337,7 @@ const Wn = () => {
|
|
|
1356
1337
|
);
|
|
1357
1338
|
}
|
|
1358
1339
|
return t.exports;
|
|
1359
|
-
},
|
|
1340
|
+
}, Hn = async (s) => {
|
|
1360
1341
|
const e = pt(s);
|
|
1361
1342
|
if (process.env.NODE_ENV !== "production" && U() && e === void 0)
|
|
1362
1343
|
throw new Error(
|
|
@@ -1367,9 +1348,9 @@ const Wn = () => {
|
|
|
1367
1348
|
const t = nt().manager.X(s);
|
|
1368
1349
|
if (t !== void 0)
|
|
1369
1350
|
return t;
|
|
1370
|
-
if (
|
|
1351
|
+
if (Dn(s))
|
|
1371
1352
|
return s;
|
|
1372
|
-
const o =
|
|
1353
|
+
const o = Mn();
|
|
1373
1354
|
if (o !== void 0)
|
|
1374
1355
|
return o;
|
|
1375
1356
|
};
|
|
@@ -1378,8 +1359,8 @@ const Wn = () => {
|
|
|
1378
1359
|
* Copyright 2019 Google LLC
|
|
1379
1360
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1380
1361
|
*/
|
|
1381
|
-
const Xe = globalThis, ft = Xe.ShadowRoot && (Xe.ShadyCSS === void 0 || Xe.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, cn = Symbol(),
|
|
1382
|
-
let
|
|
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();
|
|
1363
|
+
let xn = class {
|
|
1383
1364
|
constructor(e, t, o) {
|
|
1384
1365
|
if (this._$cssResult$ = !0, o !== cn) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
1385
1366
|
this.cssText = e, this.t = t;
|
|
@@ -1389,7 +1370,7 @@ let Yn = class {
|
|
|
1389
1370
|
const t = this.t;
|
|
1390
1371
|
if (ft && e === void 0) {
|
|
1391
1372
|
const o = t !== void 0 && t.length === 1;
|
|
1392
|
-
o && (e =
|
|
1373
|
+
o && (e = qt.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), o && qt.set(t, e));
|
|
1393
1374
|
}
|
|
1394
1375
|
return e;
|
|
1395
1376
|
}
|
|
@@ -1397,7 +1378,7 @@ let Yn = class {
|
|
|
1397
1378
|
return this.cssText;
|
|
1398
1379
|
}
|
|
1399
1380
|
};
|
|
1400
|
-
const
|
|
1381
|
+
const Wn = (s) => new xn(typeof s == "string" ? s : s + "", void 0, cn), zn = (s, e) => {
|
|
1401
1382
|
if (ft) s.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet);
|
|
1402
1383
|
else for (const t of e) {
|
|
1403
1384
|
const o = document.createElement("style"), r = Xe.litNonce;
|
|
@@ -1406,17 +1387,17 @@ const Vn = (s) => new Yn(typeof s == "string" ? s : s + "", void 0, cn), Bn = (s
|
|
|
1406
1387
|
}, Vt = ft ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((e) => {
|
|
1407
1388
|
let t = "";
|
|
1408
1389
|
for (const o of e.cssRules) t += o.cssText;
|
|
1409
|
-
return
|
|
1390
|
+
return Wn(t);
|
|
1410
1391
|
})(s) : s;
|
|
1411
1392
|
/**
|
|
1412
1393
|
* @license
|
|
1413
1394
|
* Copyright 2017 Google LLC
|
|
1414
1395
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1415
1396
|
*/
|
|
1416
|
-
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) {
|
|
1417
1398
|
switch (e) {
|
|
1418
1399
|
case Boolean:
|
|
1419
|
-
s = s ?
|
|
1400
|
+
s = s ? Gn : null;
|
|
1420
1401
|
break;
|
|
1421
1402
|
case Object:
|
|
1422
1403
|
case Array:
|
|
@@ -1441,7 +1422,7 @@ const { is: Fn, defineProperty: Kn, getOwnPropertyDescriptor: Gn, getOwnProperty
|
|
|
1441
1422
|
}
|
|
1442
1423
|
}
|
|
1443
1424
|
return t;
|
|
1444
|
-
} }, yt = (s, e) => !
|
|
1425
|
+
} }, yt = (s, e) => !Yn(s, e), Ft = { attribute: !0, type: String, converter: dt, reflect: !1, useDefault: !1, hasChanged: yt };
|
|
1445
1426
|
Symbol.metadata ??= Symbol("metadata"), ot.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
|
|
1446
1427
|
class ve extends HTMLElement {
|
|
1447
1428
|
static addInitializer(e) {
|
|
@@ -1453,18 +1434,18 @@ class ve extends HTMLElement {
|
|
|
1453
1434
|
static createProperty(e, t = Ft) {
|
|
1454
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) {
|
|
1455
1436
|
const o = Symbol(), r = this.getPropertyDescriptor(e, o, t);
|
|
1456
|
-
r !== void 0 &&
|
|
1437
|
+
r !== void 0 && qn(this.prototype, e, r);
|
|
1457
1438
|
}
|
|
1458
1439
|
}
|
|
1459
1440
|
static getPropertyDescriptor(e, t, o) {
|
|
1460
|
-
const { get: r, set:
|
|
1441
|
+
const { get: r, set: a } = Vn(this.prototype, e) ?? { get() {
|
|
1461
1442
|
return this[t];
|
|
1462
1443
|
}, set(u) {
|
|
1463
1444
|
this[t] = u;
|
|
1464
1445
|
} };
|
|
1465
1446
|
return { get: r, set(u) {
|
|
1466
1447
|
const p = r?.call(this);
|
|
1467
|
-
|
|
1448
|
+
a?.call(this, u), this.requestUpdate(e, p, o);
|
|
1468
1449
|
}, configurable: !0, enumerable: !0 };
|
|
1469
1450
|
}
|
|
1470
1451
|
static getPropertyOptions(e) {
|
|
@@ -1472,13 +1453,13 @@ class ve extends HTMLElement {
|
|
|
1472
1453
|
}
|
|
1473
1454
|
static _$Ei() {
|
|
1474
1455
|
if (this.hasOwnProperty(De("elementProperties"))) return;
|
|
1475
|
-
const e =
|
|
1456
|
+
const e = Kn(this);
|
|
1476
1457
|
e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
|
|
1477
1458
|
}
|
|
1478
1459
|
static finalize() {
|
|
1479
1460
|
if (this.hasOwnProperty(De("finalized"))) return;
|
|
1480
1461
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(De("properties"))) {
|
|
1481
|
-
const t = this.properties, o = [...
|
|
1462
|
+
const t = this.properties, o = [...Bn(t), ...Fn(t)];
|
|
1482
1463
|
for (const r of o) this.createProperty(r, t[r]);
|
|
1483
1464
|
}
|
|
1484
1465
|
const e = this[Symbol.metadata];
|
|
@@ -1524,7 +1505,7 @@ class ve extends HTMLElement {
|
|
|
1524
1505
|
}
|
|
1525
1506
|
createRenderRoot() {
|
|
1526
1507
|
const e = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
1527
|
-
return
|
|
1508
|
+
return zn(e, this.constructor.elementStyles), e;
|
|
1528
1509
|
}
|
|
1529
1510
|
connectedCallback() {
|
|
1530
1511
|
this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(!0), this._$EO?.forEach((e) => e.hostConnected?.());
|
|
@@ -1540,27 +1521,27 @@ class ve extends HTMLElement {
|
|
|
1540
1521
|
_$ET(e, t) {
|
|
1541
1522
|
const o = this.constructor.elementProperties.get(e), r = this.constructor._$Eu(e, o);
|
|
1542
1523
|
if (r !== void 0 && o.reflect === !0) {
|
|
1543
|
-
const
|
|
1544
|
-
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;
|
|
1545
1526
|
}
|
|
1546
1527
|
}
|
|
1547
1528
|
_$AK(e, t) {
|
|
1548
1529
|
const o = this.constructor, r = o._$Eh.get(e);
|
|
1549
1530
|
if (r !== void 0 && this._$Em !== r) {
|
|
1550
|
-
const
|
|
1551
|
-
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;
|
|
1552
1533
|
}
|
|
1553
1534
|
}
|
|
1554
1535
|
requestUpdate(e, t, o) {
|
|
1555
1536
|
if (e !== void 0) {
|
|
1556
|
-
const r = this.constructor,
|
|
1557
|
-
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;
|
|
1558
1539
|
this.C(e, t, o);
|
|
1559
1540
|
}
|
|
1560
1541
|
this.isUpdatePending === !1 && (this._$ES = this._$EP());
|
|
1561
1542
|
}
|
|
1562
|
-
C(e, t, { useDefault: o, reflect: r, wrapped:
|
|
1563
|
-
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));
|
|
1564
1545
|
}
|
|
1565
1546
|
async _$EP() {
|
|
1566
1547
|
this.isUpdatePending = !0;
|
|
@@ -1579,13 +1560,13 @@ class ve extends HTMLElement {
|
|
|
1579
1560
|
if (!this.isUpdatePending) return;
|
|
1580
1561
|
if (!this.hasUpdated) {
|
|
1581
1562
|
if (this.renderRoot ??= this.createRenderRoot(), this._$Ep) {
|
|
1582
|
-
for (const [r,
|
|
1563
|
+
for (const [r, a] of this._$Ep) this[r] = a;
|
|
1583
1564
|
this._$Ep = void 0;
|
|
1584
1565
|
}
|
|
1585
1566
|
const o = this.constructor.elementProperties;
|
|
1586
|
-
if (o.size > 0) for (const [r,
|
|
1587
|
-
const { wrapped: u } =
|
|
1588
|
-
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);
|
|
1589
1570
|
}
|
|
1590
1571
|
}
|
|
1591
1572
|
let e = !1;
|
|
@@ -1622,61 +1603,61 @@ class ve extends HTMLElement {
|
|
|
1622
1603
|
firstUpdated(e) {
|
|
1623
1604
|
}
|
|
1624
1605
|
}
|
|
1625
|
-
ve.elementStyles = [], ve.shadowRootOptions = { mode: "open" }, ve[De("elementProperties")] = /* @__PURE__ */ new Map(), ve[De("finalized")] = /* @__PURE__ */ new Map(),
|
|
1606
|
+
ve.elementStyles = [], ve.shadowRootOptions = { mode: "open" }, ve[De("elementProperties")] = /* @__PURE__ */ new Map(), ve[De("finalized")] = /* @__PURE__ */ new Map(), Qn?.({ ReactiveElement: ve }), (ot.reactiveElementVersions ??= []).push("2.1.0");
|
|
1626
1607
|
/**
|
|
1627
1608
|
* @license
|
|
1628
1609
|
* Copyright 2017 Google LLC
|
|
1629
1610
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1630
1611
|
*/
|
|
1631
|
-
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 = `[
|
|
1632
1613
|
\f\r]`, Le = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Gt = /-->/g, Qt = />/g, ae = RegExp(`>|${ut}(?:([^\\s"'>=/]+)(${ut}*=${ut}*(?:[^
|
|
1633
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);
|
|
1634
1615
|
function hn(s, e) {
|
|
1635
|
-
if (!
|
|
1616
|
+
if (!mt(s) || !s.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
1636
1617
|
return Kt !== void 0 ? Kt.createHTML(e) : e;
|
|
1637
1618
|
}
|
|
1638
|
-
const
|
|
1619
|
+
const Jn = (s, e) => {
|
|
1639
1620
|
const t = s.length - 1, o = [];
|
|
1640
|
-
let r,
|
|
1621
|
+
let r, a = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", u = Le;
|
|
1641
1622
|
for (let p = 0; p < t; p++) {
|
|
1642
1623
|
const h = s[p];
|
|
1643
|
-
let
|
|
1644
|
-
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);
|
|
1645
1626
|
const N = u === ae && s[p + 1].startsWith("/>") ? " " : "";
|
|
1646
|
-
|
|
1627
|
+
a += u === Le ? h + Xn : _ >= 0 ? (o.push(g), h.slice(0, _) + un + h.slice(_) + oe + N) : h + oe + (_ === -2 ? p : N);
|
|
1647
1628
|
}
|
|
1648
|
-
return [hn(s,
|
|
1629
|
+
return [hn(s, a + (s[t] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), o];
|
|
1649
1630
|
};
|
|
1650
|
-
class
|
|
1631
|
+
class je {
|
|
1651
1632
|
constructor({ strings: e, _$litType$: t }, o) {
|
|
1652
1633
|
let r;
|
|
1653
1634
|
this.parts = [];
|
|
1654
|
-
let
|
|
1655
|
-
const p = e.length - 1, h = this.parts, [
|
|
1656
|
-
if (this.el =
|
|
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) {
|
|
1657
1638
|
const _ = this.el.content.firstChild;
|
|
1658
1639
|
_.replaceWith(..._.childNodes);
|
|
1659
1640
|
}
|
|
1660
1641
|
for (; (r = ue.nextNode()) !== null && h.length < p; ) {
|
|
1661
1642
|
if (r.nodeType === 1) {
|
|
1662
1643
|
if (r.hasAttributes()) for (const _ of r.getAttributeNames()) if (_.endsWith(un)) {
|
|
1663
|
-
const D =
|
|
1664
|
-
h.push({ type: 1, index:
|
|
1665
|
-
} 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(_));
|
|
1666
1647
|
if (dn.test(r.tagName)) {
|
|
1667
1648
|
const _ = r.textContent.split(oe), D = _.length - 1;
|
|
1668
1649
|
if (D > 0) {
|
|
1669
1650
|
r.textContent = et ? et.emptyScript : "";
|
|
1670
|
-
for (let N = 0; N < D; N++) r.append(_[N],
|
|
1671
|
-
r.append(_[D],
|
|
1651
|
+
for (let N = 0; N < D; N++) r.append(_[N], Ie()), ue.nextNode(), h.push({ type: 2, index: ++a });
|
|
1652
|
+
r.append(_[D], Ie());
|
|
1672
1653
|
}
|
|
1673
1654
|
}
|
|
1674
|
-
} 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 });
|
|
1675
1656
|
else {
|
|
1676
1657
|
let _ = -1;
|
|
1677
|
-
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;
|
|
1678
1659
|
}
|
|
1679
|
-
|
|
1660
|
+
a++;
|
|
1680
1661
|
}
|
|
1681
1662
|
}
|
|
1682
1663
|
static createElement(e, t) {
|
|
@@ -1687,10 +1668,10 @@ class He {
|
|
|
1687
1668
|
function Ae(s, e, t = s, o) {
|
|
1688
1669
|
if (e === $e) return e;
|
|
1689
1670
|
let r = o !== void 0 ? t._$Co?.[o] : t._$Cl;
|
|
1690
|
-
const
|
|
1691
|
-
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;
|
|
1692
1673
|
}
|
|
1693
|
-
class
|
|
1674
|
+
class eo {
|
|
1694
1675
|
constructor(e, t) {
|
|
1695
1676
|
this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = t;
|
|
1696
1677
|
}
|
|
@@ -1703,13 +1684,13 @@ class ro {
|
|
|
1703
1684
|
u(e) {
|
|
1704
1685
|
const { el: { content: t }, parts: o } = this._$AD, r = (e?.creationScope ?? he).importNode(t, !0);
|
|
1705
1686
|
ue.currentNode = r;
|
|
1706
|
-
let
|
|
1687
|
+
let a = ue.nextNode(), u = 0, p = 0, h = o[0];
|
|
1707
1688
|
for (; h !== void 0; ) {
|
|
1708
1689
|
if (u === h.index) {
|
|
1709
|
-
let
|
|
1710
|
-
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];
|
|
1711
1692
|
}
|
|
1712
|
-
u !== h?.index && (
|
|
1693
|
+
u !== h?.index && (a = ue.nextNode(), u++);
|
|
1713
1694
|
}
|
|
1714
1695
|
return ue.currentNode = he, r;
|
|
1715
1696
|
}
|
|
@@ -1737,7 +1718,7 @@ class ze {
|
|
|
1737
1718
|
return this._$AB;
|
|
1738
1719
|
}
|
|
1739
1720
|
_$AI(e, t = this) {
|
|
1740
|
-
e = Ae(this, e, t),
|
|
1721
|
+
e = Ae(this, e, t), Me(e) ? e === W || e == null || e === "" ? (this._$AH !== W && this._$AR(), this._$AH = W) : e !== this._$AH && e !== $e && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : Zn(e) ? this.k(e) : this._(e);
|
|
1741
1722
|
}
|
|
1742
1723
|
O(e) {
|
|
1743
1724
|
return this._$AA.parentNode.insertBefore(e, this._$AB);
|
|
@@ -1746,25 +1727,25 @@ class ze {
|
|
|
1746
1727
|
this._$AH !== e && (this._$AR(), this._$AH = this.O(e));
|
|
1747
1728
|
}
|
|
1748
1729
|
_(e) {
|
|
1749
|
-
this._$AH !== W &&
|
|
1730
|
+
this._$AH !== W && Me(this._$AH) ? this._$AA.nextSibling.data = e : this.T(he.createTextNode(e)), this._$AH = e;
|
|
1750
1731
|
}
|
|
1751
1732
|
$(e) {
|
|
1752
|
-
const { values: t, _$litType$: o } = e, r = typeof o == "number" ? this._$AC(e) : (o.el === void 0 && (o.el =
|
|
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);
|
|
1753
1734
|
if (this._$AH?._$AD === r) this._$AH.p(t);
|
|
1754
1735
|
else {
|
|
1755
|
-
const
|
|
1756
|
-
|
|
1736
|
+
const a = new eo(r, this), u = a.u(this.options);
|
|
1737
|
+
a.p(t), this.T(u), this._$AH = a;
|
|
1757
1738
|
}
|
|
1758
1739
|
}
|
|
1759
1740
|
_$AC(e) {
|
|
1760
1741
|
let t = Jt.get(e.strings);
|
|
1761
|
-
return t === void 0 && Jt.set(e.strings, t = new
|
|
1742
|
+
return t === void 0 && Jt.set(e.strings, t = new je(e)), t;
|
|
1762
1743
|
}
|
|
1763
1744
|
k(e) {
|
|
1764
|
-
|
|
1745
|
+
mt(this._$AH) || (this._$AH = [], this._$AR());
|
|
1765
1746
|
const t = this._$AH;
|
|
1766
1747
|
let o, r = 0;
|
|
1767
|
-
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++;
|
|
1768
1749
|
r < t.length && (this._$AR(o && o._$AB.nextSibling, r), t.length = r);
|
|
1769
1750
|
}
|
|
1770
1751
|
_$AR(e = this._$AA.nextSibling, t) {
|
|
@@ -1784,17 +1765,17 @@ class rt {
|
|
|
1784
1765
|
get _$AU() {
|
|
1785
1766
|
return this._$AM._$AU;
|
|
1786
1767
|
}
|
|
1787
|
-
constructor(e, t, o, r,
|
|
1788
|
-
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;
|
|
1789
1770
|
}
|
|
1790
1771
|
_$AI(e, t = this, o, r) {
|
|
1791
|
-
const
|
|
1772
|
+
const a = this.strings;
|
|
1792
1773
|
let u = !1;
|
|
1793
|
-
if (
|
|
1774
|
+
if (a === void 0) e = Ae(this, e, t, 0), u = !Me(e) || e !== this._$AH && e !== $e, u && (this._$AH = e);
|
|
1794
1775
|
else {
|
|
1795
1776
|
const p = e;
|
|
1796
|
-
let h,
|
|
1797
|
-
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;
|
|
1798
1779
|
}
|
|
1799
1780
|
u && !r && this.j(e);
|
|
1800
1781
|
}
|
|
@@ -1802,7 +1783,7 @@ class rt {
|
|
|
1802
1783
|
e === W ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
|
|
1803
1784
|
}
|
|
1804
1785
|
}
|
|
1805
|
-
class
|
|
1786
|
+
class to extends rt {
|
|
1806
1787
|
constructor() {
|
|
1807
1788
|
super(...arguments), this.type = 3;
|
|
1808
1789
|
}
|
|
@@ -1810,7 +1791,7 @@ class so extends rt {
|
|
|
1810
1791
|
this.element[this.name] = e === W ? void 0 : e;
|
|
1811
1792
|
}
|
|
1812
1793
|
}
|
|
1813
|
-
class
|
|
1794
|
+
class no extends rt {
|
|
1814
1795
|
constructor() {
|
|
1815
1796
|
super(...arguments), this.type = 4;
|
|
1816
1797
|
}
|
|
@@ -1818,20 +1799,20 @@ class io extends rt {
|
|
|
1818
1799
|
this.element.toggleAttribute(this.name, !!e && e !== W);
|
|
1819
1800
|
}
|
|
1820
1801
|
}
|
|
1821
|
-
class
|
|
1822
|
-
constructor(e, t, o, r,
|
|
1823
|
-
super(e, t, o, r,
|
|
1802
|
+
class oo extends rt {
|
|
1803
|
+
constructor(e, t, o, r, a) {
|
|
1804
|
+
super(e, t, o, r, a), this.type = 5;
|
|
1824
1805
|
}
|
|
1825
1806
|
_$AI(e, t = this) {
|
|
1826
1807
|
if ((e = Ae(this, e, t, 0) ?? W) === $e) return;
|
|
1827
|
-
const o = this._$AH, r = e === W && o !== W || e.capture !== o.capture || e.once !== o.once || e.passive !== o.passive,
|
|
1828
|
-
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;
|
|
1829
1810
|
}
|
|
1830
1811
|
handleEvent(e) {
|
|
1831
1812
|
typeof this._$AH == "function" ? this._$AH.call(this.options?.host ?? this.element, e) : this._$AH.handleEvent(e);
|
|
1832
1813
|
}
|
|
1833
1814
|
}
|
|
1834
|
-
class
|
|
1815
|
+
class ro {
|
|
1835
1816
|
constructor(e, t, o) {
|
|
1836
1817
|
this.element = e, this.type = 6, this._$AN = void 0, this._$AM = t, this.options = o;
|
|
1837
1818
|
}
|
|
@@ -1842,14 +1823,14 @@ class co {
|
|
|
1842
1823
|
Ae(this, e);
|
|
1843
1824
|
}
|
|
1844
1825
|
}
|
|
1845
|
-
const
|
|
1846
|
-
|
|
1847
|
-
const
|
|
1826
|
+
const so = gt.litHtmlPolyfillSupport;
|
|
1827
|
+
so?.(je, ze), (gt.litHtmlVersions ??= []).push("3.3.0");
|
|
1828
|
+
const io = (s, e, t) => {
|
|
1848
1829
|
const o = t?.renderBefore ?? e;
|
|
1849
1830
|
let r = o._$litPart$;
|
|
1850
1831
|
if (r === void 0) {
|
|
1851
|
-
const
|
|
1852
|
-
o._$litPart$ = r = new ze(e.insertBefore(
|
|
1832
|
+
const a = t?.renderBefore ?? null;
|
|
1833
|
+
o._$litPart$ = r = new ze(e.insertBefore(Ie(), a), a, void 0, t ?? {});
|
|
1853
1834
|
}
|
|
1854
1835
|
return r._$AI(s), r;
|
|
1855
1836
|
};
|
|
@@ -1869,7 +1850,7 @@ class re extends ve {
|
|
|
1869
1850
|
}
|
|
1870
1851
|
update(e) {
|
|
1871
1852
|
const t = this.render();
|
|
1872
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do =
|
|
1853
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = io(t, this.renderRoot, this.renderOptions);
|
|
1873
1854
|
}
|
|
1874
1855
|
connectedCallback() {
|
|
1875
1856
|
super.connectedCallback(), this._$Do?.setConnected(!0);
|
|
@@ -1882,15 +1863,32 @@ class re extends ve {
|
|
|
1882
1863
|
}
|
|
1883
1864
|
}
|
|
1884
1865
|
re._$litElement$ = !0, re.finalized = !0, vt.litElementHydrateSupport?.({ LitElement: re });
|
|
1885
|
-
const
|
|
1886
|
-
|
|
1866
|
+
const ao = vt.litElementPolyfillSupport;
|
|
1867
|
+
ao?.({ LitElement: re });
|
|
1887
1868
|
(vt.litElementVersions ??= []).push("4.2.0");
|
|
1888
|
-
|
|
1869
|
+
class He {
|
|
1870
|
+
/**
|
|
1871
|
+
* Creates a new deferred promise.
|
|
1872
|
+
*/
|
|
1873
|
+
constructor() {
|
|
1874
|
+
this.promise = new Promise((e, t) => {
|
|
1875
|
+
this.resolve = e, this.reject = t;
|
|
1876
|
+
});
|
|
1877
|
+
}
|
|
1878
|
+
}
|
|
1879
|
+
const co = (s, e) => {
|
|
1880
|
+
const t = e / uo;
|
|
1881
|
+
let o = 0;
|
|
1882
|
+
const r = setInterval(() => {
|
|
1883
|
+
o += t, o >= e && (clearInterval(r), s());
|
|
1884
|
+
}, t);
|
|
1885
|
+
return r;
|
|
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
|
};
|
|
@@ -1900,51 +1898,51 @@ const Et = () => {
|
|
|
1900
1898
|
const t = Object.keys(e);
|
|
1901
1899
|
s.forEach((o) => o(t));
|
|
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,
|
|
1906
|
-
},
|
|
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;
|
|
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
|
-
(u) =>
|
|
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
|
);
|
|
1922
1920
|
for (const u of o)
|
|
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;
|
|
1930
1928
|
}
|
|
1931
1929
|
return t;
|
|
1932
|
-
},
|
|
1930
|
+
}, fo = (s = "", e = {}, t = nt()) => {
|
|
1933
1931
|
const o = {
|
|
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
|
-
return s === "" &&
|
|
1945
|
+
return s === "" && po(
|
|
1948
1946
|
void 0,
|
|
1949
1947
|
process.env.NODE_ENV !== "production" && U() ? (r) => {
|
|
1950
1948
|
if (r === void 0)
|
|
@@ -1954,19 +1952,19 @@ const Et = () => {
|
|
|
1954
1952
|
o
|
|
1955
1953
|
), o;
|
|
1956
1954
|
};
|
|
1957
|
-
|
|
1955
|
+
fo.bind(null, "");
|
|
1958
1956
|
var pn;
|
|
1959
1957
|
pn = ht;
|
|
1960
|
-
class
|
|
1958
|
+
class yo {
|
|
1961
1959
|
constructor(e) {
|
|
1962
|
-
this.#n = [], this.#t = [], this.#o = [], this.#c = [], this.#u = [], this.#l = [], this.#d = [], this.#h = [], this.#i = [], this.#a = !1, this.P = new
|
|
1960
|
+
this.#n = [], this.#t = [], this.#o = [], this.#c = [], this.#u = [], this.#l = [], this.#d = [], this.#h = [], this.#i = [], this.#a = !1, this.P = new He(), this.connectedCalled = !1, this.loadedCalled = !1, this[pn] = !0, this.#s = [];
|
|
1963
1961
|
const t = this, o = e ?? nt(new.target.name);
|
|
1964
1962
|
t.#e = o, t.ready = t.P.promise, t.#r = tn(t), process.env.NODE_ENV !== "production" ? (Object.defineProperty(this, "component", {
|
|
1965
1963
|
writable: !1,
|
|
1966
1964
|
enumerable: !1,
|
|
1967
1965
|
configurable: !0,
|
|
1968
1966
|
value: o
|
|
1969
|
-
}), "hostDestroy" in this && t.#e.manager.devOnly$ensureHasDestroy?.()) : t.component = o, t.#e.addController(t), t.#e.manager === void 0 || (
|
|
1967
|
+
}), "hostDestroy" in this && t.#e.manager.devOnly$ensureHasDestroy?.()) : t.component = o, t.#e.addController(t), t.#e.manager === void 0 || (Un(t), queueMicrotask(() => t.catchUpLifecycle()));
|
|
1970
1968
|
}
|
|
1971
1969
|
#n;
|
|
1972
1970
|
#t;
|
|
@@ -2034,7 +2032,7 @@ class go {
|
|
|
2034
2032
|
* require awaiting them as they are guaranteed to be loaded by then.
|
|
2035
2033
|
*/
|
|
2036
2034
|
get use() {
|
|
2037
|
-
return ke(this.#e),
|
|
2035
|
+
return ke(this.#e), jn;
|
|
2038
2036
|
}
|
|
2039
2037
|
/**
|
|
2040
2038
|
* Just like controller.use, but returns the controller itself, rather than it's
|
|
@@ -2050,7 +2048,7 @@ class go {
|
|
|
2050
2048
|
* some other method on the controller
|
|
2051
2049
|
*/
|
|
2052
2050
|
get useRef() {
|
|
2053
|
-
return ke(this.#e),
|
|
2051
|
+
return ke(this.#e), Hn;
|
|
2054
2052
|
}
|
|
2055
2053
|
/**
|
|
2056
2054
|
* Like useRef, but doesn't wait for the controller to get ready
|
|
@@ -2138,14 +2136,14 @@ class go {
|
|
|
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 vo = go, 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,7 +2164,10 @@ const vo = go, 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) => (
|
|
2168
|
+
//#endregion camelToKebab
|
|
2169
|
+
s.replace(vo, (e, t) => `${t === 0 ? "" : "-"}${e.toLowerCase()}`)
|
|
2170
|
+
), vo = /[A-Z]+(?![a-z])|[A-Z]/gu, Eo = 1, _o = 2, bo = 4, wo = 8, $o = 16, Ao = 32, Co = 64;
|
|
2170
2171
|
function Oo(s) {
|
|
2171
2172
|
const e = s.prototype, t = Object.getOwnPropertyDescriptor(e, "innerText");
|
|
2172
2173
|
if (t !== void 0 && t.set?.name === "setWrapper")
|
|
@@ -2193,35 +2194,35 @@ function Oo(s) {
|
|
|
2193
2194
|
...Object.getOwnPropertyDescriptors(Element.prototype),
|
|
2194
2195
|
...Object.getOwnPropertyDescriptors(Node.prototype),
|
|
2195
2196
|
...Object.getOwnPropertyDescriptors(EventTarget.prototype)
|
|
2196
|
-
}).forEach(([
|
|
2197
|
-
if (o.has(
|
|
2197
|
+
}).forEach(([a, u]) => {
|
|
2198
|
+
if (o.has(a))
|
|
2198
2199
|
return;
|
|
2199
2200
|
function p(...h) {
|
|
2200
2201
|
if (this !== this.el) {
|
|
2201
|
-
if (
|
|
2202
|
+
if (a === "hasAttribute" && h[0] === "defer-hydration")
|
|
2202
2203
|
return !1;
|
|
2203
2204
|
throw new Error(
|
|
2204
|
-
`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}`}`
|
|
2205
2206
|
);
|
|
2206
2207
|
}
|
|
2207
2208
|
}
|
|
2208
2209
|
if (typeof u.value == "function")
|
|
2209
|
-
e[
|
|
2210
|
-
return p.call(this, ...
|
|
2210
|
+
e[a] = function(...g) {
|
|
2211
|
+
return p.call(this, ...g) ?? u.value.call(this, ...g);
|
|
2211
2212
|
};
|
|
2212
2213
|
else if (typeof u.get == "function")
|
|
2213
|
-
Object.defineProperty(e,
|
|
2214
|
+
Object.defineProperty(e, a, {
|
|
2214
2215
|
get() {
|
|
2215
2216
|
return p.call(this), u.get.call(this);
|
|
2216
2217
|
},
|
|
2217
|
-
set: typeof u.set == "function" ? function(
|
|
2218
|
-
p.call(this), u.set.call(this,
|
|
2218
|
+
set: typeof u.set == "function" ? function(g) {
|
|
2219
|
+
p.call(this), u.set.call(this, g);
|
|
2219
2220
|
} : void 0
|
|
2220
2221
|
});
|
|
2221
2222
|
else {
|
|
2222
|
-
if (
|
|
2223
|
+
if (a === a.toUpperCase() && typeof u.value == "number")
|
|
2223
2224
|
return;
|
|
2224
|
-
throw new Error(`Unexpected value type for ${
|
|
2225
|
+
throw new Error(`Unexpected value type for ${a}: ${u}`);
|
|
2225
2226
|
}
|
|
2226
2227
|
});
|
|
2227
2228
|
}
|
|
@@ -2247,24 +2248,24 @@ function _t() {
|
|
|
2247
2248
|
}
|
|
2248
2249
|
process.env.NODE_ENV !== "production" && U();
|
|
2249
2250
|
const Ze = Object.defineProperty, So = globalThis.HTMLElement ?? _t;
|
|
2250
|
-
var z, Q,
|
|
2251
|
-
const
|
|
2251
|
+
var z, Q, be, we, Je;
|
|
2252
|
+
const bt = class bt extends So {
|
|
2252
2253
|
constructor() {
|
|
2253
2254
|
var r;
|
|
2254
2255
|
super();
|
|
2255
|
-
F(this,
|
|
2256
|
+
F(this, we);
|
|
2256
2257
|
F(this, z);
|
|
2257
2258
|
F(this, Q);
|
|
2258
|
-
F(this,
|
|
2259
|
-
V(this, Q, {}), V(this,
|
|
2260
|
-
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);
|
|
2261
2262
|
});
|
|
2262
2263
|
const t = this, o = t.constructor;
|
|
2263
|
-
t._offspring = t.J, t._postLoad = t.I, o.C?.forEach((
|
|
2264
|
-
Object.hasOwn(t,
|
|
2265
|
-
}), 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) => {
|
|
2266
2267
|
var u;
|
|
2267
|
-
await o.K.p,
|
|
2268
|
+
await o.K.p, me(u = t, we, Je).call(
|
|
2268
2269
|
u,
|
|
2269
2270
|
/**
|
|
2270
2271
|
* "$$" is our top-level await polyfill due to broken top-level await
|
|
@@ -2272,13 +2273,13 @@ const wt = class wt extends So {
|
|
|
2272
2273
|
* See https://devtopia.esri.com/WebGIS/arcgis-web-components/issues/3933
|
|
2273
2274
|
* and https://bugs.webkit.org/show_bug.cgi?id=242740
|
|
2274
2275
|
*/
|
|
2275
|
-
await (
|
|
2276
|
+
await (a.default?.then(
|
|
2276
2277
|
(p) => typeof p == "function" ? { a: p } : p
|
|
2277
|
-
) ??
|
|
2278
|
+
) ?? a)
|
|
2278
2279
|
);
|
|
2279
|
-
}).catch((
|
|
2280
|
-
t.H.reject(
|
|
2281
|
-
throw
|
|
2280
|
+
}).catch((a) => {
|
|
2281
|
+
t.H.reject(a), setTimeout(() => {
|
|
2282
|
+
throw a;
|
|
2282
2283
|
});
|
|
2283
2284
|
}), process.env.NODE_ENV !== "production" && U() && (o.devOnly$hmrInstances ??= [], o.devOnly$hmrInstances.push(new WeakRef(this)));
|
|
2284
2285
|
}
|
|
@@ -2305,9 +2306,9 @@ const wt = class wt extends So {
|
|
|
2305
2306
|
Ze(this.prototype, t, {
|
|
2306
2307
|
value(...o) {
|
|
2307
2308
|
if (process.env.NODE_ENV !== "production" && !L(this, z)) {
|
|
2308
|
-
const
|
|
2309
|
+
const a = this.constructor;
|
|
2309
2310
|
throw new Error(
|
|
2310
|
-
`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.`
|
|
2311
2312
|
);
|
|
2312
2313
|
}
|
|
2313
2314
|
return L(this, z)[t](...o);
|
|
@@ -2323,7 +2324,7 @@ const wt = class wt extends So {
|
|
|
2323
2324
|
* browsers won't call it. Same for connected and disconnected callbacks.
|
|
2324
2325
|
*/
|
|
2325
2326
|
attributeChangedCallback(t, o, r) {
|
|
2326
|
-
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));
|
|
2327
2328
|
}
|
|
2328
2329
|
connectedCallback() {
|
|
2329
2330
|
L(this, z) ? L(this, z).connectedCallback?.() : queueMicrotask(() => this.G = fn(this));
|
|
@@ -2349,8 +2350,8 @@ const wt = class wt extends So {
|
|
|
2349
2350
|
L(this, z)?.requestUpdate();
|
|
2350
2351
|
}
|
|
2351
2352
|
};
|
|
2352
|
-
z = new WeakMap(), Q = new WeakMap(),
|
|
2353
|
-
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(
|
|
2354
2355
|
(D) => D.L === r
|
|
2355
2356
|
);
|
|
2356
2357
|
if (process.env.NODE_ENV !== "production" && U() && !u)
|
|
@@ -2362,16 +2363,16 @@ z = new WeakMap(), Q = new WeakMap(), we = new WeakMap(), be = new WeakSet(), Je
|
|
|
2362
2363
|
for (; h && !Object.hasOwn(h, "lumina"); )
|
|
2363
2364
|
h = Object.getPrototypeOf(h);
|
|
2364
2365
|
To(h), !o.A && (o.A = u, customElements.define(p, u)), u.N = this;
|
|
2365
|
-
const
|
|
2366
|
-
if (u.N = void 0, V(this, z,
|
|
2367
|
-
(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(
|
|
2368
2369
|
D,
|
|
2369
2370
|
// Lit doesn't look at this value, thus even if attribute already exists, that's ok
|
|
2370
2371
|
null,
|
|
2371
2372
|
this.getAttribute(D)
|
|
2372
2373
|
)
|
|
2373
|
-
), Object.entries(
|
|
2374
|
-
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));
|
|
2375
2376
|
I.length > 0 && console.warn(
|
|
2376
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`
|
|
2377
2378
|
), Z.length > 0 && console.warn(
|
|
@@ -2379,16 +2380,16 @@ z = new WeakMap(), Q = new WeakMap(), we = new WeakMap(), be = new WeakSet(), Je
|
|
|
2379
2380
|
);
|
|
2380
2381
|
}
|
|
2381
2382
|
const _ = this.isConnected;
|
|
2382
|
-
(_ || this.G) && (
|
|
2383
|
-
},
|
|
2384
|
-
let rn =
|
|
2383
|
+
(_ || this.G) && (m.connectedCallback?.(), _ || m.disconnectedCallback());
|
|
2384
|
+
}, bt.lumina = !0;
|
|
2385
|
+
let rn = bt;
|
|
2385
2386
|
function Ro([s, e]) {
|
|
2386
2387
|
this[s] = e;
|
|
2387
2388
|
}
|
|
2388
2389
|
const To = (s) => {
|
|
2389
2390
|
const e = s.prototype, t = Element.prototype;
|
|
2390
|
-
Object.hasOwn(e, "isConnected") || (e.setAttribute = function(r,
|
|
2391
|
-
t.setAttribute.call(this.el, r,
|
|
2391
|
+
Object.hasOwn(e, "isConnected") || (e.setAttribute = function(r, a) {
|
|
2392
|
+
t.setAttribute.call(this.el, r, a);
|
|
2392
2393
|
}, e.removeAttribute = function(r) {
|
|
2393
2394
|
t.removeAttribute.call(this.el, r);
|
|
2394
2395
|
}, Ze(e, "isConnected", {
|
|
@@ -2397,7 +2398,7 @@ const To = (s) => {
|
|
|
2397
2398
|
}
|
|
2398
2399
|
})), process.env.NODE_ENV !== "production" && U() && Oo(s);
|
|
2399
2400
|
};
|
|
2400
|
-
class yn extends
|
|
2401
|
+
class yn extends go {
|
|
2401
2402
|
constructor(e) {
|
|
2402
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, {
|
|
2403
2404
|
// Lit will call these callbacks
|
|
@@ -2451,7 +2452,7 @@ class yn extends vo {
|
|
|
2451
2452
|
U() {
|
|
2452
2453
|
if (this.#n !== void 0 && clearTimeout(this.#n), !this.#t.el.isConnected && !this.#t.autoDestroyDisabled) {
|
|
2453
2454
|
const e = () => void this.#t.destroy();
|
|
2454
|
-
process.env.NODE_ENV !== "production" && U() && sn === 0 || (this.#n =
|
|
2455
|
+
process.env.NODE_ENV !== "production" && U() && sn === 0 || (this.#n = co(e, sn));
|
|
2455
2456
|
}
|
|
2456
2457
|
}
|
|
2457
2458
|
/** @private */
|
|
@@ -2503,7 +2504,7 @@ process.env.NODE_ENV !== "production" && U() && (yn.prototype.devOnly$ensureHasD
|
|
|
2503
2504
|
let sn = 1e3;
|
|
2504
2505
|
const tt = "autoDestroyDisabled";
|
|
2505
2506
|
process.env.NODE_ENV !== "production" && U();
|
|
2506
|
-
var le, xe, We, de, X, Ce,
|
|
2507
|
+
var le, xe, We, de, X, Ce, gn, mn;
|
|
2507
2508
|
const Ue = class Ue extends re {
|
|
2508
2509
|
constructor() {
|
|
2509
2510
|
super();
|
|
@@ -2520,10 +2521,10 @@ const Ue = class Ue extends re {
|
|
|
2520
2521
|
F(this, de);
|
|
2521
2522
|
F(this, X);
|
|
2522
2523
|
this.M = [], this.manager = new yn(this);
|
|
2523
|
-
const t = this, o = t.constructor, r = o.N,
|
|
2524
|
-
if (V(t, de, r?.H ?? new
|
|
2525
|
-
const p = globalThis.devOnly$ownTagNames?.has(t.el.localName), h = this.constructor,
|
|
2526
|
-
!p && !
|
|
2524
|
+
const t = this, o = t.constructor, r = o.N, a = o.K.o, u = Ue.prototype.shouldUpdate;
|
|
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") {
|
|
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({
|
|
2527
2528
|
componentDidLoad: "loaded",
|
|
2528
2529
|
componentDidRender: "updated",
|
|
2529
2530
|
componentDidUpdate: "updated",
|
|
@@ -2538,7 +2539,7 @@ const Ue = class Ue extends re {
|
|
|
2538
2539
|
);
|
|
2539
2540
|
}));
|
|
2540
2541
|
}
|
|
2541
|
-
|
|
2542
|
+
a && (V(t, le, /* @__PURE__ */ new Map()), o.elementProperties.forEach((p, h) => L(t, le).set(h, a())));
|
|
2542
2543
|
}
|
|
2543
2544
|
/**
|
|
2544
2545
|
* Customize Lit's default style handling to support non-shadow-root styles
|
|
@@ -2549,7 +2550,7 @@ const Ue = class Ue extends re {
|
|
|
2549
2550
|
return this.K?.commonStyles === void 0 || r ? o : [this.K.commonStyles, ...o];
|
|
2550
2551
|
}
|
|
2551
2552
|
static createProperty(t, o) {
|
|
2552
|
-
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 = {
|
|
2553
2554
|
/**
|
|
2554
2555
|
* By default to infer attribute name from property name, Lit just
|
|
2555
2556
|
* converts property name to lowercase. That is consistent with
|
|
@@ -2566,9 +2567,9 @@ const Ue = class Ue extends re {
|
|
|
2566
2567
|
*
|
|
2567
2568
|
* Thus, overwriting Lit's default behavior to use kebab-case:
|
|
2568
2569
|
*/
|
|
2569
|
-
attribute: r & Eo && typeof t == "string" ?
|
|
2570
|
+
attribute: r & Eo && typeof t == "string" ? mo(t) : !1,
|
|
2570
2571
|
reflect: !!(r & _o),
|
|
2571
|
-
type: r &
|
|
2572
|
+
type: r & bo ? Boolean : r & wo ? Number : void 0,
|
|
2572
2573
|
/**
|
|
2573
2574
|
* At the moment in Lit, state:true just means attribute:false, so this
|
|
2574
2575
|
* line is technically redundant, but let's keep it here just in case Lit
|
|
@@ -2579,20 +2580,20 @@ const Ue = class Ue extends re {
|
|
|
2579
2580
|
readOnly: !!(r & Ao),
|
|
2580
2581
|
noAccessor: !!(r & Co),
|
|
2581
2582
|
c: !1,
|
|
2582
|
-
...
|
|
2583
|
-
hasChanged(h,
|
|
2584
|
-
const
|
|
2585
|
-
return p.c =
|
|
2583
|
+
...a,
|
|
2584
|
+
hasChanged(h, g) {
|
|
2585
|
+
const m = u(h, g);
|
|
2586
|
+
return p.c = m, m;
|
|
2586
2587
|
}
|
|
2587
2588
|
};
|
|
2588
2589
|
super.createProperty(t, p);
|
|
2589
2590
|
}
|
|
2590
2591
|
static getPropertyDescriptor(t, o, r) {
|
|
2591
|
-
const
|
|
2592
|
+
const a = this.K, u = super.getPropertyDescriptor(t, o, r);
|
|
2592
2593
|
return r.d = u, {
|
|
2593
2594
|
...u,
|
|
2594
2595
|
get() {
|
|
2595
|
-
return
|
|
2596
|
+
return a.t?.(L(this, le).get(t)), u.get?.call(this);
|
|
2596
2597
|
},
|
|
2597
2598
|
set(p) {
|
|
2598
2599
|
const h = this.manager;
|
|
@@ -2612,7 +2613,7 @@ const Ue = class Ue extends re {
|
|
|
2612
2613
|
const o = !this.manager.connectedCalled;
|
|
2613
2614
|
super.connectedCallback(), o ? queueMicrotask(
|
|
2614
2615
|
// eslint-disable-next-line @typescript-eslint/promise-function-async, @typescript-eslint/no-misused-promises
|
|
2615
|
-
() =>
|
|
2616
|
+
() => me(this, Ce, mn).call(this).catch((r) => {
|
|
2616
2617
|
L(this, de).reject(r), setTimeout(() => {
|
|
2617
2618
|
throw r;
|
|
2618
2619
|
});
|
|
@@ -2650,15 +2651,15 @@ const Ue = class Ue extends re {
|
|
|
2650
2651
|
return this.manager.Q = t, ((o = L(this, xe)) == null ? void 0 : o.call(this, t)) ?? !0;
|
|
2651
2652
|
}
|
|
2652
2653
|
update(t) {
|
|
2653
|
-
L(this, X) ?
|
|
2654
|
+
L(this, X) ? me(this, Ce, gn).call(this, t) : super.update(t);
|
|
2654
2655
|
}
|
|
2655
2656
|
listen(t, o, r) {
|
|
2656
|
-
const
|
|
2657
|
-
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)));
|
|
2658
2659
|
}
|
|
2659
|
-
listenOn(t, o, r,
|
|
2660
|
+
listenOn(t, o, r, a) {
|
|
2660
2661
|
const u = r?.bind(this) ?? r;
|
|
2661
|
-
this.manager.onLifecycle(() => (t.addEventListener(o, u,
|
|
2662
|
+
this.manager.onLifecycle(() => (t.addEventListener(o, u, a), () => t.removeEventListener(o, u, a)));
|
|
2662
2663
|
}
|
|
2663
2664
|
/**
|
|
2664
2665
|
* Create a promise that resolves once component is fully loaded.
|
|
@@ -2692,7 +2693,7 @@ const Ue = class Ue extends re {
|
|
|
2692
2693
|
this.M.splice(this.M.indexOf(t), 1), t.controllerRemoved?.();
|
|
2693
2694
|
}
|
|
2694
2695
|
};
|
|
2695
|
-
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) {
|
|
2696
2697
|
try {
|
|
2697
2698
|
L(this, X).clear(), this.constructor.K.r(
|
|
2698
2699
|
L(this, X),
|
|
@@ -2701,26 +2702,26 @@ le = new WeakMap(), xe = new WeakMap(), We = new WeakMap(), de = new WeakMap(),
|
|
|
2701
2702
|
} catch (o) {
|
|
2702
2703
|
throw L(this, X).clear(), o;
|
|
2703
2704
|
}
|
|
2704
|
-
},
|
|
2705
|
+
}, mn = async function() {
|
|
2705
2706
|
const t = this.el.G ?? fn(this.el);
|
|
2706
2707
|
t && await t;
|
|
2707
2708
|
const o = [];
|
|
2708
|
-
for (const
|
|
2709
|
-
"triggerLoad" in
|
|
2709
|
+
for (const a of this.M)
|
|
2710
|
+
"triggerLoad" in a ? o.push(a.triggerLoad()) : o.push(lt(a.hostLoad, a));
|
|
2710
2711
|
await Promise.all(o), await this.load?.(), this.manager.hasDestroy && this.manager.onUpdate(
|
|
2711
|
-
(
|
|
2712
|
+
(a) => a.has(tt) && this.manager.U()
|
|
2712
2713
|
), L(this, We).call(this, !0), this.performUpdate(), this.I.resolve(), await Promise.resolve();
|
|
2713
|
-
const r = this.J.filter((
|
|
2714
|
-
r.length && await Promise.allSettled(r.map(async (
|
|
2715
|
-
for (const
|
|
2716
|
-
"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);
|
|
2717
2718
|
this.loaded?.(), L(this, de).resolve();
|
|
2718
2719
|
}, Ue.lumina = !0;
|
|
2719
2720
|
let an = Ue;
|
|
2720
2721
|
const No = {}, Lo = (s, e) => (t) => {
|
|
2721
2722
|
const o = t.tagName;
|
|
2722
2723
|
let r = No;
|
|
2723
|
-
const
|
|
2724
|
+
const a = {
|
|
2724
2725
|
name: o,
|
|
2725
2726
|
/**
|
|
2726
2727
|
* Lit's createComponent tries to access the elementClass.prototype in
|
|
@@ -2741,14 +2742,14 @@ const No = {}, Lo = (s, e) => (t) => {
|
|
|
2741
2742
|
const p = customElements.get(o);
|
|
2742
2743
|
if (!p)
|
|
2743
2744
|
throw new Error(`Custom element "${o}" not found`);
|
|
2744
|
-
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 });
|
|
2745
2746
|
}
|
|
2746
2747
|
return r;
|
|
2747
2748
|
}
|
|
2748
2749
|
}, u = e({
|
|
2749
2750
|
...t,
|
|
2750
2751
|
react: s,
|
|
2751
|
-
elementClass:
|
|
2752
|
+
elementClass: a
|
|
2752
2753
|
});
|
|
2753
2754
|
return r = void 0, u;
|
|
2754
2755
|
}, R = (s, e) => ({ tagName: s, events: e }), T = /* @__PURE__ */ Lo(Ln, kn), Do = /* @__PURE__ */ T(
|
|
@@ -2805,12 +2806,12 @@ const No = {}, Lo = (s, e) => (t) => {
|
|
|
2805
2806
|
"instant-apps-interactive-legend-classic",
|
|
2806
2807
|
{}
|
|
2807
2808
|
)
|
|
2808
|
-
),
|
|
2809
|
+
), Yo = /* @__PURE__ */ T(
|
|
2809
2810
|
R(
|
|
2810
2811
|
"instant-apps-interactive-legend-count",
|
|
2811
2812
|
{}
|
|
2812
2813
|
)
|
|
2813
|
-
),
|
|
2814
|
+
), qo = /* @__PURE__ */ T(
|
|
2814
2815
|
R(
|
|
2815
2816
|
"instant-apps-interactive-legend-group-legend-element",
|
|
2816
2817
|
{}
|
|
@@ -2964,8 +2965,8 @@ export {
|
|
|
2964
2965
|
xo as InstantAppsHeader,
|
|
2965
2966
|
Wo as InstantAppsInteractiveLegend,
|
|
2966
2967
|
zo as InstantAppsInteractiveLegendClassic,
|
|
2967
|
-
|
|
2968
|
-
|
|
2968
|
+
Yo as InstantAppsInteractiveLegendCount,
|
|
2969
|
+
qo as InstantAppsInteractiveLegendGroupLegendElement,
|
|
2969
2970
|
Vo as InstantAppsInteractiveLegendGroupLegendElementCaption,
|
|
2970
2971
|
Bo as InstantAppsInteractiveLegendLayerElement,
|
|
2971
2972
|
Fo as InstantAppsInteractiveLegendLayerElementCaption,
|