lwc 2.12.1 → 2.13.2
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/engine-dom/esm/es2017/engine-dom.js +125 -152
- package/dist/engine-dom/iife/es2017/engine-dom.js +125 -152
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +2 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +113 -140
- package/dist/engine-dom/iife/es5/engine-dom.js +5757 -7328
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +4568 -5878
- package/dist/engine-dom/umd/es2017/engine-dom.js +125 -152
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +2 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +113 -140
- package/dist/engine-dom/umd/es5/engine-dom.js +5757 -7328
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +4568 -5878
- package/dist/engine-server/commonjs/es2017/engine-server.js +102 -131
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +102 -131
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +693 -693
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +693 -693
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +13 -10
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +681 -681
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +3725 -4699
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +1 -10
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3600 -4543
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +693 -693
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +13 -10
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +681 -681
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3725 -4699
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +1 -10
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3600 -4543
- package/dist/wire-service/esm/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service.min.js +1 -1
- package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/iife/es5/wire-service.js +258 -243
- package/dist/wire-service/iife/es5/wire-service.min.js +1 -1
- package/dist/wire-service/iife/es5/wire-service_debug.js +258 -243
- package/dist/wire-service/umd/es2017/wire-service.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service.min.js +1 -1
- package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es5/wire-service.js +258 -243
- package/dist/wire-service/umd/es5/wire-service.min.js +1 -1
- package/dist/wire-service/umd/es5/wire-service_debug.js +258 -243
- package/package.json +7 -7
|
@@ -304,9 +304,9 @@
|
|
|
304
304
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
305
305
|
*/
|
|
306
306
|
// Increment whenever the LWC template compiler changes
|
|
307
|
-
const LWC_VERSION = "2.
|
|
307
|
+
const LWC_VERSION = "2.13.2";
|
|
308
308
|
const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
|
|
309
|
-
/** version: 2.
|
|
309
|
+
/** version: 2.13.2 */
|
|
310
310
|
|
|
311
311
|
/*
|
|
312
312
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -459,7 +459,7 @@
|
|
|
459
459
|
setFeatureFlag(name, value);
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
|
-
/** version: 2.
|
|
462
|
+
/** version: 2.13.2 */
|
|
463
463
|
|
|
464
464
|
/* proxy-compat-disable */
|
|
465
465
|
|
|
@@ -897,6 +897,20 @@
|
|
|
897
897
|
log('warn', message, vm);
|
|
898
898
|
}
|
|
899
899
|
|
|
900
|
+
/*
|
|
901
|
+
* Copyright (c) 2020, salesforce.com, inc.
|
|
902
|
+
* All rights reserved.
|
|
903
|
+
* SPDX-License-Identifier: MIT
|
|
904
|
+
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
905
|
+
*/
|
|
906
|
+
function resolveCircularModuleDependency(fn) {
|
|
907
|
+
const module = fn();
|
|
908
|
+
return (module === null || module === void 0 ? void 0 : module.__esModule) ? module.default : module;
|
|
909
|
+
}
|
|
910
|
+
function isCircularModuleDependency(obj) {
|
|
911
|
+
return isFunction$1(obj) && hasOwnProperty$1.call(obj, '__circular__');
|
|
912
|
+
}
|
|
913
|
+
|
|
900
914
|
/*
|
|
901
915
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
902
916
|
* All rights reserved.
|
|
@@ -2262,64 +2276,7 @@
|
|
|
2262
2276
|
patchLightningElementPrototypeWithRestrictions(LightningElement.prototype);
|
|
2263
2277
|
}
|
|
2264
2278
|
|
|
2265
|
-
|
|
2266
|
-
* Copyright (c) 2018, salesforce.com, inc.
|
|
2267
|
-
* All rights reserved.
|
|
2268
|
-
* SPDX-License-Identifier: MIT
|
|
2269
|
-
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
2270
|
-
*/
|
|
2271
|
-
/**
|
|
2272
|
-
* @wire decorator to wire fields and methods to a wire adapter in
|
|
2273
|
-
* LWC Components. This function implements the internals of this
|
|
2274
|
-
* decorator.
|
|
2275
|
-
*/
|
|
2276
|
-
function wire(_adapter, _config) {
|
|
2277
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
2278
|
-
assert.fail('@wire(adapter, config?) may only be used as a decorator.');
|
|
2279
|
-
}
|
|
2280
|
-
throw new Error();
|
|
2281
|
-
}
|
|
2282
|
-
function internalWireFieldDecorator(key) {
|
|
2283
|
-
return {
|
|
2284
|
-
get() {
|
|
2285
|
-
const vm = getAssociatedVM(this);
|
|
2286
|
-
componentValueObserved(vm, key);
|
|
2287
|
-
return vm.cmpFields[key];
|
|
2288
|
-
},
|
|
2289
|
-
set(value) {
|
|
2290
|
-
const vm = getAssociatedVM(this);
|
|
2291
|
-
/**
|
|
2292
|
-
* Reactivity for wired fields is provided in wiring.
|
|
2293
|
-
* We intentionally add reactivity here since this is just
|
|
2294
|
-
* letting the author to do the wrong thing, but it will keep our
|
|
2295
|
-
* system to be backward compatible.
|
|
2296
|
-
*/
|
|
2297
|
-
if (value !== vm.cmpFields[key]) {
|
|
2298
|
-
vm.cmpFields[key] = value;
|
|
2299
|
-
componentValueMutated(vm, key);
|
|
2300
|
-
}
|
|
2301
|
-
},
|
|
2302
|
-
enumerable: true,
|
|
2303
|
-
configurable: true,
|
|
2304
|
-
};
|
|
2305
|
-
}
|
|
2306
|
-
|
|
2307
|
-
/*
|
|
2308
|
-
* Copyright (c) 2018, salesforce.com, inc.
|
|
2309
|
-
* All rights reserved.
|
|
2310
|
-
* SPDX-License-Identifier: MIT
|
|
2311
|
-
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
2312
|
-
*/
|
|
2313
|
-
function track(target) {
|
|
2314
|
-
if (arguments.length === 1) {
|
|
2315
|
-
return reactiveMembrane.getProxy(target);
|
|
2316
|
-
}
|
|
2317
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
2318
|
-
assert.fail(`@track decorator can only be used with one argument to return a trackable object, or as a decorator function.`);
|
|
2319
|
-
}
|
|
2320
|
-
throw new Error();
|
|
2321
|
-
}
|
|
2322
|
-
function internalTrackDecorator(key) {
|
|
2279
|
+
function createObservedFieldPropertyDescriptor(key) {
|
|
2323
2280
|
return {
|
|
2324
2281
|
get() {
|
|
2325
2282
|
const vm = getAssociatedVM(this);
|
|
@@ -2328,14 +2285,8 @@
|
|
|
2328
2285
|
},
|
|
2329
2286
|
set(newValue) {
|
|
2330
2287
|
const vm = getAssociatedVM(this);
|
|
2331
|
-
if (
|
|
2332
|
-
|
|
2333
|
-
assert.invariant(!isInvokingRender, `${vmBeingRendered}.render() method has side effects on the state of ${vm}.${toString$1(key)}`);
|
|
2334
|
-
assert.invariant(!isUpdatingTemplate, `Updating the template of ${vmBeingRendered} has side effects on the state of ${vm}.${toString$1(key)}`);
|
|
2335
|
-
}
|
|
2336
|
-
const reactiveOrAnyValue = reactiveMembrane.getProxy(newValue);
|
|
2337
|
-
if (reactiveOrAnyValue !== vm.cmpFields[key]) {
|
|
2338
|
-
vm.cmpFields[key] = reactiveOrAnyValue;
|
|
2288
|
+
if (newValue !== vm.cmpFields[key]) {
|
|
2289
|
+
vm.cmpFields[key] = newValue;
|
|
2339
2290
|
componentValueMutated(vm, key);
|
|
2340
2291
|
}
|
|
2341
2292
|
},
|
|
@@ -2499,7 +2450,22 @@
|
|
|
2499
2450
|
};
|
|
2500
2451
|
}
|
|
2501
2452
|
|
|
2502
|
-
|
|
2453
|
+
/*
|
|
2454
|
+
* Copyright (c) 2018, salesforce.com, inc.
|
|
2455
|
+
* All rights reserved.
|
|
2456
|
+
* SPDX-License-Identifier: MIT
|
|
2457
|
+
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
2458
|
+
*/
|
|
2459
|
+
function track(target) {
|
|
2460
|
+
if (arguments.length === 1) {
|
|
2461
|
+
return reactiveMembrane.getProxy(target);
|
|
2462
|
+
}
|
|
2463
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
2464
|
+
assert.fail(`@track decorator can only be used with one argument to return a trackable object, or as a decorator function.`);
|
|
2465
|
+
}
|
|
2466
|
+
throw new Error();
|
|
2467
|
+
}
|
|
2468
|
+
function internalTrackDecorator(key) {
|
|
2503
2469
|
return {
|
|
2504
2470
|
get() {
|
|
2505
2471
|
const vm = getAssociatedVM(this);
|
|
@@ -2508,8 +2474,56 @@
|
|
|
2508
2474
|
},
|
|
2509
2475
|
set(newValue) {
|
|
2510
2476
|
const vm = getAssociatedVM(this);
|
|
2511
|
-
if (
|
|
2512
|
-
|
|
2477
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
2478
|
+
const vmBeingRendered = getVMBeingRendered();
|
|
2479
|
+
assert.invariant(!isInvokingRender, `${vmBeingRendered}.render() method has side effects on the state of ${vm}.${toString$1(key)}`);
|
|
2480
|
+
assert.invariant(!isUpdatingTemplate, `Updating the template of ${vmBeingRendered} has side effects on the state of ${vm}.${toString$1(key)}`);
|
|
2481
|
+
}
|
|
2482
|
+
const reactiveOrAnyValue = reactiveMembrane.getProxy(newValue);
|
|
2483
|
+
if (reactiveOrAnyValue !== vm.cmpFields[key]) {
|
|
2484
|
+
vm.cmpFields[key] = reactiveOrAnyValue;
|
|
2485
|
+
componentValueMutated(vm, key);
|
|
2486
|
+
}
|
|
2487
|
+
},
|
|
2488
|
+
enumerable: true,
|
|
2489
|
+
configurable: true,
|
|
2490
|
+
};
|
|
2491
|
+
}
|
|
2492
|
+
|
|
2493
|
+
/*
|
|
2494
|
+
* Copyright (c) 2018, salesforce.com, inc.
|
|
2495
|
+
* All rights reserved.
|
|
2496
|
+
* SPDX-License-Identifier: MIT
|
|
2497
|
+
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
2498
|
+
*/
|
|
2499
|
+
/**
|
|
2500
|
+
* @wire decorator to wire fields and methods to a wire adapter in
|
|
2501
|
+
* LWC Components. This function implements the internals of this
|
|
2502
|
+
* decorator.
|
|
2503
|
+
*/
|
|
2504
|
+
function wire(_adapter, _config) {
|
|
2505
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
2506
|
+
assert.fail('@wire(adapter, config?) may only be used as a decorator.');
|
|
2507
|
+
}
|
|
2508
|
+
throw new Error();
|
|
2509
|
+
}
|
|
2510
|
+
function internalWireFieldDecorator(key) {
|
|
2511
|
+
return {
|
|
2512
|
+
get() {
|
|
2513
|
+
const vm = getAssociatedVM(this);
|
|
2514
|
+
componentValueObserved(vm, key);
|
|
2515
|
+
return vm.cmpFields[key];
|
|
2516
|
+
},
|
|
2517
|
+
set(value) {
|
|
2518
|
+
const vm = getAssociatedVM(this);
|
|
2519
|
+
/**
|
|
2520
|
+
* Reactivity for wired fields is provided in wiring.
|
|
2521
|
+
* We intentionally add reactivity here since this is just
|
|
2522
|
+
* letting the author to do the wrong thing, but it will keep our
|
|
2523
|
+
* system to be backward compatible.
|
|
2524
|
+
*/
|
|
2525
|
+
if (value !== vm.cmpFields[key]) {
|
|
2526
|
+
vm.cmpFields[key] = value;
|
|
2513
2527
|
componentValueMutated(vm, key);
|
|
2514
2528
|
}
|
|
2515
2529
|
},
|
|
@@ -2943,20 +2957,6 @@
|
|
|
2943
2957
|
freeze(BaseBridgeElement);
|
|
2944
2958
|
seal(BaseBridgeElement.prototype);
|
|
2945
2959
|
|
|
2946
|
-
/*
|
|
2947
|
-
* Copyright (c) 2020, salesforce.com, inc.
|
|
2948
|
-
* All rights reserved.
|
|
2949
|
-
* SPDX-License-Identifier: MIT
|
|
2950
|
-
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
2951
|
-
*/
|
|
2952
|
-
function resolveCircularModuleDependency(fn) {
|
|
2953
|
-
const module = fn();
|
|
2954
|
-
return (module === null || module === void 0 ? void 0 : module.__esModule) ? module.default : module;
|
|
2955
|
-
}
|
|
2956
|
-
function isCircularModuleDependency(obj) {
|
|
2957
|
-
return isFunction$1(obj) && hasOwnProperty$1.call(obj, '__circular__');
|
|
2958
|
-
}
|
|
2959
|
-
|
|
2960
2960
|
/*
|
|
2961
2961
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
2962
2962
|
* All rights reserved.
|
|
@@ -4046,13 +4046,6 @@
|
|
|
4046
4046
|
slotName = ((_a = vnode.data.attrs) === null || _a === void 0 ? void 0 : _a.slot) || '';
|
|
4047
4047
|
}
|
|
4048
4048
|
const vnodes = (cmpSlots[slotName] = cmpSlots[slotName] || []);
|
|
4049
|
-
// re-keying the vnodes is necessary to avoid conflicts with default content for the slot
|
|
4050
|
-
// which might have similar keys. Each vnode will always have a key that
|
|
4051
|
-
// starts with a numeric character from compiler. In this case, we add a unique
|
|
4052
|
-
// notation for slotted vnodes keys, e.g.: `@foo:1:1`
|
|
4053
|
-
if (!isUndefined$1(vnode.key)) {
|
|
4054
|
-
vnode.key = `@${slotName}:${vnode.key}`;
|
|
4055
|
-
}
|
|
4056
4049
|
ArrayPush$1.call(vnodes, vnode);
|
|
4057
4050
|
}
|
|
4058
4051
|
if (isFalse(vm.isDirty)) {
|
|
@@ -5356,20 +5349,9 @@
|
|
|
5356
5349
|
|
|
5357
5350
|
resetComponentStateWhenRemoved(vm);
|
|
5358
5351
|
}
|
|
5359
|
-
|
|
5360
|
-
function getNearestShadowAncestor(vm) {
|
|
5361
|
-
let ancestor = vm.owner;
|
|
5362
|
-
|
|
5363
|
-
while (!isNull(ancestor) && ancestor.renderMode === 0
|
|
5364
|
-
/* Light */
|
|
5365
|
-
) {
|
|
5366
|
-
ancestor = ancestor.owner;
|
|
5367
|
-
}
|
|
5368
|
-
|
|
5369
|
-
return ancestor;
|
|
5370
|
-
}
|
|
5371
|
-
|
|
5372
5352
|
function createVM(elm, ctor, options) {
|
|
5353
|
+
var _a;
|
|
5354
|
+
|
|
5373
5355
|
const {
|
|
5374
5356
|
mode,
|
|
5375
5357
|
owner,
|
|
@@ -5397,6 +5379,8 @@
|
|
|
5397
5379
|
oar: create(null),
|
|
5398
5380
|
cmpTemplate: null,
|
|
5399
5381
|
renderMode: def.renderMode,
|
|
5382
|
+
shadowMode: computeShadowMode(def, owner),
|
|
5383
|
+
nearestShadowMode: (owner === null || owner === void 0 ? void 0 : owner.shadowRoot) ? owner.shadowMode : (_a = owner === null || owner === void 0 ? void 0 : owner.nearestShadowMode) !== null && _a !== void 0 ? _a : null,
|
|
5400
5384
|
context: {
|
|
5401
5385
|
stylesheetToken: undefined,
|
|
5402
5386
|
hasTokenInClass: undefined,
|
|
@@ -5409,7 +5393,6 @@
|
|
|
5409
5393
|
},
|
|
5410
5394
|
// Properties set right after VM creation.
|
|
5411
5395
|
tro: null,
|
|
5412
|
-
shadowMode: null,
|
|
5413
5396
|
// Properties set by the LightningElement constructor.
|
|
5414
5397
|
component: null,
|
|
5415
5398
|
shadowRoot: null,
|
|
@@ -5418,7 +5401,6 @@
|
|
|
5418
5401
|
setHook,
|
|
5419
5402
|
getHook
|
|
5420
5403
|
};
|
|
5421
|
-
vm.shadowMode = computeShadowMode(vm);
|
|
5422
5404
|
vm.tro = getTemplateReactiveObserver(vm);
|
|
5423
5405
|
|
|
5424
5406
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -5443,10 +5425,9 @@
|
|
|
5443
5425
|
return vm;
|
|
5444
5426
|
}
|
|
5445
5427
|
|
|
5446
|
-
function computeShadowMode(
|
|
5447
|
-
|
|
5448
|
-
|
|
5449
|
-
} = vm;
|
|
5428
|
+
function computeShadowMode(def, owner) {
|
|
5429
|
+
var _a;
|
|
5430
|
+
|
|
5450
5431
|
let shadowMode;
|
|
5451
5432
|
|
|
5452
5433
|
if (isSyntheticShadowDefined$1) {
|
|
@@ -5469,23 +5450,13 @@
|
|
|
5469
5450
|
/* Native */
|
|
5470
5451
|
;
|
|
5471
5452
|
} else {
|
|
5472
|
-
|
|
5473
|
-
|
|
5474
|
-
if
|
|
5475
|
-
|
|
5476
|
-
)
|
|
5477
|
-
|
|
5478
|
-
|
|
5479
|
-
shadowMode = 0
|
|
5480
|
-
/* Native */
|
|
5481
|
-
;
|
|
5482
|
-
} else {
|
|
5483
|
-
// Synthetic if neither this component nor any of its ancestors are configured
|
|
5484
|
-
// to be native.
|
|
5485
|
-
shadowMode = 1
|
|
5486
|
-
/* Synthetic */
|
|
5487
|
-
;
|
|
5488
|
-
}
|
|
5453
|
+
// Transitive support for native Shadow DOM. A component in native mode
|
|
5454
|
+
// transitively opts all of its descendants into native.
|
|
5455
|
+
// Synthetic if neither this component nor any of its ancestors are configured
|
|
5456
|
+
// to be native.
|
|
5457
|
+
shadowMode = (_a = owner === null || owner === void 0 ? void 0 : owner.nearestShadowMode) !== null && _a !== void 0 ? _a : 1
|
|
5458
|
+
/* Synthetic */
|
|
5459
|
+
;
|
|
5489
5460
|
}
|
|
5490
5461
|
} else {
|
|
5491
5462
|
shadowMode = 1
|
|
@@ -6574,7 +6545,30 @@
|
|
|
6574
6545
|
hooksAreSet = true;
|
|
6575
6546
|
setSanitizeHtmlContentHook(hooks.sanitizeHtmlContent);
|
|
6576
6547
|
}
|
|
6577
|
-
|
|
6548
|
+
|
|
6549
|
+
/*
|
|
6550
|
+
* Copyright (c) 2018, salesforce.com, inc.
|
|
6551
|
+
* All rights reserved.
|
|
6552
|
+
* SPDX-License-Identifier: MIT
|
|
6553
|
+
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
6554
|
+
*/
|
|
6555
|
+
/**
|
|
6556
|
+
* EXPERIMENTAL: This function provides access to the component constructor, given an HTMLElement.
|
|
6557
|
+
* This API is subject to change or being removed.
|
|
6558
|
+
*/
|
|
6559
|
+
function getComponentConstructor(elm) {
|
|
6560
|
+
let ctor = null;
|
|
6561
|
+
// intentionally checking for undefined due to some funky libraries patching weakmap.get
|
|
6562
|
+
// to throw when undefined.
|
|
6563
|
+
if (!isUndefined$1(elm)) {
|
|
6564
|
+
const vm = getAssociatedVMIfPresent(elm);
|
|
6565
|
+
if (!isUndefined$1(vm)) {
|
|
6566
|
+
ctor = vm.def.ctor;
|
|
6567
|
+
}
|
|
6568
|
+
}
|
|
6569
|
+
return ctor;
|
|
6570
|
+
}
|
|
6571
|
+
/* version: 2.13.2 */
|
|
6578
6572
|
|
|
6579
6573
|
/*
|
|
6580
6574
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -7125,27 +7119,6 @@
|
|
|
7125
7119
|
return element;
|
|
7126
7120
|
}
|
|
7127
7121
|
|
|
7128
|
-
/*
|
|
7129
|
-
* Copyright (c) 2018, salesforce.com, inc.
|
|
7130
|
-
* All rights reserved.
|
|
7131
|
-
* SPDX-License-Identifier: MIT
|
|
7132
|
-
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
7133
|
-
*/
|
|
7134
|
-
/**
|
|
7135
|
-
* EXPERIMENTAL: This function provides access to the component constructor, given an HTMLElement.
|
|
7136
|
-
* This API is subject to change or being removed.
|
|
7137
|
-
*/
|
|
7138
|
-
function getComponentConstructor(elm) {
|
|
7139
|
-
let ctor = null;
|
|
7140
|
-
if (elm instanceof HTMLElement) {
|
|
7141
|
-
const vm = getAssociatedVMIfPresent(elm);
|
|
7142
|
-
if (!isUndefined$1(vm)) {
|
|
7143
|
-
ctor = vm.def.ctor;
|
|
7144
|
-
}
|
|
7145
|
-
}
|
|
7146
|
-
return ctor;
|
|
7147
|
-
}
|
|
7148
|
-
|
|
7149
7122
|
/*
|
|
7150
7123
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
7151
7124
|
* All rights reserved.
|
|
@@ -7214,7 +7187,7 @@
|
|
|
7214
7187
|
});
|
|
7215
7188
|
freeze(LightningElement);
|
|
7216
7189
|
seal(LightningElement.prototype);
|
|
7217
|
-
/* version: 2.
|
|
7190
|
+
/* version: 2.13.2 */
|
|
7218
7191
|
|
|
7219
7192
|
exports.LightningElement = LightningElement;
|
|
7220
7193
|
exports.__unstable__ProfilerControl = profilerControl;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).LWC={})}(this,(function(e){"use strict";var t=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:n,create:o,defineProperties:r,defineProperty:i,freeze:l,getOwnPropertyDescriptor:s,getOwnPropertyNames:c,getPrototypeOf:a,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{filter:g,find:w,indexOf:y,join:b,map:v,push:C,reduce:E,reverse:M,slice:k,splice:T,unshift:S,forEach:x}=Array.prototype,{fromCharCode:O}=String,{charCodeAt:N,replace:A,slice:P,toLowerCase:$}=String.prototype;function _(e){return void 0===e}function R(e){return null===e}function L(e){return!0===e}function D(e){return!1===e}function H(e){return"function"==typeof e}function I(e){return"object"==typeof e}function F(e){return"string"==typeof e}function j(){}const W={}.toString;function B(e){return e&&e.toString?m(e)?b.call(v.call(e,B),","):e.toString():"object"==typeof e?W.call(e):e+""}function V(e,t){do{const n=s(e,t);if(!_(n))return n;e=a(e)}while(null!==e)}const K=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],{AriaAttrNameToPropNameMap:G,AriaPropNameToAttrNameMap:z}=(()=>{const e=o(null),t=o(null);return x.call(K,(n=>{const o=$.call(A.call(n,/^aria/,(()=>"aria-")));e[o]=n,t[n]=o})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),U=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),q=new Map([["accessKey","accesskey"],["readOnly","readonly"],["tabIndex","tabindex"],["bgColor","bgcolor"],["colSpan","colspan"],["rowSpan","rowspan"],["contentEditable","contenteditable"],["crossOrigin","crossorigin"],["dateTime","datetime"],["formAction","formaction"],["isMap","ismap"],["maxLength","maxlength"],["minLength","minlength"],["noValidate","novalidate"],["useMap","usemap"],["htmlFor","for"]]),X=new Map;function Y(e){const t=z[e];if(!_(t))return t;const n=q.get(e);if(!_(n))return n;const o=X.get(e);if(!_(o))return o;let r="";for(let t=0,n=e.length;t<n;t++){const n=N.call(e,t);r+=n>=65&&n<=90?"-"+O(n+32):O(n)}return X.set(e,r),r}const J="http://www.w3.org/2000/svg";function Q(e){return void 0===Object.getOwnPropertyDescriptor(Element.prototype,e)}const Z=new WeakMap;function ee(e){let t=Z.get(e);return void 0===t&&(t={},Z.set(e,t)),t}function te(e,t){return{get(){const n=ee(this);return u.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set(n){const o=null==(r=n)?null:String(r);var r;ee(this)[e]=o,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function ne(e){const t=te(e,z[e]);Object.defineProperty(Element.prototype,e,t)}const oe=f(z);for(let e=0,t=oe.length;e<t;e+=1){const t=oe[e];Q(t)&&ne(t)}const re={ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HMR:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null};U.lwcRuntimeFlags||Object.defineProperty(U,"lwcRuntimeFlags",{value:o(null)});const ie=U.lwcRuntimeFlags;let le=[];const se=h(o(null)),ce=h([]);function ae(){const e=le;le=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function ue(e){0===le.length&&Promise.resolve().then(ae),C.call(le,e)}const de=/;(?![^(]*\))/g,fe=/:(.+)/;function he(e,t){const n={};for(const o of Object.keys(e))o!==t&&(n[o]=e[o]);return n}let pe,me,ge,we,ye,be,ve,Ce,Ee,Me,ke,Te,Se,xe,Oe,Ne,Ae,Pe,$e,_e,Re,Le,De,He,Ie,Fe,je,We,Be,Ve,Ke,Ge,ze,Ue,qe,Xe,Ye,Je,Qe;const Ze=new WeakMap;let et=null;function tt(e,t){const n=Ze.get(e);if(!_(n)){const e=n[t];if(!_(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function nt(e,t){if(null===et)return;const n=et,r=function(e){let t=Ze.get(e);if(_(t)){const n=o(null);t=n,Ze.set(e,n)}return t}(e);let i=r[t];if(_(i))i=[],r[t]=i;else if(i[0]===n)return;-1===y.call(i,n)&&n.link(i)}class ot{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=et;let n;et=this;try{e()}catch(e){n=Object(e)}finally{if(et=t,void 0!==n)throw n}}reset(){const{listeners:e}=this,t=e.length;if(t>0){for(let n=0;n<t;n+=1){const t=e[n],o=y.call(e[n],this);T.call(t,o,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){C.call(e,this),C.call(this.listeners,e)}}function rt(e,t){tt(e.component,t)}function it(e,t){nt(e.component,t)}function lt(e){return`<${$.call(e.tagName)}>`}function st(e,t){if(!d(t)&&_(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!R(n);)C.call(t,lt(n)),n=n.owner;return t.reverse().join("\n\t")}(e);i(t,"wcStack",{get:()=>n})}}function ct(e,t,n){let o=`[LWC ${e}]: ${t}`;_(n)||(o=`${o}\n${function(e){const t=[];let n="";for(;!R(e.owner);)C.call(t,n+lt(e)),e=e.owner,n+="\t";return b.call(t,"\n")}(n)}`);try{throw new Error(o)}catch(t){console[e](t)}}const at="undefined"!=typeof HTMLElement?HTMLElement:function(){},ut=at.prototype;function dt(e){return`Using the \`${e}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}n(o(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:dt("offsetHeight")},offsetLeft:{readOnly:!0,error:dt("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:dt("offsetTop")},offsetWidth:{readOnly:!0,error:dt("offsetWidth")},role:{attribute:"role"}});let ft,ht=null;function pt(e,t){return e!==ht||t!==ft}function mt(e,t){ht=null,ft=void 0}function gt(e,t){ht=e,ft=t}const wt=o(null);x.call(f(z),(e=>{const t=V(ut,e);_(t)||(wt[e]=t)})),x.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=V(ut,e);_(t)||(wt[e]=t)}));const{isArray:yt}=Array,{prototype:bt,getPrototypeOf:vt,create:Ct,defineProperty:Et,isExtensible:Mt,getOwnPropertyDescriptor:kt,getOwnPropertyNames:Tt,getOwnPropertySymbols:St,preventExtensions:xt,hasOwnProperty:Ot}=Object,{push:Nt,concat:At}=Array.prototype;function Pt(e){return void 0===e}function $t(e){return"function"==typeof e}const _t=new WeakMap;function Rt(e,t){_t.set(e,t)}const Lt=e=>_t.get(e)||e;class Dt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(Ot.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;Pt(n)||(e.get=this.wrapGetter(n)),Pt(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,o=kt(n,t);if(!Pt(o)){const n=this.wrapDescriptor(o);Et(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;At.call(Tt(t),St(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;Pt(n)||Ot.call(e,n)||Et(e,n,Ct(null)),xt(e)}apply(e,t,n){}construct(e,t,n){}get(e,t){const{originalTarget:n,membrane:{valueObserved:o}}=this,r=n[t];return o(n,t),this.wrapValue(r)}has(e,t){const{originalTarget:n,membrane:{tagPropertyKey:o,valueObserved:r}}=this;return r(n,t),t in n||t===o}ownKeys(e){const{originalTarget:t,membrane:{tagPropertyKey:n}}=this,o=Pt(n)||Ot.call(t,n)?[]:[n];return Nt.apply(o,Tt(t)),Nt.apply(o,St(t)),o}isExtensible(e){const{originalTarget:t}=this;return!!Mt(e)&&(!!Mt(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return vt(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:o,tagPropertyKey:r}}=this;o(n,t);let i=kt(n,t);if(Pt(i)){if(t!==r)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},Et(e,r,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const Ht=new WeakMap,It=new WeakMap,Ft=new WeakMap,jt=new WeakMap;class Wt extends Dt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Ht.get(e);if(!Pt(t))return t;const n=this,o=function(){return n.wrapValue(e.call(Lt(this)))};return Ht.set(e,o),Ft.set(o,e),o}wrapSetter(e){const t=It.get(e);if(!Pt(t))return t;const n=function(t){e.call(Lt(this),Lt(t))};return It.set(e,n),jt.set(n,e),n}unwrapDescriptor(e){if(Ot.call(e,"value"))e.value=Lt(e.value);else{const{set:t,get:n}=e;Pt(n)||(e.get=this.unwrapGetter(n)),Pt(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=Ft.get(e);if(!Pt(t))return t;const n=this,o=function(){return Lt(e.call(n.wrapValue(this)))};return Ht.set(o,e),Ft.set(e,o),o}unwrapSetter(e){const t=jt.get(e);if(!Pt(t))return t;const n=this,o=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return It.set(o,e),jt.set(e,o),o}set(e,t,n){const{originalTarget:o,membrane:{valueMutated:r}}=this;return o[t]!==n?(o[t]=n,r(o,t)):"length"===t&&yt(o)&&r(o,t),!0}deleteProperty(e,t){const{originalTarget:n,membrane:{valueMutated:o}}=this;return delete n[t],o(n,t),!0}setPrototypeOf(e,t){}preventExtensions(e){if(Mt(e)){const{originalTarget:t}=this;if(xt(t),Mt(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:o,membrane:{valueMutated:r,tagPropertyKey:i}}=this;return t===i&&!Ot.call(o,t)||(Et(o,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),r(o,t),!0)}}const Bt=new WeakMap,Vt=new WeakMap;class Kt extends Dt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=Bt.get(e);if(!Pt(t))return t;const n=this,o=function(){return n.wrapValue(e.call(Lt(this)))};return Bt.set(e,o),o}wrapSetter(e){const t=Vt.get(e);if(!Pt(t))return t;const n=function(e){};return Vt.set(e,n),n}set(e,t,n){return!1}deleteProperty(e,t){return!1}setPrototypeOf(e,t){}preventExtensions(e){return!1}defineProperty(e,t,n){return!1}}function Gt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(yt(e))return!0;const t=vt(e);return t===bt||null===t||null===vt(t)}const zt=(e,t)=>{},Ut=(e,t)=>{};function qt(e){return yt(e)?[]:{}}const Xt=Symbol.for("@@lockerLiveValue"),Yt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:o,tagPropertyKey:r}=e;this.valueMutated=$t(t)?t:Ut,this.valueObserved=$t(n)?n:zt,this.valueIsObservable=$t(o)?o:Gt,this.tagPropertyKey=r}getProxy(e){const t=Lt(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=Lt(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return Lt(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(Pt(t)){const n=new Wt(this,e);t=new Proxy(qt(e),n),Rt(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(Pt(t)){const n=new Kt(this,e);t=new Proxy(qt(e),n),Rt(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:nt,valueMutated:tt,tagPropertyKey:Xt});function Jt(e,t){const{get:n,set:o,enumerable:r,configurable:i}=t;if(!H(n))throw new TypeError;if(!H(o))throw new TypeError;return{enumerable:r,configurable:i,get(){const t=Zo(this);if(!Ao(t))return it(t,e),n.call(t.elm)},set(t){const n=Zo(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,rt(n,e)),o.call(n.elm,t)}}}const Qt=function(){if(R(No))throw new ReferenceError("Illegal constructor");const e=No,{def:t,elm:n}=e,{bridge:o}=t,r=this;if(p(n,o.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:o}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=o}return this[Xt]=void 0,Qo(r,e),Qo(n,e),1===e.renderMode?e.renderRoot=Zt(e):e.renderRoot=n,this};function Zt(e){const{elm:t,mode:n,shadowMode:o,def:{ctor:r}}=e,i=Te(t,{"$$lwc-synthetic-mode":1===o,delegatesFocus:Boolean(r.delegatesFocus),mode:n});return e.shadowRoot=i,Qo(i,e),i}Qt.prototype={constructor:Qt,dispatchEvent(e){const{elm:t}=Zo(this);return Re(t,e)},addEventListener(e,t,n){const o=Zo(this),{elm:r}=o,i=Io(o,t);$e(r,e,i,n)},removeEventListener(e,t,n){const o=Zo(this),{elm:r}=o,i=Io(o,t);_e(r,e,i,n)},hasAttribute(e){const{elm:t}=Zo(this);return!R(Ne(t,e))},hasAttributeNS(e,t){const{elm:n}=Zo(this);return!R(Ne(n,t,e))},removeAttribute(e){const{elm:t}=Zo(this);gt(t,e),Pe(t,e),mt()},removeAttributeNS(e,t){const{elm:n}=Zo(this);gt(n,t),Pe(n,t,e),mt()},getAttribute(e){const{elm:t}=Zo(this);return Ne(t,e)},getAttributeNS(e,t){const{elm:n}=Zo(this);return Ne(n,t,e)},setAttribute(e,t){const n=Zo(this),{elm:o}=n;gt(o,e),Ae(o,e,t),mt()},setAttributeNS(e,t,n){const o=Zo(this),{elm:r}=o;gt(r,t),Ae(r,t,n,e),mt()},getBoundingClientRect(){const e=Zo(this),{elm:t}=e;return He(t)},get isConnected(){const{elm:e}=Zo(this);return qe(e)},get classList(){const e=Zo(this),{elm:t}=e;return Le(t)},get template(){return Zo(this).shadowRoot},get shadowRoot(){return null},render(){return Zo(this).def.template},toString(){return`[object ${Zo(this).def.name}]`}};const en=o(null),tn=["children","childNodes","firstChild","firstElementChild","lastChild","lastElementChild"];function nn(e){switch(e){case"children":return Be;case"childNodes":return Ve;case"firstChild":return Ke;case"firstElementChild":return Ge;case"lastChild":return ze;case"lastElementChild":return Ue}}for(const e of tn)en[e]={get(){const t=Zo(this),{elm:n}=t;return nn(e)(n)},configurable:!0,enumerable:!0};const on=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];function rn(e){switch(e){case"getElementsByClassName":return We;case"getElementsByTagName":return je;case"querySelector":return Ie;case"querySelectorAll":return Fe}}for(const e of on)en[e]={value(t){const n=Zo(this),{elm:o}=n;return rn(e)(o,t)},configurable:!0,enumerable:!0,writable:!0};r(Qt.prototype,en);const ln=o(null);for(const e in wt)ln[e]=Jt(e,wt[e]);function sn(e){return{get(){const t=Zo(this);return it(t,e),t.cmpFields[e]},set(t){const n=Zo(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,rt(n,e))},enumerable:!0,configurable:!0}}function cn(e){return{get(){const t=Zo(this);return it(t,e),t.cmpFields[e]},set(t){const n=Zo(this),o=Yt.getProxy(t);o!==n.cmpFields[e]&&(n.cmpFields[e]=o,rt(n,e))},enumerable:!0,configurable:!0}}function an(e){return{get(){const t=Zo(this);if(!Ao(t))return it(t,e),t.cmpProps[e]},set(t){const n=Zo(this);n.cmpProps[e]=t,rt(n,e)},enumerable:!0,configurable:!0}}r(Qt.prototype,ln),i(Qt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class un extends ot{constructor(e,t){super((()=>{D(this.debouncing)&&(this.debouncing=!0,ue((()=>{if(L(this.debouncing)){const{value:n}=this,{isDirty:o,component:r,idx:i}=e;t.call(r,n),this.debouncing=!1,L(e.isDirty)&&D(o)&&i>0&&Uo(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function dn(e,t){const{get:n,set:o,enumerable:r,configurable:i}=t;if(!H(n))throw new Error;return{get(){return n.call(this)},set(t){const n=Zo(this);if(o)if(ie.ENABLE_REACTIVE_SETTER){let r=n.oar[e];_(r)&&(r=n.oar[e]=new un(n,o)),r.reset(t),r.observe((()=>{o.call(this,t)}))}else o.call(this,t)},enumerable:r,configurable:i}}function fn(e){return{get(){const t=Zo(this);return it(t,e),t.cmpFields[e]},set(t){const n=Zo(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,rt(n,e))},enumerable:!0,configurable:!0}}const hn=new Map;const pn={apiMethods:se,apiFields:se,apiFieldsConfig:se,wiredMethods:se,wiredFields:se,observedFields:se};const mn=new Set;function gn(){return[]}mn.add(gn);const wn=o(null),yn=o(null);function bn(e){let t=wn[e];return _(t)&&(t=wn[e]=function(){const t=Zo(this),{getHook:n}=t;return n(t.component,e)}),t}function vn(e){let t=yn[e];return _(t)&&(t=yn[e]=function(t){const n=Zo(this),{setHook:o}=n;t=Yt.getReadOnlyProxy(t),o(n.component,e,t)}),t}function Cn(e){return function(){const t=Zo(this),{callHook:n,component:o}=t,r=o[e];return n(t.component,r,k.call(arguments))}}function En(e,t){return function(n,o,r){if(o===r)return;const i=e[n];_(i)?_(t)||t.apply(this,arguments):pt(this,n)&&(this[i]=r)}}function Mn(e,t,n){let l;H(e)?l=class extends e{}:(l=function(){throw new TypeError("Illegal constructor")},p(l,e),p(l.prototype,e.prototype),i(l.prototype,"constructor",{writable:!0,configurable:!0,value:l}));const s=o(null),{attributeChangedCallback:c}=e.prototype,{observedAttributes:a=[]}=e,u=o(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];s[Y(n)]=n,u[n]={get:bn(n),set:vn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:Cn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:En(s,c)},i(l,"observedAttributes",{get:()=>[...a,...f(s)]}),r(l.prototype,u),l}const kn=Mn(at,c(wt),[]);function Tn(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function Sn(e){return H(e)&&u.call(e,"__circular__")}l(kn),h(kn.prototype);const xn=new WeakMap;function On(e){const{shadowSupportMode:t,renderMode:i}=e,l=function(e){const t=hn.get(e);return _(t)?pn:t}(e),{apiFields:s,apiFieldsConfig:c,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=l,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const C=function(e){let t=a(e);if(R(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(Sn(t)){const e=Tn(t);t=e===t?Qt:e}return t}(e),E=C!==Qt?An(C):Pn,M=Mn(E.bridge,f(s),f(u)),k=n(o(null),E.props,s),T=n(o(null),E.propsConfig,c),S=n(o(null),E.methods,u),x=n(o(null),E.wire,d,h);g=g||E.connectedCallback,w=w||E.disconnectedCallback,y=y||E.renderedCallback,b=b||E.errorCallback,v=v||E.render;let O=E.shadowSupportMode;_(t)||(O=t);let N=E.renderMode;_(i)||(N="light"===i?0:1);const A=function(e){return _o.get(e)}(e)||E.template,P=e.name||E.name;r(m,p);return{ctor:e,name:P,wire:x,props:k,propsConfig:T,methods:S,bridge:M,template:A,renderMode:N,shadowSupportMode:O,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function Nn(e){if(!H(e))return!1;if(e.prototype instanceof Qt)return!0;let t=e;do{if(Sn(t)){const e=Tn(t);if(e===t)return!0;t=e}if(t===Qt)return!0}while(!R(t)&&(t=a(t)));return!1}function An(e){let t=xn.get(e);if(_(t)){if(Sn(e)){return t=An(Tn(e)),xn.set(e,t),t}if(!Nn(e))throw new TypeError(`${e} is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.`);t=On(e),xn.set(e,t)}return t}const Pn={ctor:Qt,name:Qt.name,props:ln,propsConfig:se,methods:se,renderMode:1,shadowSupportMode:"reset",wire:se,bridge:kn,template:gn,render:Qt.prototype.render};function $n(e){e=e.toLowerCase();let t=Qe(e);return _(t)?(t=class extends we{constructor(e){super(),H(e)&&e(this)}},Je(e,t),t):t}function _n(e){const{type:t}=e;return 2===t||3===t}function Rn(e,t){return e.key===t.key&&e.sel===t.sel}function Ln(e,t){return"input"===e&&("value"===t||"checked"===t)}function Dn(e,t){const{props:n}=t.data;if(_(n))return;const o=R(e)?se:e.data.props;if(o===n)return;const r=R(e),{elm:i,sel:l}=t;for(const e in n){const t=n[e];(r||t!==(Ln(l,e)?Se(i,e):o[e]))&&xe(i,e,t)}}const Hn=o(null);function In(e){if(null==e)return se;e=F(e)?e:e+"";let t=Hn[e];if(t)return t;t=o(null);let n,r=0;const i=e.length;for(n=0;n<i;n++)32===N.call(e,n)&&(n>r&&(t[P.call(e,r,n)]=!0),r=n+1);return n>r&&(t[P.call(e,r,n)]=!0),Hn[e]=t,t}function Fn(e){const{elm:t,data:{on:n}}=e;if(!_(n))for(const e in n){const o=n[e];$e(t,e,o)}}function jn(e,t,n){var o;o=t,to.has(o)?function(e,t,n){let o=0,r=0,i=e.length-1,l=e[0],s=e[i];const c=t.length-1;let a,u,d,f,h=c,p=t[0],m=t[h],g=!1;for(;o<=i&&r<=h;)zn(l)?zn(s)?zn(p)?zn(m)?Rn(l,p)?(Wn(l,p),l=e[++o],p=t[++r]):Rn(s,m)?(Wn(s,m),s=e[--i],m=t[--h]):Rn(l,m)?(Wn(l,m),Jn(l.elm,n,ke(s.elm)),l=e[++o],m=t[--h]):Rn(s,p)?(Wn(s,p),Jn(p.elm,n,l.elm),s=e[--i],p=t[++r]):(void 0===a&&(a=no(e,o,i)),u=a[p.key],_(u)?(Bn(p,n,l.elm),p=t[++r]):(d=e[u],zn(d)&&(d.sel!==p.sel?Bn(p,n,l.elm):(Wn(d,p),g||(g=!0,e=[...e]),e[u]=void 0,Jn(d.elm,n,l.elm))),p=t[++r])):m=t[--h]:p=t[++r]:s=e[--i]:l=e[++o];if(o<=i||r<=h)if(o>i){let e,o=h;do{e=t[++o]}while(!zn(e)&&o<c);f=zn(e)?e.elm:null,Vn(t,n,f,r,h+1)}else Gn(e,n,!0,o,i+1)}(e,t,n):function(e,t,n){const o=e.length,r=t.length;if(0===o)return void Vn(t,n,null);if(0===r)return void Gn(e,n,!0);let i=null;for(let o=r-1;o>=0;o-=1){const r=e[o],l=t[o];l!==r&&(zn(r)?zn(l)?(Wn(r,l),i=l.elm):Kn(r,n,!0):zn(l)&&(Bn(l,n,i),i=l.elm))}}(e,t,n)}function Wn(e,t){if(e!==t)switch(t.type){case 0:case 1:!function(e,t){t.elm=e.elm,t.text!==e.text&&Yn(t)}(e,t);break;case 2:!function(e,t){const n=t.elm=e.elm;Zn(e,t),jn(e.children,t.children,n)}(e,t);break;case 3:!function(e,t){const n=t.elm=e.elm,o=t.vm=e.vm;Zn(e,t),_(o)||eo(t,o);jn(e.children,t.children,n),_(o)||Uo(o)}(e,t)}}function Bn(e,t,n){switch(e.type){case 0:!function(e,t,n){const{owner:o}=e,r=e.elm=Ee(e.text);Xn(r,o),Jn(r,t,n)}(e,t,n);break;case 1:!function(e,t,n){const{owner:o}=e,r=e.elm=Me(e.text);Xn(r,o),Jn(r,t,n)}(e,t,n);break;case 2:!function(e,t,n){const{sel:o,owner:r,data:{svg:i}}=e,l=L(i)?J:void 0,s=Ce(o,l);Xn(s,r),function(e,t){const{owner:n}=t;if(qn(e,n),1===n.shadowMode){const{data:{context:o}}=t,{stylesheetToken:r}=n.context;_(o)||_(o.lwc)||"manual"!==o.lwc.dom||function(e){e.$domManual$=!0}(e),_(r)||Un(e,r)}}(s,e),e.elm=s,Zn(null,e),Jn(s,t,n),Vn(e.children,s,null)}(e,t,n);break;case 3:!function(e,t,n){const{sel:o,owner:r}=e,i=$n(o);let l;const s=new i((t=>{l=function(e,t){let n=er(e);if(!_(n))return n;const{sel:o,mode:r,ctor:i,owner:l}=t;if(qn(e,l),1===l.shadowMode){const{stylesheetToken:t}=l.context;_(t)||Un(e,t)}return n=Jo(e,i,{mode:r,owner:l,tagName:o}),n}(t,e)}));if(Xn(s,r),e.elm=s,e.vm=l,l)eo(e,l);else if(e.ctor!==i)throw new TypeError("Incorrect Component Constructor");Zn(null,e),Jn(s,t,n),l&&ir(l);Vn(e.children,s,null),l&&function(e){tr(e)}(l)}(e,t,n)}}function Vn(e,t,n,o=0,r=e.length){for(;o<r;++o){const r=e[o];zn(r)&&Bn(r,t,n)}}function Kn(e,t,n=!1){const{type:o,elm:r}=e;switch(n&&Qn(r,t),o){case 2:Gn(e.children,r);break;case 3:{const{vm:t}=e;_(t)||function(e){Yo(e)}(t)}}}function Gn(e,t,n=!1,o=0,r=e.length){for(;o<r;++o){const r=e[o];zn(r)&&Kn(r,t,n)}}function zn(e){return null!=e}function Un(e,t){e.$shadowToken$=t}function qn(e,t){const{cmpTemplate:n,context:o}=t,r=null==n?void 0:n.stylesheetToken;!_(r)&&o.hasScopedStyles&&Le(e).add(r)}function Xn(e,t){const{renderRoot:n,renderMode:o,shadowMode:r}=t;ge&&(1!==r&&0!==o||(e.$shadowResolver$=n.$shadowResolver$))}function Yn(e){const{elm:t,text:n}=e;Oe(t,n)}function Jn(e,t,n){be(e,t,n)}function Qn(e,t){ve(e,t)}function Zn(e,t){R(e)&&(Fn(t),function(e){const{elm:t,data:{classMap:n}}=e;if(_(n))return;const o=Le(t);for(const e in n)o.add(e)}(t),function(e){const{elm:t,data:{styleDecls:n}}=e;if(!_(n))for(let e=0;e<n.length;e++){const[o,r,i]=n[e];De(t,o,r,i)}}(t)),function(e,t){const{elm:n,data:{className:o}}=t,r=R(e)?void 0:e.data.className;if(r===o)return;const i=Le(n),l=In(o),s=In(r);let c;for(c in s)_(l[c])&&i.remove(c);for(c in l)_(s[c])&&i.add(c)}(e,t),function(e,t){const{elm:n,data:{style:o}}=t;(R(e)?void 0:e.data.style)!==o&&(F(o)&&""!==o?Ae(n,"style",o):Pe(n,"style"))}(e,t),function(e,t){const{attrs:n}=t.data;if(_(n))return;const o=R(e)?se:e.data.attrs;if(o===n)return;const{elm:r}=t;for(const e in n){const t=n[e];o[e]!==t&&(gt(r,e),58===N.call(e,3)?Ae(r,e,t,"http://www.w3.org/XML/1998/namespace"):58===N.call(e,5)?Ae(r,e,t,"http://www.w3.org/1999/xlink"):R(t)||_(t)?Pe(r,e):Ae(r,e,t),mt())}}(e,t),Dn(e,t)}function eo(e,t){const n=e.aChildren||e.children;t.aChildren=n;const{renderMode:r,shadowMode:i}=t;1!==i&&0!==r||(!function(e,t){var n;const{cmpSlots:r}=e,i=e.cmpSlots=o(null);for(let e=0,o=t.length;e<o;e+=1){const o=t[e];if(R(o))continue;let r="";_n(o)&&(r=(null===(n=o.data.attrs)||void 0===n?void 0:n.slot)||"");const l=i[r]=i[r]||[];_(o.key)||(o.key=`@${r}:${o.key}`),C.call(l,o)}if(D(e.isDirty)){const t=f(r);if(t.length!==f(i).length)return void Do(e);for(let n=0,o=t.length;n<o;n+=1){const o=t[n];if(_(i[o])||r[o].length!==i[o].length)return void Do(e);const l=r[o],s=i[o];for(let t=0,n=i[o].length;t<n;t+=1)if(l[t]!==s[t])return void Do(e)}}}(t,n),e.aChildren=n,e.children=ce)}const to=new WeakMap;function no(e,t,n){const o={};for(let r=t;r<=n;++r){const t=e[r];if(zn(t)){const{key:e}=t;void 0!==e&&(o[e]=r)}}return o}const oo=Symbol.iterator;function ro(e,t,n=ce){const o=So();const{key:r}=t;return{type:2,sel:e,data:t,children:n,elm:undefined,key:r,owner:o}}function io(e,t,n,o=ce){const r=So(),{key:i}=n;const l={type:3,sel:e,data:n,children:o,elm:undefined,key:i,ctor:t,owner:r,mode:"open",aChildren:undefined,vm:undefined};return function(e){C.call(So().velements,e)}(l),l}const lo=new Map;let so=0;function co(e){var t;return t=e,to.set(t,1),e}let ao=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const uo=l({s:function(e,t,n,o){_(o)||_(o[e])||0===o[e].length||(n=o[e]);const r=So(),{renderMode:i,shadowMode:l}=r;return 0===i?(co(n),n):(1===l&&co(n),ro("slot",t,n))},h:ro,c:io,i:function(e,t){const n=[];if(co(n),_(e)||null===e)return n;const o=e[oo]();let r=o.next(),i=0,{value:l,done:s}=r;for(;!1===s;){r=o.next(),s=r.done;const e=t(l,i,0===i,!0===s);m(e)?C.apply(n,e):C.call(n,e),i+=1,l=r.value}return n},f:function(e){const t=e.length,n=[];co(n);for(let o=0;o<t;o+=1){const t=e[o];m(t)?C.apply(n,t):C.call(n,t)}return n},t:function(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:So()}},d:function(e){return null==e?"":String(e)},b:function(e){const t=So();if(R(t))throw new Error;const n=t;return function(t){$o(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:undefined,owner:So()}},dc:function(e,t,n,o=ce){if(null==t)return null;if(!Nn(t))throw new Error(`Invalid LWC Constructor ${B(t)} for custom element <${e}>.`);let r=lo.get(t);return _(r)&&(r=so++,lo.set(t,r)),io(e,t,Object.assign(Object.assign({},n),{key:`dc:${r}:${n.key}`}),o)},ti:function(e){return e>0&&!(L(e)||D(e))?0:e},gid:function(e){const t=So();if(_(e)||""===e)return e;if(R(e))return null;const{idx:n,shadowMode:o}=t;return 1===o?A.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=So();if(_(e)||""===e)return e;if(R(e))return null;const{idx:n,shadowMode:o}=t;return 1===o&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return ao(e)}});function fo(e){return`${e}-host`}function ho(e,t,n){const o=[];let r;for(let i=0;i<e.length;i++){let l=e[i];if(m(l))C.apply(o,ho(l,t,n));else{const e=l.$scoped$,i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,s=0===n.renderMode?!e:0===n.shadowMode;let c;1===n.renderMode?c=0===n.shadowMode:(_(r)&&(r=mo(n)),c=R(r)||0===r.shadowMode),C.call(o,l(i,s,c))}}return o}function po(e,t){const{stylesheets:n,stylesheetToken:o}=t;let r=[];return _(n)||0===n.length||(r=ho(n,o,e)),r}function mo(e){let t=e;for(;!R(t);){if(1===t.renderMode)return t;t=t.owner}return t}function go(e,t){const{renderMode:n,shadowMode:o}=e;if(1===n&&1===o)for(let e=0;e<t.length;e++)Xe(t[e]);else{if(pe||ye()){const e=b.call(t,"\n");return r=e,uo.h("style",{key:"style",attrs:{type:"text/css"}},[uo.t(r)])}{const n=function(e){const t=mo(e);return R(t)||1!==t.shadowMode?t:null}(e),o=R(n);for(let e=0;e<t.length;e++)o?Xe(t[e]):Ye(t[e],n.shadowRoot)}}var r;return null}let wo=!1,yo=j;const bo={enableProfiler(){wo=!0},disableProfiler(){wo=!1},attachDispatcher(e){yo=e,this.enableProfiler()},detachDispatcher(){const e=yo;return yo=j,this.disableProfiler(),e}};function vo(e,t){wo&&yo(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Co(e,t){wo&&yo(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Eo(e,t){wo&&yo(e,0,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}function Mo(e,t){wo&&yo(e,1,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}let ko=!1,To=null;function So(){return To}function xo(e){To=e}function Oo(e,t){const n=ko,r=To;let i=[];return ur(e,e.owner,(()=>{To=e,vo(1,e)}),(()=>{const{component:n,context:r,cmpSlots:l,cmpTemplate:s,tro:c}=e;c.observe((()=>{if(t!==s){if(R(s)||ar(e),c=t,!mn.has(c))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${B(t)}.`);e.cmpTemplate=t,r.tplCache=o(null),r.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!_(t))for(let e=0;e<t.length;e++)if(L(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:o,renderMode:r,shadowMode:i}=e,{stylesheets:l,stylesheetToken:s}=t,c=1===r&&1===i,{hasScopedStyles:a}=o;let u,d,f;const{stylesheetToken:h,hasTokenInClass:p,hasTokenInAttribute:m}=o;_(h)||(p&&Le(n).remove(fo(h)),m&&Pe(n,fo(h))),_(l)||0===l.length||(u=s),_(u)||(a&&(Le(n).add(fo(u)),d=!0),c&&(Ae(n,fo(u),""),f=!0)),o.stylesheetToken=u,o.hasTokenInClass=d,o.hasTokenInAttribute=f}(e,t);const n=po(e,t);r.styleVNode=0===n.length?null:go(e,n)}var c;e.velements=[],ko=!0,i=t.call(void 0,uo,n,l,r.tplCache);const{styleVNode:a}=r;R(a)||S.call(i,a)}))}),(()=>{ko=n,To=r,Co(1,e)})),i}let No=null;function Ao(e){return No===e}function Po(e,t,n){const{component:o,callHook:r,owner:i}=e;ur(e,i,j,(()=>{r(o,t,n)}),j)}function $o(e,t,n,o){const{callHook:r,owner:i}=e;ur(e,i,j,(()=>{r(n,t,[o])}),j)}const _o=new Map;function Ro(e){return new ot((()=>{const{isDirty:t}=e;D(t)&&(Do(e),function(e){if(L(pe)||L(e.isScheduled))return;e.isScheduled=!0,0===or.length&&ue(rr);C.call(or,e)}(e))}))}function Lo(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:o,owner:r}=e,i=So();let l,s=!1;return ur(e,r,(()=>{xo(e)}),(()=>{e.tro.observe((()=>{l=n(o,t),s=!0}))}),(()=>{xo(i)})),s?Oo(e,l):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Do(e){e.isDirty=!0}const Ho=new WeakMap;function Io(e,t){if(!H(t))throw new TypeError;let n=Ho.get(t);return _(n)&&(n=function(n){$o(e,t,void 0,n)},Ho.set(t,n)),n}const Fo=o(null),jo=["rendered","connected","disconnected"];function Wo(e,t){const{component:n,def:o,context:r}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},o,r)}let Bo=0;const Vo=new WeakMap;function Ko(e,t,n=[]){return t.apply(e,n)}function Go(e,t,n){e[t]=n}function zo(e,t){return e[t]}function Uo(e){tr(e)}function qo(e){const t=Zo(e);Eo(7,t),1===t.state&&Xo(e),ir(t),tr(t),Mo(7,t)}function Xo(e){Yo(Zo(e))}function Yo(e){const{state:t}=e;if(2!==t){const{oar:t,tro:n}=e;n.reset();for(const e in t)t[e].reset();!function(e){D(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=Fo;t&&Wo(e,t);lr(e)&&function(e){const{wiredDisconnecting:t}=e.context;ur(e,e,j,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),j)}(e);const{disconnectedCallback:n}=e.def;_(n)||(vo(5,e),Po(e,n),Co(5,e))}(e),sr(e),function(e){const{aChildren:t}=e;cr(t)}(e)}}function Jo(e,t,n){const{mode:r,owner:i,tagName:l}=n,s=An(t),c={elm:e,def:s,idx:Bo++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:r,owner:i,children:ce,aChildren:ce,velements:ce,cmpProps:o(null),cmpFields:o(null),cmpSlots:o(null),oar:o(null),cmpTemplate:null,renderMode:s.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:se,wiredConnecting:ce,wiredDisconnecting:ce},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:Ko,setHook:Go,getHook:zo};return c.shadowMode=function(e){const{def:t}=e;let n;if(ge)if(0===t.renderMode)n=0;else if(me)if(ie.ENABLE_MIXED_SHADOW_MODE)if("any"===t.shadowSupportMode)n=0;else{const t=function(e){let t=e.owner;for(;!R(t)&&0===t.renderMode;)t=t.owner;return t}(e);n=R(t)||0!==t.shadowMode?1:0}else n=1;else n=1;else n=0;return n}(c),c.tro=Ro(c),function(e,t){const n=No;let o;vo(0,e),No=e;try{const r=new t;if(No.component!==r)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){o=Object(e)}finally{if(Co(0,e),No=n,!_(o))throw st(e,o),o}}(c,s.ctor),lr(c)&&function(e){const{context:t,def:{wire:n}}=e,o=t.wiredConnecting=[],r=t.wiredDisconnecting=[];for(const t in n){const i=n[t],l=dr.get(i);if(!_(l)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:s}=hr(e,t,l),c=l.dynamic.length>0;C.call(o,(()=>{n.connect(),ie.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),C.call(r,(()=>{n.disconnect(),s()}))}}}(c),c}function Qo(e,t){Vo.set(e,t)}function Zo(e){return Vo.get(e)}function er(e){return Vo.get(e)}function tr(e){if(L(e.isDirty)){!function(e,t){const{renderRoot:n,children:o}=e;e.children=t,(t.length>0||o.length>0)&&o!==t&&ur(e,e,(()=>{vo(2,e)}),(()=>{jn(o,t,n)}),(()=>{Co(2,e)}));1===e.state&&nr(e)}(e,Lo(e))}}function nr(e){const{def:{renderedCallback:t}}=e;if(L(pe))return;const{rendered:n}=Fo;n&&Wo(e,n),_(t)||(vo(4,e),Po(e,t),Co(4,e))}let or=[];function rr(){Eo(8);const e=or.sort(((e,t)=>e.idx-t.idx));or=[];for(let t=0,n=e.length;t<n;t+=1){const o=e[t];try{tr(o)}catch(o){throw t+1<n&&(0===or.length&&ue(rr),S.apply(or,k.call(e,t+1))),Mo(8),o}}Mo(8)}function ir(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Fo;n&&Wo(e,n),lr(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:o}=e.def;_(o)||(vo(3,e),Po(e,o),Co(3,e))}function lr(e){return c(e.def.wire).length>0}function sr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!_(n)){const e=er(n);_(e)||Yo(e)}}}function cr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!R(n)&&!_(n.elm))switch(n.type){case 2:cr(n.children);break;case 3:Yo(Zo(n.elm));break}}}function ar(e){const{children:t,renderRoot:n}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];R(o)||_(o.elm)||ve(o.elm,n)}e.children=ce,sr(e),e.velements=ce}function ur(e,t,n,o,r){let i;n();try{o()}catch(e){i=Object(e)}finally{if(r(),!_(i)){st(e,i);const n=R(t)?void 0:function(e){let t=e;for(;!R(t);){if(!_(t.def.errorCallback))return t;t=t.owner}}(t);if(_(n))throw i;ar(e),vo(6,e);Po(n,n.def.errorCallback,[i,i.wcStack]),Co(6,e)}}}const dr=new Map;class fr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function hr(e,t,n){const{method:o,adapter:r,configCallback:l,dynamic:s}=n,c=_(o)?function(e,t){const{cmpFields:n}=e;return o=>{o!==e.cmpFields[t]&&(n[t]=o,rt(e,t))}}(e,t):function(e,t){return n=>{ur(e,e.owner,j,(()=>{t.call(e.component,n)}),j)}}(e,o);let a,u;i(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),i(c,"$$DeprecatedWiredParamsMetaKey$$",{value:s}),ur(e,e,j,(()=>{u=new r(c)}),j);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let o=!1;const r=new ot((()=>{!1===o&&(o=!0,Promise.resolve().then((()=>{o=!1,r.reset(),i()})))})),i=()=>{let o;r.observe((()=>o=t(e))),n(o)};return{computeConfigAndUpdate:i,ro:r}}(e.component,l,(t=>{ur(e,e,j,(()=>{u.update(t,a)}),j)}));return _(r.contextSchema)||function(e,t,n){const{adapter:o}=t,r=mr(o);if(_(r))return;const{elm:i,context:{wiredConnecting:l,wiredDisconnecting:s}}=e;C.call(l,(()=>{const e=new fr(r,{setNewContext(e){n(e)},setDisconnectedCallback(e){C.call(s,e)}});Re(i,e)}))}(e,n,(t=>{a!==t&&(a=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const pr=new Map;function mr(e){return pr.get(e)}function gr(e,t,n,o){t.adapter&&(t=t.adapter);const r={adapter:t,method:e.value,configCallback:n,dynamic:o};dr.set(e,r)}function wr(e,t,n,o){t.adapter&&(t=t.adapter);const r={adapter:t,configCallback:n,dynamic:o};dr.set(e,r)}let yr=!1;function br(e){yr=!1,ir(e),vr(e),yr&&function(e,t){ct("error",e,t)}("Hydration completed with errors.",e)}function vr(e){const t=Lo(e);e.children=t;const n=e.renderRoot;Er(Ke(n),t,n),nr(e)}function Cr(e,t){let n;switch(t.type){case 0:n=function(e,t){var n;if(!Tr(t,e,3))return Mr(e,t);return Oe(e,null!==(n=t.text)&&void 0!==n?n:null),t.elm=e,e}(e,t);break;case 1:n=function(e,t){var n;if(!Tr(t,e,8))return Mr(e,t);return xe(e,"nodeValue",null!==(n=t.text)&&void 0!==n?n:null),t.elm=e,e}(e,t);break;case 2:n=function(e,t){if(!Tr(t,e,1)||!Sr(t,e))return Mr(e,t);t.elm=e;const{context:n}=t.data,o=Boolean(!_(n)&&!_(n.lwc)&&"manual"===n.lwc.dom);if(o){const{props:n}=t.data;_(n)||_(n.innerHTML)||Se(e,"innerHTML")===n.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:he(n,"innerHTML")}))}kr(t),o||Er(Ke(e),t.children,e,t.owner);return e}(e,t);break;case 3:n=function(e,t){if(!Tr(t,e,1)||!Sr(t,e))return Mr(e,t);const{sel:n,mode:o,ctor:r,owner:i}=t,l=Jo(e,r,{mode:o,owner:i,tagName:n});t.elm=e,t.vm=l,eo(t,l),kr(t),ir(l),0!==l.renderMode&&Er(Ke(e),t.children,e);return vr(l),e}(e,t)}return ke(n)}function Er(e,t,n,o){let r=e,i=null;for(let e=0;e<t.length;e++){const o=t[e];R(o)||(r?(r=Cr(r,o),i=o.elm):(yr=!0,Bn(o,n,i),i=o.elm))}if(r){yr=!0;do{const e=r;r=ke(r),Qn(e,n)}while(r)}}function Mr(e,t,n){yr=!0;const o=Se(e,"parentNode");return Bn(t,o,e),Qn(e,o),t.elm}function kr(e){Fn(e),Dn(null,e)}function Tr(e,t,n){return Se(t,"nodeType")===n}function Sr(e,t){if(e.sel.toLowerCase()!==Se(t,"tagName").toLowerCase())return!1;const n=function(e,t){const{data:{attrs:n={}}}=e;let o=!0;for(const[e,r]of Object.entries(n)){const n=Ne(t,e);String(r)!==n&&(o=!1)}return o}(e,t),o=function(e,t){const{data:{className:n,classMap:o}}=e;let r=!0;if(_(n)||String(n)===Se(t,"className")){if(!_(o)){const e=Le(t);let n="";for(const t in o)n+=" "+t,e.contains(t)||(r=!1);n.trim(),e.length>f(o).length&&(r=!1)}}else r=!1;return r}(e,t),r=function(e,t){const{data:{style:n,styleDecls:o}}=e,r=Ne(t,"style")||"";let i=!0;if(_(n)||n===r){if(!_(o)){const e=function(e){const t={},n=e.split(de);for(const e of n)if(e){const[n,o]=e.split(fe);void 0!==n&&void 0!==o&&(t[n.trim()]=o.trim())}return t}(r),t=[];for(let n=0,r=o.length;n<r;n++){const[r,l,s]=o[n];t.push(`${r}: ${l+(s?" important!":"")}`);const c=e[r];_(c)?i=!1:c.startsWith(l)?s&&!c.endsWith("!important")&&(i=!1):i=!1}f(e).length>o.length&&(i=!1),b.call(t,";")}}else i=!1;return i}(e,t);return n&&o&&r}let xr=!1;const Or=o(null),Nr=document.head||document.body||document,Ar=H(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),Pr=Ar&&s(document.adoptedStyleSheets,"length").writable,$r=o(null),_r=o(null),Rr=new WeakMap;let Lr,Dr,Hr;if(function(){if("undefined"==typeof customElements)return!1;try{const e=HTMLElement;class t extends e{}return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),t),new t,!0}catch(e){return!1}}())Lr=customElements.get.bind(customElements),Dr=customElements.define.bind(customElements),Hr=HTMLElement;else{const e=o(null),t=new WeakMap;Dr=function(n,o){if(n!==$.call(n)||e[n])throw new TypeError("Invalid Registration");e[n]=o,t.set(o,n)},Lr=function(t){return e[t]},Hr=function e(){if(!(this instanceof e))throw new TypeError("Invalid Invocation");const{constructor:n}=this,o=t.get(n);if(!o)throw new TypeError("Invalid Construction");const r=document.createElement(o);return p(r,n.prototype),r},Hr.prototype=HTMLElement.prototype}let Ir=!1;function Fr(e){Ir=e}const jr=U.$isNativeShadowRootDefined$,Wr=u.call(Element.prototype,"$shadowToken$");function Br(e,t,n){const o=Jo(e,t,{mode:"open",owner:null,tagName:e.tagName.toLowerCase()});for(const[t,o]of Object.entries(n))e[t]=o;return o}function Vr(e,t,n={}){if(!(e instanceof Element))throw new TypeError(`"hydrateComponent" expects a valid DOM element as the first parameter but instead received ${e}.`);if(!H(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!I(n)||R(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);if(er(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{Fr(!0);br(Br(e,t,n)),Fr(!1)}catch(o){console.error("Recovering from error while hydrating: ",o),function(e,t){if(e.shadowRoot){const t=e.shadowRoot;for(;!R(t.firstChild);)t.removeChild(t.firstChild)}if("light"===t.renderMode)for(;!R(e.firstChild);)e.removeChild(e.firstChild)}(e,t),Br(e,t,n),Fr(!1),qo(e)}finally{Fr(!1)}}Te=function(e,t){return Ir?e.shadowRoot:e.attachShadow(t)},Me=function(e){return document.createComment(e)},Ce=function(e,t){return _(t)?document.createElement(e):document.createElementNS(t,e)},Ee=function(e){return document.createTextNode(e)},Je=Dr,Re=function(e,t){return e.dispatchEvent(t)},Ne=function(e,t,n){return _(n)?e.getAttribute(t):e.getAttributeNS(n,t)},He=function(e){return e.getBoundingClientRect()},Ve=function(e){return e.childNodes},Be=function(e){return e.children},Le=function(e){return e.classList},Qe=Lr,We=function(e,t){return e.getElementsByClassName(t)},je=function(e,t){return e.getElementsByTagName(t)},Ke=function(e){return e.firstChild},Ge=function(e){return e.firstElementChild},ze=function(e){return e.lastChild},Ue=function(e){return e.lastElementChild},Se=function(e,t){return e[t]},we=Hr,be=function(e,t,n){t.insertBefore(e,n)},Xe=function(e){if(!_(Or[e]))return;Or[e]=!0;const t=document.createElement("style");t.type="text/css",t.textContent=e,Nr.appendChild(t)},Ye=function(e,t){Ar?function(e,t){let n=_r[e];_(n)&&(n=new CSSStyleSheet,n.replaceSync(e),_r[e]=n);const{adoptedStyleSheets:o}=t;o.includes(n)||(Pr?o.push(n):t.adoptedStyleSheets=[...o,n])}(e,t):function(e,t){let n=Rr.get(t);if(_(n)&&(n=o(null),Rr.set(t,n)),n[e])return;n[e]=!0;let r=$r[e];_(r)?(r=document.createElement("style"),r.type="text/css",r.textContent=e,$r[e]=r):r=r.cloneNode(!0),t.appendChild(r)}(e,t)},qe=function(e){return e.isConnected},ye=function(){return Ir},me=jr,ge=Wr,ke=function(e){return e.nextSibling},Ie=function(e,t){return e.querySelector(t)},Fe=function(e,t){return e.querySelectorAll(t)},ve=function(e,t){t.removeChild(e)},Pe=function(e,t,n){_(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)},_e=function(e,t,n,o){e.removeEventListener(t,n,o)},Ae=function(e,t,n,o){return _(o)?e.setAttribute(t,n):e.setAttributeNS(o,t,n)},De=function(e,t,n,o){e.style.setProperty(t,n,o?"important":"")},xe=function(e,t,n){e[t]=n},Oe=function(e,t){e.nodeValue=t},pe=!1,$e=function(e,t,n,o){e.addEventListener(t,n,o)};const Kr=new WeakSet;function Gr(e){const t=function(e){return An(e).bridge}(e);return class extends t{constructor(){super(),this.isConnected?(Vr(this,e,{}),Kr.add(this)):Jo(this,e,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){Kr.has(this)?Kr.delete(this):qo(this)}disconnectedCallback(){Xo(this)}}}const zr=Node,Ur=new WeakMap,qr=new WeakMap;function Xr(e,t){const n=t.get(e);return _(n)||n(e),e}const{appendChild:Yr,insertBefore:Jr,removeChild:Qr,replaceChild:Zr}=zr.prototype;n(zr.prototype,{appendChild(e){return Xr(Yr.call(this,e),Ur)},insertBefore(e,t){return Xr(Jr.call(this,e,t),Ur)},removeChild(e){return Xr(Qr.call(this,e),qr)},replaceChild(e,t){const n=Zr.call(this,e,t);return Xr(n,qr),Xr(e,Ur),n}});const ei=Node;const ti=new Map;i(Qt,"CustomElementConstructor",{get(){return function(e){if(e===Qt)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=ti.get(e);return _(t)&&(t=Gr(e),ti.set(e,t)),t}(this)}}),l(Qt),h(Qt.prototype),e.LightningElement=Qt,e.__unstable__ProfilerControl=bo,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=mr(e);if(!_(t))throw new Error("Adapter already has a context provider.");t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),function(e,t){pr.set(e,t)}(e,t);const n=new WeakSet;return(e,o)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:r,consumerDisconnectedCallback:i}=o;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,o={provide(e){t(e)}};n((()=>{_(i)||i(o)})),r(o),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!I(t)||R(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${B(t)}".`);const n=t.is;if(!H(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const o=$n(e);let r=!1;const i=new o((o=>{Jo(o,n,{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null}),Ur.set(o,qo),qr.set(o,Xo),r=!0}));return r||console.error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`),i},e.getComponentConstructor=function(e){let t=null;if(e instanceof HTMLElement){const n=er(e);_(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=An(e),{ctor:n,name:o,props:r,propsConfig:i,methods:l}=t,s={};for(const e in r)s[e]={config:i[e]||0,type:"any",attr:Y(e)};const c={};for(const e in l)c[e]=l[e].value;return{ctor:n,name:o,props:s,methods:c}},e.hydrateComponent=Vr,e.isComponentConstructor=Nn,e.isNodeFromTemplate=function(e){if(D(e instanceof ei))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&D(u.call(a(t),"synthetic")))||Wr&&!_(e.$shadowResolver$)},e.readonly=function(e){return Yt.getReadOnlyProxy(e)},e.register=function(e){for(let t=0;t<jo.length;++t){const n=jo[t];if(n in e){let t=Fo[n];_(t)&&(Fo[n]=t=[]),C.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return H(e)&&_o.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:r,publicMethods:l,wire:c,track:a,fields:u}=t,d=o(null),f=o(null),h=o(null),p=o(null),m=o(null),g=o(null);let w;if(!_(r))for(const e in r){const t=r[e];if(g[e]=t.config,w=s(n,e),t.config>0){if(_(w))throw new Error;w=dn(e,w)}else w=_(w)||_(w.get)?an(e):dn(e,w);f[e]=w,i(n,e,w)}if(_(l)||x.call(l,(e=>{if(w=s(n,e),_(w))throw new Error;d[e]=w})),!_(c))for(const e in c){const{adapter:t,method:o,config:r,dynamic:l=[]}=c[e];if(w=s(n,e),1===o){if(_(w))throw new Error;h[e]=w,gr(w,t,r,l)}else w=sn(e),p[e]=w,wr(w,t,r,l),i(n,e,w)}if(!_(a))for(const e in a)w=s(n,e),w=cn(e),i(n,e,w);if(!_(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=s(n,t);const o=!_(r)&&t in r,i=!_(a)&&t in a;o||i||(m[t]=fn(t))}return function(e,t){hn.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return mn.add(e),e},e.sanitizeAttribute=function(e,t,n,o){return o},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(_(re[e])){const n=f(re).map((e=>`"${e}"`)).join(", ");console.warn(`Failed to set the value "${t}" for the runtime feature flag "${e}" because it is undefined. Available flags: ${n}.`)}else{const n=ie[e];if(!_(n))return void console.error(`Failed to set the value "${t}" for the runtime feature flag "${e}". "${e}" has already been set with the value "${n}".`);i(ie,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){var n;t.isFalse(xr,"Hooks are already overridden, only one definition is allowed."),xr=!0,n=e.sanitizeHtmlContent,ao=n},e.swapComponent=function(e,t){if(!ie.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapStyle=function(e,t){if(!ie.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapTemplate=function(e,t){if(!ie.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.track=function(e){if(1===arguments.length)return Yt.getProxy(e);throw new Error},e.unwrap=function(e){return Yt.unwrapProxy(e)},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
1
|
+
!function(b,a){"object"==typeof exports&&"undefined"!=typeof module?a(exports):"function"==typeof define&&define.amd?define(["exports"],a):a((b="undefined"!=typeof globalThis?globalThis:b||self).LWC={})}(this,function(a){"use strict";var ar,as,at,au,av,aw,ax,ay=Object.freeze({__proto__:null,invariant:function(a,b){if(!a)throw new Error(`Invariant Violation: ${b}`)},isTrue:function(a,b){if(!a)throw new Error(`Assert Violation: ${b}`)},isFalse:function(a,b){if(a)throw new Error(`Assert Violation: ${b}`)},fail:function(a){throw new Error(a)}});let{assign:r,create:b,defineProperties:s,defineProperty:t,freeze:h,getOwnPropertyDescriptor:D,getOwnPropertyNames:E,getPrototypeOf:az,hasOwnProperty:F,isFrozen:aA,keys:u,seal:e,setPrototypeOf:aB}=Object,{isArray:G}=Array,{filter:aC,find:aD,indexOf:aE,join:aF,map:aG,push:aH,reduce:aI,reverse:aJ,slice:aK,splice:aL,unshift:aM,forEach:v}=Array.prototype,{fromCharCode:aN}=String,{charCodeAt:aO,replace:aP,slice:aQ,toLowerCase:aR}=String.prototype;function aS(a){return void 0===a}function aT(a){return null===a}function aU(a){return!0===a}function aV(a){return!1===a}function H(a){return"function"==typeof a}function aW(a){return"object"==typeof a}function aX(a){return"string"==typeof a}function I(){}let aY={}.toString;function aZ(a){return a&&a.toString?G(a)?aF.call(aG.call(a,aZ),","):a.toString():"object"==typeof a?aY.call(a):a+""}function a$(a,c){do{let b=D(a,c);if(!aS(b))return b;a=az(a)}while(null!==a)}let a_=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role",],{AriaAttrNameToPropNameMap:a0,AriaPropNameToAttrNameMap:w}=(()=>{let a=b(null),c=b(null);return v.call(a_,b=>{let d=aR.call(aP.call(b,/^aria/,()=>"aria-"));a[d]=b,c[b]=d}),{AriaAttrNameToPropNameMap:a,AriaPropNameToAttrNameMap:c}})(),f=function(){if("object"==typeof globalThis)return globalThis;let a;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),a=__magic__,delete Object.prototype.__magic__}catch(b){}finally{void 0===a&&(a=window)}return a}(),a1="$shadowResolver$",a2="$scoped$",a3=new Map([["accessKey","accesskey"],["readOnly","readonly"],["tabIndex","tabindex"],["bgColor","bgcolor"],["colSpan","colspan"],["rowSpan","rowspan"],["contentEditable","contenteditable"],["crossOrigin","crossorigin"],["dateTime","datetime"],["formAction","formaction"],["isMap","ismap"],["maxLength","maxlength"],["minLength","minlength"],["noValidate","novalidate"],["useMap","usemap"],["htmlFor","for"],]),a4=new Map;function a5(a){let e=w[a];if(!aS(e))return e;let f=a3.get(a);if(!aS(f))return f;let g=a4.get(a);if(!aS(g))return g;let b="";for(let d=0,h=a.length;d<h;d++){let c=aO.call(a,d);c>=65&&c<=90?b+="-"+aN(c+32):b+=aN(c)}return a4.set(a,b),b}function J(a){return void 0===Object.getOwnPropertyDescriptor(Element.prototype,a)}let a6=new WeakMap;function a7(b){let a=a6.get(b);return void 0===a&&(a={},a6.set(b,a)),a}function K(a){var b,c;let d=w[a],e=(b=a,c=d,{get(){let a=a7(this);return F.call(a,b)?a[b]:this.hasAttribute(c)?this.getAttribute(c):null},set(a){var d;let e=null==(d=a)?null:String(d),f=a7(this);f[b]=e,null===a?this.removeAttribute(c):this.setAttribute(c,a)},configurable:!0,enumerable:!0});Object.defineProperty(Element.prototype,a,e)}let x=u(w);for(let i=0,L=x.length;i<L;i+=1){let y=x[i];J(y)&&K(y)}let a8={ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HMR:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null};f.lwcRuntimeFlags||Object.defineProperty(f,"lwcRuntimeFlags",{value:b(null)});let a9=f.lwcRuntimeFlags,ba=[],d=e(b(null)),bb=e([]);function bc(){let b=ba;ba=[];for(let a=0,c=b.length;a<c;a+=1)b[a]()}function bd(a){0===ba.length&&Promise.resolve().then(bc),aH.call(ba,a)}let be=/;(?![^(]*\))/g,bf=/:(.+)/,M,N,O,P,Q,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,R,bw,bx,by,bz,bA,bB,bC,bD,bE,bF,bG,bH,S,bI,bJ,T,U,bK=new WeakMap,bL=null;function V(d,e){let c=bK.get(d);if(!aS(c)){let a=c[e];if(!aS(a))for(let b=0,f=a.length;b<f;b+=1){let g=a[b];g.notify()}}}function W(f,d){if(null===bL)return;let c=bL,e=function(c){let a=bK.get(c);if(aS(a)){let d=b(null);a=d,bK.set(c,d)}return a}(f),a=e[d];if(aS(a))a=[],e[d]=a;else if(a[0]===c)return;-1===aE.call(a,c)&&c.link(a)}class X{constructor(a){this.listeners=[],this.callback=a}observe(b){let c=bL;bL=this;let a;try{b()}catch(d){a=Object(d)}finally{if(bL=c,void 0!==a)throw a}}reset(){let{listeners:a}=this,c=a.length;if(c>0){for(let b=0;b<c;b+=1){let d=a[b],e=aE.call(a[b],this);aL.call(d,e,1)}a.length=0}}notify(){this.callback.call(void 0,this)}link(a){aH.call(a,this),aH.call(this.listeners,a)}}function bM(a,b){V(a.component,b)}function bN(a,b){W(a.component,b)}function bO(a){return`<${aR.call(a.tagName)}>`}function bP(b,a){if(!aA(a)&&aS(a.wcStack)){let c=function(c){let b=[],a=c;for(;!aT(a);)aH.call(b,bO(a)),a=a.owner;return b.reverse().join("\n ")}(b);t(a,"wcStack",{get:()=>c})}}function bQ(b){let a=b();return(null==a?void 0:a.__esModule)?a.default:a}function bR(a){return H(a)&&F.call(a,"__circular__")}let z="undefined"!=typeof HTMLElement?HTMLElement:function(){},bS=z.prototype;function g(a){return`Using the \`${a}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}r(b(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:g("offsetHeight")},offsetLeft:{readOnly:!0,error:g("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:g("offsetTop")},offsetWidth:{readOnly:!0,error:g("offsetWidth")},role:{attribute:"role"}});let bT=null,bU;function bV(a,b){bT=null,bU=void 0}let j=b(null);v.call(u(w),a=>{let b=a$(bS,a);aS(b)||(j[a]=b)}),v.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title",],a=>{let b=a$(bS,a);aS(b)||(j[a]=b)});let{isArray:bW}=Array,{prototype:bX,getPrototypeOf:bY,create:bZ,defineProperty:b$,isExtensible:b_,getOwnPropertyDescriptor:b0,getOwnPropertyNames:b1,getOwnPropertySymbols:b2,preventExtensions:b3,hasOwnProperty:b4}=Object,{push:b5,concat:b6}=Array.prototype;function b7(a){return void 0===a}function b8(a){return"function"==typeof a}let b9=new WeakMap;function ca(a,b){b9.set(a,b)}let cb=a=>b9.get(a)||a;class A{constructor(a,b){this.originalTarget=b,this.membrane=a}wrapDescriptor(a){if(b4.call(a,"value"))a.value=this.wrapValue(a.value);else{let{set:b,get:c}=a;b7(c)||(a.get=this.wrapGetter(c)),b7(b)||(a.set=this.wrapSetter(b))}return a}copyDescriptorIntoShadowTarget(c,a){let{originalTarget:d}=this,b=b0(d,a);if(!b7(b)){let e=this.wrapDescriptor(b);b$(c,a,e)}}lockShadowTarget(a){let{originalTarget:c}=this,d=b6.call(b1(c),b2(c));d.forEach(b=>{this.copyDescriptorIntoShadowTarget(a,b)});let{membrane:{tagPropertyKey:b}}=this;b7(b)||b4.call(a,b)||b$(a,b,bZ(null)),b3(a)}apply(a,b,c){}construct(a,b,c){}get(e,a){let{originalTarget:b,membrane:{valueObserved:c}}=this,d=b[a];return c(b,a),this.wrapValue(d)}has(e,a){let{originalTarget:b,membrane:{tagPropertyKey:c,valueObserved:d}}=this;return d(b,a),a in b||a===c}ownKeys(d){let{originalTarget:a,membrane:{tagPropertyKey:b}}=this,c=b7(b)||b4.call(a,b)?[]:[b];return b5.apply(c,b1(a)),b5.apply(c,b2(a)),c}isExtensible(a){let{originalTarget:b}=this;return!!b_(a)&&(!!b_(b)||(this.lockShadowTarget(a),!1))}getPrototypeOf(b){let{originalTarget:a}=this;return bY(a)}getOwnPropertyDescriptor(c,b){let{originalTarget:d,membrane:{valueObserved:f,tagPropertyKey:e}}=this;f(d,b);let a=b0(d,b);if(b7(a)){if(b!==e)return;return b$(c,e,a={value:void 0,writable:!1,configurable:!1,enumerable:!1}),a}return!1===a.configurable&&this.copyDescriptorIntoShadowTarget(c,b),this.wrapDescriptor(a)}}let cc=new WeakMap,cd=new WeakMap,ce=new WeakMap,cf=new WeakMap;class cg extends A{wrapValue(a){return this.membrane.getProxy(a)}wrapGetter(a){let c=cc.get(a);if(!b7(c))return c;let d=this,b=function(){return d.wrapValue(a.call(cb(this)))};return cc.set(a,b),ce.set(b,a),b}wrapSetter(a){let c=cd.get(a);if(!b7(c))return c;let b=function(b){a.call(cb(this),cb(b))};return cd.set(a,b),cf.set(b,a),b}unwrapDescriptor(a){if(b4.call(a,"value"))a.value=cb(a.value);else{let{set:b,get:c}=a;b7(c)||(a.get=this.unwrapGetter(c)),b7(b)||(a.set=this.unwrapSetter(b))}return a}unwrapGetter(a){let c=ce.get(a);if(!b7(c))return c;let d=this,b=function(){return cb(a.call(d.wrapValue(this)))};return cc.set(b,a),ce.set(a,b),b}unwrapSetter(a){let c=cf.get(a);if(!b7(c))return c;let d=this,b=function(b){a.call(d.wrapValue(this),d.wrapValue(b))};return cd.set(b,a),cf.set(a,b),b}set(f,a,c){let{originalTarget:b,membrane:{valueMutated:d}}=this,e=b[a];return e!==c?(b[a]=c,d(b,a)):"length"===a&&bW(b)&&d(b,a),!0}deleteProperty(d,a){let{originalTarget:b,membrane:{valueMutated:c}}=this;return delete b[a],c(b,a),!0}setPrototypeOf(a,b){}preventExtensions(a){if(b_(a)){let{originalTarget:b}=this;if(b3(b),b_(b))return!1;this.lockShadowTarget(a)}return!0}defineProperty(d,a,c){let{originalTarget:b,membrane:{valueMutated:e,tagPropertyKey:f}}=this;return!(a!==f||b4.call(b,a))||(b$(b,a,this.unwrapDescriptor(c)),!1===c.configurable&&this.copyDescriptorIntoShadowTarget(d,a),e(b,a),!0)}}let ch=new WeakMap,ci=new WeakMap;class cj extends A{wrapValue(a){return this.membrane.getReadOnlyProxy(a)}wrapGetter(a){let b=ch.get(a);if(!b7(b))return b;let d=this,c=function(){return d.wrapValue(a.call(cb(this)))};return ch.set(a,c),c}wrapSetter(a){let b=ci.get(a);if(!b7(b))return b;let c=function(a){};return ci.set(a,c),c}set(a,b,c){return!1}deleteProperty(a,b){return!1}setPrototypeOf(a,b){}preventExtensions(a){return!1}defineProperty(a,b,c){return!1}}function ck(a){return bW(a)?[]:{}}let Y=Symbol.for("@@lockerLiveValue"),cl=new class{constructor(d={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;let{valueMutated:a,valueObserved:b,valueIsObservable:c,tagPropertyKey:e}=d;this.valueMutated=b8(a)?a:(a,b)=>{},this.valueObserved=b8(b)?b:(a,b)=>{},this.valueIsObservable=b8(c)?c:function(a){if(null===a)return!1;if("object"!=typeof a)return!1;if(bW(a))return!0;let b=bY(a);return b===bX||null===b||null===bY(b)},this.tagPropertyKey=e}getProxy(b){let a=cb(b);return this.valueIsObservable(a)?this.readOnlyObjectGraph.get(a)===b?b:this.getReactiveHandler(a):a}getReadOnlyProxy(a){return(a=cb(a),this.valueIsObservable(a))?this.getReadOnlyHandler(a):a}unwrapProxy(a){return cb(a)}getReactiveHandler(a){let b=this.reactiveObjectGraph.get(a);if(b7(b)){let c=new cg(this,a);ca(b=new Proxy(ck(a),c),a),this.reactiveObjectGraph.set(a,b)}return b}getReadOnlyHandler(a){let b=this.readOnlyObjectGraph.get(a);if(b7(b)){let c=new cj(this,a);ca(b=new Proxy(ck(a),c),a),this.readOnlyObjectGraph.set(a,b)}return b}}({valueObserved:W,valueMutated:V,tagPropertyKey:Y});function Z(f,a){let{get:b,set:c,enumerable:d,configurable:e}=a;if(!H(b))throw new TypeError;if(!H(c))throw new TypeError;return{enumerable:d,configurable:e,get(){let a=dY(this);if(!dy(a))return bN(a,f),b.call(a.elm)},set(b){let a=dY(this);return b!==a.cmpProps[f]&&(a.cmpProps[f]=b,bM(a,f)),c.call(a.elm,b)}}}let c=function(){if(aT(dx))throw new ReferenceError("Illegal constructor");let a=dx,{def:c,elm:b}=a,{bridge:d}=c;if(aB(b,d.prototype),a.component=this,1===arguments.length){let{callHook:e,setHook:f,getHook:g}=arguments[0];a.callHook=e,a.setHook=f,a.getHook=g}return this[Y]=void 0,dX(this,a),dX(b,a),1===a.renderMode?a.renderRoot=cm(a):a.renderRoot=b,this};function cm(a){let{elm:c,mode:d,shadowMode:e,def:{ctor:f}}=a,b=bm(c,{["$$lwc-synthetic-mode"]:1===e,delegatesFocus:Boolean(f.delegatesFocus),mode:d});return a.shadowRoot=b,dX(b,a),b}c.prototype={constructor:c,dispatchEvent(a){let{elm:b}=dY(this);return bv(b,a)},addEventListener(b,c,d){let a=dY(this),{elm:e}=a,f=dG(a,c);bt(e,b,f,d)},removeEventListener(b,c,d){let a=dY(this),{elm:e}=a,f=dG(a,c);bu(e,b,f,d)},hasAttribute(a){let{elm:b}=dY(this);return!aT(bq(b,a))},hasAttributeNS(a,b){let{elm:c}=dY(this);return!aT(bq(c,b,a))},removeAttribute(a){var b,c;let{elm:d}=dY(this);b=d,c=a,bT=b,bU=c,bs(d,a),bV()},removeAttributeNS(e,a){var b,c;let{elm:d}=dY(this);b=d,c=a,bT=b,bU=c,bs(d,a,e),bV()},getAttribute(a){let{elm:b}=dY(this);return bq(b,a)},getAttributeNS(a,b){let{elm:c}=dY(this);return bq(c,b,a)},setAttribute(a,e){var b,c;let f=dY(this),{elm:d}=f;b=d,c=a,bT=b,bU=c,br(d,a,e),bV()},setAttributeNS(e,a,f){var b,c;let g=dY(this),{elm:d}=g;b=d,c=a,bT=b,bU=c,br(d,a,f,e),bV()},getBoundingClientRect(){let a=dY(this),{elm:b}=a;return bx(b)},get isConnected(){let{elm:$}=dY(this);return S($)},get classList(){let _=dY(this),{elm:aa}=_;return R(aa)},get template(){let ab=dY(this);return ab.shadowRoot},get shadowRoot(){return null},render(){let a=dY(this);return a.def.template},toString(){let a=dY(this);return`[object ${a.def.name}]`}};let k=b(null);function cn(a){switch(a){case"children":return bC;case"childNodes":return bD;case"firstChild":return bE;case"firstElementChild":return bF;case"lastChild":return bG;case"lastElementChild":return bH}}for(let ac of["children","childNodes","firstChild","firstElementChild","lastChild","lastElementChild",])k[ac]={get(){let a=dY(this),{elm:b}=a;return cn(ac)(b)},configurable:!0,enumerable:!0};function co(a){switch(a){case"getElementsByClassName":return bB;case"getElementsByTagName":return bA;case"querySelector":return by;case"querySelectorAll":return bz}}for(let ad of["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll",])k[ad]={value(a){let b=dY(this),{elm:c}=b;return co(ad)(c,a)},configurable:!0,enumerable:!0,writable:!0};s(c.prototype,k);let l=b(null);for(let m in j)l[m]=Z(m,j[m]);function cp(a){return{get(){let b=dY(this);return bN(b,a),b.cmpFields[a]},set(c){let b=dY(this);c!==b.cmpFields[a]&&(b.cmpFields[a]=c,bM(b,a))},enumerable:!0,configurable:!0}}function cq(a){return{get(){let b=dY(this);if(!dy(b))return bN(b,a),b.cmpProps[a]},set(c){let b=dY(this);b.cmpProps[a]=c,bM(b,a)},enumerable:!0,configurable:!0}}s(c.prototype,l),t(c,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class cr extends X{constructor(a,b){super(()=>{aV(this.debouncing)&&(this.debouncing=!0,bd(()=>{if(aU(this.debouncing)){let{value:c}=this,{isDirty:d,component:e,idx:f}=a;b.call(e,c),this.debouncing=!1,aU(a.isDirty)&&aV(d)&&f>0&&dP(a)}}))}),this.debouncing=!1}reset(a){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=a)}}function cs(e,a){let{get:b,set:f,enumerable:c,configurable:d}=a;if(!H(b))throw new Error;return{get(){return b.call(this)},set(c){let b=dY(this);if(f){if(a9.ENABLE_REACTIVE_SETTER){let a=b.oar[e];aS(a)&&(a=b.oar[e]=new cr(b,f)),a.reset(c),a.observe(()=>{f.call(this,c)})}else f.call(this,c)}},enumerable:c,configurable:d}}function ct(a){return{get(){let b=dY(this);return bN(b,a),b.cmpFields[a]},set(d){let b=dY(this),c=cl.getProxy(d);c!==b.cmpFields[a]&&(b.cmpFields[a]=c,bM(b,a))},enumerable:!0,configurable:!0}}function cu(a){return{get(){let b=dY(this);return bN(b,a),b.cmpFields[a]},set(c){let b=dY(this);c!==b.cmpFields[a]&&(b.cmpFields[a]=c,bM(b,a))},enumerable:!0,configurable:!0}}let cv=new Map,cw={apiMethods:d,apiFields:d,apiFieldsConfig:d,wiredMethods:d,wiredFields:d,observedFields:d},ae=new Set;function B(){return[]}function af(b,c,d,a){return a}ae.add(B);let cx=b(null),cy=b(null);function cz(b){let a=cx[b];return aS(a)&&(a=cx[b]=function(){let a=dY(this),{getHook:c}=a;return c(a.component,b)}),a}function cA(b){let a=cy[b];return aS(a)&&(a=cy[b]=function(a){let c=dY(this),{setHook:d}=c;a=cl.getReadOnlyProxy(a),d(c.component,b,a)}),a}function cB(a){return function(){let b=dY(this),{callHook:c,component:d}=b,e=d[a];return c(b.component,e,aK.call(arguments))}}function ag(c,h,i){var l,m;let a;H(c)?a=class extends c{}:(aB(a=function(){throw new TypeError("Illegal constructor")},c),aB(a.prototype,c.prototype),t(a.prototype,"constructor",{writable:!0,configurable:!0,value:a}));let j=b(null),{attributeChangedCallback:n}=c.prototype,{observedAttributes:q=[]}=c,e=b(null);for(let f=0,o=h.length;f<o;f+=1){let d=h[f];j[a5(d)]=d,e[d]={get:cz(d),set:cA(d),enumerable:!0,configurable:!0}}for(let g=0,p=i.length;g<p;g+=1){let k=i[g];e[k]={value:cB(k),writable:!0,configurable:!0}}return e.attributeChangedCallback={value:(l=j,m=n,function(a,f,b){var c,d;if(f===b)return;let e=l[a];if(aS(e)){aS(m)||m.apply(this,arguments);return}c=this,d=a,(c!==bT||d!==bU)&&(this[e]=b)})},t(a,"observedAttributes",{get:()=>[...q,...u(j)]}),s(a.prototype,e),a}let n=ag(z,E(j),[]);h(n),e(n.prototype);let cC=new WeakMap;function ah(b){if(!H(b))return!1;if(b.prototype instanceof c)return!0;let a=b;do{if(bR(a)){let d=bQ(a);if(d===a)return!0;a=d}if(a===c)return!0}while(!aT(a)&&(a=az(a)))return!1}function cD(a){let d=cC.get(a);if(aS(d)){if(bR(a)){let e=bQ(a);return d=cD(e),cC.set(a,d),d}if(!ah(a))throw new TypeError(`${a} is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.`);d=function(d){let{shadowSupportMode:j,renderMode:k}=d,t=function(b){let a=cv.get(b);return aS(a)?cw:a}(d),{apiFields:l,apiFieldsConfig:v,apiMethods:m,wiredFields:w,wiredMethods:x,observedFields:y}=t,n=d.prototype,{connectedCallback:e,disconnectedCallback:f,renderedCallback:g,errorCallback:h,render:i}=n,o=function(b){let a=az(b);if(aT(a))throw new ReferenceError(`Invalid prototype chain for ${b.name}, you must extend LightningElement.`);if(bR(a)){let d=bQ(a);a=d===a?c:d}return a}(d),a=o!==c?cD(o):cE,z=ag(a.bridge,u(l),u(m)),A=r(b(null),a.props,l),B=r(b(null),a.propsConfig,v),C=r(b(null),a.methods,m),D=r(b(null),a.wire,w,x);e=e||a.connectedCallback,f=f||a.disconnectedCallback,g=g||a.renderedCallback,h=h||a.errorCallback,i=i||a.render;let p=a.shadowSupportMode;aS(j)||(p=j);let q=a.renderMode;aS(k)||(q="light"===k?0:1);let E=dC(d)||a.template,F=d.name||a.name;return s(n,y),{ctor:d,name:F,wire:D,props:A,propsConfig:B,methods:C,bridge:z,template:E,renderMode:q,shadowSupportMode:p,connectedCallback:e,disconnectedCallback:f,renderedCallback:g,errorCallback:h,render:i}}(a),cC.set(a,d)}return d}let cE={ctor:c,name:c.name,props:l,propsConfig:d,methods:d,renderMode:1,shadowSupportMode:"reset",wire:d,bridge:n,template:B,render:c.prototype.render};function cF(a){let b=U(a=a.toLowerCase());return aS(b)&&T(a,b=class extends P{constructor(a){super(),H(a)&&a(this)}}),b}function cG(b){let{type:a}=b;return 2===a||3===a}function cH(a,b){return a.key===b.key&&a.sel===b.sel}function cI(b,a){return"input"===b&&("value"===a||"checked"===a)}function cJ(c,e){let{props:b}=e.data;if(aS(b))return;let f=aT(c)?d:c.data.props;if(f===b)return;let i=aT(c),{elm:g,sel:j}=e;for(let a in b){let h=b[a];(i||h!==(cI(j,a)?bn(g,a):f[a]))&&bo(g,a,h)}}let cK=b(null);function cL(a){if(null==a)return d;let e=cK[a=aX(a)?a:a+""];if(e)return e;e=b(null);let f=0,c,g=a.length;for(c=0;c<g;c++)32===aO.call(a,c)&&(c>f&&(e[aQ.call(a,f,c)]=!0),f=c+1);return c>f&&(e[aQ.call(a,f,c)]=!0),cK[a]=e,e}function cM(c){let{elm:d,data:{on:a}}=c;if(!aS(a))for(let b in a){let e=a[b];bt(d,b,e)}}function cN(b,a,c){db(a)?dd(b,a,c):de(b,a,c)}function cO(b,a){if(b!==a)switch(a.type){case 0:cQ(b,a);break;case 1:cS(b,a);break;case 2:cV(b,a);break;case 3:cX(b,a)}}function cP(a,b,c){switch(a.type){case 0:cR(a,b,c);break;case 1:cT(a,b,c);break;case 2:cU(a,b,c);break;case 3:cW(a,b,c)}}function cQ(b,a){a.elm=b.elm,a.text!==b.text&&c2(a)}function cR(a,c,d){let{owner:e}=a,b=a.elm=bj(a.text);c1(b,e),c3(b,c,d)}function cS(b,a){a.elm=b.elm,a.text!==b.text&&c2(a)}function cT(a,c,d){let{owner:e}=a,b=a.elm=bk(a.text);c1(b,e),c3(b,c,d)}function cU(a,c,d){let{sel:e,owner:f,data:{svg:g}}=a,h=aU(g)?"http://www.w3.org/2000/svg":void 0,b=bi(e,h);c1(b,f),c6(b,a),a.elm=b,c5(null,a),c3(b,c,d),cY(a.children,b,null)}function cV(a,b){let c=b.elm=a.elm;c5(a,b),cN(a.children,b.children,c)}function cW(a,e,f){let{sel:g,owner:h}=a,d=cF(g),b,c=new d(c=>{b=c8(c,a)});if(c1(c,h),a.elm=c,a.vm=b,b)c7(a,b);else if(a.ctor!==d)throw new TypeError("Incorrect Component Constructor");c5(null,a),c3(c,e,f),b&&d3(b),cY(a.children,c,null),b&&dS(b)}function cX(b,a){let d=a.elm=b.elm,c=a.vm=b.vm;c5(b,a),aS(c)||c7(a,c),cN(b.children,a.children,d),aS(c)||dP(c)}function cY(b,d,e,a=0,f=b.length){for(;a<f;++a){var g;let c=b[a];null!=(g=c)&&cP(c,d,e)}}function cZ(a,d,e=!1){let{type:f,elm:b}=a;switch(e&&c4(b,d),f){case 2:c$(a.children,b);break;case 3:{let{vm:c}=a;aS(c)||dU(c)}}}function c$(b,d,e=!1,a=0,f=b.length){for(;a<f;++a){var g;let c=b[a];null!=(g=c)&&cZ(c,d,e)}}function c_(a,b){a.$shadowToken$=b}function c0(c,d){let{cmpTemplate:a,context:e}=d,b=null==a?void 0:a.stylesheetToken;!aS(b)&&e.hasScopedStyles&&R(c).add(b)}function c1(a,b){let{renderRoot:c,renderMode:d,shadowMode:e}=b;O&&(1===e||0===d)&&(a[a1]=c[a1])}function c2(a){let{elm:b,text:c}=a;bp(b,c)}function c3(a,b,c){bg(a,b,c)}function c4(a,b){bh(a,b)}function c5(b,a){aT(b)&&(cM(a),function(b){let{elm:c,data:{classMap:a}}=b;if(aS(a))return;let d=R(c);for(let e in a)d.add(e)}(a),function(c){let{elm:d,data:{styleDecls:a}}=c;if(!aS(a))for(let b=0;b<a.length;b++){let[e,f,g]=a[b];bw(d,e,f,g)}}(a)),function(b,h){let{elm:i,data:{className:c}}=h,d=aT(b)?void 0:b.data.className;if(d===c)return;let e=R(i),f=cL(c),g=cL(d),a;for(a in g)aS(f[a])&&e.remove(a);for(a in f)aS(g[a])&&e.add(a)}(b,a),function(b,d){let{elm:c,data:{style:a}}=d,e=aT(b)?void 0:b.data.style;e!==a&&(aX(a)&&""!==a?br(c,"style",a):bs(c,"style"))}(b,a),function(f,g){let{attrs:e}=g.data;if(aS(e))return;let h=aT(f)?d:f.data.attrs;if(h===e)return;let{elm:c}=g;for(let a in e){let b=e[a],k=h[a];if(k!==b){var i,j;i=c,j=a,bT=i,bU=j,58===aO.call(a,3)?br(c,a,b,"http://www.w3.org/XML/1998/namespace"):58===aO.call(a,5)?br(c,a,b,"http://www.w3.org/1999/xlink"):aT(b)||aS(b)?bs(c,a):br(c,a,b),bV()}}}(b,a),cJ(b,a)}function c6(a,d){let{owner:b}=d;if(c0(a,b),1===b.shadowMode){let{data:{context:c}}=d,{stylesheetToken:e}=b.context;if(!aS(c)&&!aS(c.lwc)&&"manual"===c.lwc.dom){var f;a.$domManual$=!0}aS(e)||c_(a,e)}}function c7(a,b){let c=a.aChildren||a.children;b.aChildren=c;let{renderMode:d,shadowMode:e}=b;(1===e||0===d)&&(c9(b,c),a.aChildren=c,a.children=bb)}function c8(a,e){let c=dZ(a);if(!aS(c))return c;let{sel:f,mode:g,ctor:h,owner:b}=e;if(c0(a,b),1===b.shadowMode){let{stylesheetToken:d}=b.context;aS(d)||c_(a,d)}return dV(a,h,{mode:g,owner:b,tagName:f})}function c9(c,m){var g;let{cmpSlots:h}=c,a=c.cmpSlots=b(null);for(let i=0,n=m.length;i<n;i+=1){let e=m[i];if(aT(e))continue;let j="";cG(e)&&(j=(null===(g=e.data.attrs)|| void 0===g?void 0:g.slot)||"");let o=a[j]=a[j]||[];aH.call(o,e)}if(aV(c.isDirty)){let k=u(h);if(k.length!==u(a).length){dE(c);return}for(let l=0,p=k.length;l<p;l+=1){let d=k[l];if(aS(a[d])||h[d].length!==a[d].length){dE(c);return}let q=h[d],r=a[d];for(let f=0,s=a[d].length;f<s;f+=1)if(q[f]!==r[f]){dE(c);return}}}}let da=new WeakMap;function db(a){return da.has(a)}function dc(e,f,g){let b={};for(let a=f;a<=g;++a){var h;let c=e[a];if(null!=c){let{key:d}=c;void 0!==d&&(b[d]=a)}}return b}function dd(b,c,k){var s,t,u,v,w,x,y;let g=0,h=0,e=b.length-1,d=b[0],f=b[e],p=c.length-1,i=p,a=c[0],j=c[i],n,o,l,q=!1;for(;g<=e&&h<=i;)null!=d?null!=f?null!=a?null!=j?cH(d,a)?(cO(d,a),d=b[++g],a=c[++h]):cH(f,j)?(cO(f,j),f=b[--e],j=c[--i]):cH(d,j)?(cO(d,j),c3(d.elm,k,bl(f.elm)),d=b[++g],j=c[--i]):cH(f,a)?(cO(f,a),c3(a.elm,k,d.elm),f=b[--e],a=c[++h]):(void 0===n&&(n=dc(b,g,e)),aS(o=n[a.key]))?(cP(a,k,d.elm),a=c[++h]):(null!=(l=b[o])&&(l.sel!==a.sel?cP(a,k,d.elm):(cO(l,a),q||(q=!0,b=[...b]),b[o]=void 0,c3(l.elm,k,d.elm))),a=c[++h]):j=c[--i]:a=c[++h]:f=b[--e]:d=b[++g];if(g<=e||h<=i){if(g>e){let r=i,m;do m=c[++r];while(null==m&&r<p)cY(c,k,null!=m?m.elm:null,h,i+1)}else c$(b,k,!0,g,e+1)}}function de(e,f,b){let i=e.length,h=f.length;if(0===i){cY(f,b,null);return}if(0===h){c$(e,b,!0);return}let g=null;for(let c=h-1;c>=0;c-=1){let d=e[c],a=f[c];if(a!==d){var j,k,l;null!=d?null!=a?(cO(d,a),g=a.elm):cZ(d,b,!0):null!=a&&(cP(a,b,g),g=a.elm)}}}let df=Symbol.iterator;function ai(b,a,c=bb){let d=dw,e,{key:f}=a;return{type:2,sel:b,data:a,children:c,elm:e,key:f,owner:d}}function aj(d,e,a,f=bb){var b;let g=dw,{key:h}=a,i,j,k,c={type:3,sel:d,data:a,children:f,elm:i,key:h,ctor:e,owner:g,mode:"open",aChildren:j,vm:k};return b=c,aH.call(dw.velements,b),c}let dg=new Map,dh=0;function di(a){var b;return b=a,da.set(b,1),a}let dj=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")},dk=h({s:function(c,d,a,b){aS(b)||aS(b[c])||0===b[c].length||(a=b[c]);let e=dw,{renderMode:f,shadowMode:g}=e;return 0===f?(di(a),a):(1===g&&di(a),ai("slot",d,a))},h:ai,c:aj,i:function(b,i){let a=[];if(di(a),aS(b)||null===b)return a;let g=b[df](),c=g.next(),d=0,{value:h,done:e}=c;for(;!1===e;){e=(c=g.next()).done;let f=i(h,d,0===d,!0===e);G(f)?aH.apply(a,f):aH.call(a,f),d+=1,h=c.value}return a},f:function(d){let e=d.length,a=[];di(a);for(let b=0;b<e;b+=1){let c=d[b];G(c)?aH.apply(a,c):aH.call(a,c)}return a},t:function(a){let b,c,d;return{type:0,sel:b,text:a,elm:d,key:c,owner:dw}},d:function(a){return null==a?"":String(a)},b:function(b){let a=dw;if(aT(a))throw new Error;let c=a;return function(a){dA(c,b,c.component,a)}},k:function(b,a){switch(typeof a){case"number":case"string":return b+":"+a}},co:function(a){let b,c,d;return{type:1,sel:b,text:a,elm:d,key:c,owner:dw}},dc:function(c,a,d,e=bb){if(null==a)return null;if(!ah(a))throw new Error(`Invalid LWC Constructor ${aZ(a)} for custom element <${c}>.`);let b=dg.get(a);aS(b)&&(b=dh++,dg.set(a,b));let f=Object.assign(Object.assign({},d),{key:`dc:${b}:${d.key}`});return aj(c,a,f,e)},ti:function(a){let b=a>0&&!(aU(a)||aV(a));return b?0:a},gid:function(a){let b=dw;if(aS(a)||""===a)return a;if(aT(a))return null;let{idx:d,shadowMode:c}=b;return 1===c?aP.call(a,/\S+/g,a=>`${a}-${d}`):a},fid:function(a){let b=dw;if(aS(a)||""===a)return a;if(aT(a))return null;let{idx:c,shadowMode:d}=b;return 1===d&&/^#/.test(a)?`${a}-${c}`:a},shc:function(a){return dj(a)}});function dl(a){return`${a}-host`}function dm(g,h,a){let d=[],b;for(let e=0;e<g.length;e++){let c=g[e];if(G(c))aH.apply(d,dm(c,h,a));else{let i=c[a2],j=i||1===a.shadowMode&&1===a.renderMode?h:void 0,k=0===a.renderMode?!i:0===a.shadowMode,f;1===a.renderMode?f=0===a.shadowMode:(aS(b)&&(b=dn(a)),f=aT(b)||0===b.shadowMode),aH.call(d,c(j,k,f))}}return d}function dn(b){let a=b;for(;!aT(a);){if(1===a.renderMode)return a;a=a.owner}return a}let dp=!1,dq=I,ak={enableProfiler(){dp=!0},disableProfiler(){dp=!1},attachDispatcher(a){dq=a,this.enableProfiler()},detachDispatcher(){let a=dq;return dq=I,this.disableProfiler(),a}};function dr(b,a){dp&&dq(b,0,a.tagName,a.idx,a.renderMode,a.shadowMode)}function ds(b,a){dp&&dq(b,1,a.tagName,a.idx,a.renderMode,a.shadowMode)}function dt(b,a){dp&&dq(b,0,null==a?void 0:a.tagName,null==a?void 0:a.idx,null==a?void 0:a.renderMode,null==a?void 0:a.shadowMode)}function du(b,a){dp&&dq(b,1,null==a?void 0:a.tagName,null==a?void 0:a.idx,null==a?void 0:a.renderMode,null==a?void 0:a.shadowMode)}let dv=!1,dw=null,dx=null;function dy(a){return dx===a}function dz(a,c,d){let{component:e,callHook:f,owner:b}=a;eb(a,b,I,()=>{f(e,c,d)},I)}function dA(a,c,d,e){let{callHook:f,owner:b}=a;eb(a,b,I,()=>{f(d,c,[e])},I)}let dB=new Map;function dC(a){return dB.get(a)}function dD(a){a.tro.reset();let c=function(a){let{def:{render:f},callHook:g,component:h,owner:c}=a,i=dw,d,e=!1;return eb(a,c,()=>{var b;dw=a},()=>{a.tro.observe(()=>{d=g(h,f),e=!0})},()=>{var a;dw=i}),e?function(a,d){let e=dv,f=dw,c=[];return eb(a,a.owner,()=>{dw=a,dr(1,a)},()=>{let{component:f,context:g,cmpSlots:h,cmpTemplate:i,tro:e}=a;e.observe(()=>{if(d!==i){var e;if(aT(i)||d9(a),e=d,!ae.has(e))throw new TypeError(`Invalid template returned by the render() method on ${a}. It must return an imported template (e.g.: \`import html from "./${a.def.name}.html"\`), instead, it has returned: ${aZ(d)}.`);a.cmpTemplate=d,g.tplCache=b(null),g.hasScopedStyles=function(c){let{stylesheets:a}=c;if(!aS(a)){for(let b=0;b<a.length;b++)if(aU(a[b][a2]))return!0}return!1}(d),function(h,i){let{elm:c,context:a,renderMode:j,shadowMode:k}=h,{stylesheets:e,stylesheetToken:l}=i,{hasScopedStyles:m}=a,b,f,g,{stylesheetToken:d,hasTokenInClass:n,hasTokenInAttribute:o}=a;!aS(d)&&(n&&R(c).remove(dl(d)),o&&bs(c,dl(d))),aS(e)||0===e.length||(b=l),aS(b)||(m&&(R(c).add(dl(b)),f=!0),1!==j||1!==k||(br(c,dl(b),""),g=!0)),a.stylesheetToken=b,a.hasTokenInClass=f,a.hasTokenInAttribute=g}(a,d);let j=function(c,d){let{stylesheets:a,stylesheetToken:e}=d,b=[];return aS(a)||0===a.length||(b=dm(a,e,c)),b}(a,d);g.styleVNode=0===j.length?null:function(d,a){let{renderMode:g,shadowMode:h}=d;if(1===g&&1===h)for(let c=0;c<a.length;c++)bI(a[c]);else if(M||Q()){var e;let i=aF.call(a,"\n");return e=i,dk.h("style",{key:"style",attrs:{type:"text/css"}},[dk.t(e)])}else{let f=function(b){let a=dn(b);return aT(a)||1!==a.shadowMode?a:null}(d),j=aT(f);for(let b=0;b<a.length;b++)j?bI(a[b]):bJ(a[b],f.shadowRoot)}return null}(a,j)}a.velements=[],dv=!0,c=d.call(void 0,dk,f,h,g.tplCache);let{styleVNode:k}=g;aT(k)||aM.call(c,k)})},()=>{dv=e,dw=f,ds(1,a)}),c}(a,d):[]}(a);return a.isDirty=!1,a.isScheduled=!1,c}function dE(a){a.isDirty=!0}let dF=new WeakMap;function dG(c,b){if(!H(b))throw new TypeError;let a=dF.get(b);return aS(a)&&(a=function(a){dA(c,b,void 0,a)},dF.set(b,a)),a}let dH=b(null),dI=["rendered","connected","disconnected"];function dJ(c,b){let{component:d,def:e,context:f}=c;for(let a=0,g=b.length;a<g;++a)b[a].call(void 0,d,{},e,f)}let dK=0,dL=new WeakMap;function dM(a,b,c=[]){return b.apply(a,c)}function dN(a,b,c){a[b]=c}function dO(a,b){return a[b]}function dP(a){d$(a)}function dQ(b){let a=dY(b);dt(7,a),1===a.state&&dR(b),d3(a),d$(a),du(7,a)}function dR(a){let b=dY(a);dT(b)}function dS(a){d$(a)}function dT(a){let{state:c}=a;if(2!==c){let{oar:b,tro:d}=a;for(let e in d.reset(),b)b[e].reset();d5(a),d6(a),d7(a)}}function dU(a){dT(a)}function dV(g,h,i){var f,j;let{mode:k,owner:a,tagName:l}=i,e=cD(h),c={elm:g,def:e,idx:dK++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:k,owner:a,children:bb,aChildren:bb,velements:bb,cmpProps:b(null),cmpFields:b(null),cmpSlots:b(null),oar:b(null),cmpTemplate:null,renderMode:e.renderMode,shadowMode:dW(e,a),nearestShadowMode:(null==a?void 0:a.shadowRoot)?a.shadowMode:null!==(f=null==a?void 0:a.nearestShadowMode)&& void 0!==f?f:null,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:d,wiredConnecting:bb,wiredDisconnecting:bb},tro:null,component:null,shadowRoot:null,renderRoot:null,callHook:dM,setHook:dN,getHook:dO};return c.tro=(j=c,new X(()=>{let{isDirty:a}=j;aV(a)&&(dE(j),ea(j))})),!function(a,c){let d=dx,b;dr(0,a),dx=a;try{let e=new c;if(dx.component!==e)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(f){b=Object(f)}finally{if(ds(0,a),dx=d,!aS(b))throw bP(a,b),b}}(c,e.ctor),d4(c)&&ej(c),c}function dW(b,c){var a;return O?0===b.renderMode?0:N&&a9.ENABLE_MIXED_SHADOW_MODE?"any"===b.shadowSupportMode?0:null!==(a=null==c?void 0:c.nearestShadowMode)&& void 0!==a?a:1:1:0}function dX(a,b){dL.set(a,b)}function dY(a){let b=dL.get(a);return b}function dZ(a){let b=dL.get(a);return b}function d$(a){if(aU(a.isDirty)){let b=dD(a);d_(a,b)}}function d_(a,b){let{renderRoot:d,children:c}=a;a.children=b,(b.length>0||c.length>0)&&c!==b&&eb(a,a,()=>{dr(2,a)},()=>{cN(c,b,d)},()=>{ds(2,a)}),1===a.state&&d0(a)}function d0(a){let{def:{renderedCallback:b}}=a;if(aU(M))return;let{rendered:c}=dH;c&&dJ(a,c),aS(b)||(dr(4,a),dz(a,b),ds(4,a))}let d1=[];function d2(){dt(8);let b=d1.sort((a,b)=>a.idx-b.idx);d1=[];for(let a=0,c=b.length;a<c;a+=1){let d=b[a];try{d$(d)}catch(e){throw a+1<c&&(0===d1.length&&bd(d2),aM.apply(d1,aK.call(b,a+1))),du(8),e}}du(8)}function d3(a){let{state:d}=a;if(1===d)return;a.state=1;let{connected:b}=dH;b&&dJ(a,b),d4(a)&&ek(a);let{connectedCallback:c}=a.def;aS(c)||(dr(3,a),dz(a,c),ds(3,a))}function d4(a){return E(a.def.wire).length>0}function d5(a){aV(a.isDirty)&&(a.isDirty=!0),a.state=2;let{disconnected:b}=dH;b&&dJ(a,b),d4(a)&&el(a);let{disconnectedCallback:c}=a.def;aS(c)||(dr(5,a),dz(a,c),ds(5,a))}function d6(e){let{velements:b}=e;for(let a=b.length-1;a>=0;a-=1){let{elm:c}=b[a];if(!aS(c)){let d=dZ(c);aS(d)||dT(d)}}}function d7(a){let{aChildren:b}=a;d8(b)}function d8(c){for(let b=0,d=c.length;b<d;b+=1){let a=c[b];if(!aT(a)&&!aS(a.elm))switch(a.type){case 2:d8(a.children);break;case 3:{let e=dY(a.elm);dT(e)}}}}function d9(a){let{children:d,renderRoot:e}=a;for(let b=0,f=d.length;b<f;b++){let c=d[b];aT(c)||aS(c.elm)||bh(c.elm,e)}a.children=bb,d6(a),a.velements=bb}function ea(a){aU(M)||aU(a.isScheduled)||(a.isScheduled=!0,0===d1.length&&bd(d2),aH.call(d1,a))}function eb(b,d,e,f,g){let a;e();try{f()}catch(h){a=Object(h)}finally{if(g(),!aS(a)){bP(b,a);let c=aT(d)?void 0:function(b){let a=b;for(;!aT(a);){if(!aS(a.def.errorCallback))return a;a=a.owner}}(d);if(aS(c))throw a;d9(b),dr(6,b);let i=c.def.errorCallback;dz(c,i,[a,a.wcStack]),ds(6,b)}}}let ec=new Map;class ed extends CustomEvent{constructor(a,{setNewContext:b,setDisconnectedCallback:c}){super(a,{bubbles:!0,composed:!0}),s(this,{setNewContext:{value:b},setDisconnectedCallback:{value:c}})}}function ee(a,e,b){var f,g;let{method:c,adapter:h,configCallback:i,dynamic:j}=b,d=aS(c)?function(a,b){let{cmpFields:c}=a;return d=>{d!==a.cmpFields[b]&&(c[b]=d,bM(a,b))}}(a,e):(f=a,g=c,a=>{eb(f,f.owner,I,()=>{g.call(f.component,a)},I)}),m,k;t(d,"$$DeprecatedWiredElementHostKey$$",{value:a.elm}),t(d,"$$DeprecatedWiredParamsMetaKey$$",{value:j}),eb(a,a,I,()=>{k=new h(d)},I);let{computeConfigAndUpdate:l,ro:n}=function(c,d,e){let f=!1,a=new X(()=>{!1===f&&(f=!0,Promise.resolve().then(()=>{f=!1,a.reset(),b()}))}),b=()=>{let b;a.observe(()=>b=d(c)),e(b)};return{computeConfigAndUpdate:b,ro:a}}(a.component,i,b=>{eb(a,a,I,()=>{k.update(b,m)},I)});return aS(h.contextSchema)||function(a,b,f){let{adapter:c}=b,d=eg(c);if(aS(d))return;let{elm:g,context:{wiredConnecting:e,wiredDisconnecting:h}}=a;aH.call(e,()=>{let a=new ed(d,{setNewContext(a){f(a)},setDisconnectedCallback(a){aH.call(h,a)}});bv(g,a)})}(a,b,b=>{m!==b&&(m=b,1===a.state&&l())}),{connector:k,computeConfigAndUpdate:l,resetConfigWatcher:()=>n.reset()}}let ef=new Map;function eg(a){return ef.get(a)}function eh(b,a,c,d){a.adapter&&(a=a.adapter);let e=b.value;ec.set(b,{adapter:a,method:e,configCallback:c,dynamic:d})}function ei(b,a,c,d){a.adapter&&(a=a.adapter),ec.set(b,{adapter:a,configCallback:c,dynamic:d})}function ej(b){let{context:c,def:{wire:d}}=b,f=c.wiredConnecting=[],g=c.wiredDisconnecting=[];for(let e in d){let h=d[e],a=ec.get(h);if(!aS(a)){let{connector:i,computeConfigAndUpdate:j,resetConfigWatcher:k}=ee(b,e,a),l=a.dynamic.length>0;aH.call(f,()=>{if(i.connect(),!a9.ENABLE_WIRE_SYNC_EMIT&&l){Promise.resolve().then(j);return}j()}),aH.call(g,()=>{i.disconnect(),k()})}}}function ek(c){let{wiredConnecting:b}=c.context;for(let a=0,d=b.length;a<d;a+=1)b[a]()}function el(a){let{wiredDisconnecting:b}=a.context;eb(a,a,I,()=>{for(let a=0,c=b.length;a<c;a+=1)b[a]()},I)}let em=!1;function en(a){let b=dD(a);a.children=b;let c=a.renderRoot;et(bE(c),b,c),d0(a)}function eo(c,a){let b;switch(a.type){case 0:b=ep(c,a);break;case 1:b=eq(c,a);break;case 2:b=er(c,a);break;case 3:b=es(c,a)}return bl(b)}function ep(a,b){var c;return ew(b,a,3)?(bp(a,null!==(c=b.text)&& void 0!==c?c:null),b.elm=a,a):eu(a,b)}function eq(a,b){var c;return ew(b,a,8)?(bo(a,"nodeValue",null!==(c=b.text)&& void 0!==c?c:null),b.elm=a,a):eu(a,b)}function er(b,a){if(!ew(a,b,1)||!ex(a,b))return eu(b,a);a.elm=b;let{context:d}=a.data,e=Boolean(!aS(d)&&!aS(d.lwc)&&"manual"===d.lwc.dom);if(e){let{props:c}=a.data;aS(c)||aS(c.innerHTML)||bn(b,"innerHTML")===c.innerHTML&&(a.data=Object.assign(Object.assign({},a.data),{props:function(b,d){let c={};for(let a of Object.keys(b))a!==d&&(c[a]=b[a]);return c}(c,"innerHTML")}))}return ev(a),e||et(bE(b),a.children,b,a.owner),b}function es(b,a){if(!ew(a,b,1)||!ex(a,b))return eu(b,a);let{sel:d,mode:e,ctor:f,owner:g}=a,c=dV(b,f,{mode:e,owner:g,tagName:d});return a.elm=b,a.vm=c,c7(a,c),ev(a),d3(c),0!==c.renderMode&&et(bE(b),a.children,b),en(c),b}function et(g,e,f,i){let a=g,c=null;for(let d=0;d<e.length;d++){let b=e[d];aT(b)||(a?(a=eo(a,b),c=b.elm):(em=!0,cP(b,f,c),c=b.elm))}if(a){em=!0;do{let h=a;a=bl(a),c4(h,f)}while(a)}}function eu(a,b,d){em=!0;let c=bn(a,"parentNode");return cP(b,c,a),c4(a,c),b.elm}function ev(a){cM(a),cJ(null,a)}function ew(c,a,b){return bn(a,"nodeType")===b}function ex(a,b){if(a.sel.toLowerCase()!==bn(b,"tagName").toLowerCase())return!1;let c=ey(a,b),d=ez(a,b),e=eA(a,b);return c&&d&&e}function ey(b,c){let{data:{attrs:d={}}}=b,a=!0;for(let[e,f]of Object.entries(d)){let g=bq(c,e);String(f)!==g&&(a=!1)}return a}function ez(h,c){let{data:{className:d,classMap:b}}=h,a=!0;if(aS(d)||String(d)===bn(c,"className")){if(!aS(b)){let e=R(c),f="";for(let g in b)f+=" "+g,e.contains(g)||(a=!1);f.trim(),e.length>u(b).length&&(a=!1)}}else a=!1;return a}function eA(l,m){let{data:{style:e,styleDecls:b}}=l,f=bq(m,"style")||"",a=!0;if(aS(e)||e===f){if(!aS(b)){let g=function(e){let a={},f=e.split(be);for(let b of f)if(b){let[c,d]=b.split(bf);void 0!==c&& void 0!==d&&(a[c.trim()]=d.trim())}return a}(f),h=[];for(let c=0,n=b.length;c<n;c++){let[i,j,k]=b[c];h.push(`${i}: ${j+(k?" important!":"")}`);let d=g[i];aS(d)?a=!1:d.startsWith(j)?k&&!d.endsWith("!important")&&(a=!1):a=!1}u(g).length>b.length&&(a=!1),aF.call(h,";")}}else a=!1;return a}let eB=!1,eC=b(null),eD=document.head||document.body||document,al=H(CSSStyleSheet.prototype.replaceSync)&&G(document.adoptedStyleSheets),eE=al&&D(document.adoptedStyleSheets,"length").writable,eF=b(null),eG=b(null),eH=new WeakMap,o,p,q;if(function(){if("undefined"==typeof customElements)return!1;try{let b=HTMLElement;class a extends b{}return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),a),new a,!0}catch(c){return!1}}())o=customElements.get.bind(customElements),p=customElements.define.bind(customElements),q=HTMLElement;else{let eI=b(null),eJ=new WeakMap;p=function(a,b){if(a!==aR.call(a)||eI[a])throw new TypeError("Invalid Registration");eI[a]=b,eJ.set(b,a)},o=function(a){return eI[a]},(q=function d(){if(!(this instanceof d))throw new TypeError("Invalid Invocation");let{constructor:a}=this,b=eJ.get(a);if(!b)throw new TypeError("Invalid Construction");let c=document.createElement(b);return aB(c,a.prototype),c}).prototype=HTMLElement.prototype}let eK=!1;function am(){return eK}let an=f.$isNativeShadowRootDefined$,ao=F.call(Element.prototype,"$shadowToken$"),ap=q;function eL(a,b,c){let d=dV(a,b,{mode:"open",owner:null,tagName:a.tagName.toLowerCase()});for(let[e,f]of Object.entries(c))a[e]=f;return d}function aq(a,b,c={}){var f,g,h,i;if(!(a instanceof Element))throw new TypeError(`"hydrateComponent" expects a valid DOM element as the first parameter but instead received ${a}.`);if(!H(b))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${b}.`);if(!aW(c)||aT(c))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${c}.`);if(dZ(a)){console.warn('"hydrateComponent" expects an element that is not hydrated.',a);return}try{eK=!0;let d=eL(a,b,c);!function(a){if(em=!1,d3(a),en(a),em){var b,c;b="Hydration completed with errors.",c=a,function(b,d,c){let a=`[LWC ${b}]: ${d}`;aS(c)||(a=`${a}
|
|
2
|
+
${function(a){let b=[],c="";for(;!aT(a.owner);)aH.call(b,c+bO(a)),a=a.owner,c+=" ";return aF.call(b,"\n")}(c)}`);try{throw new Error(a)}catch(e){console[b](e)}}("error",b,c)}}(d),eK=!1}catch(e){console.error("Recovering from error while hydrating: ",e),function(a,c){if(a.shadowRoot){let b=a.shadowRoot;for(;!aT(b.firstChild);)b.removeChild(b.firstChild)}if("light"===c.renderMode)for(;!aT(a.firstChild);)a.removeChild(a.firstChild)}(a,b),eL(a,b,c),eK=!1,dQ(a)}finally{eK=!1}}!function(a){bm=a}(function(a,b){return eK?a.shadowRoot:a.attachShadow(b)}),function(a){bk=a}(function(a){return document.createComment(a)}),function(a){bi=a}(function(a,b){return aS(b)?document.createElement(a):document.createElementNS(b,a)}),function(a){bj=a}(function(a){return document.createTextNode(a)}),T=p,function(a){bv=a}(function(a,b){return a.dispatchEvent(b)}),function(a){bq=a}(function(a,b,c){return aS(c)?a.getAttribute(b):a.getAttributeNS(c,b)}),function(a){bx=a}(function(a){return a.getBoundingClientRect()}),function(a){bD=a}(function(a){return a.childNodes}),function(a){bC=a}(function(a){return a.children}),function(a){R=a}(function(a){return a.classList}),U=o,function(a){bB=a}(function(a,b){return a.getElementsByClassName(b)}),function(a){bA=a}(function(a,b){return a.getElementsByTagName(b)}),function(a){bE=a}(function(a){return a.firstChild}),function(a){bF=a}(function(a){return a.firstElementChild}),function(a){bG=a}(function(a){return a.lastChild}),function(a){bH=a}(function(a){return a.lastElementChild}),function(a){bn=a}(function(a,b){return a[b]}),P=ap,function(a){bg=a}(function(a,b,c){b.insertBefore(a,c)}),function(a){bI=a}(function(a){if(!aS(eC[a]))return;eC[a]=!0;let b=document.createElement("style");b.type="text/css",b.textContent=a,eD.appendChild(b)}),function(a){bJ=a}(function(a,c){al?function(b,d){let a=eG[b];aS(a)&&((a=new CSSStyleSheet).replaceSync(b),eG[b]=a);let{adoptedStyleSheets:c}=d;c.includes(a)||(eE?c.push(a):d.adoptedStyleSheets=[...c,a])}(a,c):function(c,e){let d=eH.get(e);if(aS(d)&&(d=b(null),eH.set(e,d)),d[c])return;d[c]=!0;let a=eF[c];aS(a)?((a=document.createElement("style")).type="text/css",a.textContent=c,eF[c]=a):a=a.cloneNode(!0),e.appendChild(a)}(a,c)}),function(a){S=a}(function(a){return a.isConnected}),Q=am,N=an,O=ao,function(a){bl=a}(function(a){return a.nextSibling}),function(a){by=a}(function(a,b){return a.querySelector(b)}),function(a){bz=a}(function(a,b){return a.querySelectorAll(b)}),function(a){bh=a}(function(a,b){b.removeChild(a)}),function(a){bs=a}(function(a,b,c){aS(c)?a.removeAttribute(b):a.removeAttributeNS(c,b)}),function(a){bu=a}(function(a,b,c,d){a.removeEventListener(b,c,d)}),function(a){br=a}(function(a,b,c,d){return aS(d)?a.setAttribute(b,c):a.setAttributeNS(d,b,c)}),function(a){bw=a}(function(a,b,c,d){a.style.setProperty(b,c,d?"important":"")}),function(a){bo=a}(function(a,b,c){a[b]=c}),function(a){bp=a}(function(a,b){a.nodeValue=b}),M=!1,function(a){bt=a}(function(a,b,c,d){a.addEventListener(b,c,d)});let eM=new WeakSet,C=Node,eN=new WeakMap,eO=new WeakMap;function eP(a,c){let b=c.get(a);return aS(b)||b(a),a}let{appendChild:eQ,insertBefore:eR,removeChild:eS,replaceChild:eT}=C.prototype;r(C.prototype,{appendChild(a){let b=eQ.call(this,a);return eP(b,eN)},insertBefore(a,b){let c=eR.call(this,a,b);return eP(c,eN)},removeChild(a){let b=eS.call(this,a);return eP(b,eO)},replaceChild(a,c){let b=eT.call(this,a,c);return eP(b,eO),eP(a,eN),b}});let eU=Node,eV=new Map;t(c,"CustomElementConstructor",{get(){return function(a){if(a===c)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let b=eV.get(a);return aS(b)&&(b=function(a){let b=function(a){let b=cD(a);return b.bridge}(a);return class extends b{constructor(){super(),this.isConnected?(aq(this,a,{}),eM.add(this)):dV(this,a,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){eM.has(this)?eM.delete(this):dQ(this)}disconnectedCallback(){dR(this)}}}(a),eV.set(a,b)),b}(this)}}),h(c),e(c.prototype),a.LightningElement=c,a.__unstable__ProfilerControl=ak,a.api=function(){throw new Error},a.buildCustomElementConstructor=function(a){return a.CustomElementConstructor},a.createContextProvider=function(b){var c,d;let a=eg(b);if(!aS(a))throw new Error("Adapter already has a context provider.");a=function(){function a(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)}return a()+a()+"-"+a()+"-"+a()+"-"+a()+"-"+a()+a()+a()}(),c=b,d=a,ef.set(c,d);let e=new WeakSet;return(b,c)=>{if(e.has(b))throw new Error(`Adapter was already installed on ${b}.`);e.add(b);let{consumerConnectedCallback:d,consumerDisconnectedCallback:f}=c;b.addEventListener(a,a=>{let{setNewContext:e,setDisconnectedCallback:b}=a,c={provide(a){e(a)}};b(()=>{aS(f)||f(c)}),d(c),a.stopImmediatePropagation()})}},a.createElement=function(b,a){if(!aW(a)||aT(a))throw new TypeError(`"createElement" function expects an object as second parameter but received "${aZ(a)}".`);let c=a.is;if(!H(c))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');let d=cF(b),e=!1,f=new d(d=>{dV(d,c,{tagName:b,mode:"closed"!==a.mode?"open":"closed",owner:null}),eN.set(d,dQ),eO.set(d,dR),e=!0});return e||console.error(`Unexpected tag name "${b}". This name is a registered custom element, preventing LWC to upgrade the element.`),f},a.getComponentConstructor=function(a){let b=null;if(!aS(a)){let c=dZ(a);aS(c)||(b=c.def.ctor)}return b},a.getComponentDef=function(f){let g=cD(f),{ctor:h,name:i,props:j,propsConfig:k,methods:b}=g,c={};for(let a in j)c[a]={config:k[a]||0,type:"any",attr:a5(a)};let d={};for(let e in b)d[e]=b[e].value;return{ctor:h,name:i,props:c,methods:d}},a.hydrateComponent=aq,a.isComponentConstructor=ah,a.isNodeFromTemplate=function(a){if(aV(a instanceof eU))return!1;if(a instanceof ShadowRoot)return!1;let b=a.getRootNode();return!!(b instanceof ShadowRoot&&aV(F.call(az(b),"synthetic")))||ao&&!aS(a[a1])},a.readonly=function(a){return cl.getReadOnlyProxy(a)},a.register=function(d){for(let b=0;b<dI.length;++b){let a=dI[b];if(a in d){let c=dH[a];aS(c)&&(dH[a]=c=[]),aH.call(c,d[a])}}},a.registerComponent=function(a,{tmpl:b}){return H(a)&&dB.set(a,b),a},a.registerDecorators=function(i,B){var n,o;let d=i.prototype,{publicProps:f,publicMethods:p,wire:j,track:h,fields:k}=B,C=b(null),q=b(null),r=b(null),s=b(null),u=b(null),w=b(null),a;if(!aS(f))for(let c in f){let x=f[c];if(w[c]=x.config,a=D(d,c),x.config>0){if(aS(a))throw new Error;a=cs(c,a)}else a=aS(a)||aS(a.get)?cq(c):cs(c,a);q[c]=a,t(d,c,a)}if(aS(p)||v.call(p,b=>{if(aS(a=D(d,b)))throw new Error;C[b]=a}),!aS(j))for(let e in j){let{adapter:y,method:E,config:z,dynamic:A=[]}=j[e];if(a=D(d,e),1===E){if(aS(a))throw new Error;r[e]=a,eh(a,y,z,A)}else a=cu(e),s[e]=a,ei(a,y,z,A),t(d,e,a)}if(!aS(h))for(let l in h)a=D(d,l),a=ct(l),t(d,l,a);if(!aS(k))for(let m=0,F=k.length;m<F;m++){let g=k[m];a=D(d,g);let G=!aS(f)&&g in f,H=!aS(h)&&g in h;G||H||(u[g]=cp(g))}return n=i,o={apiMethods:C,apiFields:q,apiFieldsConfig:w,wiredMethods:r,wiredFields:s,observedFields:u},cv.set(n,o),i},a.registerTemplate=function(a){return ae.add(a),a},a.sanitizeAttribute=af,a.setFeatureFlag=function(a,b){var f;if("boolean"!=typeof b){let d=`Failed to set the value "${b}" for the runtime feature flag "${a}". Runtime feature flags can only be set to a boolean value.`;console.error(d);return}if(aS(a8[a])){let e=u(a8).map(a=>`"${a}"`).join(", ");console.warn(`Failed to set the value "${b}" for the runtime feature flag "${a}" because it is undefined. Available flags: ${e}.`);return}{let c=a9[a];if(!aS(c)){console.error(`Failed to set the value "${b}" for the runtime feature flag "${a}". "${a}" has already been set with the value "${c}".`);return}t(a9,a,{value:b})}},a.setFeatureFlagForTest=function(a,b){},a.setHooks=function(a){var b;ay.isFalse(eB,"Hooks are already overridden, only one definition is allowed."),eB=!0,dj=a.sanitizeHtmlContent},a.swapComponent=function(a,b){if(!a9.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},a.swapStyle=function(a,b){if(!a9.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},a.swapTemplate=function(a,b){if(!a9.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},a.track=function(a){if(1===arguments.length)return cl.getProxy(a);throw new Error},a.unwrap=function(a){return cl.unwrapProxy(a)},a.wire=function(a,b){throw new Error},Object.defineProperty(a,"__esModule",{value:!0})})
|