lwc 2.12.0 → 2.13.1
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 +88 -95
- package/dist/engine-dom/iife/es2017/engine-dom.js +88 -95
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +2 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +76 -83
- package/dist/engine-dom/iife/es5/engine-dom.js +5761 -7323
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +4567 -5868
- package/dist/engine-dom/umd/es2017/engine-dom.js +88 -95
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +2 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +76 -83
- package/dist/engine-dom/umd/es5/engine-dom.js +5761 -7323
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +4567 -5868
- package/dist/engine-server/commonjs/es2017/engine-server.js +88 -95
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +88 -95
- 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
|
@@ -421,9 +421,9 @@ const XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';
|
|
|
421
421
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
422
422
|
*/
|
|
423
423
|
// Increment whenever the LWC template compiler changes
|
|
424
|
-
const LWC_VERSION = "2.
|
|
424
|
+
const LWC_VERSION = "2.13.1";
|
|
425
425
|
const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
|
|
426
|
-
/** version: 2.
|
|
426
|
+
/** version: 2.13.1 */
|
|
427
427
|
|
|
428
428
|
/*
|
|
429
429
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -531,7 +531,7 @@ function setFeatureFlagForTest(name, value) {
|
|
|
531
531
|
setFeatureFlag(name, value);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
|
-
/** version: 2.
|
|
534
|
+
/** version: 2.13.1 */
|
|
535
535
|
|
|
536
536
|
/* proxy-compat-disable */
|
|
537
537
|
|
|
@@ -939,6 +939,20 @@ function logError(message, vm) {
|
|
|
939
939
|
log('error', message, vm);
|
|
940
940
|
}
|
|
941
941
|
|
|
942
|
+
/*
|
|
943
|
+
* Copyright (c) 2020, salesforce.com, inc.
|
|
944
|
+
* All rights reserved.
|
|
945
|
+
* SPDX-License-Identifier: MIT
|
|
946
|
+
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
947
|
+
*/
|
|
948
|
+
function resolveCircularModuleDependency(fn) {
|
|
949
|
+
const module = fn();
|
|
950
|
+
return (module === null || module === void 0 ? void 0 : module.__esModule) ? module.default : module;
|
|
951
|
+
}
|
|
952
|
+
function isCircularModuleDependency(obj) {
|
|
953
|
+
return isFunction$1(obj) && hasOwnProperty$1.call(obj, '__circular__');
|
|
954
|
+
}
|
|
955
|
+
|
|
942
956
|
/*
|
|
943
957
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
944
958
|
* All rights reserved.
|
|
@@ -2304,64 +2318,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
2304
2318
|
patchLightningElementPrototypeWithRestrictions(LightningElement.prototype);
|
|
2305
2319
|
}
|
|
2306
2320
|
|
|
2307
|
-
|
|
2308
|
-
* Copyright (c) 2018, salesforce.com, inc.
|
|
2309
|
-
* All rights reserved.
|
|
2310
|
-
* SPDX-License-Identifier: MIT
|
|
2311
|
-
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
2312
|
-
*/
|
|
2313
|
-
/**
|
|
2314
|
-
* @wire decorator to wire fields and methods to a wire adapter in
|
|
2315
|
-
* LWC Components. This function implements the internals of this
|
|
2316
|
-
* decorator.
|
|
2317
|
-
*/
|
|
2318
|
-
function wire(_adapter, _config) {
|
|
2319
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
2320
|
-
assert.fail('@wire(adapter, config?) may only be used as a decorator.');
|
|
2321
|
-
}
|
|
2322
|
-
throw new Error();
|
|
2323
|
-
}
|
|
2324
|
-
function internalWireFieldDecorator(key) {
|
|
2325
|
-
return {
|
|
2326
|
-
get() {
|
|
2327
|
-
const vm = getAssociatedVM(this);
|
|
2328
|
-
componentValueObserved(vm, key);
|
|
2329
|
-
return vm.cmpFields[key];
|
|
2330
|
-
},
|
|
2331
|
-
set(value) {
|
|
2332
|
-
const vm = getAssociatedVM(this);
|
|
2333
|
-
/**
|
|
2334
|
-
* Reactivity for wired fields is provided in wiring.
|
|
2335
|
-
* We intentionally add reactivity here since this is just
|
|
2336
|
-
* letting the author to do the wrong thing, but it will keep our
|
|
2337
|
-
* system to be backward compatible.
|
|
2338
|
-
*/
|
|
2339
|
-
if (value !== vm.cmpFields[key]) {
|
|
2340
|
-
vm.cmpFields[key] = value;
|
|
2341
|
-
componentValueMutated(vm, key);
|
|
2342
|
-
}
|
|
2343
|
-
},
|
|
2344
|
-
enumerable: true,
|
|
2345
|
-
configurable: true,
|
|
2346
|
-
};
|
|
2347
|
-
}
|
|
2348
|
-
|
|
2349
|
-
/*
|
|
2350
|
-
* Copyright (c) 2018, salesforce.com, inc.
|
|
2351
|
-
* All rights reserved.
|
|
2352
|
-
* SPDX-License-Identifier: MIT
|
|
2353
|
-
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
2354
|
-
*/
|
|
2355
|
-
function track(target) {
|
|
2356
|
-
if (arguments.length === 1) {
|
|
2357
|
-
return reactiveMembrane.getProxy(target);
|
|
2358
|
-
}
|
|
2359
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
2360
|
-
assert.fail(`@track decorator can only be used with one argument to return a trackable object, or as a decorator function.`);
|
|
2361
|
-
}
|
|
2362
|
-
throw new Error();
|
|
2363
|
-
}
|
|
2364
|
-
function internalTrackDecorator(key) {
|
|
2321
|
+
function createObservedFieldPropertyDescriptor(key) {
|
|
2365
2322
|
return {
|
|
2366
2323
|
get() {
|
|
2367
2324
|
const vm = getAssociatedVM(this);
|
|
@@ -2370,14 +2327,8 @@ function internalTrackDecorator(key) {
|
|
|
2370
2327
|
},
|
|
2371
2328
|
set(newValue) {
|
|
2372
2329
|
const vm = getAssociatedVM(this);
|
|
2373
|
-
if (
|
|
2374
|
-
|
|
2375
|
-
assert.invariant(!isInvokingRender, `${vmBeingRendered}.render() method has side effects on the state of ${vm}.${toString$1(key)}`);
|
|
2376
|
-
assert.invariant(!isUpdatingTemplate, `Updating the template of ${vmBeingRendered} has side effects on the state of ${vm}.${toString$1(key)}`);
|
|
2377
|
-
}
|
|
2378
|
-
const reactiveOrAnyValue = reactiveMembrane.getProxy(newValue);
|
|
2379
|
-
if (reactiveOrAnyValue !== vm.cmpFields[key]) {
|
|
2380
|
-
vm.cmpFields[key] = reactiveOrAnyValue;
|
|
2330
|
+
if (newValue !== vm.cmpFields[key]) {
|
|
2331
|
+
vm.cmpFields[key] = newValue;
|
|
2381
2332
|
componentValueMutated(vm, key);
|
|
2382
2333
|
}
|
|
2383
2334
|
},
|
|
@@ -2541,7 +2492,22 @@ function createPublicAccessorDescriptor(key, descriptor) {
|
|
|
2541
2492
|
};
|
|
2542
2493
|
}
|
|
2543
2494
|
|
|
2544
|
-
|
|
2495
|
+
/*
|
|
2496
|
+
* Copyright (c) 2018, salesforce.com, inc.
|
|
2497
|
+
* All rights reserved.
|
|
2498
|
+
* SPDX-License-Identifier: MIT
|
|
2499
|
+
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
2500
|
+
*/
|
|
2501
|
+
function track(target) {
|
|
2502
|
+
if (arguments.length === 1) {
|
|
2503
|
+
return reactiveMembrane.getProxy(target);
|
|
2504
|
+
}
|
|
2505
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
2506
|
+
assert.fail(`@track decorator can only be used with one argument to return a trackable object, or as a decorator function.`);
|
|
2507
|
+
}
|
|
2508
|
+
throw new Error();
|
|
2509
|
+
}
|
|
2510
|
+
function internalTrackDecorator(key) {
|
|
2545
2511
|
return {
|
|
2546
2512
|
get() {
|
|
2547
2513
|
const vm = getAssociatedVM(this);
|
|
@@ -2550,8 +2516,56 @@ function createObservedFieldPropertyDescriptor(key) {
|
|
|
2550
2516
|
},
|
|
2551
2517
|
set(newValue) {
|
|
2552
2518
|
const vm = getAssociatedVM(this);
|
|
2553
|
-
if (
|
|
2554
|
-
|
|
2519
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
2520
|
+
const vmBeingRendered = getVMBeingRendered();
|
|
2521
|
+
assert.invariant(!isInvokingRender, `${vmBeingRendered}.render() method has side effects on the state of ${vm}.${toString$1(key)}`);
|
|
2522
|
+
assert.invariant(!isUpdatingTemplate, `Updating the template of ${vmBeingRendered} has side effects on the state of ${vm}.${toString$1(key)}`);
|
|
2523
|
+
}
|
|
2524
|
+
const reactiveOrAnyValue = reactiveMembrane.getProxy(newValue);
|
|
2525
|
+
if (reactiveOrAnyValue !== vm.cmpFields[key]) {
|
|
2526
|
+
vm.cmpFields[key] = reactiveOrAnyValue;
|
|
2527
|
+
componentValueMutated(vm, key);
|
|
2528
|
+
}
|
|
2529
|
+
},
|
|
2530
|
+
enumerable: true,
|
|
2531
|
+
configurable: true,
|
|
2532
|
+
};
|
|
2533
|
+
}
|
|
2534
|
+
|
|
2535
|
+
/*
|
|
2536
|
+
* Copyright (c) 2018, salesforce.com, inc.
|
|
2537
|
+
* All rights reserved.
|
|
2538
|
+
* SPDX-License-Identifier: MIT
|
|
2539
|
+
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
2540
|
+
*/
|
|
2541
|
+
/**
|
|
2542
|
+
* @wire decorator to wire fields and methods to a wire adapter in
|
|
2543
|
+
* LWC Components. This function implements the internals of this
|
|
2544
|
+
* decorator.
|
|
2545
|
+
*/
|
|
2546
|
+
function wire(_adapter, _config) {
|
|
2547
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
2548
|
+
assert.fail('@wire(adapter, config?) may only be used as a decorator.');
|
|
2549
|
+
}
|
|
2550
|
+
throw new Error();
|
|
2551
|
+
}
|
|
2552
|
+
function internalWireFieldDecorator(key) {
|
|
2553
|
+
return {
|
|
2554
|
+
get() {
|
|
2555
|
+
const vm = getAssociatedVM(this);
|
|
2556
|
+
componentValueObserved(vm, key);
|
|
2557
|
+
return vm.cmpFields[key];
|
|
2558
|
+
},
|
|
2559
|
+
set(value) {
|
|
2560
|
+
const vm = getAssociatedVM(this);
|
|
2561
|
+
/**
|
|
2562
|
+
* Reactivity for wired fields is provided in wiring.
|
|
2563
|
+
* We intentionally add reactivity here since this is just
|
|
2564
|
+
* letting the author to do the wrong thing, but it will keep our
|
|
2565
|
+
* system to be backward compatible.
|
|
2566
|
+
*/
|
|
2567
|
+
if (value !== vm.cmpFields[key]) {
|
|
2568
|
+
vm.cmpFields[key] = value;
|
|
2555
2569
|
componentValueMutated(vm, key);
|
|
2556
2570
|
}
|
|
2557
2571
|
},
|
|
@@ -2985,20 +2999,6 @@ const BaseBridgeElement = HTMLBridgeElementFactory(HTMLElementConstructor, getOw
|
|
|
2985
2999
|
freeze(BaseBridgeElement);
|
|
2986
3000
|
seal(BaseBridgeElement.prototype);
|
|
2987
3001
|
|
|
2988
|
-
/*
|
|
2989
|
-
* Copyright (c) 2020, salesforce.com, inc.
|
|
2990
|
-
* All rights reserved.
|
|
2991
|
-
* SPDX-License-Identifier: MIT
|
|
2992
|
-
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
2993
|
-
*/
|
|
2994
|
-
function resolveCircularModuleDependency(fn) {
|
|
2995
|
-
const module = fn();
|
|
2996
|
-
return (module === null || module === void 0 ? void 0 : module.__esModule) ? module.default : module;
|
|
2997
|
-
}
|
|
2998
|
-
function isCircularModuleDependency(obj) {
|
|
2999
|
-
return isFunction$1(obj) && hasOwnProperty$1.call(obj, '__circular__');
|
|
3000
|
-
}
|
|
3001
|
-
|
|
3002
3002
|
/*
|
|
3003
3003
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
3004
3004
|
* All rights reserved.
|
|
@@ -3967,13 +3967,6 @@ function allocateInSlot(vm, children) {
|
|
|
3967
3967
|
slotName = ((_a = vnode.data.attrs) === null || _a === void 0 ? void 0 : _a.slot) || '';
|
|
3968
3968
|
}
|
|
3969
3969
|
const vnodes = (cmpSlots[slotName] = cmpSlots[slotName] || []);
|
|
3970
|
-
// re-keying the vnodes is necessary to avoid conflicts with default content for the slot
|
|
3971
|
-
// which might have similar keys. Each vnode will always have a key that
|
|
3972
|
-
// starts with a numeric character from compiler. In this case, we add a unique
|
|
3973
|
-
// notation for slotted vnodes keys, e.g.: `@foo:1:1`
|
|
3974
|
-
if (!isUndefined$1(vnode.key)) {
|
|
3975
|
-
vnode.key = `@${slotName}:${vnode.key}`;
|
|
3976
|
-
}
|
|
3977
3970
|
ArrayPush$1.call(vnodes, vnode);
|
|
3978
3971
|
}
|
|
3979
3972
|
if (isFalse(vm.isDirty)) {
|
|
@@ -6152,7 +6145,7 @@ function setHooks(hooks) {
|
|
|
6152
6145
|
hooksAreSet = true;
|
|
6153
6146
|
setSanitizeHtmlContentHook(hooks.sanitizeHtmlContent);
|
|
6154
6147
|
}
|
|
6155
|
-
/* version: 2.
|
|
6148
|
+
/* version: 2.13.1 */
|
|
6156
6149
|
|
|
6157
6150
|
/*
|
|
6158
6151
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -6619,7 +6612,7 @@ function renderComponent(tagName, Ctor, props = {}) {
|
|
|
6619
6612
|
*/
|
|
6620
6613
|
freeze(LightningElement);
|
|
6621
6614
|
seal(LightningElement.prototype);
|
|
6622
|
-
/* version: 2.
|
|
6615
|
+
/* version: 2.13.1 */
|
|
6623
6616
|
|
|
6624
6617
|
exports.LightningElement = LightningElement;
|
|
6625
6618
|
exports.api = api$1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=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:t,create:n,defineProperties:r,defineProperty:o,freeze:i,getOwnPropertyDescriptor:l,getOwnPropertyNames:s,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:d,seal:f,setPrototypeOf:p}=Object,{isArray:h}=Array,{filter:m,find:g,indexOf:w,join:y,map:b,push:v,reduce:C,reverse:E,slice:k,splice:x,unshift:M,forEach:S}=Array.prototype,{fromCharCode:T}=String,{charCodeAt:O,replace:$,slice:A,toLowerCase:P}=String.prototype;function N(e){return void 0===e}function R(e){return null===e}function _(e){return!0===e}function D(e){return!1===e}function F(e){return"function"==typeof e}function L(e){return"string"==typeof e}function I(){}const H={}.toString;function j(e){return e&&e.toString?h(e)?y.call(b.call(e,j),","):e.toString():"object"==typeof e?H.call(e):e+""}function B(e,t){do{const n=l(e,t);if(!N(n))return n;e=a(e)}while(null!==e)}const W=["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:V,AriaPropNameToAttrNameMap:K}=(()=>{const e=n(null),t=n(null);return S.call(W,(n=>{const r=P.call($.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})();function G(e){return e in V}const z=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 Set(["area","base","br","circle","col","ellipse","feBlend","feColorMatrix","feFuncR","feFuncG","feFuncB","feFuncA","feImage","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","fePointLight","embed","hr","img","input","keygen","line","link","menuitem","meta","param","path","rect","source","track","wbr"]);const U=new Map([["autofocus",new Set(["button","input","keygen","select","textarea"])],["autoplay",new Set(["audio","video"])],["checked",new Set(["command","input"])],["disabled",new Set(["button","command","fieldset","input","keygen","optgroup","select","textarea"])],["formnovalidate",new Set(["button"])],["hidden",new Set],["loop",new Set(["audio","bgsound","marquee","video"])],["multiple",new Set(["input","select"])],["muted",new Set(["audio","video"])],["novalidate",new Set(["form"])],["open",new Set(["details"])],["readonly",new Set(["input","textarea"])],["required",new Set(["input","select","textarea"])],["reversed",new Set(["ol"])],["selected",new Set(["option"])]]);function X(e,t){const n=U.get(e);return void 0!==n&&(0===n.size||n.has(t))}const Y=new Set(["role","accesskey","class","contenteditable","contextmenu","dir","draggable","dropzone","hidden","id","itemprop","lang","slot","spellcheck","style","tabindex","title"]);function J(e){return Y.has(e)}const 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"]]),Z=new Map;function ee(e){const t=K[e];if(!N(t))return t;const n=Q.get(e);if(!N(n))return n;const r=Z.get(e);if(!N(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=O.call(e,t);o+=n>=65&&n<=90?"-"+T(n+32):T(n)}return Z.set(e,o),o}if("function"!=typeof Event){class e{}o(z,"Event",{value:e,configurable:!0,writable:!0})}if("function"!=typeof CustomEvent){class e extends Event{}o(z,"CustomEvent",{value:e,configurable:!0,writable:!0})}const te={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};z.lwcRuntimeFlags||Object.defineProperty(z,"lwcRuntimeFlags",{value:n(null)});const ne=z.lwcRuntimeFlags;let re=[];const oe=f(n(null)),ie=f([]);function le(){const e=re;re=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function se(e){0===re.length&&Promise.resolve().then(le),v.call(re,e)}let ae,ce,ue,de,fe,pe,he,me,ge,we,ye,be,ve,Ce,Ee,ke,xe,Me,Se,Te,Oe,$e,Ae,Pe,Ne,Re,_e,De,Fe,Le,Ie,He,je,Be,We,Ve,Ke,Ge,ze;const qe=new WeakMap;let Ue=null;function Xe(e,t){const n=qe.get(e);if(!N(n)){const e=n[t];if(!N(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function Ye(e,t){if(null===Ue)return;const r=Ue,o=function(e){let t=qe.get(e);if(N(t)){const r=n(null);t=r,qe.set(e,r)}return t}(e);let i=o[t];if(N(i))i=[],o[t]=i;else if(i[0]===r)return;-1===w.call(i,r)&&r.link(i)}class Je{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=Ue;let n;Ue=this;try{e()}catch(e){n=Object(e)}finally{if(Ue=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=w.call(e[n],this);x.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){v.call(e,this),v.call(this.listeners,e)}}function Qe(e,t){Xe(e.component,t)}function Ze(e,t){Ye(e.component,t)}function et(e){return`<${P.call(e.tagName)}>`}function tt(e,t){if(!u(t)&&N(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!R(n);)v.call(t,et(n)),n=n.owner;return t.reverse().join("\n\t")}(e);o(t,"wcStack",{get:()=>n})}}const nt="undefined"!=typeof HTMLElement?HTMLElement:function(){},rt=nt.prototype;function ot(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.`}t(n(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:ot("offsetHeight")},offsetLeft:{readOnly:!0,error:ot("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:ot("offsetTop")},offsetWidth:{readOnly:!0,error:ot("offsetWidth")},role:{attribute:"role"}});let it,lt=null;function st(e,t){return e!==lt||t!==it}function at(e,t){lt=null,it=void 0}function ct(e,t){lt=e,it=t}const ut=n(null);S.call(d(K),(e=>{const t=B(rt,e);N(t)||(ut[e]=t)})),S.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=B(rt,e);N(t)||(ut[e]=t)}));const{isArray:dt}=Array,{prototype:ft,getPrototypeOf:pt,create:ht,defineProperty:mt,isExtensible:gt,getOwnPropertyDescriptor:wt,getOwnPropertyNames:yt,getOwnPropertySymbols:bt,preventExtensions:vt,hasOwnProperty:Ct}=Object,{push:Et,concat:kt}=Array.prototype;function xt(e){return void 0===e}function Mt(e){return"function"==typeof e}const St=new WeakMap;function Tt(e,t){St.set(e,t)}const Ot=e=>St.get(e)||e;class $t{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(Ct.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;xt(n)||(e.get=this.wrapGetter(n)),xt(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=wt(n,t);if(!xt(r)){const n=this.wrapDescriptor(r);mt(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;kt.call(yt(t),bt(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;xt(n)||Ct.call(e,n)||mt(e,n,ht(null)),vt(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=xt(n)||Ct.call(t,n)?[]:[n];return Et.apply(r,yt(t)),Et.apply(r,bt(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!gt(e)&&(!!gt(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return pt(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=wt(n,t);if(xt(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},mt(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const At=new WeakMap,Pt=new WeakMap,Nt=new WeakMap,Rt=new WeakMap;class _t extends $t{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=At.get(e);if(!xt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Ot(this)))};return At.set(e,r),Nt.set(r,e),r}wrapSetter(e){const t=Pt.get(e);if(!xt(t))return t;const n=function(t){e.call(Ot(this),Ot(t))};return Pt.set(e,n),Rt.set(n,e),n}unwrapDescriptor(e){if(Ct.call(e,"value"))e.value=Ot(e.value);else{const{set:t,get:n}=e;xt(n)||(e.get=this.unwrapGetter(n)),xt(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=Nt.get(e);if(!xt(t))return t;const n=this,r=function(){return Ot(e.call(n.wrapValue(this)))};return At.set(r,e),Nt.set(e,r),r}unwrapSetter(e){const t=Rt.get(e);if(!xt(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Pt.set(r,e),Rt.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&&dt(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(gt(e)){const{originalTarget:t}=this;if(vt(t),gt(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!Ct.call(r,t)||(mt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const Dt=new WeakMap,Ft=new WeakMap;class Lt extends $t{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=Dt.get(e);if(!xt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Ot(this)))};return Dt.set(e,r),r}wrapSetter(e){const t=Ft.get(e);if(!xt(t))return t;const n=function(e){};return Ft.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 It(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(dt(e))return!0;const t=pt(e);return t===ft||null===t||null===pt(t)}const Ht=(e,t)=>{},jt=(e,t)=>{};function Bt(e){return dt(e)?[]:{}}const Wt=Symbol.for("@@lockerLiveValue"),Vt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=Mt(t)?t:jt,this.valueObserved=Mt(n)?n:Ht,this.valueIsObservable=Mt(r)?r:It,this.tagPropertyKey=o}getProxy(e){const t=Ot(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=Ot(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return Ot(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(xt(t)){const n=new _t(this,e);t=new Proxy(Bt(e),n),Tt(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(xt(t)){const n=new Lt(this,e);t=new Proxy(Bt(e),n),Tt(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:Ye,valueMutated:Xe,tagPropertyKey:Wt});function Kt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!F(n))throw new TypeError;if(!F(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const t=Rr(this);if(!dr(t))return Ze(t,e),n.call(t.elm)},set(t){const n=Rr(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,Qe(n,e)),r.call(n.elm,t)}}}const Gt=function(){if(R(ur))throw new ReferenceError("Illegal constructor");const e=ur,{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[Wt]=void 0,Nr(o,e),Nr(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=be(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=i,Nr(i,e),i}Gt.prototype={constructor:Gt,dispatchEvent(e){const{elm:t}=Rr(this);return Oe(t,e)},addEventListener(e,t,n){const r=Rr(this),{elm:o}=r,i=br(r,t);Se(o,e,i,n)},removeEventListener(e,t,n){const r=Rr(this),{elm:o}=r,i=br(r,t);Te(o,e,i,n)},hasAttribute(e){const{elm:t}=Rr(this);return!R(ke(t,e))},hasAttributeNS(e,t){const{elm:n}=Rr(this);return!R(ke(n,t,e))},removeAttribute(e){const{elm:t}=Rr(this);ct(t,e),Me(t,e),at()},removeAttributeNS(e,t){const{elm:n}=Rr(this);ct(n,t),Me(n,t,e),at()},getAttribute(e){const{elm:t}=Rr(this);return ke(t,e)},getAttributeNS(e,t){const{elm:n}=Rr(this);return ke(n,t,e)},setAttribute(e,t){const n=Rr(this),{elm:r}=n;ct(r,e),xe(r,e,t),at()},setAttributeNS(e,t,n){const r=Rr(this),{elm:o}=r;ct(o,t),xe(o,t,n,e),at()},getBoundingClientRect(){const e=Rr(this),{elm:t}=e;return Pe(t)},get isConnected(){const{elm:e}=Rr(this);return We(e)},get classList(){const e=Rr(this),{elm:t}=e;return $e(t)},get template(){return Rr(this).shadowRoot},get shadowRoot(){return null},render(){return Rr(this).def.template},toString(){return`[object ${Rr(this).def.name}]`}};const qt=n(null),Ut=["children","childNodes","firstChild","firstElementChild","lastChild","lastElementChild"];function Xt(e){switch(e){case"children":return Fe;case"childNodes":return Le;case"firstChild":return Ie;case"firstElementChild":return He;case"lastChild":return je;case"lastElementChild":return Be}}for(const e of Ut)qt[e]={get(){const t=Rr(this),{elm:n}=t;return Xt(e)(n)},configurable:!0,enumerable:!0};const Yt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];function Jt(e){switch(e){case"getElementsByClassName":return De;case"getElementsByTagName":return _e;case"querySelector":return Ne;case"querySelectorAll":return Re}}for(const e of Yt)qt[e]={value(t){const n=Rr(this),{elm:r}=n;return Jt(e)(r,t)},configurable:!0,enumerable:!0,writable:!0};r(Gt.prototype,qt);const Qt=n(null);for(const e in ut)Qt[e]=Kt(e,ut[e]);function Zt(e){return{get(){const t=Rr(this);return Ze(t,e),t.cmpFields[e]},set(t){const n=Rr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,Qe(n,e))},enumerable:!0,configurable:!0}}function en(e){return{get(){const t=Rr(this);return Ze(t,e),t.cmpFields[e]},set(t){const n=Rr(this),r=Vt.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,Qe(n,e))},enumerable:!0,configurable:!0}}function tn(e){return{get(){const t=Rr(this);if(!dr(t))return Ze(t,e),t.cmpProps[e]},set(t){const n=Rr(this);n.cmpProps[e]=t,Qe(n,e)},enumerable:!0,configurable:!0}}r(Gt.prototype,Qt),o(Gt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class nn extends Je{constructor(e,t){super((()=>{D(this.debouncing)&&(this.debouncing=!0,se((()=>{if(_(this.debouncing)){const{value:n}=this,{isDirty:r,component:o,idx:i}=e;t.call(o,n),this.debouncing=!1,_(e.isDirty)&&D(r)&&i>0&&Or(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function rn(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!F(n))throw new Error;return{get(){return n.call(this)},set(t){const n=Rr(this);if(r)if(ne.ENABLE_REACTIVE_SETTER){let o=n.oar[e];N(o)&&(o=n.oar[e]=new nn(n,r)),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function on(e){return{get(){const t=Rr(this);return Ze(t,e),t.cmpFields[e]},set(t){const n=Rr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,Qe(n,e))},enumerable:!0,configurable:!0}}const ln=new Map;const sn={apiMethods:oe,apiFields:oe,apiFieldsConfig:oe,wiredMethods:oe,wiredFields:oe,observedFields:oe};const an=new Set;function cn(){return[]}an.add(cn);const un=n(null),dn=n(null);function fn(e){let t=un[e];return N(t)&&(t=un[e]=function(){const t=Rr(this),{getHook:n}=t;return n(t.component,e)}),t}function pn(e){let t=dn[e];return N(t)&&(t=dn[e]=function(t){const n=Rr(this),{setHook:r}=n;t=Vt.getReadOnlyProxy(t),r(n.component,e,t)}),t}function hn(e){return function(){const t=Rr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,k.call(arguments))}}function mn(e,t){return function(n,r,o){if(r===o)return;const i=e[n];N(i)?N(t)||t.apply(this,arguments):st(this,n)&&(this[i]=o)}}function gn(e,t,i){let l;F(e)?l=class extends e{}:(l=function(){throw new TypeError("Illegal constructor")},p(l,e),p(l.prototype,e.prototype),o(l.prototype,"constructor",{writable:!0,configurable:!0,value:l}));const s=n(null),{attributeChangedCallback:a}=e.prototype,{observedAttributes:c=[]}=e,u=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];s[ee(n)]=n,u[n]={get:fn(n),set:pn(n),enumerable:!0,configurable:!0}}for(let e=0,t=i.length;e<t;e+=1){const t=i[e];u[t]={value:hn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:mn(s,a)},o(l,"observedAttributes",{get:()=>[...c,...d(s)]}),r(l.prototype,u),l}const wn=gn(nt,s(ut),[]);function yn(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function bn(e){return F(e)&&c.call(e,"__circular__")}i(wn),f(wn.prototype);const vn=new WeakMap;function Cn(e){const{shadowSupportMode:o,renderMode:i}=e,l=function(e){const t=ln.get(e);return N(t)?sn:t}(e),{apiFields:s,apiFieldsConfig:c,apiMethods:u,wiredFields:f,wiredMethods:p,observedFields:h}=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(bn(t)){const e=yn(t);t=e===t?Gt:e}return t}(e),E=C!==Gt?kn(C):xn,k=gn(E.bridge,d(s),d(u)),x=t(n(null),E.props,s),M=t(n(null),E.propsConfig,c),S=t(n(null),E.methods,u),T=t(n(null),E.wire,f,p);g=g||E.connectedCallback,w=w||E.disconnectedCallback,y=y||E.renderedCallback,b=b||E.errorCallback,v=v||E.render;let O=E.shadowSupportMode;N(o)||(O=o);let $=E.renderMode;N(i)||($="light"===i?0:1);const A=function(e){return hr.get(e)}(e)||E.template,P=e.name||E.name;r(m,h);return{ctor:e,name:P,wire:T,props:x,propsConfig:M,methods:S,bridge:k,template:A,renderMode:$,shadowSupportMode:O,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function En(e){if(!F(e))return!1;if(e.prototype instanceof Gt)return!0;let t=e;do{if(bn(t)){const e=yn(t);if(e===t)return!0;t=e}if(t===Gt)return!0}while(!R(t)&&(t=a(t)));return!1}function kn(e){let t=vn.get(e);if(N(t)){if(bn(e)){return t=kn(yn(e)),vn.set(e,t),t}if(!En(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=Cn(e),vn.set(e,t)}return t}const xn={ctor:Gt,name:Gt.name,props:Qt,propsConfig:oe,methods:oe,renderMode:1,shadowSupportMode:"reset",wire:oe,bridge:wn,template:cn,render:Gt.prototype.render};function Mn(e){const{type:t}=e;return 2===t||3===t}function Sn(e,t){return e.key===t.key&&e.sel===t.sel}function Tn(e,t){return"input"===e&&("value"===t||"checked"===t)}const On=n(null);function $n(e){if(null==e)return oe;e=L(e)?e:e+"";let t=On[e];if(t)return t;t=n(null);let r,o=0;const i=e.length;for(r=0;r<i;r++)32===O.call(e,r)&&(r>o&&(t[A.call(e,o,r)]=!0),o=r+1);return r>o&&(t[A.call(e,o,r)]=!0),On[e]=t,t}function An(e,t,n){var r;r=t,Kn.has(r)?function(e,t,n){let r=0,o=0,i=e.length-1,l=e[0],s=e[i];const a=t.length-1;let c,u,d,f,p=a,h=t[0],m=t[p],g=!1;for(;r<=i&&o<=p;)Fn(l)?Fn(s)?Fn(h)?Fn(m)?Sn(l,h)?(Pn(l,h),l=e[++r],h=t[++o]):Sn(s,m)?(Pn(s,m),s=e[--i],m=t[--p]):Sn(l,m)?(Pn(l,m),Bn(l.elm,n,ye(s.elm)),l=e[++r],m=t[--p]):Sn(s,h)?(Pn(s,h),Bn(h.elm,n,l.elm),s=e[--i],h=t[++o]):(void 0===c&&(c=Gn(e,r,i)),u=c[h.key],N(u)?(Nn(h,n,l.elm),h=t[++o]):(d=e[u],Fn(d)&&(d.sel!==h.sel?Nn(h,n,l.elm):(Pn(d,h),g||(g=!0,e=[...e]),e[u]=void 0,Bn(d.elm,n,l.elm))),h=t[++o])):m=t[--p]:h=t[++o]:s=e[--i]:l=e[++r];if(r<=i||o<=p)if(r>i){let e,r=p;do{e=t[++r]}while(!Fn(e)&&r<a);f=Fn(e)?e.elm:null,Rn(t,n,f,o,p+1)}else Dn(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 Rn(t,n,null);if(0===o)return void Dn(e,n,!0);let i=null;for(let r=o-1;r>=0;r-=1){const o=e[r],l=t[r];l!==o&&(Fn(o)?Fn(l)?(Pn(o,l),i=l.elm):_n(o,n,!0):Fn(l)&&(Nn(l,n,i),i=l.elm))}}(e,t,n)}function Pn(e,t){if(e!==t)switch(t.type){case 0:case 1:!function(e,t){t.elm=e.elm,t.text!==e.text&&jn(t)}(e,t);break;case 2:!function(e,t){const n=t.elm=e.elm;Wn(e,t),An(e.children,t.children,n)}(e,t);break;case 3:!function(e,t){const n=t.elm=e.elm,r=t.vm=e.vm;Wn(e,t),N(r)||Vn(t,r);An(e.children,t.children,n),N(r)||Or(r)}(e,t)}}function Nn(e,t,n){switch(e.type){case 0:!function(e,t,n){const{owner:r}=e,o=e.elm=ge(e.text);Hn(o,r),Bn(o,t,n)}(e,t,n);break;case 1:!function(e,t,n){const{owner:r}=e,o=e.elm=we(e.text);Hn(o,r),Bn(o,t,n)}(e,t,n);break;case 2:!function(e,t,n){const{sel:r,owner:o,data:{svg:i}}=e,l=_(i)?"http://www.w3.org/2000/svg":void 0,s=me(r,l);Hn(s,o),function(e,t){const{owner:n}=t;if(In(e,n),1===n.shadowMode){const{data:{context:r}}=t,{stylesheetToken:o}=n.context;N(r)||N(r.lwc)||"manual"!==r.lwc.dom||function(e){e.$domManual$=!0}(e),N(o)||Ln(e,o)}}(s,e),e.elm=s,Wn(null,e),Bn(s,t,n),Rn(e.children,s,null)}(e,t,n);break;case 3:!function(e,t,n){const{sel:r,owner:o}=e,i=function(e){e=e.toLowerCase();let t=ze(e);return N(t)?(t=class extends de{constructor(e){super(),F(e)&&e(this)}},Ge(e,t),t):t}(r);let l;const s=new i((t=>{l=function(e,t){let n=_r(e);if(!N(n))return n;const{sel:r,mode:o,ctor:i,owner:l}=t;if(In(e,l),1===l.shadowMode){const{stylesheetToken:t}=l.context;N(t)||Ln(e,t)}return n=Pr(e,i,{mode:o,owner:l,tagName:r}),n}(t,e)}));if(Hn(s,o),e.elm=s,e.vm=l,l)Vn(e,l);else if(e.ctor!==i)throw new TypeError("Incorrect Component Constructor");Wn(null,e),Bn(s,t,n),l&&Ir(l);Rn(e.children,s,null),l&&function(e){Dr(e)}(l)}(e,t,n)}}function Rn(e,t,n,r=0,o=e.length){for(;r<o;++r){const o=e[r];Fn(o)&&Nn(o,t,n)}}function _n(e,t,n=!1){const{type:r,elm:o}=e;switch(n&&function(e,t){he(e,t)}(o,t),r){case 2:Dn(e.children,o);break;case 3:{const{vm:t}=e;N(t)||function(e){Ar(e)}(t)}}}function Dn(e,t,n=!1,r=0,o=e.length){for(;r<o;++r){const o=e[r];Fn(o)&&_n(o,t,n)}}function Fn(e){return null!=e}function Ln(e,t){e.$shadowToken$=t}function In(e,t){const{cmpTemplate:n,context:r}=t,o=null==n?void 0:n.stylesheetToken;!N(o)&&r.hasScopedStyles&&$e(e).add(o)}function Hn(e,t){const{renderRoot:n,renderMode:r,shadowMode:o}=t;ue&&(1!==o&&0!==r||(e.$shadowResolver$=n.$shadowResolver$))}function jn(e){const{elm:t,text:n}=e;Ee(t,n)}function Bn(e,t,n){pe(e,t,n)}function Wn(e,t){R(e)&&(function(e){const{elm:t,data:{on:n}}=e;if(!N(n))for(const e in n){const r=n[e];Se(t,e,r)}}(t),function(e){const{elm:t,data:{classMap:n}}=e;if(N(n))return;const r=$e(t);for(const e in n)r.add(e)}(t),function(e){const{elm:t,data:{styleDecls:n}}=e;if(!N(n))for(let e=0;e<n.length;e++){const[r,o,i]=n[e];Ae(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=$e(n),l=$n(r),s=$n(o);let a;for(a in s)N(l[a])&&i.remove(a);for(a in l)N(s[a])&&i.add(a)}(e,t),function(e,t){const{elm:n,data:{style:r}}=t;(R(e)?void 0:e.data.style)!==r&&(L(r)&&""!==r?xe(n,"style",r):Me(n,"style"))}(e,t),function(e,t){const{attrs:n}=t.data;if(N(n))return;const r=R(e)?oe:e.data.attrs;if(r===n)return;const{elm:o}=t;for(const e in n){const t=n[e];r[e]!==t&&(ct(o,e),58===O.call(e,3)?xe(o,e,t,"http://www.w3.org/XML/1998/namespace"):58===O.call(e,5)?xe(o,e,t,"http://www.w3.org/1999/xlink"):R(t)||N(t)?Me(o,e):xe(o,e,t),at())}}(e,t),function(e,t){const{props:n}=t.data;if(N(n))return;const r=R(e)?oe: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!==(Tn(l,e)?ve(i,e):r[e]))&&Ce(i,e,t)}}(e,t)}function Vn(e,t){const r=e.aChildren||e.children;t.aChildren=r;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t){var r;const{cmpSlots:o}=e,i=e.cmpSlots=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(R(n))continue;let o="";Mn(n)&&(o=(null===(r=n.data.attrs)||void 0===r?void 0:r.slot)||"");const l=i[o]=i[o]||[];N(n.key)||(n.key=`@${o}:${n.key}`),v.call(l,n)}if(D(e.isDirty)){const t=d(o);if(t.length!==d(i).length)return void wr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(N(i[r])||o[r].length!==i[r].length)return void wr(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 wr(e)}}}(t,r),e.aChildren=r,e.children=ie)}const Kn=new WeakMap;function Gn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(Fn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}const zn=Symbol.iterator;function qn(e,t,n=ie){const r=sr();const{key:o}=t;return{type:2,sel:e,data:t,children:n,elm:undefined,key:o,owner:r}}function Un(e,t,n,r=ie){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){v.call(sr().velements,e)}(l),l}const Xn=new Map;let Yn=0;function Jn(e){var t;return t=e,Kn.set(t,1),e}let Qn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const Zn=i({s:function(e,t,n,r){N(r)||N(r[e])||0===r[e].length||(n=r[e]);const o=sr(),{renderMode:i,shadowMode:l}=o;return 0===i?(Jn(n),n):(1===l&&Jn(n),qn("slot",t,n))},h:qn,c:Un,i:function(e,t){const n=[];if(Jn(n),N(e)||null===e)return n;const r=e[zn]();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);h(e)?v.apply(n,e):v.call(n,e),i+=1,l=o.value}return n},f:function(e){const t=e.length,n=[];Jn(n);for(let r=0;r<t;r+=1){const t=e[r];h(t)?v.apply(n,t):v.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=ie){if(null==t)return null;if(!En(t))throw new Error(`Invalid LWC Constructor ${j(t)} for custom element <${e}>.`);let o=Xn.get(t);return N(o)&&(o=Yn++,Xn.set(t,o)),Un(e,t,Object.assign(Object.assign({},n),{key:`dc:${o}:${n.key}`}),r)},ti:function(e){return e>0&&!(_(e)||D(e))?0:e},gid:function(e){const t=sr();if(N(e)||""===e)return e;if(R(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?$.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=sr();if(N(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 Qn(e)}});function er(e){return`${e}-host`}function tr(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let l=e[i];if(h(l))v.apply(r,tr(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 a;1===n.renderMode?a=0===n.shadowMode:(N(o)&&(o=rr(n)),a=R(o)||0===o.shadowMode),v.call(r,l(i,s,a))}}return r}function nr(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return N(n)||0===n.length||(o=tr(n,r,e)),o}function rr(e){let t=e;for(;!R(t);){if(1===t.renderMode)return t;t=t.owner}return t}function or(e,t){const{renderMode:n,shadowMode:r}=e;if(1===n&&1===r)for(let e=0;e<t.length;e++)Ve(t[e]);else{if(ae||fe()){const e=y.call(t,"\n");return o=e,Zn.h("style",{key:"style",attrs:{type:"text/css"}},[Zn.t(o)])}{const n=function(e){const t=rr(e);return R(t)||1!==t.shadowMode?t:null}(e),r=R(n);for(let e=0;e<t.length;e++)r?Ve(t[e]):Ke(t[e],n.shadowRoot)}}var o;return null}let ir=!1,lr=null;function sr(){return lr}function ar(e){lr=e}function cr(e,t){const r=ir,o=lr;let i=[];return Vr(e,e.owner,(()=>{lr=e}),(()=>{const{component:r,context:o,cmpSlots:l,cmpTemplate:s,tro:a}=e;a.observe((()=>{if(t!==s){if(R(s)||Wr(e),a=t,!an.has(a))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: ${j(t)}.`);e.cmpTemplate=t,o.tplCache=n(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!N(t))for(let e=0;e<t.length;e++)if(_(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,a=1===o&&1===i,{hasScopedStyles:c}=r;let u,d,f;const{stylesheetToken:p,hasTokenInClass:h,hasTokenInAttribute:m}=r;N(p)||(h&&$e(n).remove(er(p)),m&&Me(n,er(p))),N(l)||0===l.length||(u=s),N(u)||(c&&($e(n).add(er(u)),d=!0),a&&(xe(n,er(u),""),f=!0)),r.stylesheetToken=u,r.hasTokenInClass=d,r.hasTokenInAttribute=f}(e,t);const r=nr(e,t);o.styleVNode=0===r.length?null:or(e,r)}var a;e.velements=[],ir=!0,i=t.call(void 0,Zn,r,l,o.tplCache);const{styleVNode:c}=o;R(c)||M.call(i,c)}))}),(()=>{ir=r,lr=o})),i}let ur=null;function dr(e){return ur===e}function fr(e,t,n){const{component:r,callHook:o,owner:i}=e;Vr(e,i,I,(()=>{o(r,t,n)}),I)}function pr(e,t,n,r){const{callHook:o,owner:i}=e;Vr(e,i,I,(()=>{o(n,t,[r])}),I)}const hr=new Map;function mr(e){return new Je((()=>{const{isDirty:t}=e;D(t)&&(wr(e),function(e){if(_(ae)||_(e.isScheduled))return;e.isScheduled=!0,0===Fr.length&&se(Lr);v.call(Fr,e)}(e))}))}function gr(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 Vr(e,o,(()=>{ar(e)}),(()=>{e.tro.observe((()=>{l=n(r,t),s=!0}))}),(()=>{ar(i)})),s?cr(e,l):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function wr(e){e.isDirty=!0}const yr=new WeakMap;function br(e,t){if(!F(t))throw new TypeError;let n=yr.get(t);return N(n)&&(n=function(n){pr(e,t,void 0,n)},yr.set(t,n)),n}const vr=n(null),Cr=["rendered","connected","disconnected"];function Er(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 kr=0;const xr=new WeakMap;function Mr(e,t,n=[]){return t.apply(e,n)}function Sr(e,t,n){e[t]=n}function Tr(e,t){return e[t]}function Or(e){Dr(e)}function $r(e){const t=Rr(e);1===t.state&&function(e){Ar(Rr(e))}(e),Ir(t),Dr(t)}function Ar(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}=vr;t&&Er(e,t);Hr(e)&&function(e){const{wiredDisconnecting:t}=e.context;Vr(e,e,I,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),I)}(e);const{disconnectedCallback:n}=e.def;N(n)||fr(e,n)}(e),jr(e),function(e){const{aChildren:t}=e;Br(t)}(e)}}function Pr(e,t,r){const{mode:o,owner:i,tagName:l}=r,s=kn(t),a={elm:e,def:s,idx:kr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:o,owner:i,children:ie,aChildren:ie,velements:ie,cmpProps:n(null),cmpFields:n(null),cmpSlots:n(null),oar:n(null),cmpTemplate:null,renderMode:s.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:oe,wiredConnecting:ie,wiredDisconnecting:ie},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:Mr,setHook:Sr,getHook:Tr};return a.shadowMode=function(e){const{def:t}=e;let n;if(ue)if(0===t.renderMode)n=0;else if(ce)if(ne.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}(a),a.tro=mr(a),function(e,t){const n=ur;let r;ur=e;try{const o=new t;if(ur.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(ur=n,!N(r))throw tt(e,r),r}}(a,s.ctor),Hr(a)&&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=Kr.get(i);if(!N(l)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:s}=zr(e,t,l),a=l.dynamic.length>0;v.call(r,(()=>{n.connect(),ne.ENABLE_WIRE_SYNC_EMIT||!a?i():Promise.resolve().then(i)})),v.call(o,(()=>{n.disconnect(),s()}))}}}(a),a}function Nr(e,t){xr.set(e,t)}function Rr(e){return xr.get(e)}function _r(e){return xr.get(e)}function Dr(e){if(_(e.isDirty)){!function(e,t){const{renderRoot:n,children:r}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&Vr(e,e,(()=>{}),(()=>{An(r,t,n)}),(()=>{}));1===e.state&&function(e){const{def:{renderedCallback:t}}=e;if(_(ae))return;const{rendered:n}=vr;n&&Er(e,n);N(t)||fr(e,t)}(e)}(e,gr(e))}}let Fr=[];function Lr(){const e=Fr.sort(((e,t)=>e.idx-t.idx));Fr=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{Dr(r)}catch(r){throw t+1<n&&(0===Fr.length&&se(Lr),M.apply(Fr,k.call(e,t+1))),r}}}function Ir(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=vr;n&&Er(e,n),Hr(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;N(r)||fr(e,r)}function Hr(e){return s(e.def.wire).length>0}function jr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!N(n)){const e=_r(n);N(e)||Ar(e)}}}function Br(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!R(n)&&!N(n.elm))switch(n.type){case 2:Br(n.children);break;case 3:Ar(Rr(n.elm));break}}}function Wr(e){const{children:t,renderRoot:n}=e;for(let e=0,r=t.length;e<r;e++){const r=t[e];R(r)||N(r.elm)||he(r.elm,n)}e.children=ie,jr(e),e.velements=ie}function Vr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!N(i)){tt(e,i);const n=R(t)?void 0:function(e){let t=e;for(;!R(t);){if(!N(t.def.errorCallback))return t;t=t.owner}}(t);if(N(n))throw i;Wr(e);fr(n,n.def.errorCallback,[i,i.wcStack])}}}const Kr=new Map;class Gr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function zr(e,t,n){const{method:r,adapter:i,configCallback:l,dynamic:s}=n,a=N(r)?function(e,t){const{cmpFields:n}=e;return r=>{r!==e.cmpFields[t]&&(n[t]=r,Qe(e,t))}}(e,t):function(e,t){return n=>{Vr(e,e.owner,I,(()=>{t.call(e.component,n)}),I)}}(e,r);let c,u;o(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),o(a,"$$DeprecatedWiredParamsMetaKey$$",{value:s}),Vr(e,e,I,(()=>{u=new i(a)}),I);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let r=!1;const o=new Je((()=>{!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=>{Vr(e,e,I,(()=>{u.update(t,c)}),I)}));return N(i.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Ur(r);if(N(o))return;const{elm:i,context:{wiredConnecting:l,wiredDisconnecting:s}}=e;v.call(l,(()=>{const e=new Gr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){v.call(s,e)}});Oe(i,e)}))}(e,n,(t=>{c!==t&&(c=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const qr=new Map;function Ur(e){return qr.get(e)}function Xr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Kr.set(e,o)}function Yr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Kr.set(e,o)}let Jr=!1;var Qr;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(Qr||(Qr={}));const Zr=/\s+/g;function eo(e){return new Set(e.split(Zr).filter((e=>e.length)))}function to(e){return Array.from(e).join(" ")}function no(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function ro(e){return{type:Qr.Element,name:e,parent:null,shadowRoot:null,children:[],attributes:[],eventListeners:{}}}const oo=n(null),io=new WeakMap;function lo(e,t,n=null){const r=e.attributes.find((e=>e.name===t&&e.namespace===n));return r?r.value:null}function so(e,t,n,r=null){const o=e.attributes.find((e=>e.name===t&&e.namespace===r));N(r)&&(r=null),N(o)?e.attributes.push({name:t,namespace:r,value:String(n)}):o.value=n}function ao(e,t,n){e.attributes=e.attributes.filter((e=>e.name!==t&&e.namespace!==n))}const co=I,uo=I,fo=I,po=I,ho=no("dispatchEvent"),mo=no("getBoundingClientRect"),go=no("querySelector"),wo=no("querySelectorAll"),yo=no("getElementsByTagName"),bo=no("getElementsByClassName"),vo=no("getChildren"),Co=no("getChildNodes"),Eo=no("getFirstChild"),ko=no("getFirstElementChild"),xo=no("getLastChild"),Mo=no("getLastElementChild");const So=class{constructor(){const{constructor:e}=this,t=io.get(e);if(!t)throw new TypeError("Invalid Construction");return ro(t)}};be=function(e,t){return e.shadowRoot={type:Qr.ShadowRoot,children:[],mode:t.mode,delegatesFocus:!!t.delegatesFocus},e.shadowRoot},we=function(e){return{type:Qr.Comment,value:e,parent:null}},me=ro,ge=function(e){return{type:Qr.Text,value:String(e),parent:null}},Ge=function(e,t,n){!function(e,t){if(e!==P.call(e)||oo[e])throw new TypeError("Invalid Registration");oo[e]=t,io.set(t,e)}(e,t)},Oe=ho,ke=lo,Pe=mo,Le=Co,Fe=vo,$e=function(e){function t(){let t=e.attributes.find((e=>"class"===e.name&&R(e.namespace)));return N(t)&&(t={name:"class",namespace:null,value:""},e.attributes.push(t)),t}return{add(...e){const n=t(),r=eo(n.value);e.forEach((e=>r.add(e))),n.value=to(r)},remove(...e){const n=t(),r=eo(n.value);e.forEach((e=>r.delete(e))),n.value=to(r)}}},ze=function(e){return oo[e]},De=bo,_e=yo,Ie=Eo,He=ko,je=xo,Be=Mo,ve=function(e,t){var n,r;if(t in e)return e[t];if(e.type===Qr.Element){const o=ee(t);if(X(o,e.name))return null!==(n=lo(e,o))&&void 0!==n&&n;if(J(o)||G(o))return lo(e,o);if("input"===e.name&&"value"===t)return null!==(r=lo(e,"value"))&&void 0!==r?r:""}},function(e){de=e}(So),pe=function(e,t,n){if(null!==e.parent&&e.parent!==t){const t=e.parent.children.indexOf(e);e.parent.children.splice(t,1)}e.parent=t;const r=R(n)?-1:t.children.indexOf(n);-1===r?t.children.push(e):t.children.splice(r,0,e)},Ve=co,Ke=uo,We=function(e){return!R(e.parent)},fe=function(){return!1},ce=!1,ue=!1,ye=function(e){const{parent:t}=e;if(R(t))return null;const n=t.children.indexOf(e);return t.children[n+1]||null},Ne=go,Re=wo,he=function(e,t){const n=t.children.indexOf(e);t.children.splice(n,1)},Me=ao,Te=po,xe=so,Ae=function(e,t,n,r){const o=e.attributes.find((e=>"style"===e.name&&R(e.namespace))),i=`${t}: ${n}${r?" !important":""}`;N(o)?e.attributes.push({name:"style",namespace:null,value:i}):o.value+=`; ${i}`},Ce=function(e,t,n){if(t in e)return e[t]=n;if(e.type===Qr.Element){const r=ee(t);if("innerHTML"===t)return void(e.children=[{type:Qr.Raw,parent:e,value:n}]);if(X(r,e.name))return!0===n?so(e,r,""):ao(e,r);if(J(r)||G(r))return so(e,r,n);if("input"===e.name&&"value"===r)return R(n)||N(n)?ao(e,"value"):so(e,"value",n)}},Ee=function(e,t){e.type===Qr.Text?e.value=t:e.type===Qr.Element&&(e.children=[{type:Qr.Text,parent:e,value:t}])},ae=!0,Se=fo;const To={'"':""","'":"'","<":"<",">":">","&":"&"};function Oo(e){return e.replace(/["'<>&]/g,(e=>To[e]))}function $o(e){return e.map((e=>{switch(e.type){case Qr.Text:return""===e.value?"":Oo(e.value);case Qr.Comment:return`\x3c!--${Oo(e.value)}--\x3e`;case Qr.Raw:return e.value;case Qr.Element:return Ao(e)}})).join("")}function Ao(e){let t="";const{name:n}=e,r=e.attributes.length?` ${o=e.attributes,o.map((e=>e.value.length?`${e.name}=${JSON.stringify(Oo(e.value))}`:e.name)).join(" ")}`:"";var o;const i=$o(e.children);return t+=`<${n}${r}>`,e.shadowRoot&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${$o(e.children)}</template>`}(e.shadowRoot)),t+=i,function(e){return q.has(e)}(n)||(t+=`</${n}>`),t}const Po={type:Qr.Element,name:"fake-root-element",parent:null,shadowRoot:null,children:[],attributes:[],eventListeners:{}};i(Gt),f(Gt.prototype),exports.LightningElement=Gt,exports.api=function(){throw new Error},exports.createContextProvider=function(e){let t=Ur(e);if(!N(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){qr.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((()=>{N(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},exports.getComponentDef=function(e){const t=kn(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:ee(e)};const a={};for(const e in l)a[e]=l[e].value;return{ctor:n,name:r,props:s,methods:a}},exports.isComponentConstructor=En,exports.readonly=function(e){return Vt.getReadOnlyProxy(e)},exports.register=function(e){for(let t=0;t<Cr.length;++t){const n=Cr[t];if(n in e){let t=vr[n];N(t)&&(vr[n]=t=[]),v.call(t,e[n])}}},exports.registerComponent=function(e,{tmpl:t}){return F(e)&&hr.set(e,t),e},exports.registerDecorators=function(e,t){const r=e.prototype,{publicProps:i,publicMethods:s,wire:a,track:c,fields:u}=t,d=n(null),f=n(null),p=n(null),h=n(null),m=n(null),g=n(null);let w;if(!N(i))for(const e in i){const t=i[e];if(g[e]=t.config,w=l(r,e),t.config>0){if(N(w))throw new Error;w=rn(e,w)}else w=N(w)||N(w.get)?tn(e):rn(e,w);f[e]=w,o(r,e,w)}if(N(s)||S.call(s,(e=>{if(w=l(r,e),N(w))throw new Error;d[e]=w})),!N(a))for(const e in a){const{adapter:t,method:n,config:i,dynamic:s=[]}=a[e];if(w=l(r,e),1===n){if(N(w))throw new Error;p[e]=w,Xr(w,t,i,s)}else w=Zt(e),h[e]=w,Yr(w,t,i,s),o(r,e,w)}if(!N(c))for(const e in c)w=l(r,e),w=en(e),o(r,e,w);if(!N(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(r,t);const n=!N(i)&&t in i,o=!N(c)&&t in c;n||o||(m[t]=on(t))}return function(e,t){ln.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:p,wiredFields:h,observedFields:m}),e},exports.registerTemplate=function(e){return an.add(e),e},exports.renderComponent=function(e,t,n={}){if(!L(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!F(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||R(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=ro(e);Pr(r,t,{mode:"open",owner:null,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r.parent=Po,$r(r),Ao(r)},exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(N(te[e])){const n=d(te).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=ne[e];if(!N(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}".`);o(ne,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)}},exports.setFeatureFlagForTest=function(e,t){},exports.setHooks=function(t){var n;e.isFalse(Jr,"Hooks are already overridden, only one definition is allowed."),Jr=!0,n=t.sanitizeHtmlContent,Qn=n},exports.track=function(e){if(1===arguments.length)return Vt.getProxy(e);throw new Error},exports.unwrap=function(e){return Vt.unwrapProxy(e)},exports.wire=function(e,t){throw new Error};
|
|
1
|
+
"use strict";function v(a,b){if(!a)throw new Error(`Invariant Violation: ${b}`)}function w(a,b){if(!a)throw new Error(`Assert Violation: ${b}`)}function x(a,b){if(a)throw new Error(`Assert Violation: ${b}`)}function y(a){throw new Error(a)}Object.defineProperty(exports,"__esModule",{value:!0});var i,bP=Object.freeze({__proto__:null,invariant:v,isTrue:w,isFalse:x,fail:y});const{assign:z,create:b,defineProperties:q,defineProperty:j,freeze:k,getOwnPropertyDescriptor:bQ,getOwnPropertyNames:A,getPrototypeOf:bR,hasOwnProperty:bS,isFrozen:bT,keys:B,seal:f,setPrototypeOf:bU}=Object,{isArray:bV}=Array,{filter:bW,find:bX,indexOf:bY,join:bZ,map:b$,push:b_,reduce:b0,reverse:b1,slice:b2,splice:b3,unshift:b4,forEach:r}=Array.prototype,{fromCharCode:b5}=String,{charCodeAt:b6,replace:b7,slice:b8,toLowerCase:b9}=String.prototype;function ca(a){return void 0===a}function cb(a){return null===a}function cc(a){return!0===a}function cd(a){return!1===a}function ce(a){return"boolean"==typeof a}function cf(a){return"function"==typeof a}function cg(a){return"object"==typeof a}function ch(a){return"string"==typeof a}function g(){}const ci={}.toString;function cj(a){return a&&a.toString?bV(a)?bZ.call(b$.call(a,cj),","):a.toString():"object"==typeof a?ci.call(a):a+""}function ck(a,c){do{const b=bQ(a,c);if(!ca(b))return b;a=bR(a)}while(null!==a)}const cl=["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:cm,AriaPropNameToAttrNameMap:C}=(()=>{const a=b(null),c=b(null);return r.call(cl,b=>{const d=b9.call(b7.call(b,/^aria/,()=>"aria-"));a[d]=b,c[b]=d}),{AriaAttrNameToPropNameMap:a,AriaPropNameToAttrNameMap:c}})();function cn(a){return a in cm}const e=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}(),co="$shadowResolver$",cp="$$lwc-synthetic-mode",cq="$scoped$",D=["area","base","br","circle","col","ellipse","feBlend","feColorMatrix","feFuncR","feFuncG","feFuncB","feFuncA","feImage","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","fePointLight","embed","hr","img","input","keygen","line","link","menuitem","meta","param","path","rect","source","track","wbr",],cr=new Set(D);function cs(a){return cr.has(a)}const ct=new Map([["autofocus",new Set(["button","input","keygen","select","textarea"])],["autoplay",new Set(["audio","video"])],["checked",new Set(["command","input"])],["disabled",new Set(["button","command","fieldset","input","keygen","optgroup","select","textarea",]),],["formnovalidate",new Set(["button"])],["hidden",new Set],["loop",new Set(["audio","bgsound","marquee","video"])],["multiple",new Set(["input","select"])],["muted",new Set(["audio","video"])],["novalidate",new Set(["form"])],["open",new Set(["details"])],["readonly",new Set(["input","textarea"])],["required",new Set(["input","select","textarea"])],["reversed",new Set(["ol"])],["selected",new Set(["option"])],]);function cu(b,c){const a=ct.get(b);return void 0!==a&&(0===a.size||a.has(c))}const cv=new Set(["role","accesskey","class","contenteditable","contextmenu","dir","draggable","dropzone","hidden","id","itemprop","lang","slot","spellcheck","style","tabindex","title",]);function cw(a){return cv.has(a)}const cx=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"],]),cy=new Map;function cz(a){const e=C[a];if(!ca(e))return e;const f=cx.get(a);if(!ca(f))return f;const g=cy.get(a);if(!ca(g))return g;let b="";for(let d=0,h=a.length;d<h;d++){const c=b6.call(a,d);c>=65&&c<=90?b+="-"+b5(c+32):b+=b5(c)}return cy.set(a,b),b}const cA="http://www.w3.org/XML/1998/namespace",cB="http://www.w3.org/2000/svg",cC="http://www.w3.org/1999/xlink";if("function"!=typeof Event){class E{}j(e,"Event",{value:E,configurable:!0,writable:!0})}if("function"!=typeof CustomEvent){class F extends Event{}j(e,"CustomEvent",{value:F,configurable:!0,writable:!0})}const cD={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};e.lwcRuntimeFlags||Object.defineProperty(e,"lwcRuntimeFlags",{value:b(null)});const cE=e.lwcRuntimeFlags;function G(a,b){if(!ce(b)){const 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(ca(cD[a])){const e=B(cD).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}{const c=cE[a];if(!ca(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}j(cE,a,{value:b})}}function H(a,b){}let cF=[];const cG=32,d=f(b(null)),cH=f([]);function cI(){const b=cF;cF=[];for(let a=0,c=b.length;a<c;a+=1)b[a]()}function cJ(a){0===cF.length&&Promise.resolve().then(cI),b_.call(cF,a)}function cK(){function a(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)}return a()+a()+"-"+a()+"-"+a()+"-"+a()+"-"+a()+a()+a()}let cL;function I(a){cL=a}let cM;function J(a){cM=a}let cN;function K(a){cN=a}let cO;function L(a){cO=a}let cP;function M(a){cP=a}let cQ;function N(a){cQ=a}let cR;function O(a){cR=a}let cS;function P(a){cS=a}let cT;function Q(a){cT=a}let cU;function R(a){cU=a}let cV;function S(a){cV=a}let cW;function T(a){cW=a}let cX;function U(a){cX=a}let cY;function V(a){cY=a}let cZ;function W(a){cZ=a}let c$;function X(a){c$=a}let c_;function Y(a){c_=a}let c0;function Z(a){c0=a}let c1;function $(a){c1=a}let c2;function _(a){c2=a}let c3;function aa(a){c3=a}let ab;function ac(a){ab=a}let c4;function ad(a){c4=a}let c5;function ae(a){c5=a}let c6;function af(a){c6=a}let c7;function ag(a){c7=a}let c8;function ah(a){c8=a}let c9;function ai(a){c9=a}let da;function aj(a){da=a}let db;function ak(a){db=a}let dc;function al(a){dc=a}let dd;function am(a){dd=a}let de;function an(a){de=a}let df;function ao(a){df=a}let ap;function aq(a){ap=a}let dg;function ar(a){dg=a}let dh;function as(a){dh=a}let di;function at(a){di=a}let dj;function au(a){dj=a}const dk=new WeakMap;function dl(c){let a=dk.get(c);if(ca(a)){const d=b(null);a=d,dk.set(c,d)}return a}let dm=null;function av(d,e){const c=dk.get(d);if(!ca(c)){const a=c[e];if(!ca(a))for(let b=0,f=a.length;b<f;b+=1){const g=a[b];g.notify()}}}function aw(e,c){if(null===dm)return;const b=dm,d=dl(e);let a=d[c];if(ca(a))a=[],d[c]=a;else if(a[0]===b)return;-1===bY.call(a,b)&&b.link(a)}class ax{constructor(a){this.listeners=[],this.callback=a}observe(b){const c=dm;dm=this;let a;try{b()}catch(d){a=Object(d)}finally{if(dm=c,void 0!==a)throw a}}reset(){const{listeners:a}=this,c=a.length;if(c>0){for(let b=0;b<c;b+=1){const d=a[b],e=bY.call(a[b],this);b3.call(d,e,1)}a.length=0}}notify(){this.callback.call(void 0,this)}link(a){b_.call(a,this),b_.call(this.listeners,a)}}function dn(a,b){av(a.component,b)}function dp(a,b){aw(a.component,b)}function dq(a){return`<${b9.call(a.tagName)}>`}function dr(c){const b=[];let a=c;for(;!cb(a);)b_.call(b,dq(a)),a=a.owner;return b.reverse().join("\n ")}function ds(b,a){if(!bT(a)&&ca(a.wcStack)){const c=dr(b);j(a,"wcStack",{get:()=>c})}}function dt(b){const a=b();return(null==a?void 0:a.__esModule)?a.default:a}function du(a){return cf(a)&&bS.call(a,"__circular__")}const s="undefined"!=typeof HTMLElement?HTMLElement:function(){},dv=s.prototype,ay=["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title",];function h(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.`}z(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:h("offsetHeight")},offsetLeft:{readOnly:!0,error:h("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:h("offsetTop")},offsetWidth:{readOnly:!0,error:h("offsetWidth")},role:{attribute:"role"}});let dw=null,dx;function dy(a,b){return a!==dw||b!==dx}function dz(a,b){dw=null,dx=void 0}function dA(a,b){dw=a,dx=b}const l=b(null);r.call(B(C),a=>{const b=ck(dv,a);ca(b)||(l[a]=b)}),r.call(ay,a=>{const b=ck(dv,a);ca(b)||(l[a]=b)});const{isArray:dB}=Array,{prototype:dC,getPrototypeOf:dD,create:dE,defineProperty:dF,isExtensible:dG,getOwnPropertyDescriptor:dH,getOwnPropertyNames:dI,getOwnPropertySymbols:dJ,preventExtensions:dK,hasOwnProperty:dL}=Object,{push:dM,concat:dN}=Array.prototype;function dO(a){return void 0===a}function dP(a){return"function"==typeof a}const dQ=new WeakMap;function dR(a,b){dQ.set(a,b)}const dS=a=>dQ.get(a)||a;class t{constructor(a,b){this.originalTarget=b,this.membrane=a}wrapDescriptor(a){if(dL.call(a,"value"))a.value=this.wrapValue(a.value);else{const{set:b,get:c}=a;dO(c)||(a.get=this.wrapGetter(c)),dO(b)||(a.set=this.wrapSetter(b))}return a}copyDescriptorIntoShadowTarget(c,a){const{originalTarget:d}=this,b=dH(d,a);if(!dO(b)){const e=this.wrapDescriptor(b);dF(c,a,e)}}lockShadowTarget(a){const{originalTarget:c}=this,d=dN.call(dI(c),dJ(c));d.forEach(b=>{this.copyDescriptorIntoShadowTarget(a,b)});const{membrane:{tagPropertyKey:b}}=this;dO(b)||dL.call(a,b)||dF(a,b,dE(null)),dK(a)}apply(a,b,c){}construct(a,b,c){}get(e,a){const{originalTarget:b,membrane:{valueObserved:c}}=this,d=b[a];return c(b,a),this.wrapValue(d)}has(e,a){const{originalTarget:b,membrane:{tagPropertyKey:c,valueObserved:d}}=this;return d(b,a),a in b||a===c}ownKeys(d){const{originalTarget:a,membrane:{tagPropertyKey:b}}=this,c=dO(b)||dL.call(a,b)?[]:[b];return dM.apply(c,dI(a)),dM.apply(c,dJ(a)),c}isExtensible(a){const{originalTarget:b}=this;return!!dG(a)&&(!!dG(b)||(this.lockShadowTarget(a),!1))}getPrototypeOf(b){const{originalTarget:a}=this;return dD(a)}getOwnPropertyDescriptor(c,b){const{originalTarget:d,membrane:{valueObserved:f,tagPropertyKey:e}}=this;f(d,b);let a=dH(d,b);if(dO(a)){if(b!==e)return;return dF(c,e,a={value:void 0,writable:!1,configurable:!1,enumerable:!1}),a}return!1===a.configurable&&this.copyDescriptorIntoShadowTarget(c,b),this.wrapDescriptor(a)}}const dT=new WeakMap,dU=new WeakMap,dV=new WeakMap,dW=new WeakMap;class dX extends t{wrapValue(a){return this.membrane.getProxy(a)}wrapGetter(a){const c=dT.get(a);if(!dO(c))return c;const d=this,b=function(){return d.wrapValue(a.call(dS(this)))};return dT.set(a,b),dV.set(b,a),b}wrapSetter(a){const c=dU.get(a);if(!dO(c))return c;const b=function(b){a.call(dS(this),dS(b))};return dU.set(a,b),dW.set(b,a),b}unwrapDescriptor(a){if(dL.call(a,"value"))a.value=dS(a.value);else{const{set:b,get:c}=a;dO(c)||(a.get=this.unwrapGetter(c)),dO(b)||(a.set=this.unwrapSetter(b))}return a}unwrapGetter(a){const c=dV.get(a);if(!dO(c))return c;const d=this,b=function(){return dS(a.call(d.wrapValue(this)))};return dT.set(b,a),dV.set(a,b),b}unwrapSetter(a){const c=dW.get(a);if(!dO(c))return c;const d=this,b=function(b){a.call(d.wrapValue(this),d.wrapValue(b))};return dU.set(b,a),dW.set(a,b),b}set(f,a,c){const{originalTarget:b,membrane:{valueMutated:d}}=this,e=b[a];return e!==c?(b[a]=c,d(b,a)):"length"===a&&dB(b)&&d(b,a),!0}deleteProperty(d,a){const{originalTarget:b,membrane:{valueMutated:c}}=this;return delete b[a],c(b,a),!0}setPrototypeOf(a,b){}preventExtensions(a){if(dG(a)){const{originalTarget:b}=this;if(dK(b),dG(b))return!1;this.lockShadowTarget(a)}return!0}defineProperty(d,a,c){const{originalTarget:b,membrane:{valueMutated:e,tagPropertyKey:f}}=this;return!(a!==f||dL.call(b,a))||(dF(b,a,this.unwrapDescriptor(c)),!1===c.configurable&&this.copyDescriptorIntoShadowTarget(d,a),e(b,a),!0)}}const dY=new WeakMap,dZ=new WeakMap;class d$ extends t{wrapValue(a){return this.membrane.getReadOnlyProxy(a)}wrapGetter(a){const b=dY.get(a);if(!dO(b))return b;const d=this,c=function(){return d.wrapValue(a.call(dS(this)))};return dY.set(a,c),c}wrapSetter(a){const b=dZ.get(a);if(!dO(b))return b;const c=function(a){};return dZ.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 d_(a){if(null===a)return!1;if("object"!=typeof a)return!1;if(dB(a))return!0;const b=dD(a);return b===dC||null===b||null===dD(b)}const d0=(a,b)=>{},d1=(a,b)=>{};function d2(a){return dB(a)?[]:{}}class az{constructor(d={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:a,valueObserved:b,valueIsObservable:c,tagPropertyKey:e}=d;this.valueMutated=dP(a)?a:d1,this.valueObserved=dP(b)?b:d0,this.valueIsObservable=dP(c)?c:d_,this.tagPropertyKey=e}getProxy(b){const a=dS(b);return this.valueIsObservable(a)?this.readOnlyObjectGraph.get(a)===b?b:this.getReactiveHandler(a):a}getReadOnlyProxy(a){return(a=dS(a),this.valueIsObservable(a))?this.getReadOnlyHandler(a):a}unwrapProxy(a){return dS(a)}getReactiveHandler(a){let b=this.reactiveObjectGraph.get(a);if(dO(b)){const c=new dX(this,a);dR(b=new Proxy(d2(a),c),a),this.reactiveObjectGraph.set(a,b)}return b}getReadOnlyHandler(a){let b=this.readOnlyObjectGraph.get(a);if(dO(b)){const c=new d$(this,a);dR(b=new Proxy(d2(a),c),a),this.readOnlyObjectGraph.set(a,b)}return b}}const aA=Symbol.for("@@lockerLiveValue"),d3=new az({valueObserved:aw,valueMutated:av,tagPropertyKey:aA});function aB(a){return d3.unwrapProxy(a)}function aC(f,a){const{get:b,set:c,enumerable:d,configurable:e}=a;if(!cf(b))throw new TypeError;if(!cf(c))throw new TypeError;return{enumerable:d,configurable:e,get(){const a=f4(this);if(!fC(a))return dp(a,f),b.call(a.elm)},set(b){const a=f4(this);return b!==a.cmpProps[f]&&(a.cmpProps[f]=b,dn(a,f)),c.call(a.elm,b)}}}const c=function(){if(cb(fB))throw new ReferenceError("Illegal constructor");const a=fB,{def:c,elm:b}=a,{bridge:d}=c;if(bU(b,d.prototype),a.component=this,1===arguments.length){const{callHook:e,setHook:f,getHook:g}=arguments[0];a.callHook=e,a.setHook=f,a.getHook=g}return this[aA]=void 0,f3(this,a),f3(b,a),1===a.renderMode?a.renderRoot=d4(a):a.renderRoot=b,this};function d4(a){const{elm:c,mode:d,shadowMode:e,def:{ctor:f}}=a,b=cW(c,{["$$lwc-synthetic-mode"]:1===e,delegatesFocus:Boolean(f.delegatesFocus),mode:d});return a.shadowRoot=b,f3(b,a),b}c.prototype={constructor:c,dispatchEvent(a){const{elm:b}=f4(this);return c3(b,a)},addEventListener(b,c,d){const a=f4(this),{elm:e}=a,f=fN(a,c);c1(e,b,f,d)},removeEventListener(b,c,d){const a=f4(this),{elm:e}=a,f=fN(a,c);c2(e,b,f,d)},hasAttribute(a){const{elm:b}=f4(this);return!cb(c$(b,a))},hasAttributeNS(a,b){const{elm:c}=f4(this);return!cb(c$(c,b,a))},removeAttribute(a){const{elm:b}=f4(this);dA(b,a),c0(b,a),dz()},removeAttributeNS(c,a){const{elm:b}=f4(this);dA(b,a),c0(b,a,c),dz()},getAttribute(a){const{elm:b}=f4(this);return c$(b,a)},getAttributeNS(a,b){const{elm:c}=f4(this);return c$(c,b,a)},setAttribute(a,c){const d=f4(this),{elm:b}=d;dA(b,a),c_(b,a,c),dz()},setAttributeNS(c,a,d){const e=f4(this),{elm:b}=e;dA(b,a),c_(b,a,d,c),dz()},getBoundingClientRect(){const a=f4(this),{elm:b}=a;return c5(b)},get isConnected(){const{elm:aD}=f4(this);return ap(aD)},get classList(){const aE=f4(this),{elm:aF}=aE;return ab(aF)},get template(){const aG=f4(this);return aG.shadowRoot},get shadowRoot(){return null},render(){const a=f4(this);return a.def.template},toString(){const a=f4(this);return`[object ${a.def.name}]`}};const m=b(null),aH=["children","childNodes","firstChild","firstElementChild","lastChild","lastElementChild",];function d5(a){switch(a){case"children":return da;case"childNodes":return db;case"firstChild":return dc;case"firstElementChild":return dd;case"lastChild":return de;case"lastElementChild":return df}}for(const aI of aH)m[aI]={get(){const a=f4(this),{elm:b}=a;return d5(aI)(b)},configurable:!0,enumerable:!0};const aJ=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll",];function d6(a){switch(a){case"getElementsByClassName":return c9;case"getElementsByTagName":return c8;case"querySelector":return c6;case"querySelectorAll":return c7}}for(const aK of aJ)m[aK]={value(a){const b=f4(this),{elm:c}=b;return d6(aK)(c,a)},configurable:!0,enumerable:!0,writable:!0};q(c.prototype,m);const n=b(null);for(const o in l)n[o]=aC(o,l[o]);function d7(a){return{get(){const b=f4(this);return dp(b,a),b.cmpFields[a]},set(c){const b=f4(this);c!==b.cmpFields[a]&&(b.cmpFields[a]=c,dn(b,a))},enumerable:!0,configurable:!0}}function aL(){throw new Error}function d8(a){return{get(){const b=f4(this);if(!fC(b))return dp(b,a),b.cmpProps[a]},set(c){const b=f4(this);b.cmpProps[a]=c,dn(b,a)},enumerable:!0,configurable:!0}}q(c.prototype,n),j(c,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class d9 extends ax{constructor(a,b){super(()=>{cd(this.debouncing)&&(this.debouncing=!0,cJ(()=>{if(cc(this.debouncing)){const{value:c}=this,{isDirty:d,component:e,idx:f}=a;b.call(e,c),this.debouncing=!1,cc(a.isDirty)&&cd(d)&&f>0&&fW(a)}}))}),this.debouncing=!1}reset(a){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=a)}}function ea(e,a){const{get:b,set:f,enumerable:c,configurable:d}=a;if(!cf(b))throw new Error;return{get(){return b.call(this)},set(c){const b=f4(this);if(f)if(cE.ENABLE_REACTIVE_SETTER){let a=b.oar[e];ca(a)&&(a=b.oar[e]=new d9(b,f)),a.reset(c),a.observe(()=>{f.call(this,c)})}else f.call(this,c)},enumerable:c,configurable:d}}function aM(a){if(1===arguments.length)return d3.getProxy(a);throw new Error}function eb(a){return{get(){const b=f4(this);return dp(b,a),b.cmpFields[a]},set(d){const b=f4(this),c=d3.getProxy(d);c!==b.cmpFields[a]&&(b.cmpFields[a]=c,dn(b,a))},enumerable:!0,configurable:!0}}function aN(a,b){throw new Error}function ec(a){return{get(){const b=f4(this);return dp(b,a),b.cmpFields[a]},set(c){const b=f4(this);c!==b.cmpFields[a]&&(b.cmpFields[a]=c,dn(b,a))},enumerable:!0,configurable:!0}}function aO(i,z){const d=i.prototype,{publicProps:f,publicMethods:o,wire:k,track:h,fields:l}=z,A=b(null),p=b(null),q=b(null),s=b(null),t=b(null),u=b(null);let a;if(!ca(f))for(const c in f){const v=f[c];if(u[c]=v.config,a=bQ(d,c),v.config>0){if(ca(a))throw new Error;a=ea(c,a)}else a=ca(a)||ca(a.get)?d8(c):ea(c,a);p[c]=a,j(d,c,a)}if(ca(o)||r.call(o,b=>{if(ca(a=bQ(d,b)))throw new Error;A[b]=a}),!ca(k))for(const e in k){const{adapter:w,method:B,config:x,dynamic:y=[]}=k[e];if(a=bQ(d,e),1===B){if(ca(a))throw new Error;q[e]=a,gx(a,w,x,y)}else a=ec(e),s[e]=a,gy(a,w,x,y),j(d,e,a)}if(!ca(h))for(const m in h)a=bQ(d,m),a=eb(m),j(d,m,a);if(!ca(l))for(let n=0,C=l.length;n<C;n++){const g=l[n];a=bQ(d,g);const D=!ca(f)&&g in f,E=!ca(h)&&g in h;D||E||(t[g]=d7(g))}return ee(i,{apiMethods:A,apiFields:p,apiFieldsConfig:u,wiredMethods:q,wiredFields:s,observedFields:t}),i}const ed=new Map;function ee(a,b){ed.set(a,b)}const ef={apiMethods:d,apiFields:d,apiFieldsConfig:d,wiredMethods:d,wiredFields:d,observedFields:d};function eg(b){const a=ed.get(b);return ca(a)?ef:a}const aP=new Set;function u(){return[]}function eh(a){return aP.has(a)}function aQ(a){return aP.add(a),a}function aR(b,c,d,a){return a}aP.add(u);const ei=b(null),ej=b(null);function ek(b){let a=ei[b];return ca(a)&&(a=ei[b]=function(){const a=f4(this),{getHook:c}=a;return c(a.component,b)}),a}function el(b){let a=ej[b];return ca(a)&&(a=ej[b]=function(a){const c=f4(this),{setHook:d}=c;a=d3.getReadOnlyProxy(a),d(c.component,b,a)}),a}function em(a){return function(){const b=f4(this),{callHook:c,component:d}=b,e=d[a];return c(b.component,e,b2.call(arguments))}}function en(a,b){return function(c,f,d){if(f===d)return;const e=a[c];if(ca(e)){ca(b)||b.apply(this,arguments);return}dy(this,c)&&(this[e]=d)}}function aS(c,h,i){let a;cf(c)?a=class extends c{}:(bU(a=function(){throw new TypeError("Illegal constructor")},c),bU(a.prototype,c.prototype),j(a.prototype,"constructor",{writable:!0,configurable:!0,value:a}));const k=b(null),{attributeChangedCallback:m}=c.prototype,{observedAttributes:p=[]}=c,e=b(null);for(let f=0,n=h.length;f<n;f+=1){const d=h[f];k[cz(d)]=d,e[d]={get:ek(d),set:el(d),enumerable:!0,configurable:!0}}for(let g=0,o=i.length;g<o;g+=1){const l=i[g];e[l]={value:em(l),writable:!0,configurable:!0}}return e.attributeChangedCallback={value:en(k,m)},j(a,"observedAttributes",{get:()=>[...p,...B(k)]}),q(a.prototype,e),a}const p=aS(s,A(l),[]);function eo(a){throw new ReferenceError}k(p),f(p.prototype);const ep=new WeakMap;function eq(b){let a=bR(b);if(cb(a))throw new ReferenceError(`Invalid prototype chain for ${b.name}, you must extend LightningElement.`);if(du(a)){const d=dt(a);a=d===a?c:d}return a}function er(d){const{shadowSupportMode:j,renderMode:k}=d,s=eg(d),{apiFields:l,apiFieldsConfig:t,apiMethods:m,wiredFields:u,wiredMethods:v,observedFields:w}=s,n=d.prototype;let{connectedCallback:e,disconnectedCallback:f,renderedCallback:g,errorCallback:h,render:i}=n;const o=eq(d),a=o!==c?es(o):et,x=aS(a.bridge,B(l),B(m)),y=z(b(null),a.props,l),A=z(b(null),a.propsConfig,t),C=z(b(null),a.methods,m),D=z(b(null),a.wire,u,v);e=e||a.connectedCallback,f=f||a.disconnectedCallback,g=g||a.renderedCallback,h=h||a.errorCallback,i=i||a.render;let p=a.shadowSupportMode;ca(j)||(p=j);let r=a.renderMode;ca(k)||(r="light"===k?0:1);const E=fI(d)||a.template,F=d.name||a.name;return q(n,w),{ctor:d,name:F,wire:D,props:y,propsConfig:A,methods:C,bridge:x,template:E,renderMode:r,shadowSupportMode:p,connectedCallback:e,disconnectedCallback:f,renderedCallback:g,errorCallback:h,render:i}}function aT(b){if(!cf(b))return!1;if(b.prototype instanceof c)return!0;let a=b;do{if(du(a)){const d=dt(a);if(d===a)return!0;a=d}if(a===c)return!0}while(!cb(a)&&(a=bR(a)))return!1}function es(a){let b=ep.get(a);if(ca(b)){if(du(a)){const c=dt(a);return b=es(c),ep.set(a,b),b}if(!aT(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.`);b=er(a),ep.set(a,b)}return b}const et={ctor:c,name:c.name,props:n,propsConfig:d,methods:d,renderMode:1,shadowSupportMode:"reset",wire:d,bridge:p,template:u,render:c.prototype.render};function aU(f){const g=es(f),{ctor:h,name:i,props:j,propsConfig:k,methods:b}=g,c={};for(const a in j)c[a]={config:k[a]||0,type:"any",attr:cz(a)};const d={};for(const e in b)d[e]=b[e].value;return{ctor:h,name:i,props:c,methods:d}}function eu(a){let b=dj(a=a.toLowerCase());return ca(b)&&di(a,b=class extends cO{constructor(a){super(),cf(a)&&a(this)}}),b}function ev(b){const{type:a}=b;return 2===a||3===a}function ew(a,b){return a.key===b.key&&a.sel===b.sel}const ex=58;function ey(f,g){const{attrs:e}=g.data;if(ca(e))return;const h=cb(f)?d:f.data.attrs;if(h===e)return;const{elm:c}=g;for(const a in e){const b=e[a],i=h[a];i!==b&&(dA(c,a),58===b6.call(a,3)?c_(c,a,b,"http://www.w3.org/XML/1998/namespace"):58===b6.call(a,5)?c_(c,a,b,"http://www.w3.org/1999/xlink"):cb(b)||ca(b)?c0(c,a):c_(c,a,b),dz())}}function ez(b,a){return"input"===b&&("value"===a||"checked"===a)}function eA(c,e){const{props:b}=e.data;if(ca(b))return;const f=cb(c)?d:c.data.props;if(f===b)return;const i=cb(c),{elm:g,sel:j}=e;for(const a in b){const h=b[a];(i||h!==(ez(j,a)?cX(g,a):f[a]))&&cY(g,a,h)}}const eB=b(null);function eC(a){if(null==a)return d;let e=eB[a=ch(a)?a:a+""];if(e)return e;e=b(null);let f=0,c;const g=a.length;for(c=0;c<g;c++)32===b6.call(a,c)&&(c>f&&(e[b8.call(a,f,c)]=!0),f=c+1);return c>f&&(e[b8.call(a,f,c)]=!0),eB[a]=e,e}function eD(b,h){const{elm:i,data:{className:c}}=h,d=cb(b)?void 0:b.data.className;if(d===c)return;const e=ab(i),f=eC(c),g=eC(d);let a;for(a in g)ca(f[a])&&e.remove(a);for(a in f)ca(g[a])&&e.add(a)}function eE(b,d){const{elm:c,data:{style:a}}=d,e=cb(b)?void 0:b.data.style;e!==a&&(ch(a)&&""!==a?c_(c,"style",a):c0(c,"style"))}function eF(c){const{elm:d,data:{on:a}}=c;if(!ca(a))for(const b in a){const e=a[b];c1(d,b,e)}}function eG(b){const{elm:c,data:{classMap:a}}=b;if(ca(a))return;const d=ab(c);for(const e in a)d.add(e)}function eH(c){const{elm:d,data:{styleDecls:a}}=c;if(!ca(a))for(let b=0;b<a.length;b++){const[e,f,g]=a[b];c4(d,e,f,g)}}function eI(b,a,c){e9(a)?fb(b,a,c):fc(b,a,c)}function eJ(b,a){if(b!==a)switch(a.type){case 0:eL(b,a);break;case 1:eN(b,a);break;case 2:eQ(b,a);break;case 3:eS(b,a);break}}function eK(a,b,c){switch(a.type){case 0:eM(a,b,c);break;case 1:eO(a,b,c);break;case 2:eP(a,b,c);break;case 3:eR(a,b,c);break}}function eL(b,a){a.elm=b.elm,a.text!==b.text&&e_(a)}function eM(a,c,d){const{owner:e}=a,b=a.elm=cT(a.text);e$(b,e),e0(b,c,d)}function eN(b,a){a.elm=b.elm,a.text!==b.text&&e_(a)}function eO(a,c,d){const{owner:e}=a,b=a.elm=cU(a.text);e$(b,e),e0(b,c,d)}function eP(a,c,d){const{sel:e,owner:f,data:{svg:g}}=a,h=cc(g)?"http://www.w3.org/2000/svg":void 0,b=cS(e,h);e$(b,f),e3(b,a),a.elm=b,e2(null,a),e0(b,c,d),eT(a.children,b,null)}function eQ(a,b){const c=b.elm=a.elm;e2(a,b),eI(a.children,b.children,c)}function eR(a,e,f){const{sel:g,owner:h}=a,d=eu(g);let b;const c=new d(c=>{b=e5(c,a)});if(e$(c,h),a.elm=c,a.vm=b,b)e4(a,b);else if(a.ctor!==d)throw new TypeError("Incorrect Component Constructor");e2(null,a),e0(c,e,f),b&&gb(b),eT(a.children,c,null),b&&fZ(b)}function eS(b,a){const d=a.elm=b.elm,c=a.vm=b.vm;e2(b,a),ca(c)||e4(a,c),eI(b.children,a.children,d),ca(c)||fW(c)}function eT(b,d,e,a=0,f=b.length){for(;a<f;++a){const c=b[a];eW(c)&&eK(c,d,e)}}function eU(a,d,e=!1){const{type:f,elm:b}=a;switch(e&&e1(b,d),f){case 2:eV(a.children,b);break;case 3:{const{vm:c}=a;ca(c)||f_(c)}}}function eV(b,d,e=!1,a=0,f=b.length){for(;a<f;++a){const c=b[a];eW(c)&&eU(c,d,e)}}function eW(a){return null!=a}function eX(a){a.$domManual$=!0}function eY(a,b){a.$shadowToken$=b}function eZ(c,d){const{cmpTemplate:a,context:e}=d,b=null==a?void 0:a.stylesheetToken;!ca(b)&&e.hasScopedStyles&&ab(c).add(b)}function e$(a,b){const{renderRoot:c,renderMode:d,shadowMode:e}=b;cN&&(1===e||0===d)&&(a[co]=c[co])}function e_(a){const{elm:b,text:c}=a;cZ(b,c)}function e0(a,b,c){cQ(a,b,c)}function e1(a,b){cR(a,b)}function e2(b,a){cb(b)&&(eF(a),eG(a),eH(a)),eD(b,a),eE(b,a),ey(b,a),eA(b,a)}function e3(a,d){const{owner:b}=d;if(eZ(a,b),1===b.shadowMode){const{data:{context:c}}=d,{stylesheetToken:e}=b.context;ca(c)||ca(c.lwc)||"manual"!==c.lwc.dom||eX(a),ca(e)||eY(a,e)}}function e4(a,b){const c=a.aChildren||a.children;b.aChildren=c;const{renderMode:d,shadowMode:e}=b;(1===e||0===d)&&(e6(b,c),a.aChildren=c,a.children=cH)}function e5(a,e){let c=f5(a);if(!ca(c))return c;const{sel:f,mode:g,ctor:h,owner:b}=e;if(eZ(a,b),1===b.shadowMode){const{stylesheetToken:d}=b.context;ca(d)||eY(a,d)}return c=f1(a,h,{mode:g,owner:b,tagName:f})}function e6(c,m){var g;const{cmpSlots:h}=c,a=c.cmpSlots=b(null);for(let i=0,n=m.length;i<n;i+=1){const e=m[i];if(cb(e))continue;let j="";ev(e)&&(j=(null===(g=e.data.attrs)|| void 0===g?void 0:g.slot)||"");const o=a[j]=a[j]||[];b_.call(o,e)}if(cd(c.isDirty)){const k=B(h);if(k.length!==B(a).length){fL(c);return}for(let l=0,p=k.length;l<p;l+=1){const d=k[l];if(ca(a[d])||h[d].length!==a[d].length){fL(c);return}const q=h[d],r=a[d];for(let f=0,s=a[d].length;f<s;f+=1)if(q[f]!==r[f]){fL(c);return}}}}const e7=new WeakMap;function e8(a){e7.set(a,1)}function e9(a){return e7.has(a)}function fa(e,f,g){const b={};for(let a=f;a<=g;++a){const c=e[a];if(eW(c)){const{key:d}=c;void 0!==d&&(b[d]=a)}}return b}function fb(b,c,k){let g=0,h=0,e=b.length-1,d=b[0],f=b[e];const p=c.length-1;let i=p,a=c[0],j=c[i],n,o,l,q=!1;for(;g<=e&&h<=i;)eW(d)?eW(f)?eW(a)?eW(j)?ew(d,a)?(eJ(d,a),d=b[++g],a=c[++h]):ew(f,j)?(eJ(f,j),f=b[--e],j=c[--i]):ew(d,j)?(eJ(d,j),e0(d.elm,k,cV(f.elm)),d=b[++g],j=c[--i]):ew(f,a)?(eJ(f,a),e0(a.elm,k,d.elm),f=b[--e],a=c[++h]):(void 0===n&&(n=fa(b,g,e)),ca(o=n[a.key])?(eK(a,k,d.elm),a=c[++h]):(eW(l=b[o])&&(l.sel!==a.sel?eK(a,k,d.elm):(eJ(l,a),q||(q=!0,b=[...b]),b[o]=void 0,e0(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(!eW(m)&&r<p)eT(c,k,eW(m)?m.elm:null,h,i+1)}else eV(b,k,!0,g,e+1)}function fc(e,f,b){const i=e.length,h=f.length;if(0===i){eT(f,b,null);return}if(0===h){eV(e,b,!0);return}let g=null;for(let c=h-1;c>=0;c-=1){const d=e[c],a=f[c];a!==d&&(eW(d)?eW(a)?(eJ(d,a),g=a.elm):eU(d,b,!0):eW(a)&&(eK(a,b,g),g=a.elm))}}const fd=Symbol.iterator;function fe(a){b_.call(fv().velements,a)}function aV(b,a,c=cH){const d=fv();let e;const{key:f}=a;return{type:2,sel:b,data:a,children:c,elm:e,key:f,owner:d}}function aW(a){const b=a>0&&!(cc(a)||cd(a));return b?0:a}function aX(c,d,a,b){ca(b)||ca(b[c])||0===b[c].length||(a=b[c]);const e=fv(),{renderMode:f,shadowMode:g}=e;return 0===f?(fh(a),a):(1===g&&fh(a),aV("slot",d,a))}function aY(c,d,a,e=cH){const f=fv(),{key:g}=a;let h,i,j;const b={type:3,sel:c,data:a,children:e,elm:h,key:g,ctor:d,owner:f,mode:"open",aChildren:i,vm:j};return fe(b),b}function aZ(b,i){const a=[];if(fh(a),ca(b)||null===b)return a;const g=b[fd]();let c=g.next(),d=0,{value:h,done:e}=c;for(;!1===e;){e=(c=g.next()).done;const f=i(h,d,0===d,!0===e);bV(f)?b_.apply(a,f):b_.call(a,f),d+=1,h=c.value}return a}function a$(d){const e=d.length,a=[];fh(a);for(let b=0;b<e;b+=1){const c=d[b];bV(c)?b_.apply(a,c):b_.call(a,c)}return a}function a_(a){let b,c,d;return{type:0,sel:b,text:a,elm:d,key:c,owner:fv()}}function a0(a){let b,c,d;return{type:1,sel:b,text:a,elm:d,key:c,owner:fv()}}function a1(a){return null==a?"":String(a)}function a2(b){const a=fv();if(cb(a))throw new Error;const c=a;return function(a){fG(c,b,c.component,a)}}function a3(b,a){switch(typeof a){case"number":case"string":return b+":"+a}}function a4(a){const b=fv();if(ca(a)||""===a)return a;if(cb(a))return null;const{idx:d,shadowMode:c}=b;return 1===c?b7.call(a,/\S+/g,a=>`${a}-${d}`):a}function a5(a){const b=fv();if(ca(a)||""===a)return a;if(cb(a))return null;const{idx:c,shadowMode:d}=b;return 1===d&&/^#/.test(a)?`${a}-${c}`:a}const ff=new Map;let fg=0;function a6(c,a,d,e=cH){if(null==a)return null;if(!aT(a))throw new Error(`Invalid LWC Constructor ${cj(a)} for custom element <${c}>.`);let b=ff.get(a);ca(b)&&(b=fg++,ff.set(a,b));const f=Object.assign(Object.assign({},d),{key:`dc:${b}:${d.key}`});return aY(c,a,f,e)}function fh(a){return e8(a),a}let fi=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};function fj(a){fi=a}function a7(a){return fi(a)}const fk=k({s:aX,h:aV,c:aY,i:aZ,f:a$,t:a_,d:a1,b:a2,k:a3,co:a0,dc:a6,ti:aW,gid:a4,fid:a5,shc:a7});function fl(a){return`${a}-host`}function fm(a){return fk.h("style",{key:"style",attrs:{type:"text/css"}},[fk.t(a)])}function fn(h,i){const{elm:c,context:a,renderMode:j,shadowMode:k}=h,{stylesheets:e,stylesheetToken:l}=i,{hasScopedStyles:m}=a;let b,f,g;const{stylesheetToken:d,hasTokenInClass:n,hasTokenInAttribute:o}=a;!ca(d)&&(n&&ab(c).remove(fl(d)),o&&c0(c,fl(d))),ca(e)||0===e.length||(b=l),ca(b)||(m&&(ab(c).add(fl(b)),f=!0),1!==j||1!==k||(c_(c,fl(b),""),g=!0)),a.stylesheetToken=b,a.hasTokenInClass=f,a.hasTokenInAttribute=g}function fo(g,h,a){const d=[];let b;for(let e=0;e<g.length;e++){let c=g[e];if(bV(c))b_.apply(d,fo(c,h,a));else{const i=c[cq],j=i||1===a.shadowMode&&1===a.renderMode?h:void 0,k=0===a.renderMode?!i:0===a.shadowMode;let f;1===a.renderMode?f=0===a.shadowMode:(ca(b)&&(b=fq(a)),f=cb(b)||0===b.shadowMode),b_.call(d,c(j,k,f))}}return d}function fp(c,d){const{stylesheets:a,stylesheetToken:e}=d;let b=[];return ca(a)||0===a.length||(b=fo(a,e,c)),b}function fq(b){let a=b;for(;!cb(a);){if(1===a.renderMode)return a;a=a.owner}return a}function fr(b){const a=fq(b);return cb(a)||1!==a.shadowMode?a:null}function fs(d,a){const{renderMode:f,shadowMode:g}=d;if(1===f&&1===g)for(let c=0;c<a.length;c++)dg(a[c]);else if(cL||cP()){const h=bZ.call(a,"\n");return fm(h)}else{const e=fr(d),i=cb(e);for(let b=0;b<a.length;b++)i?dg(a[b]):dh(a[b],e.shadowRoot)}return null}let ft=!1,fu=null;function fv(){return fu}function fw(a){fu=a}function fx(a,b){throw new ReferenceError}function fy(a,b){a!==u&&(0===b.renderMode?bP.isTrue("light"===a.renderMode,`Light DOM components can't render shadow DOM templates. Add an 'lwc:render-mode="light"' directive to the root template tag of ${dq(b)}.`):bP.isTrue(ca(a.renderMode),`Shadow DOM components template can't render light DOM templates. Either remove the 'lwc:render-mode' directive from ${dq(b)} or set it to 'lwc:render-mode="shadow"`))}function fz(a,d){const e=ft,f=fu;let c=[];return gk(a,a.owner,()=>{fu=a},()=>{const{component:f,context:g,cmpSlots:h,cmpTemplate:i,tro:e}=a;e.observe(()=>{if(d!==i){if(cb(i)||gh(a),!eh(d))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: ${cj(d)}.`);a.cmpTemplate=d,g.tplCache=b(null),g.hasScopedStyles=fA(d),fn(a,d);const e=fp(a,d);g.styleVNode=0===e.length?null:fs(a,e)}a.velements=[],ft=!0,c=d.call(void 0,fk,f,h,g.tplCache);const{styleVNode:j}=g;cb(j)||b4.call(c,j)})},()=>{ft=e,fu=f}),c}function fA(c){const{stylesheets:a}=c;if(!ca(a)){for(let b=0;b<a.length;b++)if(cc(a[b][cq]))return!0}return!1}let fB=null;function fC(a){return fB===a}function fD(a,c,d){const{component:e,callHook:f,owner:b}=a;gk(a,b,g,()=>{f(e,c,d)},g)}function fE(b,c){const d=fB;let a;fB=b;try{const e=new c;if(fB.component!==e)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(f){a=Object(f)}finally{if(fB=d,!ca(a))throw ds(b,a),a}}function fF(a){const{def:{render:e},callHook:f,component:g,owner:b}=a,h=fv();let c,d=!1;return gk(a,b,()=>{fw(a)},()=>{a.tro.observe(()=>{c=f(g,e),d=!0})},()=>{fw(h)}),d?fz(a,c):[]}function fG(a,c,d,e){const{callHook:f,owner:b}=a;gk(a,b,g,()=>{f(d,c,[e])},g)}const fH=new Map;function a8(a,{tmpl:b}){return cf(a)&&fH.set(a,b),a}function fI(a){return fH.get(a)}function fJ(a){return new ax(()=>{const{isDirty:b}=a;cd(b)&&(fL(a),gi(a))})}function fK(a){a.tro.reset();const b=fF(a);return a.isDirty=!1,a.isScheduled=!1,b}function fL(a){a.isDirty=!0}const fM=new WeakMap;function fN(c,b){if(!cf(b))throw new TypeError;let a=fM.get(b);return ca(a)&&(a=function(a){fG(c,b,void 0,a)},fM.set(b,a)),a}const fO=b(null),fP=["rendered","connected","disconnected"];function a9(d){for(let b=0;b<fP.length;++b){const a=fP[b];if(a in d){let c=fO[a];ca(c)&&(fO[a]=c=[]),b_.call(c,d[a])}}}function fQ(c,b){const{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 fR=0;const fS=new WeakMap;function fT(a,b,c=[]){return b.apply(a,c)}function fU(a,b,c){a[b]=c}function fV(a,b){return a[b]}function fW(a){f6(a)}function fX(b){const a=f4(b);1===a.state&&fY(b),gb(a),f6(a)}function fY(a){const b=f4(a);f$(b)}function fZ(a){f6(a)}function f$(a){const{state:c}=a;if(2!==c){const{oar:b,tro:d}=a;for(const e in d.reset(),b)b[e].reset();gd(a),ge(a),gf(a)}}function f_(a){f$(a)}function f0(b){let a=b.owner;for(;!cb(a)&&0===a.renderMode;)a=a.owner;return a}function f1(e,f,g){const{mode:h,owner:i,tagName:j}=g,c=es(f),a={elm:e,def:c,idx:fR++,state:0,isScheduled:!1,isDirty:!0,tagName:j,mode:h,owner:i,children:cH,aChildren:cH,velements:cH,cmpProps:b(null),cmpFields:b(null),cmpSlots:b(null),oar:b(null),cmpTemplate:null,renderMode:c.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:d,wiredConnecting:cH,wiredDisconnecting:cH},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:fT,setHook:fU,getHook:fV};return a.shadowMode=f2(a),a.tro=fJ(a),fE(a,c.ctor),gc(a)&&gz(a),a}function f2(b){const{def:c}=b;let a;if(cN)if(0===c.renderMode)a=0;else if(cM)if(cE.ENABLE_MIXED_SHADOW_MODE)if("any"===c.shadowSupportMode)a=0;else{const d=f0(b);a=cb(d)||0!==d.shadowMode?1:0}else a=1;else a=1;else a=0;return a}function f3(a,b){fS.set(a,b)}function f4(a){const b=fS.get(a);return b}function f5(a){const b=fS.get(a);return b}function f6(a){if(cc(a.isDirty)){const b=fK(a);f7(a,b)}}function f7(a,b){const{renderRoot:d,children:c}=a;a.children=b,(b.length>0||c.length>0)&&c!==b&&gk(a,a,()=>{},()=>{eI(c,b,d)},()=>{}),1===a.state&&f8(a)}function f8(a){const{def:{renderedCallback:b}}=a;if(cc(cL))return;const{rendered:c}=fO;c&&fQ(a,c),ca(b)||fD(a,b)}let f9=[];function ga(){const b=f9.sort((a,b)=>a.idx-b.idx);f9=[];for(let a=0,c=b.length;a<c;a+=1){const d=b[a];try{f6(d)}catch(e){throw a+1<c&&(0===f9.length&&cJ(ga),b4.apply(f9,b2.call(b,a+1))),e}}}function gb(a){const{state:d}=a;if(1===d)return;a.state=1;const{connected:b}=fO;b&&fQ(a,b),gc(a)&&gA(a);const{connectedCallback:c}=a.def;ca(c)||fD(a,c)}function gc(a){return A(a.def.wire).length>0}function gd(a){cd(a.isDirty)&&(a.isDirty=!0),a.state=2;const{disconnected:b}=fO;b&&fQ(a,b),gc(a)&&gB(a);const{disconnectedCallback:c}=a.def;ca(c)||fD(a,c)}function ge(e){const{velements:b}=e;for(let a=b.length-1;a>=0;a-=1){const{elm:c}=b[a];if(!ca(c)){const d=f5(c);ca(d)||f$(d)}}}function gf(a){const{aChildren:b}=a;gg(b)}function gg(c){for(let b=0,d=c.length;b<d;b+=1){const a=c[b];if(!cb(a)&&!ca(a.elm))switch(a.type){case 2:gg(a.children);break;case 3:{const e=f4(a.elm);f$(e);break}}}}function gh(a){const{children:d,renderRoot:e}=a;for(let b=0,f=d.length;b<f;b++){const c=d[b];cb(c)||ca(c.elm)||cR(c.elm,e)}a.children=cH,ge(a),a.velements=cH}function gi(a){cc(cL)||cc(a.isScheduled)||(a.isScheduled=!0,0===f9.length&&cJ(ga),b_.call(f9,a))}function gj(b){let a=b;for(;!cb(a);){if(!ca(a.def.errorCallback))return a;a=a.owner}}function gk(c,d,e,f,g){let a;e();try{f()}catch(h){a=Object(h)}finally{if(g(),!ca(a)){ds(c,a);const b=cb(d)?void 0:gj(d);if(ca(b))throw a;gh(c);const i=b.def.errorCallback;fD(b,i,[a,a.wcStack])}}}const gl="$$DeprecatedWiredElementHostKey$$",gm="$$DeprecatedWiredParamsMetaKey$$",gn=new Map;class go extends CustomEvent{constructor(a,{setNewContext:b,setDisconnectedCallback:c}){super(a,{bubbles:!0,composed:!0}),q(this,{setNewContext:{value:b},setDisconnectedCallback:{value:c}})}}function gp(a,b){const{cmpFields:c}=a;return d=>{d!==a.cmpFields[b]&&(c[b]=d,dn(a,b))}}function gq(a,b){return c=>{gk(a,a.owner,g,()=>{b.call(a.component,c)},g)}}function gr(c,d,e){let f=!1;const a=new ax(()=>{!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}}function gs(a,b,f){const{adapter:c}=b,d=gv(c);if(ca(d))return;const{elm:g,context:{wiredConnecting:e,wiredDisconnecting:h}}=a;b_.call(e,()=>{const a=new go(d,{setNewContext(a){f(a)},setDisconnectedCallback(a){b_.call(h,a)}});c3(g,a)})}function gt(a,e,b){const{method:c,adapter:f,configCallback:h,dynamic:i}=b,d=ca(c)?gp(a,e):gq(a,c);let m,k;j(d,"$$DeprecatedWiredElementHostKey$$",{value:a.elm}),j(d,"$$DeprecatedWiredParamsMetaKey$$",{value:i}),gk(a,a,g,()=>{k=new f(d)},g);const{computeConfigAndUpdate:l,ro:n}=gr(a.component,h,b=>{gk(a,a,g,()=>{k.update(b,m)},g)});return ca(f.contextSchema)||gs(a,b,b=>{m!==b&&(m=b,1===a.state&&l())}),{connector:k,computeConfigAndUpdate:l,resetConfigWatcher:()=>n.reset()}}const gu=new Map;function gv(a){return gu.get(a)}function gw(a,b){gu.set(a,b)}function gx(b,a,c,d){a.adapter&&(a=a.adapter);const e=b.value;gn.set(b,{adapter:a,method:e,configCallback:c,dynamic:d})}function gy(b,a,c,d){a.adapter&&(a=a.adapter),gn.set(b,{adapter:a,configCallback:c,dynamic:d})}function gz(b){const{context:c,def:{wire:d}}=b,f=c.wiredConnecting=[],g=c.wiredDisconnecting=[];for(const e in d){const h=d[e],a=gn.get(h);if(!ca(a)){const{connector:i,computeConfigAndUpdate:j,resetConfigWatcher:k}=gt(b,e,a),l=a.dynamic.length>0;b_.call(f,()=>{if(i.connect(),!cE.ENABLE_WIRE_SYNC_EMIT&&l){Promise.resolve().then(j);return}j()}),b_.call(g,()=>{i.disconnect(),k()})}}}function gA(c){const{wiredConnecting:b}=c.context;for(let a=0,d=b.length;a<d;a+=1)b[a]()}function gB(a){const{wiredDisconnecting:b}=a.context;gk(a,a,g,()=>{for(let a=0,c=b.length;a<c;a+=1)b[a]()},g)}function ba(a){let b=gv(a);if(!ca(b))throw new Error("Adapter already has a context provider.");gw(a,b=cK());const c=new WeakSet;return(a,d)=>{if(c.has(a))throw new Error(`Adapter was already installed on ${a}.`);c.add(a);const{consumerConnectedCallback:e,consumerDisconnectedCallback:f}=d;a.addEventListener(b,a=>{const{setNewContext:d,setDisconnectedCallback:b}=a,c={provide(a){d(a)}};b(()=>{ca(f)||f(c)}),e(c),a.stopImmediatePropagation()})}}function bb(a){return d3.getReadOnlyProxy(a)}let gC=!1;function bc(a){bP.isFalse(gC,"Hooks are already overridden, only one definition is allowed."),gC=!0,fj(a.sanitizeHtmlContent)}!function(a){a.Text="text",a.Comment="comment",a.Raw="raw",a.Element="element",a.ShadowRoot="shadow-root"}(i||(i={}));const gD=/\s+/g;function gE(a){return new Set(a.split(gD).filter(a=>a.length))}function gF(a){return Array.from(a).join(" ")}function a(a){return function(){throw new TypeError(`"${a}" is not supported in this environment`)}}function bd(a){return{type:i.Element,name:a,parent:null,shadowRoot:null,children:[],attributes:[],eventListeners:{}}}const gG=b(null),gH=new WeakMap;function gI(a,b){if(a!==b9.call(a)||gG[a])throw new TypeError("Invalid Registration");gG[a]=b,gH.set(b,a)}class be{constructor(){const{constructor:b}=this,a=gH.get(b);if(!a)throw new TypeError("Invalid Construction");return bd(a)}}const gJ=!0;function bf(){return!1}const gK=!1,gL=!1;function bg(a,b,c){if(null!==a.parent&&a.parent!==b){const e=a.parent.children.indexOf(a);a.parent.children.splice(e,1)}a.parent=b;const d=cb(c)?-1:b.children.indexOf(c);-1===d?b.children.push(a):b.children.splice(d,0,a)}function bh(b,a){const c=a.children.indexOf(b);a.children.splice(c,1)}function bi(a){return{type:i.Text,value:String(a),parent:null}}function bj(a){return{type:i.Comment,value:a,parent:null}}function bk(b){const{parent:a}=b;if(cb(a))return null;const c=a.children.indexOf(b);return a.children[c+1]||null}function bl(a,b){return a.shadowRoot={type:i.ShadowRoot,children:[],mode:b.mode,delegatesFocus:!!b.delegatesFocus},a.shadowRoot}function bm(a,c){var d,e;if(c in a)return a[c];if(a.type===i.Element){const b=cz(c);if(cu(b,a.name))return null!==(d=bp(a,b))&& void 0!==d&&d;if(cw(b)||cn(b))return bp(a,b);if("input"===a.name&&"value"===c)return null!==(e=bp(a,"value"))&& void 0!==e?e:""}}function bn(a,d,b){if(d in a)return a[d]=b;if(a.type===i.Element){const c=cz(d);if("innerHTML"===d){a.children=[{type:i.Raw,parent:a,value:b},];return}if(cu(c,a.name))return!0===b?bq(a,c,""):br(a,c);if(cw(c)||cn(c))return bq(a,c,b);if("input"===a.name&&"value"===c)return cb(b)||ca(b)?br(a,"value"):bq(a,"value",b)}}function bo(a,b){a.type===i.Text?a.value=b:a.type===i.Element&&(a.children=[{type:i.Text,parent:a,value:b},])}function bp(b,c,d=null){const a=b.attributes.find(a=>a.name===c&&a.namespace===d);return a?a.value:null}function bq(b,e,c,a=null){const d=b.attributes.find(b=>b.name===e&&b.namespace===a);ca(a)&&(a=null),ca(d)?b.attributes.push({name:e,namespace:a,value:String(c)}):d.value=c}function br(a,b,c){a.attributes=a.attributes.filter(a=>a.name!==b&&a.namespace!==c)}function bs(a){function b(){let b=a.attributes.find(a=>"class"===a.name&&cb(a.namespace));return ca(b)&&(b={name:"class",namespace:null,value:""},a.attributes.push(b)),b}return{add(...c){const a=b(),d=gE(a.value);c.forEach(a=>d.add(a)),a.value=gF(d)},remove(...c){const a=b(),d=gE(a.value);c.forEach(a=>d.delete(a)),a.value=gF(d)}}}function bt(a,d,e,f){const b=a.attributes.find(a=>"style"===a.name&&cb(a.namespace)),c=`${d}: ${e}${f?" !important":""}`;ca(b)?a.attributes.push({name:"style",namespace:null,value:c}):b.value+=`; ${c}`}function bu(a){return!cb(a.parent)}const bv=g,bw=g,bx=g,by=g,bz=a("dispatchEvent"),bA=a("getBoundingClientRect"),bB=a("querySelector"),bC=a("querySelectorAll"),bD=a("getElementsByTagName"),bE=a("getElementsByClassName"),bF=a("getChildren"),bG=a("getChildNodes"),bH=a("getFirstChild"),bI=a("getFirstElementChild"),bJ=a("getLastChild"),bK=a("getLastElementChild");function bL(a,b,c){gI(a,b)}function bM(a){return gG[a]}const bN=be;T(bl),R(bj),P(bd),Q(bi),at(bL),aa(bz),X(bp),ae(bA),ak(bG),aj(bF),ac(bs),au(bM),ai(bE),ah(bD),al(bH),am(bI),an(bJ),ao(bK),U(bm),L(bN),N(bg),ar(bv),as(bw),aq(bu),M(bf),J(!1),K(!1),S(bk),af(bB),ag(bC),O(bh),Z(br),_(by),Y(bq),ad(bt),V(bn),W(bo),I(!0),$(bx);const gM={'"':""","'":"'","<":"<",">":">","&":"&"};function gN(a){return a.replace(/["'<>&]/g,a=>gM[a])}function gO(a){return a.map(a=>a.value.length?`${a.name}=${JSON.stringify(gN(a.value))}`:a.name).join(" ")}function gP(a){return a.map(a=>{switch(a.type){case i.Text:return""===a.value?"\u200D":gN(a.value);case i.Comment:return`<!--${gN(a.value)}-->`;case i.Raw:return a.value;case i.Element:return gR(a)}}).join("")}function gQ(a){const b=[`shadowroot="${a.mode}"`];return a.delegatesFocus&&b.push("shadowrootdelegatesfocus"),`<template ${b.join(" ")}>${gP(a.children)}</template>`}function gR(a){let b="";const{name:c}=a,d=a.attributes.length?` ${gO(a.attributes)}`:"",e=gP(a.children);return b+=`<${c}${d}>`,a.shadowRoot&&(b+=gQ(a.shadowRoot)),b+=e,cs(c)||(b+=`</${c}>`),b}const gS={type:i.Element,name:"fake-root-element",parent:null,shadowRoot:null,children:[],attributes:[],eventListeners:{}};function bO(b,d,c={}){if(!ch(b))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${b}.`);if(!cf(d))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${d}.`);if(!cg(c)||cb(c))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${c}.`);const a=bd(b);for(const[e,f]of(f1(a,d,{mode:"open",owner:null,tagName:b}),Object.entries(c)))a[e]=f;return a.parent=gS,fX(a),gR(a)}k(c),f(c.prototype),exports.LightningElement=c,exports.api=aL,exports.createContextProvider=ba,exports.getComponentDef=aU,exports.isComponentConstructor=aT,exports.readonly=bb,exports.register=a9,exports.registerComponent=a8,exports.registerDecorators=aO,exports.registerTemplate=aQ,exports.renderComponent=bO,exports.sanitizeAttribute=aR,exports.setFeatureFlag=G,exports.setFeatureFlagForTest=H,exports.setHooks=bc,exports.track=aM,exports.unwrap=aB,exports.wire=aN
|