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
|
@@ -301,9 +301,9 @@ var LWC = (function (exports) {
|
|
|
301
301
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
302
302
|
*/
|
|
303
303
|
// Increment whenever the LWC template compiler changes
|
|
304
|
-
const LWC_VERSION = "2.
|
|
304
|
+
const LWC_VERSION = "2.13.2";
|
|
305
305
|
const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
|
|
306
|
-
/** version: 2.
|
|
306
|
+
/** version: 2.13.2 */
|
|
307
307
|
|
|
308
308
|
/*
|
|
309
309
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -456,7 +456,7 @@ var LWC = (function (exports) {
|
|
|
456
456
|
setFeatureFlag(name, value);
|
|
457
457
|
}
|
|
458
458
|
}
|
|
459
|
-
/** version: 2.
|
|
459
|
+
/** version: 2.13.2 */
|
|
460
460
|
|
|
461
461
|
/* proxy-compat-disable */
|
|
462
462
|
|
|
@@ -894,6 +894,20 @@ var LWC = (function (exports) {
|
|
|
894
894
|
log('warn', message, vm);
|
|
895
895
|
}
|
|
896
896
|
|
|
897
|
+
/*
|
|
898
|
+
* Copyright (c) 2020, salesforce.com, inc.
|
|
899
|
+
* All rights reserved.
|
|
900
|
+
* SPDX-License-Identifier: MIT
|
|
901
|
+
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
902
|
+
*/
|
|
903
|
+
function resolveCircularModuleDependency(fn) {
|
|
904
|
+
const module = fn();
|
|
905
|
+
return (module === null || module === void 0 ? void 0 : module.__esModule) ? module.default : module;
|
|
906
|
+
}
|
|
907
|
+
function isCircularModuleDependency(obj) {
|
|
908
|
+
return isFunction$1(obj) && hasOwnProperty$1.call(obj, '__circular__');
|
|
909
|
+
}
|
|
910
|
+
|
|
897
911
|
/*
|
|
898
912
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
899
913
|
* All rights reserved.
|
|
@@ -2259,64 +2273,7 @@ var LWC = (function (exports) {
|
|
|
2259
2273
|
patchLightningElementPrototypeWithRestrictions(LightningElement.prototype);
|
|
2260
2274
|
}
|
|
2261
2275
|
|
|
2262
|
-
|
|
2263
|
-
* Copyright (c) 2018, salesforce.com, inc.
|
|
2264
|
-
* All rights reserved.
|
|
2265
|
-
* SPDX-License-Identifier: MIT
|
|
2266
|
-
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
2267
|
-
*/
|
|
2268
|
-
/**
|
|
2269
|
-
* @wire decorator to wire fields and methods to a wire adapter in
|
|
2270
|
-
* LWC Components. This function implements the internals of this
|
|
2271
|
-
* decorator.
|
|
2272
|
-
*/
|
|
2273
|
-
function wire(_adapter, _config) {
|
|
2274
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
2275
|
-
assert.fail('@wire(adapter, config?) may only be used as a decorator.');
|
|
2276
|
-
}
|
|
2277
|
-
throw new Error();
|
|
2278
|
-
}
|
|
2279
|
-
function internalWireFieldDecorator(key) {
|
|
2280
|
-
return {
|
|
2281
|
-
get() {
|
|
2282
|
-
const vm = getAssociatedVM(this);
|
|
2283
|
-
componentValueObserved(vm, key);
|
|
2284
|
-
return vm.cmpFields[key];
|
|
2285
|
-
},
|
|
2286
|
-
set(value) {
|
|
2287
|
-
const vm = getAssociatedVM(this);
|
|
2288
|
-
/**
|
|
2289
|
-
* Reactivity for wired fields is provided in wiring.
|
|
2290
|
-
* We intentionally add reactivity here since this is just
|
|
2291
|
-
* letting the author to do the wrong thing, but it will keep our
|
|
2292
|
-
* system to be backward compatible.
|
|
2293
|
-
*/
|
|
2294
|
-
if (value !== vm.cmpFields[key]) {
|
|
2295
|
-
vm.cmpFields[key] = value;
|
|
2296
|
-
componentValueMutated(vm, key);
|
|
2297
|
-
}
|
|
2298
|
-
},
|
|
2299
|
-
enumerable: true,
|
|
2300
|
-
configurable: true,
|
|
2301
|
-
};
|
|
2302
|
-
}
|
|
2303
|
-
|
|
2304
|
-
/*
|
|
2305
|
-
* Copyright (c) 2018, salesforce.com, inc.
|
|
2306
|
-
* All rights reserved.
|
|
2307
|
-
* SPDX-License-Identifier: MIT
|
|
2308
|
-
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
2309
|
-
*/
|
|
2310
|
-
function track(target) {
|
|
2311
|
-
if (arguments.length === 1) {
|
|
2312
|
-
return reactiveMembrane.getProxy(target);
|
|
2313
|
-
}
|
|
2314
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
2315
|
-
assert.fail(`@track decorator can only be used with one argument to return a trackable object, or as a decorator function.`);
|
|
2316
|
-
}
|
|
2317
|
-
throw new Error();
|
|
2318
|
-
}
|
|
2319
|
-
function internalTrackDecorator(key) {
|
|
2276
|
+
function createObservedFieldPropertyDescriptor(key) {
|
|
2320
2277
|
return {
|
|
2321
2278
|
get() {
|
|
2322
2279
|
const vm = getAssociatedVM(this);
|
|
@@ -2325,14 +2282,8 @@ var LWC = (function (exports) {
|
|
|
2325
2282
|
},
|
|
2326
2283
|
set(newValue) {
|
|
2327
2284
|
const vm = getAssociatedVM(this);
|
|
2328
|
-
if (
|
|
2329
|
-
|
|
2330
|
-
assert.invariant(!isInvokingRender, `${vmBeingRendered}.render() method has side effects on the state of ${vm}.${toString$1(key)}`);
|
|
2331
|
-
assert.invariant(!isUpdatingTemplate, `Updating the template of ${vmBeingRendered} has side effects on the state of ${vm}.${toString$1(key)}`);
|
|
2332
|
-
}
|
|
2333
|
-
const reactiveOrAnyValue = reactiveMembrane.getProxy(newValue);
|
|
2334
|
-
if (reactiveOrAnyValue !== vm.cmpFields[key]) {
|
|
2335
|
-
vm.cmpFields[key] = reactiveOrAnyValue;
|
|
2285
|
+
if (newValue !== vm.cmpFields[key]) {
|
|
2286
|
+
vm.cmpFields[key] = newValue;
|
|
2336
2287
|
componentValueMutated(vm, key);
|
|
2337
2288
|
}
|
|
2338
2289
|
},
|
|
@@ -2496,7 +2447,22 @@ var LWC = (function (exports) {
|
|
|
2496
2447
|
};
|
|
2497
2448
|
}
|
|
2498
2449
|
|
|
2499
|
-
|
|
2450
|
+
/*
|
|
2451
|
+
* Copyright (c) 2018, salesforce.com, inc.
|
|
2452
|
+
* All rights reserved.
|
|
2453
|
+
* SPDX-License-Identifier: MIT
|
|
2454
|
+
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
2455
|
+
*/
|
|
2456
|
+
function track(target) {
|
|
2457
|
+
if (arguments.length === 1) {
|
|
2458
|
+
return reactiveMembrane.getProxy(target);
|
|
2459
|
+
}
|
|
2460
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
2461
|
+
assert.fail(`@track decorator can only be used with one argument to return a trackable object, or as a decorator function.`);
|
|
2462
|
+
}
|
|
2463
|
+
throw new Error();
|
|
2464
|
+
}
|
|
2465
|
+
function internalTrackDecorator(key) {
|
|
2500
2466
|
return {
|
|
2501
2467
|
get() {
|
|
2502
2468
|
const vm = getAssociatedVM(this);
|
|
@@ -2505,8 +2471,56 @@ var LWC = (function (exports) {
|
|
|
2505
2471
|
},
|
|
2506
2472
|
set(newValue) {
|
|
2507
2473
|
const vm = getAssociatedVM(this);
|
|
2508
|
-
if (
|
|
2509
|
-
|
|
2474
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
2475
|
+
const vmBeingRendered = getVMBeingRendered();
|
|
2476
|
+
assert.invariant(!isInvokingRender, `${vmBeingRendered}.render() method has side effects on the state of ${vm}.${toString$1(key)}`);
|
|
2477
|
+
assert.invariant(!isUpdatingTemplate, `Updating the template of ${vmBeingRendered} has side effects on the state of ${vm}.${toString$1(key)}`);
|
|
2478
|
+
}
|
|
2479
|
+
const reactiveOrAnyValue = reactiveMembrane.getProxy(newValue);
|
|
2480
|
+
if (reactiveOrAnyValue !== vm.cmpFields[key]) {
|
|
2481
|
+
vm.cmpFields[key] = reactiveOrAnyValue;
|
|
2482
|
+
componentValueMutated(vm, key);
|
|
2483
|
+
}
|
|
2484
|
+
},
|
|
2485
|
+
enumerable: true,
|
|
2486
|
+
configurable: true,
|
|
2487
|
+
};
|
|
2488
|
+
}
|
|
2489
|
+
|
|
2490
|
+
/*
|
|
2491
|
+
* Copyright (c) 2018, salesforce.com, inc.
|
|
2492
|
+
* All rights reserved.
|
|
2493
|
+
* SPDX-License-Identifier: MIT
|
|
2494
|
+
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
2495
|
+
*/
|
|
2496
|
+
/**
|
|
2497
|
+
* @wire decorator to wire fields and methods to a wire adapter in
|
|
2498
|
+
* LWC Components. This function implements the internals of this
|
|
2499
|
+
* decorator.
|
|
2500
|
+
*/
|
|
2501
|
+
function wire(_adapter, _config) {
|
|
2502
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
2503
|
+
assert.fail('@wire(adapter, config?) may only be used as a decorator.');
|
|
2504
|
+
}
|
|
2505
|
+
throw new Error();
|
|
2506
|
+
}
|
|
2507
|
+
function internalWireFieldDecorator(key) {
|
|
2508
|
+
return {
|
|
2509
|
+
get() {
|
|
2510
|
+
const vm = getAssociatedVM(this);
|
|
2511
|
+
componentValueObserved(vm, key);
|
|
2512
|
+
return vm.cmpFields[key];
|
|
2513
|
+
},
|
|
2514
|
+
set(value) {
|
|
2515
|
+
const vm = getAssociatedVM(this);
|
|
2516
|
+
/**
|
|
2517
|
+
* Reactivity for wired fields is provided in wiring.
|
|
2518
|
+
* We intentionally add reactivity here since this is just
|
|
2519
|
+
* letting the author to do the wrong thing, but it will keep our
|
|
2520
|
+
* system to be backward compatible.
|
|
2521
|
+
*/
|
|
2522
|
+
if (value !== vm.cmpFields[key]) {
|
|
2523
|
+
vm.cmpFields[key] = value;
|
|
2510
2524
|
componentValueMutated(vm, key);
|
|
2511
2525
|
}
|
|
2512
2526
|
},
|
|
@@ -2940,20 +2954,6 @@ var LWC = (function (exports) {
|
|
|
2940
2954
|
freeze(BaseBridgeElement);
|
|
2941
2955
|
seal(BaseBridgeElement.prototype);
|
|
2942
2956
|
|
|
2943
|
-
/*
|
|
2944
|
-
* Copyright (c) 2020, salesforce.com, inc.
|
|
2945
|
-
* All rights reserved.
|
|
2946
|
-
* SPDX-License-Identifier: MIT
|
|
2947
|
-
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
2948
|
-
*/
|
|
2949
|
-
function resolveCircularModuleDependency(fn) {
|
|
2950
|
-
const module = fn();
|
|
2951
|
-
return (module === null || module === void 0 ? void 0 : module.__esModule) ? module.default : module;
|
|
2952
|
-
}
|
|
2953
|
-
function isCircularModuleDependency(obj) {
|
|
2954
|
-
return isFunction$1(obj) && hasOwnProperty$1.call(obj, '__circular__');
|
|
2955
|
-
}
|
|
2956
|
-
|
|
2957
2957
|
/*
|
|
2958
2958
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
2959
2959
|
* All rights reserved.
|
|
@@ -4043,13 +4043,6 @@ var LWC = (function (exports) {
|
|
|
4043
4043
|
slotName = ((_a = vnode.data.attrs) === null || _a === void 0 ? void 0 : _a.slot) || '';
|
|
4044
4044
|
}
|
|
4045
4045
|
const vnodes = (cmpSlots[slotName] = cmpSlots[slotName] || []);
|
|
4046
|
-
// re-keying the vnodes is necessary to avoid conflicts with default content for the slot
|
|
4047
|
-
// which might have similar keys. Each vnode will always have a key that
|
|
4048
|
-
// starts with a numeric character from compiler. In this case, we add a unique
|
|
4049
|
-
// notation for slotted vnodes keys, e.g.: `@foo:1:1`
|
|
4050
|
-
if (!isUndefined$1(vnode.key)) {
|
|
4051
|
-
vnode.key = `@${slotName}:${vnode.key}`;
|
|
4052
|
-
}
|
|
4053
4046
|
ArrayPush$1.call(vnodes, vnode);
|
|
4054
4047
|
}
|
|
4055
4048
|
if (isFalse(vm.isDirty)) {
|
|
@@ -5353,20 +5346,9 @@ var LWC = (function (exports) {
|
|
|
5353
5346
|
|
|
5354
5347
|
resetComponentStateWhenRemoved(vm);
|
|
5355
5348
|
}
|
|
5356
|
-
|
|
5357
|
-
function getNearestShadowAncestor(vm) {
|
|
5358
|
-
let ancestor = vm.owner;
|
|
5359
|
-
|
|
5360
|
-
while (!isNull(ancestor) && ancestor.renderMode === 0
|
|
5361
|
-
/* Light */
|
|
5362
|
-
) {
|
|
5363
|
-
ancestor = ancestor.owner;
|
|
5364
|
-
}
|
|
5365
|
-
|
|
5366
|
-
return ancestor;
|
|
5367
|
-
}
|
|
5368
|
-
|
|
5369
5349
|
function createVM(elm, ctor, options) {
|
|
5350
|
+
var _a;
|
|
5351
|
+
|
|
5370
5352
|
const {
|
|
5371
5353
|
mode,
|
|
5372
5354
|
owner,
|
|
@@ -5394,6 +5376,8 @@ var LWC = (function (exports) {
|
|
|
5394
5376
|
oar: create(null),
|
|
5395
5377
|
cmpTemplate: null,
|
|
5396
5378
|
renderMode: def.renderMode,
|
|
5379
|
+
shadowMode: computeShadowMode(def, owner),
|
|
5380
|
+
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,
|
|
5397
5381
|
context: {
|
|
5398
5382
|
stylesheetToken: undefined,
|
|
5399
5383
|
hasTokenInClass: undefined,
|
|
@@ -5406,7 +5390,6 @@ var LWC = (function (exports) {
|
|
|
5406
5390
|
},
|
|
5407
5391
|
// Properties set right after VM creation.
|
|
5408
5392
|
tro: null,
|
|
5409
|
-
shadowMode: null,
|
|
5410
5393
|
// Properties set by the LightningElement constructor.
|
|
5411
5394
|
component: null,
|
|
5412
5395
|
shadowRoot: null,
|
|
@@ -5415,7 +5398,6 @@ var LWC = (function (exports) {
|
|
|
5415
5398
|
setHook,
|
|
5416
5399
|
getHook
|
|
5417
5400
|
};
|
|
5418
|
-
vm.shadowMode = computeShadowMode(vm);
|
|
5419
5401
|
vm.tro = getTemplateReactiveObserver(vm);
|
|
5420
5402
|
|
|
5421
5403
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -5440,10 +5422,9 @@ var LWC = (function (exports) {
|
|
|
5440
5422
|
return vm;
|
|
5441
5423
|
}
|
|
5442
5424
|
|
|
5443
|
-
function computeShadowMode(
|
|
5444
|
-
|
|
5445
|
-
|
|
5446
|
-
} = vm;
|
|
5425
|
+
function computeShadowMode(def, owner) {
|
|
5426
|
+
var _a;
|
|
5427
|
+
|
|
5447
5428
|
let shadowMode;
|
|
5448
5429
|
|
|
5449
5430
|
if (isSyntheticShadowDefined$1) {
|
|
@@ -5466,23 +5447,13 @@ var LWC = (function (exports) {
|
|
|
5466
5447
|
/* Native */
|
|
5467
5448
|
;
|
|
5468
5449
|
} else {
|
|
5469
|
-
|
|
5470
|
-
|
|
5471
|
-
if
|
|
5472
|
-
|
|
5473
|
-
)
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
shadowMode = 0
|
|
5477
|
-
/* Native */
|
|
5478
|
-
;
|
|
5479
|
-
} else {
|
|
5480
|
-
// Synthetic if neither this component nor any of its ancestors are configured
|
|
5481
|
-
// to be native.
|
|
5482
|
-
shadowMode = 1
|
|
5483
|
-
/* Synthetic */
|
|
5484
|
-
;
|
|
5485
|
-
}
|
|
5450
|
+
// Transitive support for native Shadow DOM. A component in native mode
|
|
5451
|
+
// transitively opts all of its descendants into native.
|
|
5452
|
+
// Synthetic if neither this component nor any of its ancestors are configured
|
|
5453
|
+
// to be native.
|
|
5454
|
+
shadowMode = (_a = owner === null || owner === void 0 ? void 0 : owner.nearestShadowMode) !== null && _a !== void 0 ? _a : 1
|
|
5455
|
+
/* Synthetic */
|
|
5456
|
+
;
|
|
5486
5457
|
}
|
|
5487
5458
|
} else {
|
|
5488
5459
|
shadowMode = 1
|
|
@@ -6571,7 +6542,30 @@ var LWC = (function (exports) {
|
|
|
6571
6542
|
hooksAreSet = true;
|
|
6572
6543
|
setSanitizeHtmlContentHook(hooks.sanitizeHtmlContent);
|
|
6573
6544
|
}
|
|
6574
|
-
|
|
6545
|
+
|
|
6546
|
+
/*
|
|
6547
|
+
* Copyright (c) 2018, salesforce.com, inc.
|
|
6548
|
+
* All rights reserved.
|
|
6549
|
+
* SPDX-License-Identifier: MIT
|
|
6550
|
+
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
6551
|
+
*/
|
|
6552
|
+
/**
|
|
6553
|
+
* EXPERIMENTAL: This function provides access to the component constructor, given an HTMLElement.
|
|
6554
|
+
* This API is subject to change or being removed.
|
|
6555
|
+
*/
|
|
6556
|
+
function getComponentConstructor(elm) {
|
|
6557
|
+
let ctor = null;
|
|
6558
|
+
// intentionally checking for undefined due to some funky libraries patching weakmap.get
|
|
6559
|
+
// to throw when undefined.
|
|
6560
|
+
if (!isUndefined$1(elm)) {
|
|
6561
|
+
const vm = getAssociatedVMIfPresent(elm);
|
|
6562
|
+
if (!isUndefined$1(vm)) {
|
|
6563
|
+
ctor = vm.def.ctor;
|
|
6564
|
+
}
|
|
6565
|
+
}
|
|
6566
|
+
return ctor;
|
|
6567
|
+
}
|
|
6568
|
+
/* version: 2.13.2 */
|
|
6575
6569
|
|
|
6576
6570
|
/*
|
|
6577
6571
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -7122,27 +7116,6 @@ var LWC = (function (exports) {
|
|
|
7122
7116
|
return element;
|
|
7123
7117
|
}
|
|
7124
7118
|
|
|
7125
|
-
/*
|
|
7126
|
-
* Copyright (c) 2018, salesforce.com, inc.
|
|
7127
|
-
* All rights reserved.
|
|
7128
|
-
* SPDX-License-Identifier: MIT
|
|
7129
|
-
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
7130
|
-
*/
|
|
7131
|
-
/**
|
|
7132
|
-
* EXPERIMENTAL: This function provides access to the component constructor, given an HTMLElement.
|
|
7133
|
-
* This API is subject to change or being removed.
|
|
7134
|
-
*/
|
|
7135
|
-
function getComponentConstructor(elm) {
|
|
7136
|
-
let ctor = null;
|
|
7137
|
-
if (elm instanceof HTMLElement) {
|
|
7138
|
-
const vm = getAssociatedVMIfPresent(elm);
|
|
7139
|
-
if (!isUndefined$1(vm)) {
|
|
7140
|
-
ctor = vm.def.ctor;
|
|
7141
|
-
}
|
|
7142
|
-
}
|
|
7143
|
-
return ctor;
|
|
7144
|
-
}
|
|
7145
|
-
|
|
7146
7119
|
/*
|
|
7147
7120
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
7148
7121
|
* All rights reserved.
|
|
@@ -7211,7 +7184,7 @@ var LWC = (function (exports) {
|
|
|
7211
7184
|
});
|
|
7212
7185
|
freeze(LightningElement);
|
|
7213
7186
|
seal(LightningElement.prototype);
|
|
7214
|
-
/* version: 2.
|
|
7187
|
+
/* version: 2.13.2 */
|
|
7215
7188
|
|
|
7216
7189
|
exports.LightningElement = LightningElement;
|
|
7217
7190
|
exports.__unstable__ProfilerControl = profilerControl;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
var LWC=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:r,defineProperties:o,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:S,unshift:T,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 W(){}const j={}.toString;function B(e){return e&&e.toString?m(e)?b.call(v.call(e,B),","):e.toString():"object"==typeof e?j.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=r(null),t=r(null);return x.call(K,(n=>{const r=$.call(A.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{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 r=X.get(e);if(!_(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=N.call(e,t);o+=n>=65&&n<=90?"-"+O(n+32):O(n)}return X.set(e,o),o}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 r=null==(o=n)?null:String(o);var o;ee(this)[e]=r,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 re=f(z);for(let e=0,t=re.length;e<t;e+=1){const t=re[e];Q(t)&&ne(t)}const oe={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:r(null)});const ie=U.lwcRuntimeFlags;let le=[];const se=h(r(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 r of Object.keys(e))r!==t&&(n[r]=e[r]);return n}let pe,me,ge,we,ye,be,ve,Ce,Ee,Me,ke,Se,Te,xe,Oe,Ne,Ae,Pe,$e,_e,Re,Le,De,He,Ie,Fe,We,je,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,o=function(e){let t=Ze.get(e);if(_(t)){const n=r(null);t=n,Ze.set(e,n)}return t}(e);let i=o[t];if(_(i))i=[],o[t]=i;else if(i[0]===n)return;-1===y.call(i,n)&&n.link(i)}class rt{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],r=y.call(e[n],this);S.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){C.call(e,this),C.call(this.listeners,e)}}function ot(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 r=`[LWC ${e}]: ${t}`;_(n)||(r=`${r}\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(r)}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(r(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=r(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:St,getOwnPropertySymbols:Tt,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,r=kt(n,t);if(!Pt(r)){const n=this.wrapDescriptor(r);Et(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;At.call(St(t),Tt(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:r}}=this,o=n[t];return r(n,t),this.wrapValue(o)}has(e,t){const{originalTarget:n,membrane:{tagPropertyKey:r,valueObserved:o}}=this;return o(n,t),t in n||t===r}ownKeys(e){const{originalTarget:t,membrane:{tagPropertyKey:n}}=this,r=Pt(n)||Ot.call(t,n)?[]:[n];return Nt.apply(r,St(t)),Nt.apply(r,Tt(t)),r}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:r,tagPropertyKey:o}}=this;r(n,t);let i=kt(n,t);if(Pt(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},Et(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const Ht=new WeakMap,It=new WeakMap,Ft=new WeakMap,Wt=new WeakMap;class jt extends Dt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Ht.get(e);if(!Pt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Lt(this)))};return Ht.set(e,r),Ft.set(r,e),r}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),Wt.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,r=function(){return Lt(e.call(n.wrapValue(this)))};return Ht.set(r,e),Ft.set(e,r),r}unwrapSetter(e){const t=Wt.get(e);if(!Pt(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return It.set(r,e),Wt.set(e,r),r}set(e,t,n){const{originalTarget:r,membrane:{valueMutated:o}}=this;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&yt(r)&&o(r,t),!0}deleteProperty(e,t){const{originalTarget:n,membrane:{valueMutated:r}}=this;return delete n[t],r(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:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!Ot.call(r,t)||(Et(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,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,r=function(){return n.wrapValue(e.call(Lt(this)))};return Bt.set(e,r),r}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:r,tagPropertyKey:o}=e;this.valueMutated=$t(t)?t:Ut,this.valueObserved=$t(n)?n:zt,this.valueIsObservable=$t(r)?r:Gt,this.tagPropertyKey=o}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 jt(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:r,enumerable:o,configurable:i}=t;if(!H(n))throw new TypeError;if(!H(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const t=Qr(this);if(!Nr(t))return it(t,e),n.call(t.elm)},set(t){const n=Qr(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,ot(n,e)),r.call(n.elm,t)}}}const Qt=function(){if(R(Or))throw new ReferenceError("Illegal constructor");const e=Or,{def:t,elm:n}=e,{bridge:r}=t,o=this;if(p(n,r.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return this[Xt]=void 0,Jr(o,e),Jr(n,e),1===e.renderMode?e.renderRoot=Zt(e):e.renderRoot=n,this};function Zt(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o}}=e,i=Se(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=i,Jr(i,e),i}Qt.prototype={constructor:Qt,dispatchEvent(e){const{elm:t}=Qr(this);return Re(t,e)},addEventListener(e,t,n){const r=Qr(this),{elm:o}=r,i=Hr(r,t);$e(o,e,i,n)},removeEventListener(e,t,n){const r=Qr(this),{elm:o}=r,i=Hr(r,t);_e(o,e,i,n)},hasAttribute(e){const{elm:t}=Qr(this);return!R(Ne(t,e))},hasAttributeNS(e,t){const{elm:n}=Qr(this);return!R(Ne(n,t,e))},removeAttribute(e){const{elm:t}=Qr(this);gt(t,e),Pe(t,e),mt()},removeAttributeNS(e,t){const{elm:n}=Qr(this);gt(n,t),Pe(n,t,e),mt()},getAttribute(e){const{elm:t}=Qr(this);return Ne(t,e)},getAttributeNS(e,t){const{elm:n}=Qr(this);return Ne(n,t,e)},setAttribute(e,t){const n=Qr(this),{elm:r}=n;gt(r,e),Ae(r,e,t),mt()},setAttributeNS(e,t,n){const r=Qr(this),{elm:o}=r;gt(o,t),Ae(o,t,n,e),mt()},getBoundingClientRect(){const e=Qr(this),{elm:t}=e;return He(t)},get isConnected(){const{elm:e}=Qr(this);return qe(e)},get classList(){const e=Qr(this),{elm:t}=e;return Le(t)},get template(){return Qr(this).shadowRoot},get shadowRoot(){return null},render(){return Qr(this).def.template},toString(){return`[object ${Qr(this).def.name}]`}};const en=r(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=Qr(this),{elm:n}=t;return nn(e)(n)},configurable:!0,enumerable:!0};const rn=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];function on(e){switch(e){case"getElementsByClassName":return je;case"getElementsByTagName":return We;case"querySelector":return Ie;case"querySelectorAll":return Fe}}for(const e of rn)en[e]={value(t){const n=Qr(this),{elm:r}=n;return on(e)(r,t)},configurable:!0,enumerable:!0,writable:!0};o(Qt.prototype,en);const ln=r(null);for(const e in wt)ln[e]=Jt(e,wt[e]);function sn(e){return{get(){const t=Qr(this);return it(t,e),t.cmpFields[e]},set(t){const n=Qr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,ot(n,e))},enumerable:!0,configurable:!0}}function cn(e){return{get(){const t=Qr(this);return it(t,e),t.cmpFields[e]},set(t){const n=Qr(this),r=Yt.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,ot(n,e))},enumerable:!0,configurable:!0}}function an(e){return{get(){const t=Qr(this);if(!Nr(t))return it(t,e),t.cmpProps[e]},set(t){const n=Qr(this);n.cmpProps[e]=t,ot(n,e)},enumerable:!0,configurable:!0}}o(Qt.prototype,ln),i(Qt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class un extends rt{constructor(e,t){super((()=>{D(this.debouncing)&&(this.debouncing=!0,ue((()=>{if(L(this.debouncing)){const{value:n}=this,{isDirty:r,component:o,idx:i}=e;t.call(o,n),this.debouncing=!1,L(e.isDirty)&&D(r)&&i>0&&zr(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:r,enumerable:o,configurable:i}=t;if(!H(n))throw new Error;return{get(){return n.call(this)},set(t){const n=Qr(this);if(r)if(ie.ENABLE_REACTIVE_SETTER){let o=n.oar[e];_(o)&&(o=n.oar[e]=new un(n,r)),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function fn(e){return{get(){const t=Qr(this);return it(t,e),t.cmpFields[e]},set(t){const n=Qr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,ot(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=r(null),yn=r(null);function bn(e){let t=wn[e];return _(t)&&(t=wn[e]=function(){const t=Qr(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=Qr(this),{setHook:r}=n;t=Yt.getReadOnlyProxy(t),r(n.component,e,t)}),t}function Cn(e){return function(){const t=Qr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,k.call(arguments))}}function En(e,t){return function(n,r,o){if(r===o)return;const i=e[n];_(i)?_(t)||t.apply(this,arguments):pt(this,n)&&(this[i]=o)}}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=r(null),{attributeChangedCallback:c}=e.prototype,{observedAttributes:a=[]}=e,u=r(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)]}),o(l.prototype,u),l}const kn=Mn(at,c(wt),[]);function Sn(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function Tn(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(Tn(t)){const e=Sn(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(r(null),E.props,s),S=n(r(null),E.propsConfig,c),T=n(r(null),E.methods,u),x=n(r(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 $r.get(e)}(e)||E.template,P=e.name||E.name;o(m,p);return{ctor:e,name:P,wire:x,props:k,propsConfig:S,methods:T,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(Tn(t)){const e=Sn(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(Tn(e)){return t=An(Sn(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 r=R(e)?se:e.data.props;if(r===n)return;const o=R(e),{elm:i,sel:l}=t;for(const e in n){const t=n[e];(o||t!==(Ln(l,e)?Te(i,e):r[e]))&&xe(i,e,t)}}const Hn=r(null);function In(e){if(null==e)return se;e=F(e)?e:e+"";let t=Hn[e];if(t)return t;t=r(null);let n,o=0;const i=e.length;for(n=0;n<i;n++)32===N.call(e,n)&&(n>o&&(t[P.call(e,o,n)]=!0),o=n+1);return n>o&&(t[P.call(e,o,n)]=!0),Hn[e]=t,t}function Fn(e){const{elm:t,data:{on:n}}=e;if(!_(n))for(const e in n){const r=n[e];$e(t,e,r)}}function Wn(e,t,n){var r;r=t,tr.has(r)?function(e,t,n){let r=0,o=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(;r<=i&&o<=h;)zn(l)?zn(s)?zn(p)?zn(m)?Rn(l,p)?(jn(l,p),l=e[++r],p=t[++o]):Rn(s,m)?(jn(s,m),s=e[--i],m=t[--h]):Rn(l,m)?(jn(l,m),Jn(l.elm,n,ke(s.elm)),l=e[++r],m=t[--h]):Rn(s,p)?(jn(s,p),Jn(p.elm,n,l.elm),s=e[--i],p=t[++o]):(void 0===a&&(a=nr(e,r,i)),u=a[p.key],_(u)?(Bn(p,n,l.elm),p=t[++o]):(d=e[u],zn(d)&&(d.sel!==p.sel?Bn(p,n,l.elm):(jn(d,p),g||(g=!0,e=[...e]),e[u]=void 0,Jn(d.elm,n,l.elm))),p=t[++o])):m=t[--h]:p=t[++o]:s=e[--i]:l=e[++r];if(r<=i||o<=h)if(r>i){let e,r=h;do{e=t[++r]}while(!zn(e)&&r<c);f=zn(e)?e.elm:null,Vn(t,n,f,o,h+1)}else Gn(e,n,!0,r,i+1)}(e,t,n):function(e,t,n){const r=e.length,o=t.length;if(0===r)return void Vn(t,n,null);if(0===o)return void Gn(e,n,!0);let i=null;for(let r=o-1;r>=0;r-=1){const o=e[r],l=t[r];l!==o&&(zn(o)?zn(l)?(jn(o,l),i=l.elm):Kn(o,n,!0):zn(l)&&(Bn(l,n,i),i=l.elm))}}(e,t,n)}function jn(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),Wn(e.children,t.children,n)}(e,t);break;case 3:!function(e,t){const n=t.elm=e.elm,r=t.vm=e.vm;Zn(e,t),_(r)||er(t,r);Wn(e.children,t.children,n),_(r)||zr(r)}(e,t)}}function Bn(e,t,n){switch(e.type){case 0:!function(e,t,n){const{owner:r}=e,o=e.elm=Ee(e.text);Xn(o,r),Jn(o,t,n)}(e,t,n);break;case 1:!function(e,t,n){const{owner:r}=e,o=e.elm=Me(e.text);Xn(o,r),Jn(o,t,n)}(e,t,n);break;case 2:!function(e,t,n){const{sel:r,owner:o,data:{svg:i}}=e,l=L(i)?J:void 0,s=Ce(r,l);Xn(s,o),function(e,t){const{owner:n}=t;if(qn(e,n),1===n.shadowMode){const{data:{context:r}}=t,{stylesheetToken:o}=n.context;_(r)||_(r.lwc)||"manual"!==r.lwc.dom||function(e){e.$domManual$=!0}(e),_(o)||Un(e,o)}}(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:r,owner:o}=e,i=$n(r);let l;const s=new i((t=>{l=function(e,t){let n=Zr(e);if(!_(n))return n;const{sel:r,mode:o,ctor:i,owner:l}=t;if(qn(e,l),1===l.shadowMode){const{stylesheetToken:t}=l.context;_(t)||Un(e,t)}return n=Yr(e,i,{mode:o,owner:l,tagName:r}),n}(t,e)}));if(Xn(s,o),e.elm=s,e.vm=l,l)er(e,l);else if(e.ctor!==i)throw new TypeError("Incorrect Component Constructor");Zn(null,e),Jn(s,t,n),l&&oo(l);Vn(e.children,s,null),l&&function(e){eo(e)}(l)}(e,t,n)}}function Vn(e,t,n,r=0,o=e.length){for(;r<o;++r){const o=e[r];zn(o)&&Bn(o,t,n)}}function Kn(e,t,n=!1){const{type:r,elm:o}=e;switch(n&&Qn(o,t),r){case 2:Gn(e.children,o);break;case 3:{const{vm:t}=e;_(t)||function(e){Xr(e)}(t)}}}function Gn(e,t,n=!1,r=0,o=e.length){for(;r<o;++r){const o=e[r];zn(o)&&Kn(o,t,n)}}function zn(e){return null!=e}function Un(e,t){e.$shadowToken$=t}function qn(e,t){const{cmpTemplate:n,context:r}=t,o=null==n?void 0:n.stylesheetToken;!_(o)&&r.hasScopedStyles&&Le(e).add(o)}function Xn(e,t){const{renderRoot:n,renderMode:r,shadowMode:o}=t;ge&&(1!==o&&0!==r||(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 r=Le(t);for(const e in n)r.add(e)}(t),function(e){const{elm:t,data:{styleDecls:n}}=e;if(!_(n))for(let e=0;e<n.length;e++){const[r,o,i]=n[e];De(t,r,o,i)}}(t)),function(e,t){const{elm:n,data:{className:r}}=t,o=R(e)?void 0:e.data.className;if(o===r)return;const i=Le(n),l=In(r),s=In(o);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:r}}=t;(R(e)?void 0:e.data.style)!==r&&(F(r)&&""!==r?Ae(n,"style",r):Pe(n,"style"))}(e,t),function(e,t){const{attrs:n}=t.data;if(_(n))return;const r=R(e)?se:e.data.attrs;if(r===n)return;const{elm:o}=t;for(const e in n){const t=n[e];r[e]!==t&&(gt(o,e),58===N.call(e,3)?Ae(o,e,t,"http://www.w3.org/XML/1998/namespace"):58===N.call(e,5)?Ae(o,e,t,"http://www.w3.org/1999/xlink"):R(t)||_(t)?Pe(o,e):Ae(o,e,t),mt())}}(e,t),Dn(e,t)}function er(e,t){const n=e.aChildren||e.children;t.aChildren=n;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t){var n;const{cmpSlots:o}=e,i=e.cmpSlots=r(null);for(let e=0,r=t.length;e<r;e+=1){const r=t[e];if(R(r))continue;let o="";_n(r)&&(o=(null===(n=r.data.attrs)||void 0===n?void 0:n.slot)||"");const l=i[o]=i[o]||[];_(r.key)||(r.key=`@${o}:${r.key}`),C.call(l,r)}if(D(e.isDirty)){const t=f(o);if(t.length!==f(i).length)return void Lr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(_(i[r])||o[r].length!==i[r].length)return void Lr(e);const l=o[r],s=i[r];for(let t=0,n=i[r].length;t<n;t+=1)if(l[t]!==s[t])return void Lr(e)}}}(t,n),e.aChildren=n,e.children=ce)}const tr=new WeakMap;function nr(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(zn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}const rr=Symbol.iterator;function or(e,t,n=ce){const r=Sr();const{key:o}=t;return{type:2,sel:e,data:t,children:n,elm:undefined,key:o,owner:r}}function ir(e,t,n,r=ce){const o=Sr(),{key:i}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:i,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){C.call(Sr().velements,e)}(l),l}const lr=new Map;let sr=0;function cr(e){var t;return t=e,tr.set(t,1),e}let ar=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const ur=l({s:function(e,t,n,r){_(r)||_(r[e])||0===r[e].length||(n=r[e]);const o=Sr(),{renderMode:i,shadowMode:l}=o;return 0===i?(cr(n),n):(1===l&&cr(n),or("slot",t,n))},h:or,c:ir,i:function(e,t){const n=[];if(cr(n),_(e)||null===e)return n;const r=e[rr]();let o=r.next(),i=0,{value:l,done:s}=o;for(;!1===s;){o=r.next(),s=o.done;const e=t(l,i,0===i,!0===s);m(e)?C.apply(n,e):C.call(n,e),i+=1,l=o.value}return n},f:function(e){const t=e.length,n=[];cr(n);for(let r=0;r<t;r+=1){const t=e[r];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:Sr()}},d:function(e){return null==e?"":String(e)},b:function(e){const t=Sr();if(R(t))throw new Error;const n=t;return function(t){Pr(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:Sr()}},dc:function(e,t,n,r=ce){if(null==t)return null;if(!Nn(t))throw new Error(`Invalid LWC Constructor ${B(t)} for custom element <${e}>.`);let o=lr.get(t);return _(o)&&(o=sr++,lr.set(t,o)),ir(e,t,Object.assign(Object.assign({},n),{key:`dc:${o}:${n.key}`}),r)},ti:function(e){return e>0&&!(L(e)||D(e))?0:e},gid:function(e){const t=Sr();if(_(e)||""===e)return e;if(R(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?A.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=Sr();if(_(e)||""===e)return e;if(R(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return ar(e)}});function dr(e){return`${e}-host`}function fr(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let l=e[i];if(m(l))C.apply(r,fr(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:(_(o)&&(o=pr(n)),c=R(o)||0===o.shadowMode),C.call(r,l(i,s,c))}}return r}function hr(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return _(n)||0===n.length||(o=fr(n,r,e)),o}function pr(e){let t=e;for(;!R(t);){if(1===t.renderMode)return t;t=t.owner}return t}function mr(e,t){const{renderMode:n,shadowMode:r}=e;if(1===n&&1===r)for(let e=0;e<t.length;e++)Xe(t[e]);else{if(pe||ye()){const e=b.call(t,"\n");return o=e,ur.h("style",{key:"style",attrs:{type:"text/css"}},[ur.t(o)])}{const n=function(e){const t=pr(e);return R(t)||1!==t.shadowMode?t:null}(e),r=R(n);for(let e=0;e<t.length;e++)r?Xe(t[e]):Ye(t[e],n.shadowRoot)}}var o;return null}let gr=!1,wr=W;const yr={enableProfiler(){gr=!0},disableProfiler(){gr=!1},attachDispatcher(e){wr=e,this.enableProfiler()},detachDispatcher(){const e=wr;return wr=W,this.disableProfiler(),e}};function br(e,t){gr&&wr(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function vr(e,t){gr&&wr(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Cr(e,t){gr&&wr(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 Er(e,t){gr&&wr(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 Mr=!1,kr=null;function Sr(){return kr}function Tr(e){kr=e}function xr(e,t){const n=Mr,o=kr;let i=[];return ao(e,e.owner,(()=>{kr=e,br(1,e)}),(()=>{const{component:n,context:o,cmpSlots:l,cmpTemplate:s,tro:c}=e;c.observe((()=>{if(t!==s){if(R(s)||co(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,o.tplCache=r(null),o.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:r,renderMode:o,shadowMode:i}=e,{stylesheets:l,stylesheetToken:s}=t,c=1===o&&1===i,{hasScopedStyles:a}=r;let u,d,f;const{stylesheetToken:h,hasTokenInClass:p,hasTokenInAttribute:m}=r;_(h)||(p&&Le(n).remove(dr(h)),m&&Pe(n,dr(h))),_(l)||0===l.length||(u=s),_(u)||(a&&(Le(n).add(dr(u)),d=!0),c&&(Ae(n,dr(u),""),f=!0)),r.stylesheetToken=u,r.hasTokenInClass=d,r.hasTokenInAttribute=f}(e,t);const n=hr(e,t);o.styleVNode=0===n.length?null:mr(e,n)}var c;e.velements=[],Mr=!0,i=t.call(void 0,ur,n,l,o.tplCache);const{styleVNode:a}=o;R(a)||T.call(i,a)}))}),(()=>{Mr=n,kr=o,vr(1,e)})),i}let Or=null;function Nr(e){return Or===e}function Ar(e,t,n){const{component:r,callHook:o,owner:i}=e;ao(e,i,W,(()=>{o(r,t,n)}),W)}function Pr(e,t,n,r){const{callHook:o,owner:i}=e;ao(e,i,W,(()=>{o(n,t,[r])}),W)}const $r=new Map;function _r(e){return new rt((()=>{const{isDirty:t}=e;D(t)&&(Lr(e),function(e){if(L(pe)||L(e.isScheduled))return;e.isScheduled=!0,0===no.length&&ue(ro);C.call(no,e)}(e))}))}function Rr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=Sr();let l,s=!1;return ao(e,o,(()=>{Tr(e)}),(()=>{e.tro.observe((()=>{l=n(r,t),s=!0}))}),(()=>{Tr(i)})),s?xr(e,l):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Lr(e){e.isDirty=!0}const Dr=new WeakMap;function Hr(e,t){if(!H(t))throw new TypeError;let n=Dr.get(t);return _(n)&&(n=function(n){Pr(e,t,void 0,n)},Dr.set(t,n)),n}const Ir=r(null),Fr=["rendered","connected","disconnected"];function Wr(e,t){const{component:n,def:r,context:o}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},r,o)}let jr=0;const Br=new WeakMap;function Vr(e,t,n=[]){return t.apply(e,n)}function Kr(e,t,n){e[t]=n}function Gr(e,t){return e[t]}function zr(e){eo(e)}function Ur(e){const t=Qr(e);Cr(7,t),1===t.state&&qr(e),oo(t),eo(t),Er(7,t)}function qr(e){Xr(Qr(e))}function Xr(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}=Ir;t&&Wr(e,t);io(e)&&function(e){const{wiredDisconnecting:t}=e.context;ao(e,e,W,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),W)}(e);const{disconnectedCallback:n}=e.def;_(n)||(br(5,e),Ar(e,n),vr(5,e))}(e),lo(e),function(e){const{aChildren:t}=e;so(t)}(e)}}function Yr(e,t,n){const{mode:o,owner:i,tagName:l}=n,s=An(t),c={elm:e,def:s,idx:jr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:o,owner:i,children:ce,aChildren:ce,velements:ce,cmpProps:r(null),cmpFields:r(null),cmpSlots:r(null),oar:r(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:Vr,setHook:Kr,getHook:Gr};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=_r(c),function(e,t){const n=Or;let r;br(0,e),Or=e;try{const o=new t;if(Or.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(vr(0,e),Or=n,!_(r))throw st(e,r),r}}(c,s.ctor),io(c)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],l=uo.get(i);if(!_(l)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:s}=ho(e,t,l),c=l.dynamic.length>0;C.call(r,(()=>{n.connect(),ie.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),C.call(o,(()=>{n.disconnect(),s()}))}}}(c),c}function Jr(e,t){Br.set(e,t)}function Qr(e){return Br.get(e)}function Zr(e){return Br.get(e)}function eo(e){if(L(e.isDirty)){!function(e,t){const{renderRoot:n,children:r}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&ao(e,e,(()=>{br(2,e)}),(()=>{Wn(r,t,n)}),(()=>{vr(2,e)}));1===e.state&&to(e)}(e,Rr(e))}}function to(e){const{def:{renderedCallback:t}}=e;if(L(pe))return;const{rendered:n}=Ir;n&&Wr(e,n),_(t)||(br(4,e),Ar(e,t),vr(4,e))}let no=[];function ro(){Cr(8);const e=no.sort(((e,t)=>e.idx-t.idx));no=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{eo(r)}catch(r){throw t+1<n&&(0===no.length&&ue(ro),T.apply(no,k.call(e,t+1))),Er(8),r}}Er(8)}function oo(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Ir;n&&Wr(e,n),io(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;_(r)||(br(3,e),Ar(e,r),vr(3,e))}function io(e){return c(e.def.wire).length>0}function lo(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!_(n)){const e=Zr(n);_(e)||Xr(e)}}}function so(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:so(n.children);break;case 3:Xr(Qr(n.elm));break}}}function co(e){const{children:t,renderRoot:n}=e;for(let e=0,r=t.length;e<r;e++){const r=t[e];R(r)||_(r.elm)||ve(r.elm,n)}e.children=ce,lo(e),e.velements=ce}function ao(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!_(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;co(e),br(6,e);Ar(n,n.def.errorCallback,[i,i.wcStack]),vr(6,e)}}}const uo=new Map;class fo extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),o(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function ho(e,t,n){const{method:r,adapter:o,configCallback:l,dynamic:s}=n,c=_(r)?function(e,t){const{cmpFields:n}=e;return r=>{r!==e.cmpFields[t]&&(n[t]=r,ot(e,t))}}(e,t):function(e,t){return n=>{ao(e,e.owner,W,(()=>{t.call(e.component,n)}),W)}}(e,r);let a,u;i(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),i(c,"$$DeprecatedWiredParamsMetaKey$$",{value:s}),ao(e,e,W,(()=>{u=new o(c)}),W);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let r=!1;const o=new rt((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),i()})))})),i=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:i,ro:o}}(e.component,l,(t=>{ao(e,e,W,(()=>{u.update(t,a)}),W)}));return _(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=mo(r);if(_(o))return;const{elm:i,context:{wiredConnecting:l,wiredDisconnecting:s}}=e;C.call(l,(()=>{const e=new fo(o,{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 po=new Map;function mo(e){return po.get(e)}function go(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};uo.set(e,o)}function wo(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};uo.set(e,o)}let yo=!1;function bo(e){yo=!1,oo(e),vo(e),yo&&function(e,t){ct("error",e,t)}("Hydration completed with errors.",e)}function vo(e){const t=Rr(e);e.children=t;const n=e.renderRoot;Eo(Ke(n),t,n),to(e)}function Co(e,t){let n;switch(t.type){case 0:n=function(e,t){var n;if(!So(t,e,3))return Mo(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(!So(t,e,8))return Mo(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(!So(t,e,1)||!To(t,e))return Mo(e,t);t.elm=e;const{context:n}=t.data,r=Boolean(!_(n)&&!_(n.lwc)&&"manual"===n.lwc.dom);if(r){const{props:n}=t.data;_(n)||_(n.innerHTML)||Te(e,"innerHTML")===n.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:he(n,"innerHTML")}))}ko(t),r||Eo(Ke(e),t.children,e,t.owner);return e}(e,t);break;case 3:n=function(e,t){if(!So(t,e,1)||!To(t,e))return Mo(e,t);const{sel:n,mode:r,ctor:o,owner:i}=t,l=Yr(e,o,{mode:r,owner:i,tagName:n});t.elm=e,t.vm=l,er(t,l),ko(t),oo(l),0!==l.renderMode&&Eo(Ke(e),t.children,e);return vo(l),e}(e,t)}return ke(n)}function Eo(e,t,n,r){let o=e,i=null;for(let e=0;e<t.length;e++){const r=t[e];R(r)||(o?(o=Co(o,r),i=r.elm):(yo=!0,Bn(r,n,i),i=r.elm))}if(o){yo=!0;do{const e=o;o=ke(o),Qn(e,n)}while(o)}}function Mo(e,t,n){yo=!0;const r=Te(e,"parentNode");return Bn(t,r,e),Qn(e,r),t.elm}function ko(e){Fn(e),Dn(null,e)}function So(e,t,n){return Te(t,"nodeType")===n}function To(e,t){if(e.sel.toLowerCase()!==Te(t,"tagName").toLowerCase())return!1;const n=function(e,t){const{data:{attrs:n={}}}=e;let r=!0;for(const[e,o]of Object.entries(n)){const n=Ne(t,e);String(o)!==n&&(r=!1)}return r}(e,t),r=function(e,t){const{data:{className:n,classMap:r}}=e;let o=!0;if(_(n)||String(n)===Te(t,"className")){if(!_(r)){const e=Le(t);let n="";for(const t in r)n+=" "+t,e.contains(t)||(o=!1);n.trim(),e.length>f(r).length&&(o=!1)}}else o=!1;return o}(e,t),o=function(e,t){const{data:{style:n,styleDecls:r}}=e,o=Ne(t,"style")||"";let i=!0;if(_(n)||n===o){if(!_(r)){const e=function(e){const t={},n=e.split(de);for(const e of n)if(e){const[n,r]=e.split(fe);void 0!==n&&void 0!==r&&(t[n.trim()]=r.trim())}return t}(o),t=[];for(let n=0,o=r.length;n<o;n++){const[o,l,s]=r[n];t.push(`${o}: ${l+(s?" important!":"")}`);const c=e[o];_(c)?i=!1:c.startsWith(l)?s&&!c.endsWith("!important")&&(i=!1):i=!1}f(e).length>r.length&&(i=!1),b.call(t,";")}}else i=!1;return i}(e,t);return n&&r&&o}let xo=!1;const Oo=r(null),No=document.head||document.body||document,Ao=H(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),Po=Ao&&s(document.adoptedStyleSheets,"length").writable,$o=r(null),_o=r(null),Ro=new WeakMap;let Lo,Do,Ho;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}}())Lo=customElements.get.bind(customElements),Do=customElements.define.bind(customElements),Ho=HTMLElement;else{const e=r(null),t=new WeakMap;Do=function(n,r){if(n!==$.call(n)||e[n])throw new TypeError("Invalid Registration");e[n]=r,t.set(r,n)},Lo=function(t){return e[t]},Ho=function e(){if(!(this instanceof e))throw new TypeError("Invalid Invocation");const{constructor:n}=this,r=t.get(n);if(!r)throw new TypeError("Invalid Construction");const o=document.createElement(r);return p(o,n.prototype),o},Ho.prototype=HTMLElement.prototype}let Io=!1;function Fo(e){Io=e}const Wo=U.$isNativeShadowRootDefined$,jo=u.call(Element.prototype,"$shadowToken$");function Bo(e,t,n){const r=Yr(e,t,{mode:"open",owner:null,tagName:e.tagName.toLowerCase()});for(const[t,r]of Object.entries(n))e[t]=r;return r}function Vo(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(Zr(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{Fo(!0);bo(Bo(e,t,n)),Fo(!1)}catch(r){console.error("Recovering from error while hydrating: ",r),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),Bo(e,t,n),Fo(!1),Ur(e)}finally{Fo(!1)}}Se=function(e,t){return Io?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=Do,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=Lo,je=function(e,t){return e.getElementsByClassName(t)},We=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},Te=function(e,t){return e[t]},we=Ho,be=function(e,t,n){t.insertBefore(e,n)},Xe=function(e){if(!_(Oo[e]))return;Oo[e]=!0;const t=document.createElement("style");t.type="text/css",t.textContent=e,No.appendChild(t)},Ye=function(e,t){Ao?function(e,t){let n=_o[e];_(n)&&(n=new CSSStyleSheet,n.replaceSync(e),_o[e]=n);const{adoptedStyleSheets:r}=t;r.includes(n)||(Po?r.push(n):t.adoptedStyleSheets=[...r,n])}(e,t):function(e,t){let n=Ro.get(t);if(_(n)&&(n=r(null),Ro.set(t,n)),n[e])return;n[e]=!0;let o=$o[e];_(o)?(o=document.createElement("style"),o.type="text/css",o.textContent=e,$o[e]=o):o=o.cloneNode(!0),t.appendChild(o)}(e,t)},qe=function(e){return e.isConnected},ye=function(){return Io},me=Wo,ge=jo,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,r){e.removeEventListener(t,n,r)},Ae=function(e,t,n,r){return _(r)?e.setAttribute(t,n):e.setAttributeNS(r,t,n)},De=function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},xe=function(e,t,n){e[t]=n},Oe=function(e,t){e.nodeValue=t},pe=!1,$e=function(e,t,n,r){e.addEventListener(t,n,r)};const Ko=new WeakSet;function Go(e){const t=function(e){return An(e).bridge}(e);return class extends t{constructor(){super(),this.isConnected?(Vo(this,e,{}),Ko.add(this)):Yr(this,e,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){Ko.has(this)?Ko.delete(this):Ur(this)}disconnectedCallback(){qr(this)}}}const zo=Node,Uo=new WeakMap,qo=new WeakMap;function Xo(e,t){const n=t.get(e);return _(n)||n(e),e}const{appendChild:Yo,insertBefore:Jo,removeChild:Qo,replaceChild:Zo}=zo.prototype;n(zo.prototype,{appendChild(e){return Xo(Yo.call(this,e),Uo)},insertBefore(e,t){return Xo(Jo.call(this,e,t),Uo)},removeChild(e){return Xo(Qo.call(this,e),qo)},replaceChild(e,t){const n=Zo.call(this,e,t);return Xo(n,qo),Xo(e,Uo),n}});const ei=Node;const ti=new Map;return 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=Go(e),ti.set(e,t)),t}(this)}}),l(Qt),h(Qt.prototype),e.LightningElement=Qt,e.__unstable__ProfilerControl=yr,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=mo(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){po.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:i}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{_(i)||i(r)})),o(r),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 r=$n(e);let o=!1;const i=new r((r=>{Yr(r,n,{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null}),Uo.set(r,Ur),qo.set(r,qr),o=!0}));return o||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=Zr(e);_(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=An(e),{ctor:n,name:r,props:o,propsConfig:i,methods:l}=t,s={};for(const e in o)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:r,props:s,methods:c}},e.hydrateComponent=Vo,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")))||jo&&!_(e.$shadowResolver$)},e.readonly=function(e){return Yt.getReadOnlyProxy(e)},e.register=function(e){for(let t=0;t<Fr.length;++t){const n=Fr[t];if(n in e){let t=Ir[n];_(t)&&(Ir[n]=t=[]),C.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return H(e)&&$r.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:o,publicMethods:l,wire:c,track:a,fields:u}=t,d=r(null),f=r(null),h=r(null),p=r(null),m=r(null),g=r(null);let w;if(!_(o))for(const e in o){const t=o[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:r,config:o,dynamic:l=[]}=c[e];if(w=s(n,e),1===r){if(_(w))throw new Error;h[e]=w,go(w,t,o,l)}else w=sn(e),p[e]=w,wo(w,t,o,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 r=!_(o)&&t in o,i=!_(a)&&t in a;r||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,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(_(oe[e])){const n=f(oe).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(xo,"Hooks are already overridden, only one definition is allowed."),xo=!0,n=e.sanitizeHtmlContent,ar=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}),e}({});
|
|
1
|
+
var LWC=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;return 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}),a}({})
|