lwc 2.37.2 → 2.37.3
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 +72 -12
- package/dist/engine-dom/iife/es2017/engine-dom.js +72 -12
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +19 -6
- package/dist/engine-dom/iife/es5/engine-dom.js +75 -12
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +19 -6
- package/dist/engine-dom/umd/es2017/engine-dom.js +72 -12
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +19 -6
- package/dist/engine-dom/umd/es5/engine-dom.js +75 -12
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +19 -6
- package/dist/engine-server/commonjs/es2017/engine-server.js +6 -6
- package/dist/engine-server/esm/es2017/engine-server.js +6 -6
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3 -3
- 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_debug.js +2 -2
- package/dist/wire-service/iife/es5/wire-service.js +2 -2
- package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es5/wire-service.js +2 -2
- package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
- package/package.json +7 -7
|
@@ -322,6 +322,24 @@ function htmlAttributeToProperty(attrName) {
|
|
|
322
322
|
return propertyName;
|
|
323
323
|
}
|
|
324
324
|
|
|
325
|
+
/*
|
|
326
|
+
* Copyright (c) 2020, salesforce.com, inc.
|
|
327
|
+
* All rights reserved.
|
|
328
|
+
* SPDX-License-Identifier: MIT
|
|
329
|
+
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
330
|
+
*/
|
|
331
|
+
const ESCAPED_CHARS = {
|
|
332
|
+
'"': '"',
|
|
333
|
+
"'": ''',
|
|
334
|
+
'<': '<',
|
|
335
|
+
'>': '>',
|
|
336
|
+
'&': '&',
|
|
337
|
+
};
|
|
338
|
+
function htmlEscape(str, attrMode = false) {
|
|
339
|
+
const searchValue = attrMode ? /["&]/g : /["'<>&]/g;
|
|
340
|
+
return str.replace(searchValue, (char) => ESCAPED_CHARS[char]);
|
|
341
|
+
}
|
|
342
|
+
|
|
325
343
|
/*
|
|
326
344
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
327
345
|
* All rights reserved.
|
|
@@ -329,9 +347,9 @@ function htmlAttributeToProperty(attrName) {
|
|
|
329
347
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
330
348
|
*/
|
|
331
349
|
// Increment whenever the LWC template compiler changes
|
|
332
|
-
const LWC_VERSION = "2.37.
|
|
350
|
+
const LWC_VERSION = "2.37.3";
|
|
333
351
|
const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
|
|
334
|
-
/** version: 2.37.
|
|
352
|
+
/** version: 2.37.3 */
|
|
335
353
|
|
|
336
354
|
/**
|
|
337
355
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -410,7 +428,7 @@ function setFeatureFlagForTest(name, value) {
|
|
|
410
428
|
setFeatureFlag(name, value);
|
|
411
429
|
}
|
|
412
430
|
}
|
|
413
|
-
/** version: 2.37.
|
|
431
|
+
/** version: 2.37.3 */
|
|
414
432
|
|
|
415
433
|
/**
|
|
416
434
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -474,7 +492,7 @@ function applyAriaReflection(prototype = Element.prototype) {
|
|
|
474
492
|
}
|
|
475
493
|
}
|
|
476
494
|
}
|
|
477
|
-
/** version: 2.37.
|
|
495
|
+
/** version: 2.37.3 */
|
|
478
496
|
|
|
479
497
|
/*
|
|
480
498
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -6694,15 +6712,44 @@ function hydrateNode(node, vnode, renderer) {
|
|
|
6694
6712
|
return renderer.nextSibling(hydratedNode);
|
|
6695
6713
|
}
|
|
6696
6714
|
const NODE_VALUE_PROP = 'nodeValue';
|
|
6715
|
+
const PARENT_NODE_PROP = 'parentNode';
|
|
6716
|
+
const TAG_NAME_PROP = 'tagName';
|
|
6717
|
+
function textNodeContentsAreEqual(node, vnode, renderer) {
|
|
6718
|
+
const { getProperty } = renderer;
|
|
6719
|
+
const nodeValue = getProperty(node, NODE_VALUE_PROP);
|
|
6720
|
+
if (nodeValue === vnode.text) {
|
|
6721
|
+
return true;
|
|
6722
|
+
}
|
|
6723
|
+
// Special case for empty text nodes – these are serialized differently on the server
|
|
6724
|
+
// See https://github.com/salesforce/lwc/pull/2656
|
|
6725
|
+
if (nodeValue === '\u200D' && vnode.text === '') {
|
|
6726
|
+
return true;
|
|
6727
|
+
}
|
|
6728
|
+
// Special case for text nodes inside `<style>` tags – these are escaped when rendered server-size,
|
|
6729
|
+
// but not when generated by the engine client-side.
|
|
6730
|
+
const parentNode = getProperty(node, PARENT_NODE_PROP);
|
|
6731
|
+
// Should never be null, but just to be safe, we check.
|
|
6732
|
+
/* istanbul ignore else */
|
|
6733
|
+
if (!isNull(parentNode)) {
|
|
6734
|
+
const tagName = getProperty(parentNode, TAG_NAME_PROP);
|
|
6735
|
+
// If the tagName is STYLE, then the following condition should always be true.
|
|
6736
|
+
// The LWC compiler blocks using `<style>`s inside of templates, so it should be impossible
|
|
6737
|
+
// for component authors to render different `<style>` text content on the client and server.
|
|
6738
|
+
// But just to be safe, we check.
|
|
6739
|
+
/* istanbul ignore next */
|
|
6740
|
+
if (tagName === 'STYLE' && htmlEscape(vnode.text) === nodeValue) {
|
|
6741
|
+
return true;
|
|
6742
|
+
}
|
|
6743
|
+
}
|
|
6744
|
+
return false;
|
|
6745
|
+
}
|
|
6697
6746
|
function hydrateText(node, vnode, renderer) {
|
|
6698
6747
|
var _a;
|
|
6699
6748
|
if (!hasCorrectNodeType(vnode, node, 3 /* EnvNodeTypes.TEXT */, renderer)) {
|
|
6700
6749
|
return handleMismatch(node, vnode, renderer);
|
|
6701
6750
|
}
|
|
6702
6751
|
if (process.env.NODE_ENV !== 'production') {
|
|
6703
|
-
|
|
6704
|
-
const nodeValue = getProperty(node, NODE_VALUE_PROP);
|
|
6705
|
-
if (nodeValue !== vnode.text && !(nodeValue === '\u200D' && vnode.text === '')) {
|
|
6752
|
+
if (!textNodeContentsAreEqual(node, vnode, renderer)) {
|
|
6706
6753
|
logWarn('Hydration mismatch: text values do not match, will recover from the difference', vnode.owner);
|
|
6707
6754
|
}
|
|
6708
6755
|
}
|
|
@@ -6882,6 +6929,19 @@ function isMatchingElement(vnode, elm, renderer) {
|
|
|
6882
6929
|
const hasIncompatibleStyle = validateStyleAttr(vnode, elm, renderer);
|
|
6883
6930
|
return hasIncompatibleAttrs && hasIncompatibleClass && hasIncompatibleStyle;
|
|
6884
6931
|
}
|
|
6932
|
+
function attributeValuesAreEqual(vnodeValue, value) {
|
|
6933
|
+
const vnodeValueAsString = String(vnodeValue);
|
|
6934
|
+
if (vnodeValueAsString === value) {
|
|
6935
|
+
return true;
|
|
6936
|
+
}
|
|
6937
|
+
// If the expected value is null, this means that the attribute does not exist. In that case,
|
|
6938
|
+
// we accept any nullish value (undefined or null).
|
|
6939
|
+
if (isNull(value) && (isUndefined$1(vnodeValue) || isNull(vnodeValue))) {
|
|
6940
|
+
return true;
|
|
6941
|
+
}
|
|
6942
|
+
// In all other cases, the two values are not considered equal
|
|
6943
|
+
return false;
|
|
6944
|
+
}
|
|
6885
6945
|
function validateAttrs(vnode, elm, renderer) {
|
|
6886
6946
|
const { data: { attrs = {} }, } = vnode;
|
|
6887
6947
|
let nodesAreCompatible = true;
|
|
@@ -6891,10 +6951,10 @@ function validateAttrs(vnode, elm, renderer) {
|
|
|
6891
6951
|
const { owner } = vnode;
|
|
6892
6952
|
const { getAttribute } = renderer;
|
|
6893
6953
|
const elmAttrValue = getAttribute(elm, attrName);
|
|
6894
|
-
if (
|
|
6954
|
+
if (!attributeValuesAreEqual(attrValue, elmAttrValue)) {
|
|
6895
6955
|
if (process.env.NODE_ENV !== 'production') {
|
|
6896
6956
|
const { getProperty } = renderer;
|
|
6897
|
-
logError(`Mismatch hydrating element <${getProperty(elm, 'tagName').toLowerCase()}>: attribute "${attrName}" has different values, expected "${attrValue}" but found "${elmAttrValue}"`, owner);
|
|
6957
|
+
logError(`Mismatch hydrating element <${getProperty(elm, 'tagName').toLowerCase()}>: attribute "${attrName}" has different values, expected "${attrValue}" but found ${isNull(elmAttrValue) ? 'null' : `"${elmAttrValue}"`}`, owner);
|
|
6898
6958
|
}
|
|
6899
6959
|
nodesAreCompatible = false;
|
|
6900
6960
|
}
|
|
@@ -7288,7 +7348,7 @@ function getComponentConstructor(elm) {
|
|
|
7288
7348
|
}
|
|
7289
7349
|
return ctor;
|
|
7290
7350
|
}
|
|
7291
|
-
/* version: 2.37.
|
|
7351
|
+
/* version: 2.37.3 */
|
|
7292
7352
|
|
|
7293
7353
|
/*
|
|
7294
7354
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -7716,7 +7776,7 @@ function rendererFactory(baseRenderer) {
|
|
|
7716
7776
|
function isNull(obj) {
|
|
7717
7777
|
return obj === null;
|
|
7718
7778
|
}
|
|
7719
|
-
/** version: 2.37.
|
|
7779
|
+
/** version: 2.37.3 */
|
|
7720
7780
|
|
|
7721
7781
|
/*
|
|
7722
7782
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -8269,6 +8329,6 @@ defineProperty(LightningElement, 'CustomElementConstructor', {
|
|
|
8269
8329
|
});
|
|
8270
8330
|
freeze(LightningElement);
|
|
8271
8331
|
seal(LightningElement.prototype);
|
|
8272
|
-
/* version: 2.37.
|
|
8332
|
+
/* version: 2.37.3 */
|
|
8273
8333
|
|
|
8274
8334
|
export { LightningElement, profilerControl as __unstable__ProfilerControl, reportingControl as __unstable__ReportingControl, api$1 as api, deprecatedBuildCustomElementConstructor as buildCustomElementConstructor, createContextProvider, createElement, freezeTemplate, getComponentConstructor, getComponentDef, hydrateComponent, isComponentConstructor, isNodeShadowed as isNodeFromTemplate, parseFragment, parseSVGFragment, readonly, register, registerComponent, registerDecorators, registerTemplate, renderer, rendererFactory, sanitizeAttribute, setFeatureFlag, setFeatureFlagForTest, setHooks, swapComponent, swapStyle, swapTemplate, track, unwrap, wire };
|
|
@@ -325,6 +325,24 @@ var LWC = (function (exports) {
|
|
|
325
325
|
return propertyName;
|
|
326
326
|
}
|
|
327
327
|
|
|
328
|
+
/*
|
|
329
|
+
* Copyright (c) 2020, salesforce.com, inc.
|
|
330
|
+
* All rights reserved.
|
|
331
|
+
* SPDX-License-Identifier: MIT
|
|
332
|
+
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
333
|
+
*/
|
|
334
|
+
const ESCAPED_CHARS = {
|
|
335
|
+
'"': '"',
|
|
336
|
+
"'": ''',
|
|
337
|
+
'<': '<',
|
|
338
|
+
'>': '>',
|
|
339
|
+
'&': '&',
|
|
340
|
+
};
|
|
341
|
+
function htmlEscape(str, attrMode = false) {
|
|
342
|
+
const searchValue = attrMode ? /["&]/g : /["'<>&]/g;
|
|
343
|
+
return str.replace(searchValue, (char) => ESCAPED_CHARS[char]);
|
|
344
|
+
}
|
|
345
|
+
|
|
328
346
|
/*
|
|
329
347
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
330
348
|
* All rights reserved.
|
|
@@ -332,9 +350,9 @@ var LWC = (function (exports) {
|
|
|
332
350
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
333
351
|
*/
|
|
334
352
|
// Increment whenever the LWC template compiler changes
|
|
335
|
-
const LWC_VERSION = "2.37.
|
|
353
|
+
const LWC_VERSION = "2.37.3";
|
|
336
354
|
const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
|
|
337
|
-
/** version: 2.37.
|
|
355
|
+
/** version: 2.37.3 */
|
|
338
356
|
|
|
339
357
|
/**
|
|
340
358
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -413,7 +431,7 @@ var LWC = (function (exports) {
|
|
|
413
431
|
setFeatureFlag(name, value);
|
|
414
432
|
}
|
|
415
433
|
}
|
|
416
|
-
/** version: 2.37.
|
|
434
|
+
/** version: 2.37.3 */
|
|
417
435
|
|
|
418
436
|
/**
|
|
419
437
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -477,7 +495,7 @@ var LWC = (function (exports) {
|
|
|
477
495
|
}
|
|
478
496
|
}
|
|
479
497
|
}
|
|
480
|
-
/** version: 2.37.
|
|
498
|
+
/** version: 2.37.3 */
|
|
481
499
|
|
|
482
500
|
/*
|
|
483
501
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -6697,15 +6715,44 @@ var LWC = (function (exports) {
|
|
|
6697
6715
|
return renderer.nextSibling(hydratedNode);
|
|
6698
6716
|
}
|
|
6699
6717
|
const NODE_VALUE_PROP = 'nodeValue';
|
|
6718
|
+
const PARENT_NODE_PROP = 'parentNode';
|
|
6719
|
+
const TAG_NAME_PROP = 'tagName';
|
|
6720
|
+
function textNodeContentsAreEqual(node, vnode, renderer) {
|
|
6721
|
+
const { getProperty } = renderer;
|
|
6722
|
+
const nodeValue = getProperty(node, NODE_VALUE_PROP);
|
|
6723
|
+
if (nodeValue === vnode.text) {
|
|
6724
|
+
return true;
|
|
6725
|
+
}
|
|
6726
|
+
// Special case for empty text nodes – these are serialized differently on the server
|
|
6727
|
+
// See https://github.com/salesforce/lwc/pull/2656
|
|
6728
|
+
if (nodeValue === '\u200D' && vnode.text === '') {
|
|
6729
|
+
return true;
|
|
6730
|
+
}
|
|
6731
|
+
// Special case for text nodes inside `<style>` tags – these are escaped when rendered server-size,
|
|
6732
|
+
// but not when generated by the engine client-side.
|
|
6733
|
+
const parentNode = getProperty(node, PARENT_NODE_PROP);
|
|
6734
|
+
// Should never be null, but just to be safe, we check.
|
|
6735
|
+
/* istanbul ignore else */
|
|
6736
|
+
if (!isNull(parentNode)) {
|
|
6737
|
+
const tagName = getProperty(parentNode, TAG_NAME_PROP);
|
|
6738
|
+
// If the tagName is STYLE, then the following condition should always be true.
|
|
6739
|
+
// The LWC compiler blocks using `<style>`s inside of templates, so it should be impossible
|
|
6740
|
+
// for component authors to render different `<style>` text content on the client and server.
|
|
6741
|
+
// But just to be safe, we check.
|
|
6742
|
+
/* istanbul ignore next */
|
|
6743
|
+
if (tagName === 'STYLE' && htmlEscape(vnode.text) === nodeValue) {
|
|
6744
|
+
return true;
|
|
6745
|
+
}
|
|
6746
|
+
}
|
|
6747
|
+
return false;
|
|
6748
|
+
}
|
|
6700
6749
|
function hydrateText(node, vnode, renderer) {
|
|
6701
6750
|
var _a;
|
|
6702
6751
|
if (!hasCorrectNodeType(vnode, node, 3 /* EnvNodeTypes.TEXT */, renderer)) {
|
|
6703
6752
|
return handleMismatch(node, vnode, renderer);
|
|
6704
6753
|
}
|
|
6705
6754
|
if (process.env.NODE_ENV !== 'production') {
|
|
6706
|
-
|
|
6707
|
-
const nodeValue = getProperty(node, NODE_VALUE_PROP);
|
|
6708
|
-
if (nodeValue !== vnode.text && !(nodeValue === '\u200D' && vnode.text === '')) {
|
|
6755
|
+
if (!textNodeContentsAreEqual(node, vnode, renderer)) {
|
|
6709
6756
|
logWarn('Hydration mismatch: text values do not match, will recover from the difference', vnode.owner);
|
|
6710
6757
|
}
|
|
6711
6758
|
}
|
|
@@ -6885,6 +6932,19 @@ var LWC = (function (exports) {
|
|
|
6885
6932
|
const hasIncompatibleStyle = validateStyleAttr(vnode, elm, renderer);
|
|
6886
6933
|
return hasIncompatibleAttrs && hasIncompatibleClass && hasIncompatibleStyle;
|
|
6887
6934
|
}
|
|
6935
|
+
function attributeValuesAreEqual(vnodeValue, value) {
|
|
6936
|
+
const vnodeValueAsString = String(vnodeValue);
|
|
6937
|
+
if (vnodeValueAsString === value) {
|
|
6938
|
+
return true;
|
|
6939
|
+
}
|
|
6940
|
+
// If the expected value is null, this means that the attribute does not exist. In that case,
|
|
6941
|
+
// we accept any nullish value (undefined or null).
|
|
6942
|
+
if (isNull(value) && (isUndefined$1(vnodeValue) || isNull(vnodeValue))) {
|
|
6943
|
+
return true;
|
|
6944
|
+
}
|
|
6945
|
+
// In all other cases, the two values are not considered equal
|
|
6946
|
+
return false;
|
|
6947
|
+
}
|
|
6888
6948
|
function validateAttrs(vnode, elm, renderer) {
|
|
6889
6949
|
const { data: { attrs = {} }, } = vnode;
|
|
6890
6950
|
let nodesAreCompatible = true;
|
|
@@ -6894,10 +6954,10 @@ var LWC = (function (exports) {
|
|
|
6894
6954
|
const { owner } = vnode;
|
|
6895
6955
|
const { getAttribute } = renderer;
|
|
6896
6956
|
const elmAttrValue = getAttribute(elm, attrName);
|
|
6897
|
-
if (
|
|
6957
|
+
if (!attributeValuesAreEqual(attrValue, elmAttrValue)) {
|
|
6898
6958
|
if (process.env.NODE_ENV !== 'production') {
|
|
6899
6959
|
const { getProperty } = renderer;
|
|
6900
|
-
logError(`Mismatch hydrating element <${getProperty(elm, 'tagName').toLowerCase()}>: attribute "${attrName}" has different values, expected "${attrValue}" but found "${elmAttrValue}"`, owner);
|
|
6960
|
+
logError(`Mismatch hydrating element <${getProperty(elm, 'tagName').toLowerCase()}>: attribute "${attrName}" has different values, expected "${attrValue}" but found ${isNull(elmAttrValue) ? 'null' : `"${elmAttrValue}"`}`, owner);
|
|
6901
6961
|
}
|
|
6902
6962
|
nodesAreCompatible = false;
|
|
6903
6963
|
}
|
|
@@ -7291,7 +7351,7 @@ var LWC = (function (exports) {
|
|
|
7291
7351
|
}
|
|
7292
7352
|
return ctor;
|
|
7293
7353
|
}
|
|
7294
|
-
/* version: 2.37.
|
|
7354
|
+
/* version: 2.37.3 */
|
|
7295
7355
|
|
|
7296
7356
|
/*
|
|
7297
7357
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -7719,7 +7779,7 @@ var LWC = (function (exports) {
|
|
|
7719
7779
|
function isNull(obj) {
|
|
7720
7780
|
return obj === null;
|
|
7721
7781
|
}
|
|
7722
|
-
/** version: 2.37.
|
|
7782
|
+
/** version: 2.37.3 */
|
|
7723
7783
|
|
|
7724
7784
|
/*
|
|
7725
7785
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -8272,7 +8332,7 @@ var LWC = (function (exports) {
|
|
|
8272
8332
|
});
|
|
8273
8333
|
freeze(LightningElement);
|
|
8274
8334
|
seal(LightningElement.prototype);
|
|
8275
|
-
/* version: 2.37.
|
|
8335
|
+
/* version: 2.37.3 */
|
|
8276
8336
|
|
|
8277
8337
|
exports.LightningElement = LightningElement;
|
|
8278
8338
|
exports.__unstable__ProfilerControl = profilerControl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var LWC=function(e){"use strict";var t=Object.freeze({__proto__:null,fail:function(e){throw new Error(e)},invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)}});const{assign:n,create:r,defineProperties:o,defineProperty:s,freeze:i,getOwnPropertyDescriptor:l,getOwnPropertyNames:c,getPrototypeOf:a,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{concat:g,copyWithin:w,fill:y,filter:b,find:v,indexOf:E,join:C,map:S,pop:M,push:T,reduce:k,reverse:A,shift:N,slice:L,some:_,sort:O,splice:P,unshift:x,forEach:R}=Array.prototype,{fromCharCode:D}=String,{charCodeAt:F,replace:I,split:$,slice:H,toLowerCase:B}=String.prototype;function W(e){return void 0===e}function V(e){return null===e}function j(e){return!0===e}function G(e){return!1===e}function U(e){return"function"==typeof e}function Y(e){return"object"==typeof e}function K(e){return"string"==typeof e}function z(){}const q={}.toString;function X(e){return e&&e.toString?m(e)?C.call(S.call(e,X),","):e.toString():"object"==typeof e?q.call(e):e+""}function Z(e,t){do{const n=l(e,t);if(!W(n))return n;e=a(e)}while(null!==e)}const Q=["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:J,AriaPropNameToAttrNameMap:ee}=(()=>{const e=r(null),t=r(null);return R.call(Q,(n=>{const r=B.call(I.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),te=new Set(["aria-activedescendant","aria-controls","aria-describedby","aria-details","aria-errormessage","aria-flowto","aria-labelledby","aria-owns","for"]),ne="object"==typeof globalThis?globalThis:window,re="$shadowResolver$",oe="$shadowStaticNode$",se="$shadowToken$",ie="$$lwc-synthetic-mode",le="$scoped$",ce="http://www.w3.org/XML/1998/namespace",ae="http://www.w3.org/2000/svg",ue="http://www.w3.org/1999/xlink",de=/-([a-z])/g,{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:fe,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:he}=(()=>{const e=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"]]),t=new Map;return e.forEach(((e,n)=>t.set(e,n))),{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:t,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:e}})(),pe=new Map,me=new Map;function ge(e){const t=ee[e];if(!W(t))return t;const n=he.get(e);if(!W(n))return n;const r=pe.get(e);if(!W(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=F.call(e,t);o+=n>=65&&n<=90?"-"+D(n+32):D(n)}return pe.set(e,o),o}function we(e){const t=J[e];if(!W(t))return t;const n=fe.get(e);if(!W(n))return n;const r=me.get(e);if(!W(r))return r;const o=I.call(e,de,(e=>e[1].toUpperCase()));return me.set(e,o),o}const ye={DUMMY_TEST_FLAG:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_WIRE_SYNC_EMIT:null,ENABLE_LIGHT_GET_ROOT_NODE_PATCH:null,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null,ENABLE_FROZEN_TEMPLATE:null,DISABLE_ARIA_REFLECTION_POLYFILL:null};ne.lwcRuntimeFlags||Object.defineProperty(ne,"lwcRuntimeFlags",{value:r(null)});const be=ne.lwcRuntimeFlags;function ve(e,t){return W(l(t,e))}function Ee(e,t){const n=function(e){return{get(){return this.hasAttribute(e)?this.getAttribute(e):null},set(t){V(t)?this.removeAttribute(e):this.setAttribute(e,t)},configurable:!0,enumerable:!0}}(ee[e]);s(t,e,n)}function Ce(e=Element.prototype){const t=f(ee);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];ve(r,e)&&Ee(r,e)}}lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL||Ce();const Se=[];let Me=z,Te=!1;const ke={attachDispatcher(e){Te=!0,Me=e;for(const e of Se)try{e()}catch(e){console.error("Could not invoke callback",e)}Se.length=0},detachDispatcher(){Te=!1,Me=z}};function Ae(e){Te?e():Se.push(e)}function Ne(e,t){Te&&Me(e,t)}function Le(e){return`<${B.call(e.tagName)}>`}function _e(e,t){if(!d(t)&&W(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!V(n);)T.call(t,Le(n)),n=n.owner;return t.reverse().join("\n\t")}(e);s(t,"wcStack",{get:()=>n})}}const Oe=new Set;function Pe(e,t,n,r){let o=`[LWC ${e}]: ${t}`;if(W(n)||(o=`${o}\n${function(e){const t=[];let n="";for(;!V(e.owner);)T.call(t,n+Le(e)),e=e.owner,n+="\t";return C.call(t,"\n")}(n)}`),r){if(Oe.has(o))return;Oe.add(o)}try{throw new Error(o)}catch(t){console[e](t)}}function xe(e,t){Pe("error",e,t,!1)}const Re=new WeakMap;let De=null;function Fe(e,t){const n=Re.get(e);if(!W(n)){const e=n[t];if(!W(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function Ie(e,t){if(null===De)return;const n=De,o=function(e){let t=Re.get(e);if(W(t)){const n=r(null);t=n,Re.set(e,n)}return t}(e);let s=o[t];if(W(s))s=[],o[t]=s;else if(s[0]===n)return;-1===E.call(s,n)&&n.link(s)}class $e{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=De;let n;De=this;try{e()}catch(e){n=Object(e)}finally{if(De=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=E.call(e[n],this);P.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){T.call(e,this),T.call(this.listeners,e)}}function He(e,t){Fe(e.component,t)}function Be(e,t){Ie(e.component,t)}function We(e){return new $e(e)}let Ve=[];const je=32,Ge=h(r(null)),Ue=h([]);function Ye(){const e=Ve;Ve=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function Ke(e){0===Ve.length&&Promise.resolve().then(Ye),T.call(Ve,e)}const ze=/;(?![^(]*\))/g,qe=/:(.+)/;function Xe(e,t){const n={};for(const r of f(e))r!==t&&(n[r]=e[r]);return n}function Ze(e){const t=[];for(const n of e)m(n)?t.push(...Ze(n)):t.push(n);return t}function Qe(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}function Je(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function et(e){return U(e)&&u.call(e,"__circular__")}const tt="undefined"!=typeof HTMLElement?HTMLElement:function(){},nt=tt.prototype;let rt,ot=null;function st(e,t){ot=null,rt=void 0}function it(e,t){ot=e,rt=t}const lt=r(null);function ct(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n,He(e,t))}R.call(f(ee),(e=>{const t=Z(nt,e);W(t)||(lt[e]=t)})),R.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=Z(nt,e);W(t)||(lt[e]=t)}));const{isArray:at}=Array,{prototype:ut,getPrototypeOf:dt,create:ft,defineProperty:ht,isExtensible:pt,getOwnPropertyDescriptor:mt,getOwnPropertyNames:gt,getOwnPropertySymbols:wt,preventExtensions:yt,hasOwnProperty:bt}=Object,{push:vt,concat:Et}=Array.prototype;function Ct(e){return void 0===e}function St(e){return"function"==typeof e}const Mt=new WeakMap;function Tt(e,t){Mt.set(e,t)}const kt=e=>Mt.get(e)||e;class At{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(bt.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;Ct(n)||(e.get=this.wrapGetter(n)),Ct(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=mt(n,t);if(!Ct(r)){const n=this.wrapDescriptor(r);ht(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;Et.call(gt(t),wt(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;Ct(n)||bt.call(e,n)||ht(e,n,ft(null)),yt(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=Ct(n)||bt.call(t,n)?[]:[n];return vt.apply(r,gt(t)),vt.apply(r,wt(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!pt(e)&&(!!pt(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return dt(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let s=mt(n,t);if(Ct(s)){if(t!==o)return;return s={value:void 0,writable:!1,configurable:!1,enumerable:!1},ht(e,o,s),s}return!1===s.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(s)}}const Nt=new WeakMap,Lt=new WeakMap,_t=new WeakMap,Ot=new WeakMap;class Pt extends At{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Nt.get(e);if(!Ct(t))return t;const n=this,r=function(){return n.wrapValue(e.call(kt(this)))};return Nt.set(e,r),_t.set(r,e),r}wrapSetter(e){const t=Lt.get(e);if(!Ct(t))return t;const n=function(t){e.call(kt(this),kt(t))};return Lt.set(e,n),Ot.set(n,e),n}unwrapDescriptor(e){if(bt.call(e,"value"))e.value=kt(e.value);else{const{set:t,get:n}=e;Ct(n)||(e.get=this.unwrapGetter(n)),Ct(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=_t.get(e);if(!Ct(t))return t;const n=this,r=function(){return kt(e.call(n.wrapValue(this)))};return Nt.set(r,e),_t.set(e,r),r}unwrapSetter(e){const t=Ot.get(e);if(!Ct(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Lt.set(r,e),Ot.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&&at(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(pt(e)){const{originalTarget:t}=this;if(yt(t),pt(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:s}}=this;return t===s&&!bt.call(r,t)||(ht(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const xt=new WeakMap,Rt=new WeakMap;class Dt extends At{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=xt.get(e);if(!Ct(t))return t;const n=this,r=function(){return n.wrapValue(e.call(kt(this)))};return xt.set(e,r),r}wrapSetter(e){const t=Rt.get(e);if(!Ct(t))return t;const n=function(e){};return Rt.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 Ft(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(at(e))return!0;const t=dt(e);return t===ut||null===t||null===dt(t)}const It=(e,t)=>{},$t=(e,t)=>{};function Ht(e){return at(e)?[]:{}}const Bt=Symbol.for("@@lockerLiveValue"),Wt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=St(t)?t:$t,this.valueObserved=St(n)?n:It,this.valueIsObservable=St(r)?r:Ft,this.tagPropertyKey=o}getProxy(e){const t=kt(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=kt(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return kt(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(Ct(t)){const n=new Pt(this,e);t=new Proxy(Ht(e),n),Tt(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(Ct(t)){const n=new Dt(this,e);t=new Proxy(Ht(e),n),Tt(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:Ie,valueMutated:Fe,tagPropertyKey:Bt});function Vt(e){return Wt.getReadOnlyProxy(e)}function jt(e){return Wt.getProxy(e)}function Gt(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!U(n))throw new TypeError;if(!U(r))throw new TypeError;return{enumerable:o,configurable:s,get(){const t=io(this);if(!$r(t))return Be(t,e),n.call(t.elm)},set(t){const n=io(this);return ct(n,e,t),r.call(n.elm,t)}}}const Ut=new WeakMap,Yt=function(){if(V(Ir))throw new TypeError("Illegal constructor");const e=Ir,{def:t,elm:n}=e,{bridge:r}=t;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[Bt]=void 0,so(this,e),so(n,e),1===e.renderMode?e.renderRoot=function(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:s}}=e,i=s(t,{[ie]:1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=i,so(i,e),i}(e):e.renderRoot=n,this};Yt.prototype={constructor:Yt,dispatchEvent(e){const t=io(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=io(this),{elm:o,renderer:{addEventListener:s}}=r;s(o,e,Yr(r,t),n)},removeEventListener(e,t,n){const r=io(this),{elm:o,renderer:{removeEventListener:s}}=r;s(o,e,Yr(r,t),n)},hasAttribute(e){const t=io(this),{elm:n,renderer:{getAttribute:r}}=t;return!V(r(n,e))},hasAttributeNS(e,t){const n=io(this),{elm:r,renderer:{getAttribute:o}}=n;return!V(o(r,t,e))},removeAttribute(e){const t=io(this),{elm:n,renderer:{removeAttribute:r}}=t;it(n,e),r(n,e),st()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=io(this);it(n,t),r(n,t,e),st()},getAttribute(e){const t=io(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=io(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=io(this),{elm:r,renderer:{setAttribute:o}}=n;it(r,e),o(r,e,t),st()},setAttributeNS(e,t,n){const r=io(this),{elm:o,renderer:{setAttribute:s}}=r;it(o,t),s(o,t,n,e),st()},getBoundingClientRect(){const e=io(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=io(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=io(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return io(this).shadowRoot},get refs(){const e=io(this);if(kr)return;const{refVNodes:t,cmpTemplate:n}=e;if(V(t))return;let o=Ut.get(t);if(W(o)){o=r(null);for(const e of f(t))o[e]=t[e].elm;i(o),Ut.set(t,o)}return o},set refs(e){s(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=io(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=io(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=io(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=io(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=io(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=io(this);return e.renderer.getLastElementChild(e.elm)},render(){return io(this).def.template},toString(){return`[object ${io(this).def.name}]`}};const Kt=r(null),zt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of zt)Kt[e]={value(t){const n=io(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};o(Yt.prototype,Kt);const qt=r(null);for(const e in lt)qt[e]=Gt(e,lt[e]);function Xt(e){return{get(){const t=io(this);return Be(t,e),t.cmpFields[e]},set(t){ct(io(this),e,t)},enumerable:!0,configurable:!0}}o(Yt.prototype,qt),lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL&&Ce(Yt.prototype),s(Yt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const Zt="$$DeprecatedWiredElementHostKey$$",Qt="$$DeprecatedWiredParamsMetaKey$$",Jt=new Map;class en extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),o(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function tn(e,t,n){const{method:r,adapter:o,configCallback:i,dynamic:l}=n;const c=W(r)?function(e,t){return n=>{ct(e,t,n)}}(e,t):function(e,t){return n=>{yo(e,e.owner,z,(()=>{t.call(e.component,n)}),z)}}(e,r),a=e=>{c(e)};let u,d;s(a,Zt,{value:e.elm}),s(a,Qt,{value:l}),yo(e,e,z,(()=>{d=new o(a)}),z);const{computeConfigAndUpdate:f,ro:h}=function(e,t,n){let r=!1;const o=We((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),s()})))})),s=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:s,ro:o}}(e.component,i,(t=>{yo(e,e,z,(()=>{d.update(t,u)}),z)}));return W(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=rn(r);if(W(o))return;const{elm:s,context:{wiredConnecting:i,wiredDisconnecting:l},renderer:{dispatchEvent:c}}=e;T.call(i,(()=>{const e=new en(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){T.call(l,e)}});c(s,e)}))}(e,n,(t=>{u!==t&&(u=t,1===e.state&&f())})),{connector:d,computeConfigAndUpdate:f,resetConfigWatcher:()=>h.reset()}}const nn=new Map;function rn(e){return nn.get(e)}function on(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Jt.set(e,o)}function sn(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Jt.set(e,o)}function ln(e){return{get(){const t=io(this);if(!$r(t))return Be(t,e),t.cmpProps[e]},set(t){const n=io(this);n.cmpProps[e]=t,He(n,e)},enumerable:!0,configurable:!0}}function cn(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!U(n))throw new Error;return{get(){return n.call(this)},set(e){io(this),r&&r.call(this,e)},enumerable:o,configurable:s}}function an(e){return{get(){const t=io(this);return Be(t,e),t.cmpFields[e]},set(t){const n=io(this),r=jt(t);ct(n,e,r)},enumerable:!0,configurable:!0}}function un(e){return{get(){const t=io(this);return Be(t,e),t.cmpFields[e]},set(t){ct(io(this),e,t)},enumerable:!0,configurable:!0}}const dn=new Map;const fn={apiMethods:Ge,apiFields:Ge,apiFieldsConfig:Ge,wiredMethods:Ge,wiredFields:Ge,observedFields:Ge};const hn=new Set;function pn(){return[]}hn.add(pn);const mn=r(null),gn=r(null);function wn(e){let t=mn[e];return W(t)&&(t=mn[e]=function(){const t=io(this),{getHook:n}=t;return n(t.component,e)}),t}function yn(e){let t=gn[e];return W(t)&&(t=gn[e]=function(t){const n=io(this),{setHook:r}=n;t=Vt(t),r(n.component,e,t)}),t}function bn(e){return function(){const t=io(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,L.call(arguments))}}function vn(e,t){return function(n,r,o){if(r===o)return;const s=e[n];W(s)?W(t)||t.apply(this,arguments):function(e,t){return e!==ot||t!==rt}(this,n)&&(this[s]=o)}}function En(e,t,n){let i;U(e)?i=class extends e{}:(i=function(){throw new TypeError("Illegal constructor")},p(i,e),p(i.prototype,e.prototype),s(i.prototype,"constructor",{writable:!0,configurable:!0,value:i}));const l=r(null),{attributeChangedCallback:c}=e.prototype,{observedAttributes:a=[]}=e,u=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[ge(n)]=n,u[n]={get:wn(n),set:yn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:bn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:vn(l,c)},s(i,"observedAttributes",{get:()=>[...a,...f(l)]}),o(i.prototype,u),i}const Cn=En(tt,c(lt),[]);lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL&&Ce(Cn.prototype),i(Cn),h(Cn.prototype);new WeakMap,new WeakMap,new WeakMap,new WeakMap;const Sn=new WeakMap;function Mn(e){const{shadowSupportMode:t,renderMode:s}=e,i=function(e){const t=dn.get(e);return W(t)?fn:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=i,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=a(e);if(V(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(et(t)){const e=Je(t);t=e===t?Yt:e}return t}(e),C=E!==Yt?kn(E):An,S=En(C.bridge,f(l),f(u)),M=n(r(null),C.props,l),T=n(r(null),C.propsConfig,c),k=n(r(null),C.methods,u),A=n(r(null),C.wire,d,h);g=g||C.connectedCallback,w=w||C.disconnectedCallback,y=y||C.renderedCallback,b=b||C.errorCallback,v=v||C.render;let N=C.shadowSupportMode;W(t)||(N=t);let L=C.renderMode;W(s)||(L="light"===s?0:1);const _=function(e){return Wr.get(e)}(e)||C.template,O=e.name||C.name;o(m,p);return{ctor:e,name:O,wire:A,props:M,propsConfig:T,methods:k,bridge:S,template:_,renderMode:L,shadowSupportMode:N,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function Tn(e){if(!U(e))return!1;if(e.prototype instanceof Yt)return!0;let t=e;do{if(et(t)){const e=Je(t);if(e===t)return!0;t=e}if(t===Yt)return!0}while(!V(t)&&(t=a(t)));return!1}function kn(e){let t=Sn.get(e);if(W(t)){if(et(e)){return t=kn(Je(e)),Sn.set(e,t),t}if(!Tn(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=Mn(e),Sn.set(e,t)}return t}const An={ctor:Yt,name:Yt.name,props:qt,propsConfig:Ge,methods:Ge,renderMode:1,shadowSupportMode:"reset",wire:Ge,bridge:Cn,template:pn,render:Yt.prototype.render};function Nn(e){return`${e}-host`}function Ln(e){return yr.h("style",{key:"style",attrs:{type:"text/css"}},[yr.t(e)])}function _n(e,t,n){const r=[];let o;for(let s=0;s<e.length;s++){let i=e[s];if(m(i))T.apply(r,_n(i,t,n));else{const e=i[le];if(lwcRuntimeFlags.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){xe("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}const s=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let c;1===n.renderMode?c=0===n.shadowMode:(W(o)&&(o=On(n)),c=V(o)||0===o.shadowMode),T.call(r,i(s,l,c))}}return r}function On(e){let t=e;for(;!V(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Pn(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}function xn(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1===n&&1===r)for(let e=0;e<t.length;e++)o(t[e]);else{if(e.hydrated)return S.call(t,Ln);{const n=function(e){const t=On(e);return V(t)||1!==t.shadowMode?t:null}(e),r=V(n)?void 0:n.shadowRoot;for(let e=0;e<t.length;e++)o(t[e],r)}}return null}function Rn(e){const{type:t}=e;return 2===t||3===t}function Dn(e,t){return e.key===t.key&&e.sel===t.sel}function Fn(e){return 5===e.type}function In(e){return 6===e.type}const $n=58;const Hn=58;function Bn(e,t){return"input"===e&&("value"===t||"checked"===t)}function Wn(e,t,r){let{props:o}=t.data;const{spread:s}=t.data;if(W(o)&&W(s))return;let i;if(!V(e)){i=e.data.props;const t=e.data.spread;if(i===o&&t===s)return;W(i)&&(i=Ge),W(t)||(i=n({},i,t))}W(s)||(o=n({},o,s));const l=V(e),{elm:c,sel:a}=t,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(Bn(a,e)?u(c,e):i[e])&&e in i||d(c,e,t)}}const Vn=r(null);function jn(e){if(null==e)return Ge;e=K(e)?e:e+"";let t=Vn[e];if(t)return t;t=r(null);let n,o=0;const s=e.length;for(n=0;n<s;n++)F.call(e,n)===je&&(n>o&&(t[H.call(e,o,n)]=!0),o=n+1);return n>o&&(t[H.call(e,o,n)]=!0),Vn[e]=t,t}function Gn(e,t){const{elm:n,data:{on:r}}=e;if(W(r))return;const{addEventListener:o}=t;for(const e in r){o(n,e,r[e])}}function Un(e,t,n,r){cr(t)?ur(e,t,n,r):dr(e,t,n,r)}function Yn(e,t,n,r){var o,s;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&er(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:s}=t;s?dr(e.children,o,n,r):ur(e.children,o,n,r);t.elm=o[o.length-1].elm}(e,t,n,r);break;case 2:!function(e,t,n){const r=t.elm=e.elm;rr(e,t,n),Un(e.children,t.children,r,n)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:r);break;case 3:!function(e,t,n,r){if(e.ctor!==t.ctor){const o=r.nextSibling(e.elm);Xn(e,n,r,!0),zn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;if(rr(e,t,r),!W(o)){sr(t,o);const{shadowMode:n,renderMode:r}=o;0==n&&0!==r&&cr(e.children)&&lr(t.children)}Un(e.children,t.children,n,r),W(o)||function(e){co(e)}(o)}}(e,t,n,null!==(s=t.data.renderer)&&void 0!==s?s:r)}}function Kn(e,t,n,r){var o,s;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:s}=r,i=e.elm=s(e.text);Jn(i,o,r),tr(i,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:s}=r,i=e.elm=s(e.text);Jn(i,o,r),tr(i,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:s,isSyntheticShadowDefined:i}=r,l=e.elm=s(e.fragment,!0);Jn(l,o,r);const{renderMode:c,shadowMode:a}=o;i&&(1!==a&&0!==c||(l[oe]=!0));tr(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;qn(o,t,r,n),e.elm=o[o.length-1].elm}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:s,data:{svg:i}}=e,{createElement:l}=r,c=j(i)?ae:void 0,a=e.elm=l(o,c);Jn(a,s,r),or(a,s,r),function(e,t){var n;const{owner:r,data:{context:o}}=t;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(a,e),rr(null,e,r),tr(a,t,n,r),qn(e.children,a,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:zn(e,t,r,null!==(s=e.data.renderer)&&void 0!==s?s:n)}}function zn(e,t,n,r){const{sel:o,owner:s}=e,{createCustomElement:i}=r;let l;let c,a;lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(c=e=>{to(e)},a=e=>{no(e)});const u=i(o.toLowerCase(),(t=>{l=function(e,t,n){let r=lo(e);if(!W(r))return r;const{sel:o,mode:s,ctor:i,owner:l}=t;return r=oo(e,i,n,{mode:s,owner:l,tagName:o}),r}(t,e,r)}),c,a);e.elm=u,e.vm=l,Jn(u,s,r),or(u,s,r),l&&sr(e,l),rr(null,e,r),tr(u,t,n,r),l&&(lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||ho(l)),qn(e.children,u,r,null),l&&function(e){co(e)}(l)}function qn(e,t,n,r,o=0,s=e.length){for(;o<s;++o){const s=e[o];Qn(s)&&Kn(s,t,n,r)}}function Xn(e,t,n,r=!1){const{type:o,elm:s,sel:i}=e;switch(r&&(5===o?Zn(e.children,t,n,r):nr(s,t,n)),o){case 2:{const t="slot"===i&&1===e.owner.shadowMode;Zn(e.children,s,n,t);break}case 3:{const{vm:t}=e;W(t)||function(e){ro(e)}(t)}}}function Zn(e,t,n,r=!1,o=0,s=e.length){for(;o<s;++o){const s=e[o];Qn(s)&&Xn(s,t,n,r)}}function Qn(e){return null!=e}function Jn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:s}=t,{isSyntheticShadowDefined:i}=n;i&&(1!==s&&0!==o||(e[re]=r[re]))}function er(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function tr(e,t,n,r){r.insert(e,t,n)}function nr(e,t,n){n.remove(e,t)}function rr(e,t,n){V(e)&&(Gn(t,n),function(e,t){const{elm:n,data:{classMap:r}}=e;if(W(r))return;const{getClassList:o}=t,s=o(n);for(const e in r)s.add(e)}(t,n),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(W(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,s,i]=r[e];o(n,t,s,i)}}(t,n)),function(e,t,n){const{elm:r,data:{className:o}}=t,s=V(e)?void 0:e.data.className;if(s===o)return;const{getClassList:i}=n,l=i(r),c=jn(o),a=jn(s);let u;for(u in a)W(c[u])&&l.remove(u);for(u in c)W(a[u])&&l.add(u)}(e,t,n),function(e,t,n){const{elm:r,data:{style:o}}=t;if((V(e)?void 0:e.data.style)===o)return;const{setAttribute:s,removeAttribute:i}=n;K(o)&&""!==o?s(r,"style",o):i(r,"style")}(e,t,n),t.data.external?function(e,t,n){const{data:{attrs:r},elm:o}=t;if(W(r))return;const{removeAttribute:s,setAttribute:i,setProperty:l}=n,c=V(e)?Ge:e.data.attrs;for(const e in r){const t=r[e];c[e]!==t&&(we(e)in o?l(o,e,t):F.call(e,3)===Hn?i(o,e,t,ce):F.call(e,5)===Hn?i(o,e,t,ue):V(t)||W(t)?s(o,e):i(o,e,t))}}(e,t,n):function(e,t,n){const{attrs:r}=t.data;if(W(r))return;const o=V(e)?Ge:e.data.attrs;if(o===r)return;const{elm:s}=t,{setAttribute:i,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(it(s,e),F.call(e,3)===$n?i(s,e,t,ce):F.call(e,5)===$n?i(s,e,t,ue):V(t)||W(t)?l(s,e):i(s,e,t),st())}}(e,t,n),Wn(e,t,n)}function or(e,t,n){const r=Pn(t);if(!V(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||W(o)||(e.$shadowToken$=o)}function sr(e,t){const n=e.aChildren||e.children,{renderMode:o,shadowMode:s}=t,i=function(e){const t=[],n=[];let r,o=!1;for(let t=e.length-1;t>-1;t-=1){const r=e[t];T.call(n,r),o=o||!(!r||!Fn(r))}if(!o)return e;for(;!W(r=M.call(n));)if(!V(r)&&Fn(r)){const e=r.children;for(let t=e.length-2;t>0;t-=1)T.call(n,e[t])}else T.call(t,r);return lr(t),t}(n);e.children=i,t.aChildren=i,1!==s&&0!==o||(!function(e,t,n){var o,s;const{cmpSlots:{slotAssignments:i}}=e,l=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(V(n))continue;let r="";Rn(n)?r=null!==(s=null===(o=n.data.attrs)||void 0===o?void 0:o.slot)&&void 0!==s?s:"":In(n)&&(r=n.slotName);const i=""+r,c=l[i]=l[i]||[];T.call(c,n)}if(e.cmpSlots={owner:n,slotAssignments:l},G(e.isDirty)){const t=f(i);if(t.length!==f(l).length)return void Gr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(W(l[r])||i[r].length!==l[r].length)return void Gr(e);const o=i[r],s=l[r];for(let t=0,n=l[r].length;t<n;t+=1)if(o[t]!==s[t])return void Gr(e)}}}(t,i,e.owner),e.aChildren=i,e.children=Ue)}const ir=new WeakMap;function lr(e){ir.set(e,1)}function cr(e){return ir.has(e)}function ar(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(Qn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function ur(e,t,n,r){let o=0,s=0,i=e.length-1,l=e[0],c=e[i];const a=t.length-1;let u,d,f,h,p=a,m=t[0],g=t[p],w=!1;for(;o<=i&&s<=p;)Qn(l)?Qn(c)?Qn(m)?Qn(g)?Dn(l,m)?(Yn(l,m,n,r),l=e[++o],m=t[++s]):Dn(c,g)?(Yn(c,g,n,r),c=e[--i],g=t[--p]):Dn(l,g)?(Yn(l,g,n,r),tr(l.elm,n,r.nextSibling(c.elm),r),l=e[++o],g=t[--p]):Dn(c,m)?(Yn(c,m,n,r),tr(m.elm,n,l.elm,r),c=e[--i],m=t[++s]):(void 0===u&&(u=ar(e,o,i)),d=u[m.key],W(d)?(Kn(m,n,r,l.elm),m=t[++s]):(f=e[d],Qn(f)&&(f.sel!==m.sel?Kn(m,n,r,l.elm):(Yn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,tr(f.elm,n,l.elm,r))),m=t[++s])):g=t[--p]:m=t[++s]:c=e[--i]:l=e[++o];if(o<=i||s<=p)if(o>i){let e,o=p;do{e=t[++o]}while(!Qn(e)&&o<a);h=Qn(e)?e.elm:null,qn(t,n,r,h,s,p+1)}else Zn(e,n,r,!0,o,i+1)}function dr(e,t,n,r){const o=e.length,s=t.length;if(0===o)return void qn(t,n,r,null);if(0===s)return void Zn(e,n,r,!0);let i=null;for(let o=s-1;o>=0;o-=1){const s=e[o],l=t[o];l!==s&&(Qn(s)?Qn(l)?(Yn(s,l,n,r),i=l.elm):Xn(s,n,r,!0):Qn(l)&&(Kn(l,n,r,i),i=l.elm))}}const fr=Symbol.iterator;function hr(e,t,n=Ue){const r=Nr(),{key:o,ref:s}=t,i={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return W(s)||Qe(r,s,i),i}function pr(e,t,n,r=Ue){const o=Nr(),{key:s,ref:i}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:s,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){T.call(Nr().velements,e)}(l),W(i)||Qe(o,i,l),l}function mr(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:Nr()}}function gr(e){return lr(e),e}let wr=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const yr=i({s:function(e,t,n,r){if(!W(r)&&!W(r.slotAssignments)&&!W(r.slotAssignments[e])&&0!==r.slotAssignments[e].length){const o=[],s=r.slotAssignments[e];for(let e=0;e<s.length;e++){const n=s[e];if(!V(n)){const e=In(n);if(e!==!W(t.slotData))continue;if(e){const e=Nr();Lr(r.owner);try{T.call(o,n.factory(t.slotData,t.key))}finally{Lr(e)}}else T.call(o,n)}}n=o}const o=Nr(),{renderMode:s,shadowMode:i}=o;return 0===s?(gr(n),n):(1===i&&gr(n),hr("slot",t,n))},h:hr,c:pr,i:function(e,t){const n=[];if(gr(n),W(e)||null===e)return n;const r=e[fr]();let o=r.next(),s=0,{value:i,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(i,s,0===s,!0===l);m(e)?T.apply(n,e):T.call(n,e),s+=1,i=o.value}return n},f:function(e){const t=e.length,n=[];gr(n);for(let r=0;r<t;r+=1){const t=e[r];m(t)?T.apply(n,t):T.call(n,t)}return n},t:mr,d:function(e){return null==e?"":String(e)},b:function(e){const t=Nr();if(V(t))throw new Error;const n=t;return function(t){Br(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:"c",owner:Nr()}},dc:function(e,t,n,r=Ue){if(null==t)return null;if(!Tn(t))throw new Error(`Invalid LWC Constructor ${X(t)} for custom element <${e}>.`);return pr(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[mr(""),...t,mr("")],stable:n,owner:Nr()}},ti:function(e){return e>0&&!(j(e)||G(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:Nr()}},gid:function(e){const t=Nr();if(W(e)||""===e)return e;if(V(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?I.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=Nr();if(W(e)||""===e)return e;if(V(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return wr(e)},ssf:function(e,t){return{type:6,factory:t,owner:Nr(),elm:void 0,sel:void 0,key:void 0,slotName:e}}});let br=!1,vr=z;const Er={enableProfiler(){br=!0},disableProfiler(){br=!1},attachDispatcher(e){vr=e,this.enableProfiler()},detachDispatcher(){const e=vr;return vr=z,this.disableProfiler(),e}};function Cr(e,t){br&&vr(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Sr(e,t){br&&vr(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Mr(e,t){br&&vr(e,0,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}function Tr(e,t){br&&vr(e,1,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}let kr=!1,Ar=null;function Nr(){return Ar}function Lr(e){Ar=e}function _r(e){return(t,...n)=>{const o=r(null);return function(){const{context:{hasScopedStyles:r,stylesheetToken:s},shadowMode:i,renderer:l}=Nr(),c=!W(s),a=1===i;let u=0;if(c&&r&&(u|=1),c&&a&&(u|=2),!W(o[u]))return o[u];const d=r&&c?" "+s:"",f=r&&c?` class="${s}"`:"",h=c&&a?" "+s:"";let p="";for(let e=0,r=n.length;e<r;e++)switch(n[e]){case 0:p+=t[e]+d;break;case 1:p+=t[e]+f;break;case 2:p+=t[e]+h;break;case 3:p+=t[e]+f+h}return p+=t[t.length-1],o[u]=e(p,l),o[u]}}}const Or=_r(((e,t)=>{const{createFragment:n}=t;return n(e)})),Pr=_r(((e,t)=>{const{createFragment:n,getFirstChild:r}=t;return r(n("<svg>"+e+"</svg>"))}));function xr(e,t){const n=kr,o=Ar;let s=[];return yo(e,e.owner,(()=>{Ar=e,Cr(1,e)}),(()=>{const{component:n,context:o,cmpSlots:i,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(V(l)||wo(e),c=t,!hn.has(c))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${X(t)}.`);e.cmpTemplate=t,o.tplCache=r(null),o.hasScopedStyles=Dr(t,e),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:s,renderer:{getClassList:i,removeAttribute:l,setAttribute:c}}=e,{stylesheets:a,stylesheetToken:u}=t,{stylesheets:d}=e,f=1===o&&1===s,{hasScopedStyles:h}=r;let p,m,g;const{stylesheetToken:w,hasTokenInClass:y,hasTokenInAttribute:b}=r;W(w)||(y&&i(n).remove(Nn(w)),b&&l(n,Nn(w)));const v=Fr(a),E=Fr(d);(v||E)&&(p=u),W(p)||(h&&(i(n).add(Nn(p)),m=!0),f&&(c(n,Nn(p),""),g=!0)),r.stylesheetToken=p,r.hasTokenInClass=m,r.hasTokenInAttribute=g}(e,t);const n=function(e,t){const{stylesheets:n,stylesheetToken:r}=t,{stylesheets:o}=e;let s=[];return Fr(n)&&(s=_n(n,r,e)),Fr(o)&&T.apply(s,_n(o,r,e)),s}(e,t);o.styleVNodes=0===n.length?null:xn(e,n)}var c;e.refVNodes=t.hasRefs?r(null):null,e.velements=[],kr=!0,s=t.call(void 0,yr,n,i,o.tplCache);const{styleVNodes:a}=o;V(a)||x.apply(s,a)}))}),(()=>{kr=n,Ar=o,Sr(1,e)})),s}function Rr(e){if(Fr(e))for(let t=0;t<e.length;t++)if(j(e[t][le]))return!0;return!1}function Dr(e,t){const{stylesheets:n}=e,r=W(t)?null:t.stylesheets;return Rr(n)||Rr(r)}function Fr(e){return!W(e)&&!V(e)&&e.length>0}let Ir=null;function $r(e){return Ir===e}function Hr(e,t,n){const{component:r,callHook:o,owner:s}=e;yo(e,s,z,(()=>{o(r,t,n)}),z)}function Br(e,t,n,r){const{callHook:o,owner:s}=e;yo(e,s,z,(()=>{o(n,t,[r])}),z)}const Wr=new Map;function Vr(e){return We((()=>{const{isDirty:t}=e;G(t)&&(Gr(e),function(e){if(j(e.isScheduled))return;e.isScheduled=!0,0===uo.length&&Ke(fo);T.call(uo,e)}(e))}))}function jr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,s=Nr();let i,l=!1;return yo(e,o,(()=>{Lr(e)}),(()=>{e.tro.observe((()=>{i=n(r,t),l=!0}))}),(()=>{Lr(s)})),l?xr(e,i):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Gr(e){e.isDirty=!0}const Ur=new WeakMap;function Yr(e,t){if(!U(t))throw new TypeError("Expected an EventListener but received "+typeof t);let n=Ur.get(t);return W(n)&&(n=function(n){Br(e,t,void 0,n)},Ur.set(t,n)),n}const Kr=r(null),zr=["rendered","connected","disconnected"];function qr(e,t){const{component:n,def:r,context:o}=e;for(let e=0,s=t.length;e<s;++e)t[e].call(void 0,n,{},r,o)}let Xr=0;const Zr=new WeakMap;function Qr(e,t,n=[]){return t.apply(e,n)}function Jr(e,t,n){e[t]=n}function eo(e,t){return e[t]}function to(e){const t=io(e);Mr(7,t),1===t.state&&no(e),ho(t),co(t),Tr(7,t)}function no(e){ro(io(e))}function ro(e){const{state:t}=e;if(2!==t){const{tro:t}=e;t.reset(),function(e){G(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=Kr;t&&qr(e,t);po(e)&&function(e){const{wiredDisconnecting:t}=e.context;yo(e,e,z,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),z)}(e);const{disconnectedCallback:n}=e.def;W(n)||(Cr(5,e),Hr(e,n),Sr(5,e))}(e),mo(e),function(e){const{aChildren:t}=e;go(t)}(e)}}function oo(e,t,n,o){const{mode:s,owner:i,tagName:l,hydrated:c}=o,a=kn(t),u={elm:e,def:a,idx:Xr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:s,owner:i,refVNodes:null,children:Ue,aChildren:Ue,velements:Ue,cmpProps:r(null),cmpFields:r(null),cmpSlots:{slotAssignments:r(null)},cmpTemplate:null,hydrated:Boolean(c),renderMode:a.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:Ge,wiredConnecting:Ue,wiredDisconnecting:Ue},tro:null,shadowMode:null,stylesheets:null,component:null,shadowRoot:null,renderRoot:null,callHook:Qr,setHook:Jr,getHook:eo,renderer:n};return u.stylesheets=function(e,t){const{stylesheets:n}=t;if(!W(n)){const e=function(e,t){let n=!0;const r=e=>{if(m(e))for(let t=0;t<e.length;t++)r(e[t]);else U(e)||(n=!1)};m(t)?r(t):n=!1;return n}(0,n);if(e)return Ze(n)}return null}(0,a.ctor),u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let s;if(r)if(0===n.renderMode)s=0;else if(o)if(lwcRuntimeFlags.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)s=0;else{const t=function(e){let t=e.owner;for(;!V(t)&&0===t.renderMode;)t=t.owner;return t}(e);s=V(t)||0!==t.shadowMode?1:0}else s=1;else s=1;else s=0;return s}(u,n),u.tro=Vr(u),function(e,t){const n=Ir;let r;Cr(0,e),Ir=e;try{const o=new t;if(Ir.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Sr(0,e),Ir=n,!W(r))throw _e(e,r),r}}(u,a.ctor),po(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const s=n[t],i=Jt.get(s);if(!W(i)){const{connector:n,computeConfigAndUpdate:s,resetConfigWatcher:l}=tn(e,t,i),c=i.dynamic.length>0;T.call(r,(()=>{n.connect(),lwcRuntimeFlags.ENABLE_WIRE_SYNC_EMIT||!c?s():Promise.resolve().then(s)})),T.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function so(e,t){Zr.set(e,t)}function io(e){return Zr.get(e)}function lo(e){return Zr.get(e)}function co(e){if(j(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&yo(e,e,(()=>{Cr(2,e)}),(()=>{Un(r,t,n,o)}),(()=>{Sr(2,e)}));1===e.state&&ao(e)}(e,jr(e))}}function ao(e){const{def:{renderedCallback:t}}=e,{rendered:n}=Kr;n&&qr(e,n),W(t)||(Cr(4,e),Hr(e,t),Sr(4,e))}let uo=[];function fo(){Mr(8);const e=uo.sort(((e,t)=>e.idx-t.idx));uo=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{co(r)}catch(r){throw t+1<n&&(0===uo.length&&Ke(fo),x.apply(uo,L.call(e,t+1))),Tr(8),r}}Tr(8)}function ho(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Kr;n&&qr(e,n),po(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;W(r)||(Cr(3,e),Hr(e,r),Sr(3,e))}function po(e){return c(e.def.wire).length>0}function mo(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!W(n)){const e=lo(n);W(e)||ro(e)}}}function go(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!V(n)&&!W(n.elm))switch(n.type){case 2:go(n.children);break;case 3:ro(io(n.elm));break}}}function wo(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];V(o)||W(o.elm)||r(o.elm,n)}e.children=Ue,mo(e),e.velements=Ue}function yo(e,t,n,r,o){let s;n();try{r()}catch(e){s=Object(e)}finally{if(o(),!W(s)){_e(e,s);const n=V(t)?void 0:function(e){let t=e;for(;!V(t);){if(!W(t.def.errorCallback))return t;t=t.owner}}(t);if(W(n))throw s;wo(e),Cr(6,e);Hr(n,n.def.errorCallback,[s,s.wcStack]),Sr(6,e)}}}const bo=ne.$nativeGetElementById$,vo=ne.$nativeQuerySelectorAll$;function Eo(e,t,n){let r=lo(e.getRootNode().host);W(r)&&(r=lo(t.getRootNode().host)),W(r)||Ne("CrossRootAriaInSyntheticShadow",{tagName:r.tagName,attributeName:n})}function Co(e,t,n){const r=e.getRootNode();var o;if((o=r)!==document&&j(o.synthetic))if("id"===t){if(!K(n)||0===n.length)return;for(const t of te){const o=`[${t}~="${CSS.escape(n)}"]`,s=vo.call(document,o);for(let n=0;n<s.length;n++){const o=s[n];if(o.getRootNode()!==r){Eo(o,e,t);break}}}}else{const o=function(e){return K(e)?b.call($.call(e,/\s+/),Boolean):[]}(n);for(const n of o){const o=bo.call(document,n);if(!V(o)){o.getRootNode()!==r&&Eo(e,o,t)}}}}let So=!1;"undefined"!=typeof CSS&&U(CSS.escape)&&u.call(Element.prototype,se)&&Ae((function(){if(So)return;So=!0;const{setAttribute:e}=Element.prototype;n(Element.prototype,{setAttribute(t,n){e.call(this,t,n),("id"===t||te.has(t))&&Co(this,t,n)}});const t=l(Element.prototype,"id");if(!W(t)){const{get:e,set:n}=t;U(e)&&U(n)&&s(Element.prototype,"id",{get(){return e.call(this)},set(e){n.call(this,e),Co(this,"id",e)},enumerable:!0,configurable:!0})}}));const Mo=["ariaActiveDescendant","ariaControls","ariaDescribedBy","ariaDetails","ariaErrorMessage","ariaFlowTo","ariaLabelledBy","ariaOwns"];function To(e){return e instanceof Yt||e instanceof Cn}function ko(e,t,n,r){if(!To(e)){const o=function(e){const{host:t}=e.getRootNode(),n=W(t)?void 0:lo(t);if(!W(n))return n;let r=e;for(;!V(r=r.parentElement);)if(To(r)){const e=lo(r);if(!W(e))return e}}(e);let s;n&&(s=V(r)?"null":typeof r),Ne("NonStandardAriaReflection",{tagName:null==o?void 0:o.tagName,propertyName:t,isSetter:n,setValueType:s})}}lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL||Ae((function(){const{prototype:e}=Element;for(const t of Mo){const n=l(e,t),{get:r,set:o}=n;s(e,t,{get(){return ko(this,t,!1,void 0),r.call(this)},set(e){return ko(this,t,!0,e),o.call(this,e)},configurable:!0,enumerable:!0})}}));let Ao=!1;function No(e){const t=jr(e);e.children=t;const{renderRoot:n,renderer:{getFirstChild:r}}=e;Oo(r(n),t,n,e),ao(e)}function Lo(e,t,n){var r,o;let s;switch(t.type){case 0:s=function(e,t,n){var r;if(!Ro(t,e,3,n))return Po(e,t,n);const{setText:o}=n;return o(e,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 1:s=function(e,t,n){var r;if(!Ro(t,e,8,n))return Po(e,t,n);const{setProperty:o}=n;return o(e,_o,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 4:s=function(e,t,n){if(!function(e,t,n,r){const{getProperty:o,getAttribute:s}=r;if(3===o(e,"nodeType"))return!!Ro(n,t,3,r)&&o(e,_o)===o(t,_o);if(8===o(e,"nodeType"))return!!Ro(n,t,8,r)&&o(e,_o)===o(t,_o);if(!Ro(n,t,1,r))return!1;let i=!0;if(o(e,"tagName")!==o(t,"tagName"))return!1;return o(e,"getAttributeNames").call(e).forEach((r=>{s(e,r)!==s(t,r)&&(xe(`Mismatch hydrating element <${o(e,"tagName").toLowerCase()}>: attribute "${r}" has different values, expected "${s(e,r)}" but found "${s(t,r)}"`,n.owner),i=!1)})),i}(t.fragment,e,t,n))return Po(e,t,n);return t.elm=e,e}(e,t,n);break;case 5:s=function(e,t,n){const{children:r,owner:o}=t;return Oo(e,r,n.getProperty(e,"parentNode"),o),t.elm=r[r.length-1].elm}(e,t,n);break;case 2:s=function(e,t,n){if(!Ro(t,e,1,n)||!Do(t,e,n))return Po(e,t,n);t.elm=e;const{owner:r}=t,{context:o}=t.data,s=Boolean(!W(o)&&!W(o.lwc)&&"manual"===o.lwc.dom);if(s){const{data:{props:r}}=t,{getProperty:o}=n;W(r)||W(r.innerHTML)||o(e,"innerHTML")===r.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:Xe(r,"innerHTML")}))}if(xo(t,n),!s){const{getFirstChild:o}=n;Oo(o(e),t.children,e,r)}return e}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:s=function(e,t,n){if(!Ro(t,e,1,n)||!Do(t,e,n))return Po(e,t,n);const{sel:r,mode:o,ctor:s,owner:i}=t,l=oo(e,s,n,{mode:o,owner:i,tagName:r,hydrated:!0});if(t.elm=e,t.vm=l,sr(t,l),xo(t,n),ho(l),0!==l.renderMode){const{getFirstChild:r}=n;Oo(r(e),t.children,e,l)}return No(l),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(s)}const _o="nodeValue";function Oo(e,t,n,r){let o=e,s=null;const{renderer:i}=r;for(let e=0;e<t.length;e++){const r=t[e];V(r)||(o?(o=Lo(o,r,i),s=r.elm):(Ao=!0,Kn(r,n,i,s),s=r.elm))}if(o){Ao=!0;const{nextSibling:e}=i;do{const t=o;o=e(o),nr(t,n,i)}while(o)}}function Po(e,t,n){Ao=!0;const{getProperty:r}=n,o=r(e,"parentNode");return Kn(t,o,n,e),nr(e,o,n),t.elm}function xo(e,t){Gn(e,t),Wn(null,e,t)}function Ro(e,t,n,r){const{getProperty:o}=r;return o(t,"nodeType")===n}function Do(e,t,n){const{getProperty:r}=n;if(e.sel.toLowerCase()!==r(t,"tagName").toLowerCase())return!1;const o=function(e,t,n){const{data:{attrs:r={}}}=e;let o=!0;for(const[e,s]of Object.entries(r)){const{getAttribute:r}=n,i=r(t,e);String(s)!==i&&(o=!1)}return o}(e,t,n),s=function(e,t,n){const{data:r,owner:o}=e;let{className:s,classMap:i}=r;const{getProperty:l,getClassList:c}=n,a=Pn(o),u=function(e){return 3===e.type}(e)?function(e){const{template:t}=kn(e.ctor),{vm:n}=e,{stylesheetToken:r}=t;return!W(r)&&Dr(t,n)?Nn(r):null}(e):null;if(!V(a)||!V(u))if(W(s))if(W(i)){const e=[a,u],t=b.call(e,(e=>!V(e)));t.length&&(s=C.call(t," "))}else i=Object.assign(Object.assign(Object.assign({},i),V(a)?{}:{[a]:!0}),V(u)?{}:{[u]:!0});else{const e=[a,s,u],t=b.call(e,(e=>!V(e)));s=C.call(t," ")}let d=!0;const h=l(t,"className");if(W(s)||String(s)===h)if(W(i))W(s)&&""!==h&&(d=!1);else{const e=c(t);let n="";for(const t in i)n+=" "+t,e.contains(t)||(d=!1);n.trim(),e.length>f(i).length&&(d=!1)}else d=!1;return d}(e,t,n),i=function(e,t,n){const{data:{style:r,styleDecls:o}}=e,{getAttribute:s}=n,i=s(t,"style")||"";let l=!0;if(W(r)||r===i){if(!W(o)){const e=function(e){const t={},n=e.split(ze);for(const e of n)if(e){const[n,r]=e.split(qe);void 0!==n&&void 0!==r&&(t[n.trim()]=r.trim())}return t}(i),t=[];for(let n=0,r=o.length;n<r;n++){const[r,s,i]=o[n];t.push(`${r}: ${s+(i?" important!":"")}`);const c=e[r];W(c)?l=!1:c.startsWith(s)?i&&!c.endsWith("!important")&&(l=!1):l=!1}f(e).length>o.length&&(l=!1),C.call(t,";")}}else l=!1;return l}(e,t,n);return o&&s&&i}let Fo=!1;const Io=["slots","stylesheetToken","stylesheets","renderMode"],$o=["$scoped$"],Ho=["pop","push","shift","unshift","reverse","sort","fill","splice","copyWithin"];let Bo=!1;function Wo(e){switch(e){case"pop":return M;case"push":return T;case"shift":return N;case"unshift":return x;case"reverse":return A;case"sort":return O;case"fill":return y;case"splice":return P;case"copyWithin":return w}}function Vo(e,t,n){Ne(t,{propertyName:n})}function jo(e){Vo(0,"TemplateMutation",e)}function Go(e){Vo(0,"StylesheetMutation",e)}function Uo(e){Yo(e,(e=>{m(e)?function(e){for(const t of Ho){const n=Wo(t);e[t]=function(){return jo("stylesheets"),n.apply(this,arguments)}}}(e):function(e){for(const t of $o){let n=e[t];s(e,t,{enumerable:!0,configurable:!0,get:()=>n,set(e){Go(t),n=e}})}}(e)}))}function Yo(e,t){t(e);for(let n=0;n<e.length;n++){const r=e[n];m(r)?Yo(r,t):t(r)}}const Ko=U(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),zo=Ko&&l(document.adoptedStyleSheets,"length").writable,qo=!W(document.documentMode),Xo=new Map;function Zo(e){const t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function Qo(e,t,n){const r=function(e,t){const{element:n,usedElement:r}=t;return r?qo?Zo(e):n.cloneNode(!0):(t.usedElement=!0,n)}(e,n);t.appendChild(r)}function Jo(e,t){let n=Xo.get(e);return W(n)&&(n={stylesheet:void 0,element:void 0,roots:void 0,global:!1,usedElement:!1},Xo.set(e,n)),t&&W(n.stylesheet)?n.stylesheet=function(e){const t=new CSSStyleSheet;return t.replaceSync(e),t}(e):!t&&W(n.element)&&(n.element=Zo(e)),n}function es(e,t){const n=Jo(e,Ko);let{roots:r}=n;if(W(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),Ko?function(e,t,n){const{adoptedStyleSheets:r}=t,{stylesheet:o}=n;zo?r.push(o):t.adoptedStyleSheets=[...r,o]}(0,t,n):Qo(e,t,n)}const ts=function(){if("undefined"==typeof customElements)return!1;try{const e=HTMLElement;class t extends e{}return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),t),new t,!0}catch(e){return!1}}(),ns=(e,t)=>{const n=document.createElement(e);return t(n),n},rs=new Map,os=new WeakSet;let ss=!1;const is=(e,t)=>{const n=!W(e),r=!W(t);class o extends HTMLElement{constructor(e){super(),ss?e(this):(n||r)&&os.add(this)}}return n&&(o.prototype.connectedCallback=function(){os.has(this)||e(this)}),r&&(o.prototype.disconnectedCallback=function(){os.has(this)||t(this)}),o};let ls;function cs(e){const t=function(e){var t=Object.freeze({__proto__:null,fail:function(e){throw new Error(e)},invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)}});function n(e){return void 0===e}e.createFragment=void 0;if("function"==typeof HTMLTemplateElement)e.createFragment=function(e){const t=document.createElement("template");return t.innerHTML=e,t.content.firstChild};else{const t={caption:["table"],col:["colgroup","table"],colgroup:["table"],option:["select"],tbody:["table"],td:["tr","tbody","table"],th:["tr","tbody","table"],thead:["table"],tfoot:["table"],tr:["tbody","table"]},r=function(e){return(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(e)||["",""])[1].toLowerCase()};e.createFragment=function(e){const o=t[r(e)];if(!n(o))for(const t of o)e=`<${t}>${e}</${t}>`;const s=document.implementation.createHTMLDocument("");s.body.innerHTML=e;let i=s.body;if(!n(o))for(let e=0;e<o.length;e++)i=i.firstChild;return i.firstChild}}return e.addEventListener=function(e,t,n,r){e.addEventListener(t,n,r)},e.assertInstanceOfHTMLElement=function(e,n){t.invariant(e instanceof HTMLElement,n)},e.attachShadow=function(e,t){return null!==e.shadowRoot?e.shadowRoot:e.attachShadow(t)},e.cloneNode=function(e,t){return e.cloneNode(t)},e.createComment=function(e){return document.createComment(e)},e.createElement=function(e,t){return n(t)?document.createElement(e):document.createElementNS(t,e)},e.createText=function(e){return document.createTextNode(e)},e.dispatchEvent=function(e,t){return e.dispatchEvent(t)},e.getAttribute=function(e,t,r){return n(r)?e.getAttribute(t):e.getAttributeNS(r,t)},e.getBoundingClientRect=function(e){return e.getBoundingClientRect()},e.getChildNodes=function(e){return e.childNodes},e.getChildren=function(e){return e.children},e.getClassList=function(e){return e.classList},e.getElementsByClassName=function(e,t){return e.getElementsByClassName(t)},e.getElementsByTagName=function(e,t){return e.getElementsByTagName(t)},e.getFirstChild=function(e){return e.firstChild},e.getFirstElementChild=function(e){return e.firstElementChild},e.getLastChild=function(e){return e.lastChild},e.getLastElementChild=function(e){return e.lastElementChild},e.getProperty=function(e,t){return e[t]},e.insert=function(e,t,n){t.insertBefore(e,n)},e.isConnected=function(e){return e.isConnected},e.nextSibling=function(e){return e.nextSibling},e.querySelector=function(e,t){return e.querySelector(t)},e.querySelectorAll=function(e,t){return e.querySelectorAll(t)},e.remove=function(e,t){t.removeChild(e)},e.removeAttribute=function(e,t,r){n(r)?e.removeAttribute(t):e.removeAttributeNS(r,t)},e.removeEventListener=function(e,t,n,r){e.removeEventListener(t,n,r)},e.setAttribute=function(e,t,r,o){return n(o)?e.setAttribute(t,r):e.setAttributeNS(o,t,r)},e.setCSSStyleProperty=function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},e.setProperty=function(e,t,n){e[t]=n},e.setText=function(e,t){e.nodeValue=t},e}({});return Object.setPrototypeOf(t,e),t}ls=ts?(e,t,n,r)=>{let o=rs.get(e);if(W(o)){if(!W(customElements.get(e)))throw new Error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`);o=is(n,r),customElements.define(e,o),rs.set(e,o)}ss=!0;try{return new o(t)}finally{ss=!1}}:ns;const as=n(cs(null),{insertStylesheet:function(e,t){W(t)?function(e){const t=Jo(e,!1);t.global||(t.global=!0,Qo(e,document.head,t))}(e):es(e,t)},createCustomElement:ls,isNativeShadowDefined:ne.$isNativeShadowRootDefined$,isSyntheticShadowDefined:u.call(Element.prototype,se)});function us(e,t,n){const r=oo(e,t,as,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0});for(const[t,r]of Object.entries(n))e[t]=r;return r}function ds(e,t,n={}){if(!(e instanceof Element))throw new TypeError(`"hydrateComponent" expects a valid DOM element as the first parameter but instead received ${e}.`);if(!U(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!Y(n)||V(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);if(lo(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{!function(e){Ao=!1,ho(e),No(e),Ao&&xe("Hydration completed with errors.",e)}(us(e,t,n))}catch(r){console.error("Recovering from error while hydrating: ",r),function(e,t){if(e.shadowRoot){const t=e.shadowRoot;for(;!V(t.firstChild);)t.removeChild(t.firstChild)}if("light"===t.renderMode)for(;!V(e.firstChild);)e.removeChild(e.firstChild)}(e,t),us(e,t,n),to(e)}}const fs=new WeakSet;function hs(e){var t;const n=function(e){return kn(e).bridge}(e),{observedAttributes:r}=n,{attributeChangedCallback:o}=n.prototype;return(t=class extends HTMLElement{constructor(){super(),this.isConnected?(ds(this,e,{}),fs.add(this)):oo(this,e,as,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){fs.has(this)?fs.delete(this):to(this)}disconnectedCallback(){no(this)}attributeChangedCallback(e,t,n){o.call(this,e,t,n)}}).observedAttributes=r,t}const ps=Node,ms=new WeakMap,gs=new WeakMap;function ws(e,t){const n=t.get(e);return W(n)||n(e),e}if(!lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE){const{appendChild:e,insertBefore:t,removeChild:r,replaceChild:o}=ps.prototype;n(ps.prototype,{appendChild(t){return ws(e.call(this,t),ms)},insertBefore(e,n){return ws(t.call(this,e,n),ms)},removeChild(e){return ws(r.call(this,e),gs)},replaceChild(e,t){const n=o.call(this,e,t);return ws(n,gs),ws(e,ms),n}})}const ys=Node;const bs=new Map;return s(Yt,"CustomElementConstructor",{get(){return function(e){if(e===Yt)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=bs.get(e);return W(t)&&(t=hs(e),bs.set(e,t)),t}(this)}}),i(Yt),h(Yt.prototype),e.LightningElement=Yt,e.__unstable__ProfilerControl=Er,e.__unstable__ReportingControl=ke,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=rn(e);if(!W(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){nn.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:s}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{W(s)||s(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!Y(t)||V(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${X(t)}".`);const n=t.is;if(!U(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const{createCustomElement:r}=as,o=B.call(e);let s,i;return lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(s=e=>{to(e)},i=e=>{no(e)}),r(o,(e=>{oo(e,n,as,{tagName:o,mode:"closed"!==t.mode?"open":"closed",owner:null}),lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||(ms.set(e,to),gs.set(e,no))}),s,i)},e.freezeTemplate=function(e){lwcRuntimeFlags.ENABLE_FROZEN_TEMPLATE?(i(e),W(e.stylesheets)||Yo(e.stylesheets,(e=>{i(e)}))):(!function(e){s(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return W(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=W(e)?void 0:e.shadowAttribute}})}(e),Ae((()=>{!function(e){W(e.stylesheets)||Uo(e.stylesheets);for(const t of Io){let n=e[t];s(e,t,{enumerable:!0,configurable:!0,get:()=>n,set(e){Bo||jo(t),n=e}})}const t=l(e,"stylesheetTokens");s(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get:t.get,set(e){jo("stylesheetTokens"),Bo=!0,t.set.call(this,e),Bo=!1}})}(e)})))},e.getComponentConstructor=function(e){let t=null;if(!W(e)){const n=lo(e);W(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=kn(e),{ctor:n,name:r,props:o,propsConfig:s,methods:i}=t,l={};for(const e in o)l[e]={config:s[e]||0,type:"any",attr:ge(e)};const c={};for(const e in i)c[e]=i[e].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=ds,e.isComponentConstructor=Tn,e.isNodeFromTemplate=function(e){if(G(e instanceof ys))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&G(u.call(a(t),"synthetic")))||as.isSyntheticShadowDefined&&!W(e[re])},e.parseFragment=Or,e.parseSVGFragment=Pr,e.readonly=function(e){return Vt(e)},e.register=function(e){for(let t=0;t<zr.length;++t){const n=zr[t];if(n in e){let t=Kr[n];W(t)&&(Kr[n]=t=[]),T.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return U(e)&&Wr.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:o,publicMethods:i,wire:c,track:a,fields:u}=t,d=r(null),f=r(null),h=r(null),p=r(null),m=r(null),g=r(null);let w;if(!W(o))for(const e in o){const t=o[e];if(g[e]=t.config,w=l(n,e),t.config>0){if(W(w))throw new Error;w=cn(0,w)}else w=W(w)||W(w.get)?ln(e):cn(0,w);f[e]=w,s(n,e,w)}if(W(i)||R.call(i,(e=>{if(w=l(n,e),W(w))throw new Error;d[e]=w})),!W(c))for(const e in c){const{adapter:t,method:r,config:o,dynamic:i=[]}=c[e];if(w=l(n,e),1===r){if(W(w))throw new Error;h[e]=w,on(w,t,o,i)}else w=un(e),p[e]=w,sn(w,t,o,i),s(n,e,w)}if(!W(a))for(const e in a)w=l(n,e),w=an(e),s(n,e,w);if(!W(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(n,t);const r=!W(o)&&t in o,s=!W(a)&&t in a;r||s||(m[t]=Xt(t))}return function(e,t){dn.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return hn.add(e),e},e.renderer=as,e.rendererFactory=cs,e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(W(ye[e])){const n=f(ye).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=be[e];if(!W(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}".`);s(be,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){var n;t.isFalse(Fo,"Hooks are already overridden, only one definition is allowed."),Fo=!0,n=e.sanitizeHtmlContent,wr=n},e.swapComponent=function(e,t){return!1},e.swapStyle=function(e,t){return!1},e.swapTemplate=function(e,t){return!1},e.track=function(e){if(1===arguments.length)return jt(e);throw new Error},e.unwrap=function(e){return Wt.unwrapProxy(e)},e.wire=function(e,t){throw new Error},e}({});
|
|
1
|
+
var LWC=function(e){"use strict";var t=Object.freeze({__proto__:null,fail:function(e){throw new Error(e)},invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)}});const{assign:n,create:r,defineProperties:o,defineProperty:s,freeze:i,getOwnPropertyDescriptor:l,getOwnPropertyNames:c,getPrototypeOf:a,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{concat:g,copyWithin:w,fill:y,filter:b,find:v,indexOf:E,join:C,map:S,pop:M,push:T,reduce:k,reverse:A,shift:N,slice:L,some:_,sort:O,splice:P,unshift:x,forEach:R}=Array.prototype,{fromCharCode:D}=String,{charCodeAt:F,replace:I,split:$,slice:H,toLowerCase:B}=String.prototype;function W(e){return void 0===e}function V(e){return null===e}function j(e){return!0===e}function G(e){return!1===e}function U(e){return"function"==typeof e}function Y(e){return"object"==typeof e}function K(e){return"string"==typeof e}function z(){}const q={}.toString;function X(e){return e&&e.toString?m(e)?C.call(S.call(e,X),","):e.toString():"object"==typeof e?q.call(e):e+""}function Z(e,t){do{const n=l(e,t);if(!W(n))return n;e=a(e)}while(null!==e)}const Q=["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:J,AriaPropNameToAttrNameMap:ee}=(()=>{const e=r(null),t=r(null);return R.call(Q,(n=>{const r=B.call(I.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),te=new Set(["aria-activedescendant","aria-controls","aria-describedby","aria-details","aria-errormessage","aria-flowto","aria-labelledby","aria-owns","for"]),ne="object"==typeof globalThis?globalThis:window,re="$shadowResolver$",oe="$shadowStaticNode$",se="$shadowToken$",ie="$$lwc-synthetic-mode",le="$scoped$",ce="http://www.w3.org/XML/1998/namespace",ae="http://www.w3.org/2000/svg",ue="http://www.w3.org/1999/xlink",de=/-([a-z])/g,{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:fe,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:he}=(()=>{const e=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"]]),t=new Map;return e.forEach(((e,n)=>t.set(e,n))),{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:t,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:e}})(),pe=new Map,me=new Map;function ge(e){const t=ee[e];if(!W(t))return t;const n=he.get(e);if(!W(n))return n;const r=pe.get(e);if(!W(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=F.call(e,t);o+=n>=65&&n<=90?"-"+D(n+32):D(n)}return pe.set(e,o),o}function we(e){const t=J[e];if(!W(t))return t;const n=fe.get(e);if(!W(n))return n;const r=me.get(e);if(!W(r))return r;const o=I.call(e,de,(e=>e[1].toUpperCase()));return me.set(e,o),o}const ye={DUMMY_TEST_FLAG:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_WIRE_SYNC_EMIT:null,ENABLE_LIGHT_GET_ROOT_NODE_PATCH:null,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null,ENABLE_FROZEN_TEMPLATE:null,DISABLE_ARIA_REFLECTION_POLYFILL:null};ne.lwcRuntimeFlags||Object.defineProperty(ne,"lwcRuntimeFlags",{value:r(null)});const be=ne.lwcRuntimeFlags;function ve(e,t){return W(l(t,e))}function Ee(e,t){const n=function(e){return{get(){return this.hasAttribute(e)?this.getAttribute(e):null},set(t){V(t)?this.removeAttribute(e):this.setAttribute(e,t)},configurable:!0,enumerable:!0}}(ee[e]);s(t,e,n)}function Ce(e=Element.prototype){const t=f(ee);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];ve(r,e)&&Ee(r,e)}}lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL||Ce();const Se=[];let Me=z,Te=!1;const ke={attachDispatcher(e){Te=!0,Me=e;for(const e of Se)try{e()}catch(e){console.error("Could not invoke callback",e)}Se.length=0},detachDispatcher(){Te=!1,Me=z}};function Ae(e){Te?e():Se.push(e)}function Ne(e,t){Te&&Me(e,t)}function Le(e){return`<${B.call(e.tagName)}>`}function _e(e,t){if(!d(t)&&W(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!V(n);)T.call(t,Le(n)),n=n.owner;return t.reverse().join("\n\t")}(e);s(t,"wcStack",{get:()=>n})}}const Oe=new Set;function Pe(e,t,n,r){let o=`[LWC ${e}]: ${t}`;if(W(n)||(o=`${o}\n${function(e){const t=[];let n="";for(;!V(e.owner);)T.call(t,n+Le(e)),e=e.owner,n+="\t";return C.call(t,"\n")}(n)}`),r){if(Oe.has(o))return;Oe.add(o)}try{throw new Error(o)}catch(t){console[e](t)}}function xe(e,t){Pe("error",e,t,!1)}const Re=new WeakMap;let De=null;function Fe(e,t){const n=Re.get(e);if(!W(n)){const e=n[t];if(!W(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function Ie(e,t){if(null===De)return;const n=De,o=function(e){let t=Re.get(e);if(W(t)){const n=r(null);t=n,Re.set(e,n)}return t}(e);let s=o[t];if(W(s))s=[],o[t]=s;else if(s[0]===n)return;-1===E.call(s,n)&&n.link(s)}class $e{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=De;let n;De=this;try{e()}catch(e){n=Object(e)}finally{if(De=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=E.call(e[n],this);P.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){T.call(e,this),T.call(this.listeners,e)}}function He(e,t){Fe(e.component,t)}function Be(e,t){Ie(e.component,t)}function We(e){return new $e(e)}let Ve=[];const je=32,Ge=h(r(null)),Ue=h([]);function Ye(){const e=Ve;Ve=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function Ke(e){0===Ve.length&&Promise.resolve().then(Ye),T.call(Ve,e)}const ze=/;(?![^(]*\))/g,qe=/:(.+)/;function Xe(e,t){const n={};for(const r of f(e))r!==t&&(n[r]=e[r]);return n}function Ze(e){const t=[];for(const n of e)m(n)?t.push(...Ze(n)):t.push(n);return t}function Qe(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}function Je(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function et(e){return U(e)&&u.call(e,"__circular__")}const tt="undefined"!=typeof HTMLElement?HTMLElement:function(){},nt=tt.prototype;let rt,ot=null;function st(e,t){ot=null,rt=void 0}function it(e,t){ot=e,rt=t}const lt=r(null);function ct(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n,He(e,t))}R.call(f(ee),(e=>{const t=Z(nt,e);W(t)||(lt[e]=t)})),R.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=Z(nt,e);W(t)||(lt[e]=t)}));const{isArray:at}=Array,{prototype:ut,getPrototypeOf:dt,create:ft,defineProperty:ht,isExtensible:pt,getOwnPropertyDescriptor:mt,getOwnPropertyNames:gt,getOwnPropertySymbols:wt,preventExtensions:yt,hasOwnProperty:bt}=Object,{push:vt,concat:Et}=Array.prototype;function Ct(e){return void 0===e}function St(e){return"function"==typeof e}const Mt=new WeakMap;function Tt(e,t){Mt.set(e,t)}const kt=e=>Mt.get(e)||e;class At{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(bt.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;Ct(n)||(e.get=this.wrapGetter(n)),Ct(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=mt(n,t);if(!Ct(r)){const n=this.wrapDescriptor(r);ht(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;Et.call(gt(t),wt(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;Ct(n)||bt.call(e,n)||ht(e,n,ft(null)),yt(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=Ct(n)||bt.call(t,n)?[]:[n];return vt.apply(r,gt(t)),vt.apply(r,wt(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!pt(e)&&(!!pt(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return dt(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let s=mt(n,t);if(Ct(s)){if(t!==o)return;return s={value:void 0,writable:!1,configurable:!1,enumerable:!1},ht(e,o,s),s}return!1===s.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(s)}}const Nt=new WeakMap,Lt=new WeakMap,_t=new WeakMap,Ot=new WeakMap;class Pt extends At{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Nt.get(e);if(!Ct(t))return t;const n=this,r=function(){return n.wrapValue(e.call(kt(this)))};return Nt.set(e,r),_t.set(r,e),r}wrapSetter(e){const t=Lt.get(e);if(!Ct(t))return t;const n=function(t){e.call(kt(this),kt(t))};return Lt.set(e,n),Ot.set(n,e),n}unwrapDescriptor(e){if(bt.call(e,"value"))e.value=kt(e.value);else{const{set:t,get:n}=e;Ct(n)||(e.get=this.unwrapGetter(n)),Ct(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=_t.get(e);if(!Ct(t))return t;const n=this,r=function(){return kt(e.call(n.wrapValue(this)))};return Nt.set(r,e),_t.set(e,r),r}unwrapSetter(e){const t=Ot.get(e);if(!Ct(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Lt.set(r,e),Ot.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&&at(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(pt(e)){const{originalTarget:t}=this;if(yt(t),pt(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:s}}=this;return t===s&&!bt.call(r,t)||(ht(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const xt=new WeakMap,Rt=new WeakMap;class Dt extends At{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=xt.get(e);if(!Ct(t))return t;const n=this,r=function(){return n.wrapValue(e.call(kt(this)))};return xt.set(e,r),r}wrapSetter(e){const t=Rt.get(e);if(!Ct(t))return t;const n=function(e){};return Rt.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 Ft(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(at(e))return!0;const t=dt(e);return t===ut||null===t||null===dt(t)}const It=(e,t)=>{},$t=(e,t)=>{};function Ht(e){return at(e)?[]:{}}const Bt=Symbol.for("@@lockerLiveValue"),Wt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=St(t)?t:$t,this.valueObserved=St(n)?n:It,this.valueIsObservable=St(r)?r:Ft,this.tagPropertyKey=o}getProxy(e){const t=kt(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=kt(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return kt(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(Ct(t)){const n=new Pt(this,e);t=new Proxy(Ht(e),n),Tt(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(Ct(t)){const n=new Dt(this,e);t=new Proxy(Ht(e),n),Tt(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:Ie,valueMutated:Fe,tagPropertyKey:Bt});function Vt(e){return Wt.getReadOnlyProxy(e)}function jt(e){return Wt.getProxy(e)}function Gt(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!U(n))throw new TypeError;if(!U(r))throw new TypeError;return{enumerable:o,configurable:s,get(){const t=io(this);if(!$r(t))return Be(t,e),n.call(t.elm)},set(t){const n=io(this);return ct(n,e,t),r.call(n.elm,t)}}}const Ut=new WeakMap,Yt=function(){if(V(Ir))throw new TypeError("Illegal constructor");const e=Ir,{def:t,elm:n}=e,{bridge:r}=t;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[Bt]=void 0,so(this,e),so(n,e),1===e.renderMode?e.renderRoot=function(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:s}}=e,i=s(t,{[ie]:1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=i,so(i,e),i}(e):e.renderRoot=n,this};Yt.prototype={constructor:Yt,dispatchEvent(e){const t=io(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=io(this),{elm:o,renderer:{addEventListener:s}}=r;s(o,e,Yr(r,t),n)},removeEventListener(e,t,n){const r=io(this),{elm:o,renderer:{removeEventListener:s}}=r;s(o,e,Yr(r,t),n)},hasAttribute(e){const t=io(this),{elm:n,renderer:{getAttribute:r}}=t;return!V(r(n,e))},hasAttributeNS(e,t){const n=io(this),{elm:r,renderer:{getAttribute:o}}=n;return!V(o(r,t,e))},removeAttribute(e){const t=io(this),{elm:n,renderer:{removeAttribute:r}}=t;it(n,e),r(n,e),st()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=io(this);it(n,t),r(n,t,e),st()},getAttribute(e){const t=io(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=io(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=io(this),{elm:r,renderer:{setAttribute:o}}=n;it(r,e),o(r,e,t),st()},setAttributeNS(e,t,n){const r=io(this),{elm:o,renderer:{setAttribute:s}}=r;it(o,t),s(o,t,n,e),st()},getBoundingClientRect(){const e=io(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=io(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=io(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return io(this).shadowRoot},get refs(){const e=io(this);if(kr)return;const{refVNodes:t,cmpTemplate:n}=e;if(V(t))return;let o=Ut.get(t);if(W(o)){o=r(null);for(const e of f(t))o[e]=t[e].elm;i(o),Ut.set(t,o)}return o},set refs(e){s(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=io(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=io(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=io(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=io(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=io(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=io(this);return e.renderer.getLastElementChild(e.elm)},render(){return io(this).def.template},toString(){return`[object ${io(this).def.name}]`}};const Kt=r(null),zt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of zt)Kt[e]={value(t){const n=io(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};o(Yt.prototype,Kt);const qt=r(null);for(const e in lt)qt[e]=Gt(e,lt[e]);function Xt(e){return{get(){const t=io(this);return Be(t,e),t.cmpFields[e]},set(t){ct(io(this),e,t)},enumerable:!0,configurable:!0}}o(Yt.prototype,qt),lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL&&Ce(Yt.prototype),s(Yt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const Zt="$$DeprecatedWiredElementHostKey$$",Qt="$$DeprecatedWiredParamsMetaKey$$",Jt=new Map;class en extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),o(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function tn(e,t,n){const{method:r,adapter:o,configCallback:i,dynamic:l}=n;const c=W(r)?function(e,t){return n=>{ct(e,t,n)}}(e,t):function(e,t){return n=>{yo(e,e.owner,z,(()=>{t.call(e.component,n)}),z)}}(e,r),a=e=>{c(e)};let u,d;s(a,Zt,{value:e.elm}),s(a,Qt,{value:l}),yo(e,e,z,(()=>{d=new o(a)}),z);const{computeConfigAndUpdate:f,ro:h}=function(e,t,n){let r=!1;const o=We((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),s()})))})),s=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:s,ro:o}}(e.component,i,(t=>{yo(e,e,z,(()=>{d.update(t,u)}),z)}));return W(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=rn(r);if(W(o))return;const{elm:s,context:{wiredConnecting:i,wiredDisconnecting:l},renderer:{dispatchEvent:c}}=e;T.call(i,(()=>{const e=new en(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){T.call(l,e)}});c(s,e)}))}(e,n,(t=>{u!==t&&(u=t,1===e.state&&f())})),{connector:d,computeConfigAndUpdate:f,resetConfigWatcher:()=>h.reset()}}const nn=new Map;function rn(e){return nn.get(e)}function on(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Jt.set(e,o)}function sn(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Jt.set(e,o)}function ln(e){return{get(){const t=io(this);if(!$r(t))return Be(t,e),t.cmpProps[e]},set(t){const n=io(this);n.cmpProps[e]=t,He(n,e)},enumerable:!0,configurable:!0}}function cn(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!U(n))throw new Error;return{get(){return n.call(this)},set(e){io(this),r&&r.call(this,e)},enumerable:o,configurable:s}}function an(e){return{get(){const t=io(this);return Be(t,e),t.cmpFields[e]},set(t){const n=io(this),r=jt(t);ct(n,e,r)},enumerable:!0,configurable:!0}}function un(e){return{get(){const t=io(this);return Be(t,e),t.cmpFields[e]},set(t){ct(io(this),e,t)},enumerable:!0,configurable:!0}}const dn=new Map;const fn={apiMethods:Ge,apiFields:Ge,apiFieldsConfig:Ge,wiredMethods:Ge,wiredFields:Ge,observedFields:Ge};const hn=new Set;function pn(){return[]}hn.add(pn);const mn=r(null),gn=r(null);function wn(e){let t=mn[e];return W(t)&&(t=mn[e]=function(){const t=io(this),{getHook:n}=t;return n(t.component,e)}),t}function yn(e){let t=gn[e];return W(t)&&(t=gn[e]=function(t){const n=io(this),{setHook:r}=n;t=Vt(t),r(n.component,e,t)}),t}function bn(e){return function(){const t=io(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,L.call(arguments))}}function vn(e,t){return function(n,r,o){if(r===o)return;const s=e[n];W(s)?W(t)||t.apply(this,arguments):function(e,t){return e!==ot||t!==rt}(this,n)&&(this[s]=o)}}function En(e,t,n){let i;U(e)?i=class extends e{}:(i=function(){throw new TypeError("Illegal constructor")},p(i,e),p(i.prototype,e.prototype),s(i.prototype,"constructor",{writable:!0,configurable:!0,value:i}));const l=r(null),{attributeChangedCallback:c}=e.prototype,{observedAttributes:a=[]}=e,u=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[ge(n)]=n,u[n]={get:wn(n),set:yn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:bn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:vn(l,c)},s(i,"observedAttributes",{get:()=>[...a,...f(l)]}),o(i.prototype,u),i}const Cn=En(tt,c(lt),[]);lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL&&Ce(Cn.prototype),i(Cn),h(Cn.prototype);new WeakMap,new WeakMap,new WeakMap,new WeakMap;const Sn=new WeakMap;function Mn(e){const{shadowSupportMode:t,renderMode:s}=e,i=function(e){const t=dn.get(e);return W(t)?fn:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=i,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=a(e);if(V(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(et(t)){const e=Je(t);t=e===t?Yt:e}return t}(e),C=E!==Yt?kn(E):An,S=En(C.bridge,f(l),f(u)),M=n(r(null),C.props,l),T=n(r(null),C.propsConfig,c),k=n(r(null),C.methods,u),A=n(r(null),C.wire,d,h);g=g||C.connectedCallback,w=w||C.disconnectedCallback,y=y||C.renderedCallback,b=b||C.errorCallback,v=v||C.render;let N=C.shadowSupportMode;W(t)||(N=t);let L=C.renderMode;W(s)||(L="light"===s?0:1);const _=function(e){return Wr.get(e)}(e)||C.template,O=e.name||C.name;o(m,p);return{ctor:e,name:O,wire:A,props:M,propsConfig:T,methods:k,bridge:S,template:_,renderMode:L,shadowSupportMode:N,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function Tn(e){if(!U(e))return!1;if(e.prototype instanceof Yt)return!0;let t=e;do{if(et(t)){const e=Je(t);if(e===t)return!0;t=e}if(t===Yt)return!0}while(!V(t)&&(t=a(t)));return!1}function kn(e){let t=Sn.get(e);if(W(t)){if(et(e)){return t=kn(Je(e)),Sn.set(e,t),t}if(!Tn(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=Mn(e),Sn.set(e,t)}return t}const An={ctor:Yt,name:Yt.name,props:qt,propsConfig:Ge,methods:Ge,renderMode:1,shadowSupportMode:"reset",wire:Ge,bridge:Cn,template:pn,render:Yt.prototype.render};function Nn(e){return`${e}-host`}function Ln(e){return yr.h("style",{key:"style",attrs:{type:"text/css"}},[yr.t(e)])}function _n(e,t,n){const r=[];let o;for(let s=0;s<e.length;s++){let i=e[s];if(m(i))T.apply(r,_n(i,t,n));else{const e=i[le];if(lwcRuntimeFlags.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){xe("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}const s=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let c;1===n.renderMode?c=0===n.shadowMode:(W(o)&&(o=On(n)),c=V(o)||0===o.shadowMode),T.call(r,i(s,l,c))}}return r}function On(e){let t=e;for(;!V(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Pn(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}function xn(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1===n&&1===r)for(let e=0;e<t.length;e++)o(t[e]);else{if(e.hydrated)return S.call(t,Ln);{const n=function(e){const t=On(e);return V(t)||1!==t.shadowMode?t:null}(e),r=V(n)?void 0:n.shadowRoot;for(let e=0;e<t.length;e++)o(t[e],r)}}return null}function Rn(e){const{type:t}=e;return 2===t||3===t}function Dn(e,t){return e.key===t.key&&e.sel===t.sel}function Fn(e){return 5===e.type}function In(e){return 6===e.type}const $n=58;const Hn=58;function Bn(e,t){return"input"===e&&("value"===t||"checked"===t)}function Wn(e,t,r){let{props:o}=t.data;const{spread:s}=t.data;if(W(o)&&W(s))return;let i;if(!V(e)){i=e.data.props;const t=e.data.spread;if(i===o&&t===s)return;W(i)&&(i=Ge),W(t)||(i=n({},i,t))}W(s)||(o=n({},o,s));const l=V(e),{elm:c,sel:a}=t,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(Bn(a,e)?u(c,e):i[e])&&e in i||d(c,e,t)}}const Vn=r(null);function jn(e){if(null==e)return Ge;e=K(e)?e:e+"";let t=Vn[e];if(t)return t;t=r(null);let n,o=0;const s=e.length;for(n=0;n<s;n++)F.call(e,n)===je&&(n>o&&(t[H.call(e,o,n)]=!0),o=n+1);return n>o&&(t[H.call(e,o,n)]=!0),Vn[e]=t,t}function Gn(e,t){const{elm:n,data:{on:r}}=e;if(W(r))return;const{addEventListener:o}=t;for(const e in r){o(n,e,r[e])}}function Un(e,t,n,r){cr(t)?ur(e,t,n,r):dr(e,t,n,r)}function Yn(e,t,n,r){var o,s;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&er(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:s}=t;s?dr(e.children,o,n,r):ur(e.children,o,n,r);t.elm=o[o.length-1].elm}(e,t,n,r);break;case 2:!function(e,t,n){const r=t.elm=e.elm;rr(e,t,n),Un(e.children,t.children,r,n)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:r);break;case 3:!function(e,t,n,r){if(e.ctor!==t.ctor){const o=r.nextSibling(e.elm);Xn(e,n,r,!0),zn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;if(rr(e,t,r),!W(o)){sr(t,o);const{shadowMode:n,renderMode:r}=o;0==n&&0!==r&&cr(e.children)&&lr(t.children)}Un(e.children,t.children,n,r),W(o)||function(e){co(e)}(o)}}(e,t,n,null!==(s=t.data.renderer)&&void 0!==s?s:r)}}function Kn(e,t,n,r){var o,s;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:s}=r,i=e.elm=s(e.text);Jn(i,o,r),tr(i,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:s}=r,i=e.elm=s(e.text);Jn(i,o,r),tr(i,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:s,isSyntheticShadowDefined:i}=r,l=e.elm=s(e.fragment,!0);Jn(l,o,r);const{renderMode:c,shadowMode:a}=o;i&&(1!==a&&0!==c||(l[oe]=!0));tr(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;qn(o,t,r,n),e.elm=o[o.length-1].elm}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:s,data:{svg:i}}=e,{createElement:l}=r,c=j(i)?ae:void 0,a=e.elm=l(o,c);Jn(a,s,r),or(a,s,r),function(e,t){var n;const{owner:r,data:{context:o}}=t;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(a,e),rr(null,e,r),tr(a,t,n,r),qn(e.children,a,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:zn(e,t,r,null!==(s=e.data.renderer)&&void 0!==s?s:n)}}function zn(e,t,n,r){const{sel:o,owner:s}=e,{createCustomElement:i}=r;let l;let c,a;lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(c=e=>{to(e)},a=e=>{no(e)});const u=i(o.toLowerCase(),(t=>{l=function(e,t,n){let r=lo(e);if(!W(r))return r;const{sel:o,mode:s,ctor:i,owner:l}=t;return r=oo(e,i,n,{mode:s,owner:l,tagName:o}),r}(t,e,r)}),c,a);e.elm=u,e.vm=l,Jn(u,s,r),or(u,s,r),l&&sr(e,l),rr(null,e,r),tr(u,t,n,r),l&&(lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||ho(l)),qn(e.children,u,r,null),l&&function(e){co(e)}(l)}function qn(e,t,n,r,o=0,s=e.length){for(;o<s;++o){const s=e[o];Qn(s)&&Kn(s,t,n,r)}}function Xn(e,t,n,r=!1){const{type:o,elm:s,sel:i}=e;switch(r&&(5===o?Zn(e.children,t,n,r):nr(s,t,n)),o){case 2:{const t="slot"===i&&1===e.owner.shadowMode;Zn(e.children,s,n,t);break}case 3:{const{vm:t}=e;W(t)||function(e){ro(e)}(t)}}}function Zn(e,t,n,r=!1,o=0,s=e.length){for(;o<s;++o){const s=e[o];Qn(s)&&Xn(s,t,n,r)}}function Qn(e){return null!=e}function Jn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:s}=t,{isSyntheticShadowDefined:i}=n;i&&(1!==s&&0!==o||(e[re]=r[re]))}function er(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function tr(e,t,n,r){r.insert(e,t,n)}function nr(e,t,n){n.remove(e,t)}function rr(e,t,n){V(e)&&(Gn(t,n),function(e,t){const{elm:n,data:{classMap:r}}=e;if(W(r))return;const{getClassList:o}=t,s=o(n);for(const e in r)s.add(e)}(t,n),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(W(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,s,i]=r[e];o(n,t,s,i)}}(t,n)),function(e,t,n){const{elm:r,data:{className:o}}=t,s=V(e)?void 0:e.data.className;if(s===o)return;const{getClassList:i}=n,l=i(r),c=jn(o),a=jn(s);let u;for(u in a)W(c[u])&&l.remove(u);for(u in c)W(a[u])&&l.add(u)}(e,t,n),function(e,t,n){const{elm:r,data:{style:o}}=t;if((V(e)?void 0:e.data.style)===o)return;const{setAttribute:s,removeAttribute:i}=n;K(o)&&""!==o?s(r,"style",o):i(r,"style")}(e,t,n),t.data.external?function(e,t,n){const{data:{attrs:r},elm:o}=t;if(W(r))return;const{removeAttribute:s,setAttribute:i,setProperty:l}=n,c=V(e)?Ge:e.data.attrs;for(const e in r){const t=r[e];c[e]!==t&&(we(e)in o?l(o,e,t):F.call(e,3)===Hn?i(o,e,t,ce):F.call(e,5)===Hn?i(o,e,t,ue):V(t)||W(t)?s(o,e):i(o,e,t))}}(e,t,n):function(e,t,n){const{attrs:r}=t.data;if(W(r))return;const o=V(e)?Ge:e.data.attrs;if(o===r)return;const{elm:s}=t,{setAttribute:i,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(it(s,e),F.call(e,3)===$n?i(s,e,t,ce):F.call(e,5)===$n?i(s,e,t,ue):V(t)||W(t)?l(s,e):i(s,e,t),st())}}(e,t,n),Wn(e,t,n)}function or(e,t,n){const r=Pn(t);if(!V(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||W(o)||(e.$shadowToken$=o)}function sr(e,t){const n=e.aChildren||e.children,{renderMode:o,shadowMode:s}=t,i=function(e){const t=[],n=[];let r,o=!1;for(let t=e.length-1;t>-1;t-=1){const r=e[t];T.call(n,r),o=o||!(!r||!Fn(r))}if(!o)return e;for(;!W(r=M.call(n));)if(!V(r)&&Fn(r)){const e=r.children;for(let t=e.length-2;t>0;t-=1)T.call(n,e[t])}else T.call(t,r);return lr(t),t}(n);e.children=i,t.aChildren=i,1!==s&&0!==o||(!function(e,t,n){var o,s;const{cmpSlots:{slotAssignments:i}}=e,l=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(V(n))continue;let r="";Rn(n)?r=null!==(s=null===(o=n.data.attrs)||void 0===o?void 0:o.slot)&&void 0!==s?s:"":In(n)&&(r=n.slotName);const i=""+r,c=l[i]=l[i]||[];T.call(c,n)}if(e.cmpSlots={owner:n,slotAssignments:l},G(e.isDirty)){const t=f(i);if(t.length!==f(l).length)return void Gr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(W(l[r])||i[r].length!==l[r].length)return void Gr(e);const o=i[r],s=l[r];for(let t=0,n=l[r].length;t<n;t+=1)if(o[t]!==s[t])return void Gr(e)}}}(t,i,e.owner),e.aChildren=i,e.children=Ue)}const ir=new WeakMap;function lr(e){ir.set(e,1)}function cr(e){return ir.has(e)}function ar(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(Qn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function ur(e,t,n,r){let o=0,s=0,i=e.length-1,l=e[0],c=e[i];const a=t.length-1;let u,d,f,h,p=a,m=t[0],g=t[p],w=!1;for(;o<=i&&s<=p;)Qn(l)?Qn(c)?Qn(m)?Qn(g)?Dn(l,m)?(Yn(l,m,n,r),l=e[++o],m=t[++s]):Dn(c,g)?(Yn(c,g,n,r),c=e[--i],g=t[--p]):Dn(l,g)?(Yn(l,g,n,r),tr(l.elm,n,r.nextSibling(c.elm),r),l=e[++o],g=t[--p]):Dn(c,m)?(Yn(c,m,n,r),tr(m.elm,n,l.elm,r),c=e[--i],m=t[++s]):(void 0===u&&(u=ar(e,o,i)),d=u[m.key],W(d)?(Kn(m,n,r,l.elm),m=t[++s]):(f=e[d],Qn(f)&&(f.sel!==m.sel?Kn(m,n,r,l.elm):(Yn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,tr(f.elm,n,l.elm,r))),m=t[++s])):g=t[--p]:m=t[++s]:c=e[--i]:l=e[++o];if(o<=i||s<=p)if(o>i){let e,o=p;do{e=t[++o]}while(!Qn(e)&&o<a);h=Qn(e)?e.elm:null,qn(t,n,r,h,s,p+1)}else Zn(e,n,r,!0,o,i+1)}function dr(e,t,n,r){const o=e.length,s=t.length;if(0===o)return void qn(t,n,r,null);if(0===s)return void Zn(e,n,r,!0);let i=null;for(let o=s-1;o>=0;o-=1){const s=e[o],l=t[o];l!==s&&(Qn(s)?Qn(l)?(Yn(s,l,n,r),i=l.elm):Xn(s,n,r,!0):Qn(l)&&(Kn(l,n,r,i),i=l.elm))}}const fr=Symbol.iterator;function hr(e,t,n=Ue){const r=Nr(),{key:o,ref:s}=t,i={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return W(s)||Qe(r,s,i),i}function pr(e,t,n,r=Ue){const o=Nr(),{key:s,ref:i}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:s,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){T.call(Nr().velements,e)}(l),W(i)||Qe(o,i,l),l}function mr(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:Nr()}}function gr(e){return lr(e),e}let wr=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const yr=i({s:function(e,t,n,r){if(!W(r)&&!W(r.slotAssignments)&&!W(r.slotAssignments[e])&&0!==r.slotAssignments[e].length){const o=[],s=r.slotAssignments[e];for(let e=0;e<s.length;e++){const n=s[e];if(!V(n)){const e=In(n);if(e!==!W(t.slotData))continue;if(e){const e=Nr();Lr(r.owner);try{T.call(o,n.factory(t.slotData,t.key))}finally{Lr(e)}}else T.call(o,n)}}n=o}const o=Nr(),{renderMode:s,shadowMode:i}=o;return 0===s?(gr(n),n):(1===i&&gr(n),hr("slot",t,n))},h:hr,c:pr,i:function(e,t){const n=[];if(gr(n),W(e)||null===e)return n;const r=e[fr]();let o=r.next(),s=0,{value:i,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(i,s,0===s,!0===l);m(e)?T.apply(n,e):T.call(n,e),s+=1,i=o.value}return n},f:function(e){const t=e.length,n=[];gr(n);for(let r=0;r<t;r+=1){const t=e[r];m(t)?T.apply(n,t):T.call(n,t)}return n},t:mr,d:function(e){return null==e?"":String(e)},b:function(e){const t=Nr();if(V(t))throw new Error;const n=t;return function(t){Br(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:"c",owner:Nr()}},dc:function(e,t,n,r=Ue){if(null==t)return null;if(!Tn(t))throw new Error(`Invalid LWC Constructor ${X(t)} for custom element <${e}>.`);return pr(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[mr(""),...t,mr("")],stable:n,owner:Nr()}},ti:function(e){return e>0&&!(j(e)||G(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:Nr()}},gid:function(e){const t=Nr();if(W(e)||""===e)return e;if(V(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?I.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=Nr();if(W(e)||""===e)return e;if(V(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return wr(e)},ssf:function(e,t){return{type:6,factory:t,owner:Nr(),elm:void 0,sel:void 0,key:void 0,slotName:e}}});let br=!1,vr=z;const Er={enableProfiler(){br=!0},disableProfiler(){br=!1},attachDispatcher(e){vr=e,this.enableProfiler()},detachDispatcher(){const e=vr;return vr=z,this.disableProfiler(),e}};function Cr(e,t){br&&vr(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Sr(e,t){br&&vr(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Mr(e,t){br&&vr(e,0,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}function Tr(e,t){br&&vr(e,1,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}let kr=!1,Ar=null;function Nr(){return Ar}function Lr(e){Ar=e}function _r(e){return(t,...n)=>{const o=r(null);return function(){const{context:{hasScopedStyles:r,stylesheetToken:s},shadowMode:i,renderer:l}=Nr(),c=!W(s),a=1===i;let u=0;if(c&&r&&(u|=1),c&&a&&(u|=2),!W(o[u]))return o[u];const d=r&&c?" "+s:"",f=r&&c?` class="${s}"`:"",h=c&&a?" "+s:"";let p="";for(let e=0,r=n.length;e<r;e++)switch(n[e]){case 0:p+=t[e]+d;break;case 1:p+=t[e]+f;break;case 2:p+=t[e]+h;break;case 3:p+=t[e]+f+h}return p+=t[t.length-1],o[u]=e(p,l),o[u]}}}const Or=_r(((e,t)=>{const{createFragment:n}=t;return n(e)})),Pr=_r(((e,t)=>{const{createFragment:n,getFirstChild:r}=t;return r(n("<svg>"+e+"</svg>"))}));function xr(e,t){const n=kr,o=Ar;let s=[];return yo(e,e.owner,(()=>{Ar=e,Cr(1,e)}),(()=>{const{component:n,context:o,cmpSlots:i,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(V(l)||wo(e),c=t,!hn.has(c))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${X(t)}.`);e.cmpTemplate=t,o.tplCache=r(null),o.hasScopedStyles=Dr(t,e),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:s,renderer:{getClassList:i,removeAttribute:l,setAttribute:c}}=e,{stylesheets:a,stylesheetToken:u}=t,{stylesheets:d}=e,f=1===o&&1===s,{hasScopedStyles:h}=r;let p,m,g;const{stylesheetToken:w,hasTokenInClass:y,hasTokenInAttribute:b}=r;W(w)||(y&&i(n).remove(Nn(w)),b&&l(n,Nn(w)));const v=Fr(a),E=Fr(d);(v||E)&&(p=u),W(p)||(h&&(i(n).add(Nn(p)),m=!0),f&&(c(n,Nn(p),""),g=!0)),r.stylesheetToken=p,r.hasTokenInClass=m,r.hasTokenInAttribute=g}(e,t);const n=function(e,t){const{stylesheets:n,stylesheetToken:r}=t,{stylesheets:o}=e;let s=[];return Fr(n)&&(s=_n(n,r,e)),Fr(o)&&T.apply(s,_n(o,r,e)),s}(e,t);o.styleVNodes=0===n.length?null:xn(e,n)}var c;e.refVNodes=t.hasRefs?r(null):null,e.velements=[],kr=!0,s=t.call(void 0,yr,n,i,o.tplCache);const{styleVNodes:a}=o;V(a)||x.apply(s,a)}))}),(()=>{kr=n,Ar=o,Sr(1,e)})),s}function Rr(e){if(Fr(e))for(let t=0;t<e.length;t++)if(j(e[t][le]))return!0;return!1}function Dr(e,t){const{stylesheets:n}=e,r=W(t)?null:t.stylesheets;return Rr(n)||Rr(r)}function Fr(e){return!W(e)&&!V(e)&&e.length>0}let Ir=null;function $r(e){return Ir===e}function Hr(e,t,n){const{component:r,callHook:o,owner:s}=e;yo(e,s,z,(()=>{o(r,t,n)}),z)}function Br(e,t,n,r){const{callHook:o,owner:s}=e;yo(e,s,z,(()=>{o(n,t,[r])}),z)}const Wr=new Map;function Vr(e){return We((()=>{const{isDirty:t}=e;G(t)&&(Gr(e),function(e){if(j(e.isScheduled))return;e.isScheduled=!0,0===uo.length&&Ke(fo);T.call(uo,e)}(e))}))}function jr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,s=Nr();let i,l=!1;return yo(e,o,(()=>{Lr(e)}),(()=>{e.tro.observe((()=>{i=n(r,t),l=!0}))}),(()=>{Lr(s)})),l?xr(e,i):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Gr(e){e.isDirty=!0}const Ur=new WeakMap;function Yr(e,t){if(!U(t))throw new TypeError("Expected an EventListener but received "+typeof t);let n=Ur.get(t);return W(n)&&(n=function(n){Br(e,t,void 0,n)},Ur.set(t,n)),n}const Kr=r(null),zr=["rendered","connected","disconnected"];function qr(e,t){const{component:n,def:r,context:o}=e;for(let e=0,s=t.length;e<s;++e)t[e].call(void 0,n,{},r,o)}let Xr=0;const Zr=new WeakMap;function Qr(e,t,n=[]){return t.apply(e,n)}function Jr(e,t,n){e[t]=n}function eo(e,t){return e[t]}function to(e){const t=io(e);Mr(7,t),1===t.state&&no(e),ho(t),co(t),Tr(7,t)}function no(e){ro(io(e))}function ro(e){const{state:t}=e;if(2!==t){const{tro:t}=e;t.reset(),function(e){G(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=Kr;t&&qr(e,t);po(e)&&function(e){const{wiredDisconnecting:t}=e.context;yo(e,e,z,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),z)}(e);const{disconnectedCallback:n}=e.def;W(n)||(Cr(5,e),Hr(e,n),Sr(5,e))}(e),mo(e),function(e){const{aChildren:t}=e;go(t)}(e)}}function oo(e,t,n,o){const{mode:s,owner:i,tagName:l,hydrated:c}=o,a=kn(t),u={elm:e,def:a,idx:Xr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:s,owner:i,refVNodes:null,children:Ue,aChildren:Ue,velements:Ue,cmpProps:r(null),cmpFields:r(null),cmpSlots:{slotAssignments:r(null)},cmpTemplate:null,hydrated:Boolean(c),renderMode:a.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:Ge,wiredConnecting:Ue,wiredDisconnecting:Ue},tro:null,shadowMode:null,stylesheets:null,component:null,shadowRoot:null,renderRoot:null,callHook:Qr,setHook:Jr,getHook:eo,renderer:n};return u.stylesheets=function(e,t){const{stylesheets:n}=t;if(!W(n)){const e=function(e,t){let n=!0;const r=e=>{if(m(e))for(let t=0;t<e.length;t++)r(e[t]);else U(e)||(n=!1)};m(t)?r(t):n=!1;return n}(0,n);if(e)return Ze(n)}return null}(0,a.ctor),u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let s;if(r)if(0===n.renderMode)s=0;else if(o)if(lwcRuntimeFlags.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)s=0;else{const t=function(e){let t=e.owner;for(;!V(t)&&0===t.renderMode;)t=t.owner;return t}(e);s=V(t)||0!==t.shadowMode?1:0}else s=1;else s=1;else s=0;return s}(u,n),u.tro=Vr(u),function(e,t){const n=Ir;let r;Cr(0,e),Ir=e;try{const o=new t;if(Ir.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Sr(0,e),Ir=n,!W(r))throw _e(e,r),r}}(u,a.ctor),po(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const s=n[t],i=Jt.get(s);if(!W(i)){const{connector:n,computeConfigAndUpdate:s,resetConfigWatcher:l}=tn(e,t,i),c=i.dynamic.length>0;T.call(r,(()=>{n.connect(),lwcRuntimeFlags.ENABLE_WIRE_SYNC_EMIT||!c?s():Promise.resolve().then(s)})),T.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function so(e,t){Zr.set(e,t)}function io(e){return Zr.get(e)}function lo(e){return Zr.get(e)}function co(e){if(j(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&yo(e,e,(()=>{Cr(2,e)}),(()=>{Un(r,t,n,o)}),(()=>{Sr(2,e)}));1===e.state&&ao(e)}(e,jr(e))}}function ao(e){const{def:{renderedCallback:t}}=e,{rendered:n}=Kr;n&&qr(e,n),W(t)||(Cr(4,e),Hr(e,t),Sr(4,e))}let uo=[];function fo(){Mr(8);const e=uo.sort(((e,t)=>e.idx-t.idx));uo=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{co(r)}catch(r){throw t+1<n&&(0===uo.length&&Ke(fo),x.apply(uo,L.call(e,t+1))),Tr(8),r}}Tr(8)}function ho(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Kr;n&&qr(e,n),po(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;W(r)||(Cr(3,e),Hr(e,r),Sr(3,e))}function po(e){return c(e.def.wire).length>0}function mo(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!W(n)){const e=lo(n);W(e)||ro(e)}}}function go(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!V(n)&&!W(n.elm))switch(n.type){case 2:go(n.children);break;case 3:ro(io(n.elm));break}}}function wo(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];V(o)||W(o.elm)||r(o.elm,n)}e.children=Ue,mo(e),e.velements=Ue}function yo(e,t,n,r,o){let s;n();try{r()}catch(e){s=Object(e)}finally{if(o(),!W(s)){_e(e,s);const n=V(t)?void 0:function(e){let t=e;for(;!V(t);){if(!W(t.def.errorCallback))return t;t=t.owner}}(t);if(W(n))throw s;wo(e),Cr(6,e);Hr(n,n.def.errorCallback,[s,s.wcStack]),Sr(6,e)}}}const bo=ne.$nativeGetElementById$,vo=ne.$nativeQuerySelectorAll$;function Eo(e,t,n){let r=lo(e.getRootNode().host);W(r)&&(r=lo(t.getRootNode().host)),W(r)||Ne("CrossRootAriaInSyntheticShadow",{tagName:r.tagName,attributeName:n})}function Co(e,t,n){const r=e.getRootNode();var o;if((o=r)!==document&&j(o.synthetic))if("id"===t){if(!K(n)||0===n.length)return;for(const t of te){const o=`[${t}~="${CSS.escape(n)}"]`,s=vo.call(document,o);for(let n=0;n<s.length;n++){const o=s[n];if(o.getRootNode()!==r){Eo(o,e,t);break}}}}else{const o=function(e){return K(e)?b.call($.call(e,/\s+/),Boolean):[]}(n);for(const n of o){const o=bo.call(document,n);if(!V(o)){o.getRootNode()!==r&&Eo(e,o,t)}}}}let So=!1;"undefined"!=typeof CSS&&U(CSS.escape)&&u.call(Element.prototype,se)&&Ae((function(){if(So)return;So=!0;const{setAttribute:e}=Element.prototype;n(Element.prototype,{setAttribute(t,n){e.call(this,t,n),("id"===t||te.has(t))&&Co(this,t,n)}});const t=l(Element.prototype,"id");if(!W(t)){const{get:e,set:n}=t;U(e)&&U(n)&&s(Element.prototype,"id",{get(){return e.call(this)},set(e){n.call(this,e),Co(this,"id",e)},enumerable:!0,configurable:!0})}}));const Mo=["ariaActiveDescendant","ariaControls","ariaDescribedBy","ariaDetails","ariaErrorMessage","ariaFlowTo","ariaLabelledBy","ariaOwns"];function To(e){return e instanceof Yt||e instanceof Cn}function ko(e,t,n,r){if(!To(e)){const o=function(e){const{host:t}=e.getRootNode(),n=W(t)?void 0:lo(t);if(!W(n))return n;let r=e;for(;!V(r=r.parentElement);)if(To(r)){const e=lo(r);if(!W(e))return e}}(e);let s;n&&(s=V(r)?"null":typeof r),Ne("NonStandardAriaReflection",{tagName:null==o?void 0:o.tagName,propertyName:t,isSetter:n,setValueType:s})}}lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL||Ae((function(){const{prototype:e}=Element;for(const t of Mo){const n=l(e,t),{get:r,set:o}=n;s(e,t,{get(){return ko(this,t,!1,void 0),r.call(this)},set(e){return ko(this,t,!0,e),o.call(this,e)},configurable:!0,enumerable:!0})}}));let Ao=!1;function No(e){const t=jr(e);e.children=t;const{renderRoot:n,renderer:{getFirstChild:r}}=e;Oo(r(n),t,n,e),ao(e)}function Lo(e,t,n){var r,o;let s;switch(t.type){case 0:s=function(e,t,n){var r;if(!Ro(t,e,3,n))return Po(e,t,n);const{setText:o}=n;return o(e,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 1:s=function(e,t,n){var r;if(!Ro(t,e,8,n))return Po(e,t,n);const{setProperty:o}=n;return o(e,_o,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 4:s=function(e,t,n){if(!function(e,t,n,r){const{getProperty:o,getAttribute:s}=r;if(3===o(e,"nodeType"))return!!Ro(n,t,3,r)&&o(e,_o)===o(t,_o);if(8===o(e,"nodeType"))return!!Ro(n,t,8,r)&&o(e,_o)===o(t,_o);if(!Ro(n,t,1,r))return!1;let i=!0;if(o(e,"tagName")!==o(t,"tagName"))return!1;return o(e,"getAttributeNames").call(e).forEach((r=>{s(e,r)!==s(t,r)&&(xe(`Mismatch hydrating element <${o(e,"tagName").toLowerCase()}>: attribute "${r}" has different values, expected "${s(e,r)}" but found "${s(t,r)}"`,n.owner),i=!1)})),i}(t.fragment,e,t,n))return Po(e,t,n);return t.elm=e,e}(e,t,n);break;case 5:s=function(e,t,n){const{children:r,owner:o}=t;return Oo(e,r,n.getProperty(e,"parentNode"),o),t.elm=r[r.length-1].elm}(e,t,n);break;case 2:s=function(e,t,n){if(!Ro(t,e,1,n)||!Do(t,e,n))return Po(e,t,n);t.elm=e;const{owner:r}=t,{context:o}=t.data,s=Boolean(!W(o)&&!W(o.lwc)&&"manual"===o.lwc.dom);if(s){const{data:{props:r}}=t,{getProperty:o}=n;W(r)||W(r.innerHTML)||o(e,"innerHTML")===r.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:Xe(r,"innerHTML")}))}if(xo(t,n),!s){const{getFirstChild:o}=n;Oo(o(e),t.children,e,r)}return e}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:s=function(e,t,n){if(!Ro(t,e,1,n)||!Do(t,e,n))return Po(e,t,n);const{sel:r,mode:o,ctor:s,owner:i}=t,l=oo(e,s,n,{mode:o,owner:i,tagName:r,hydrated:!0});if(t.elm=e,t.vm=l,sr(t,l),xo(t,n),ho(l),0!==l.renderMode){const{getFirstChild:r}=n;Oo(r(e),t.children,e,l)}return No(l),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(s)}const _o="nodeValue";function Oo(e,t,n,r){let o=e,s=null;const{renderer:i}=r;for(let e=0;e<t.length;e++){const r=t[e];V(r)||(o?(o=Lo(o,r,i),s=r.elm):(Ao=!0,Kn(r,n,i,s),s=r.elm))}if(o){Ao=!0;const{nextSibling:e}=i;do{const t=o;o=e(o),nr(t,n,i)}while(o)}}function Po(e,t,n){Ao=!0;const{getProperty:r}=n,o=r(e,"parentNode");return Kn(t,o,n,e),nr(e,o,n),t.elm}function xo(e,t){Gn(e,t),Wn(null,e,t)}function Ro(e,t,n,r){const{getProperty:o}=r;return o(t,"nodeType")===n}function Do(e,t,n){const{getProperty:r}=n;if(e.sel.toLowerCase()!==r(t,"tagName").toLowerCase())return!1;const o=function(e,t,n){const{data:{attrs:r={}}}=e;let o=!0;for(const[e,s]of Object.entries(r)){const{getAttribute:r}=n;Fo(s,r(t,e))||(o=!1)}return o}(e,t,n),s=function(e,t,n){const{data:r,owner:o}=e;let{className:s,classMap:i}=r;const{getProperty:l,getClassList:c}=n,a=Pn(o),u=function(e){return 3===e.type}(e)?function(e){const{template:t}=kn(e.ctor),{vm:n}=e,{stylesheetToken:r}=t;return!W(r)&&Dr(t,n)?Nn(r):null}(e):null;if(!V(a)||!V(u))if(W(s))if(W(i)){const e=[a,u],t=b.call(e,(e=>!V(e)));t.length&&(s=C.call(t," "))}else i=Object.assign(Object.assign(Object.assign({},i),V(a)?{}:{[a]:!0}),V(u)?{}:{[u]:!0});else{const e=[a,s,u],t=b.call(e,(e=>!V(e)));s=C.call(t," ")}let d=!0;const h=l(t,"className");if(W(s)||String(s)===h)if(W(i))W(s)&&""!==h&&(d=!1);else{const e=c(t);let n="";for(const t in i)n+=" "+t,e.contains(t)||(d=!1);n.trim(),e.length>f(i).length&&(d=!1)}else d=!1;return d}(e,t,n),i=function(e,t,n){const{data:{style:r,styleDecls:o}}=e,{getAttribute:s}=n,i=s(t,"style")||"";let l=!0;if(W(r)||r===i){if(!W(o)){const e=function(e){const t={},n=e.split(ze);for(const e of n)if(e){const[n,r]=e.split(qe);void 0!==n&&void 0!==r&&(t[n.trim()]=r.trim())}return t}(i),t=[];for(let n=0,r=o.length;n<r;n++){const[r,s,i]=o[n];t.push(`${r}: ${s+(i?" important!":"")}`);const c=e[r];W(c)?l=!1:c.startsWith(s)?i&&!c.endsWith("!important")&&(l=!1):l=!1}f(e).length>o.length&&(l=!1),C.call(t,";")}}else l=!1;return l}(e,t,n);return o&&s&&i}function Fo(e,t){return String(e)===t||!(!V(t)||!W(e)&&!V(e))}let Io=!1;const $o=["slots","stylesheetToken","stylesheets","renderMode"],Ho=["$scoped$"],Bo=["pop","push","shift","unshift","reverse","sort","fill","splice","copyWithin"];let Wo=!1;function Vo(e){switch(e){case"pop":return M;case"push":return T;case"shift":return N;case"unshift":return x;case"reverse":return A;case"sort":return O;case"fill":return y;case"splice":return P;case"copyWithin":return w}}function jo(e,t,n){Ne(t,{propertyName:n})}function Go(e){jo(0,"TemplateMutation",e)}function Uo(e){jo(0,"StylesheetMutation",e)}function Yo(e){Ko(e,(e=>{m(e)?function(e){for(const t of Bo){const n=Vo(t);e[t]=function(){return Go("stylesheets"),n.apply(this,arguments)}}}(e):function(e){for(const t of Ho){let n=e[t];s(e,t,{enumerable:!0,configurable:!0,get:()=>n,set(e){Uo(t),n=e}})}}(e)}))}function Ko(e,t){t(e);for(let n=0;n<e.length;n++){const r=e[n];m(r)?Ko(r,t):t(r)}}const zo=U(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),qo=zo&&l(document.adoptedStyleSheets,"length").writable,Xo=!W(document.documentMode),Zo=new Map;function Qo(e){const t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function Jo(e,t,n){const r=function(e,t){const{element:n,usedElement:r}=t;return r?Xo?Qo(e):n.cloneNode(!0):(t.usedElement=!0,n)}(e,n);t.appendChild(r)}function es(e,t){let n=Zo.get(e);return W(n)&&(n={stylesheet:void 0,element:void 0,roots:void 0,global:!1,usedElement:!1},Zo.set(e,n)),t&&W(n.stylesheet)?n.stylesheet=function(e){const t=new CSSStyleSheet;return t.replaceSync(e),t}(e):!t&&W(n.element)&&(n.element=Qo(e)),n}function ts(e,t){const n=es(e,zo);let{roots:r}=n;if(W(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),zo?function(e,t,n){const{adoptedStyleSheets:r}=t,{stylesheet:o}=n;qo?r.push(o):t.adoptedStyleSheets=[...r,o]}(0,t,n):Jo(e,t,n)}const ns=function(){if("undefined"==typeof customElements)return!1;try{const e=HTMLElement;class t extends e{}return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),t),new t,!0}catch(e){return!1}}(),rs=(e,t)=>{const n=document.createElement(e);return t(n),n},os=new Map,ss=new WeakSet;let is=!1;const ls=(e,t)=>{const n=!W(e),r=!W(t);class o extends HTMLElement{constructor(e){super(),is?e(this):(n||r)&&ss.add(this)}}return n&&(o.prototype.connectedCallback=function(){ss.has(this)||e(this)}),r&&(o.prototype.disconnectedCallback=function(){ss.has(this)||t(this)}),o};let cs;function as(e){const t=function(e){var t=Object.freeze({__proto__:null,fail:function(e){throw new Error(e)},invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)}});function n(e){return void 0===e}e.createFragment=void 0;if("function"==typeof HTMLTemplateElement)e.createFragment=function(e){const t=document.createElement("template");return t.innerHTML=e,t.content.firstChild};else{const t={caption:["table"],col:["colgroup","table"],colgroup:["table"],option:["select"],tbody:["table"],td:["tr","tbody","table"],th:["tr","tbody","table"],thead:["table"],tfoot:["table"],tr:["tbody","table"]},r=function(e){return(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(e)||["",""])[1].toLowerCase()};e.createFragment=function(e){const o=t[r(e)];if(!n(o))for(const t of o)e=`<${t}>${e}</${t}>`;const s=document.implementation.createHTMLDocument("");s.body.innerHTML=e;let i=s.body;if(!n(o))for(let e=0;e<o.length;e++)i=i.firstChild;return i.firstChild}}return e.addEventListener=function(e,t,n,r){e.addEventListener(t,n,r)},e.assertInstanceOfHTMLElement=function(e,n){t.invariant(e instanceof HTMLElement,n)},e.attachShadow=function(e,t){return null!==e.shadowRoot?e.shadowRoot:e.attachShadow(t)},e.cloneNode=function(e,t){return e.cloneNode(t)},e.createComment=function(e){return document.createComment(e)},e.createElement=function(e,t){return n(t)?document.createElement(e):document.createElementNS(t,e)},e.createText=function(e){return document.createTextNode(e)},e.dispatchEvent=function(e,t){return e.dispatchEvent(t)},e.getAttribute=function(e,t,r){return n(r)?e.getAttribute(t):e.getAttributeNS(r,t)},e.getBoundingClientRect=function(e){return e.getBoundingClientRect()},e.getChildNodes=function(e){return e.childNodes},e.getChildren=function(e){return e.children},e.getClassList=function(e){return e.classList},e.getElementsByClassName=function(e,t){return e.getElementsByClassName(t)},e.getElementsByTagName=function(e,t){return e.getElementsByTagName(t)},e.getFirstChild=function(e){return e.firstChild},e.getFirstElementChild=function(e){return e.firstElementChild},e.getLastChild=function(e){return e.lastChild},e.getLastElementChild=function(e){return e.lastElementChild},e.getProperty=function(e,t){return e[t]},e.insert=function(e,t,n){t.insertBefore(e,n)},e.isConnected=function(e){return e.isConnected},e.nextSibling=function(e){return e.nextSibling},e.querySelector=function(e,t){return e.querySelector(t)},e.querySelectorAll=function(e,t){return e.querySelectorAll(t)},e.remove=function(e,t){t.removeChild(e)},e.removeAttribute=function(e,t,r){n(r)?e.removeAttribute(t):e.removeAttributeNS(r,t)},e.removeEventListener=function(e,t,n,r){e.removeEventListener(t,n,r)},e.setAttribute=function(e,t,r,o){return n(o)?e.setAttribute(t,r):e.setAttributeNS(o,t,r)},e.setCSSStyleProperty=function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},e.setProperty=function(e,t,n){e[t]=n},e.setText=function(e,t){e.nodeValue=t},e}({});return Object.setPrototypeOf(t,e),t}cs=ns?(e,t,n,r)=>{let o=os.get(e);if(W(o)){if(!W(customElements.get(e)))throw new Error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`);o=ls(n,r),customElements.define(e,o),os.set(e,o)}is=!0;try{return new o(t)}finally{is=!1}}:rs;const us=n(as(null),{insertStylesheet:function(e,t){W(t)?function(e){const t=es(e,!1);t.global||(t.global=!0,Jo(e,document.head,t))}(e):ts(e,t)},createCustomElement:cs,isNativeShadowDefined:ne.$isNativeShadowRootDefined$,isSyntheticShadowDefined:u.call(Element.prototype,se)});function ds(e,t,n){const r=oo(e,t,us,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0});for(const[t,r]of Object.entries(n))e[t]=r;return r}function fs(e,t,n={}){if(!(e instanceof Element))throw new TypeError(`"hydrateComponent" expects a valid DOM element as the first parameter but instead received ${e}.`);if(!U(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!Y(n)||V(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);if(lo(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{!function(e){Ao=!1,ho(e),No(e),Ao&&xe("Hydration completed with errors.",e)}(ds(e,t,n))}catch(r){console.error("Recovering from error while hydrating: ",r),function(e,t){if(e.shadowRoot){const t=e.shadowRoot;for(;!V(t.firstChild);)t.removeChild(t.firstChild)}if("light"===t.renderMode)for(;!V(e.firstChild);)e.removeChild(e.firstChild)}(e,t),ds(e,t,n),to(e)}}const hs=new WeakSet;function ps(e){var t;const n=function(e){return kn(e).bridge}(e),{observedAttributes:r}=n,{attributeChangedCallback:o}=n.prototype;return(t=class extends HTMLElement{constructor(){super(),this.isConnected?(fs(this,e,{}),hs.add(this)):oo(this,e,us,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){hs.has(this)?hs.delete(this):to(this)}disconnectedCallback(){no(this)}attributeChangedCallback(e,t,n){o.call(this,e,t,n)}}).observedAttributes=r,t}const ms=Node,gs=new WeakMap,ws=new WeakMap;function ys(e,t){const n=t.get(e);return W(n)||n(e),e}if(!lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE){const{appendChild:e,insertBefore:t,removeChild:r,replaceChild:o}=ms.prototype;n(ms.prototype,{appendChild(t){return ys(e.call(this,t),gs)},insertBefore(e,n){return ys(t.call(this,e,n),gs)},removeChild(e){return ys(r.call(this,e),ws)},replaceChild(e,t){const n=o.call(this,e,t);return ys(n,ws),ys(e,gs),n}})}const bs=Node;const vs=new Map;return s(Yt,"CustomElementConstructor",{get(){return function(e){if(e===Yt)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=vs.get(e);return W(t)&&(t=ps(e),vs.set(e,t)),t}(this)}}),i(Yt),h(Yt.prototype),e.LightningElement=Yt,e.__unstable__ProfilerControl=Er,e.__unstable__ReportingControl=ke,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=rn(e);if(!W(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){nn.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:s}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{W(s)||s(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!Y(t)||V(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${X(t)}".`);const n=t.is;if(!U(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const{createCustomElement:r}=us,o=B.call(e);let s,i;return lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(s=e=>{to(e)},i=e=>{no(e)}),r(o,(e=>{oo(e,n,us,{tagName:o,mode:"closed"!==t.mode?"open":"closed",owner:null}),lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||(gs.set(e,to),ws.set(e,no))}),s,i)},e.freezeTemplate=function(e){lwcRuntimeFlags.ENABLE_FROZEN_TEMPLATE?(i(e),W(e.stylesheets)||Ko(e.stylesheets,(e=>{i(e)}))):(!function(e){s(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return W(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=W(e)?void 0:e.shadowAttribute}})}(e),Ae((()=>{!function(e){W(e.stylesheets)||Yo(e.stylesheets);for(const t of $o){let n=e[t];s(e,t,{enumerable:!0,configurable:!0,get:()=>n,set(e){Wo||Go(t),n=e}})}const t=l(e,"stylesheetTokens");s(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get:t.get,set(e){Go("stylesheetTokens"),Wo=!0,t.set.call(this,e),Wo=!1}})}(e)})))},e.getComponentConstructor=function(e){let t=null;if(!W(e)){const n=lo(e);W(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=kn(e),{ctor:n,name:r,props:o,propsConfig:s,methods:i}=t,l={};for(const e in o)l[e]={config:s[e]||0,type:"any",attr:ge(e)};const c={};for(const e in i)c[e]=i[e].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=fs,e.isComponentConstructor=Tn,e.isNodeFromTemplate=function(e){if(G(e instanceof bs))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&G(u.call(a(t),"synthetic")))||us.isSyntheticShadowDefined&&!W(e[re])},e.parseFragment=Or,e.parseSVGFragment=Pr,e.readonly=function(e){return Vt(e)},e.register=function(e){for(let t=0;t<zr.length;++t){const n=zr[t];if(n in e){let t=Kr[n];W(t)&&(Kr[n]=t=[]),T.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return U(e)&&Wr.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:o,publicMethods:i,wire:c,track:a,fields:u}=t,d=r(null),f=r(null),h=r(null),p=r(null),m=r(null),g=r(null);let w;if(!W(o))for(const e in o){const t=o[e];if(g[e]=t.config,w=l(n,e),t.config>0){if(W(w))throw new Error;w=cn(0,w)}else w=W(w)||W(w.get)?ln(e):cn(0,w);f[e]=w,s(n,e,w)}if(W(i)||R.call(i,(e=>{if(w=l(n,e),W(w))throw new Error;d[e]=w})),!W(c))for(const e in c){const{adapter:t,method:r,config:o,dynamic:i=[]}=c[e];if(w=l(n,e),1===r){if(W(w))throw new Error;h[e]=w,on(w,t,o,i)}else w=un(e),p[e]=w,sn(w,t,o,i),s(n,e,w)}if(!W(a))for(const e in a)w=l(n,e),w=an(e),s(n,e,w);if(!W(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(n,t);const r=!W(o)&&t in o,s=!W(a)&&t in a;r||s||(m[t]=Xt(t))}return function(e,t){dn.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return hn.add(e),e},e.renderer=us,e.rendererFactory=as,e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(W(ye[e])){const n=f(ye).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=be[e];if(!W(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}".`);s(be,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){var n;t.isFalse(Io,"Hooks are already overridden, only one definition is allowed."),Io=!0,n=e.sanitizeHtmlContent,wr=n},e.swapComponent=function(e,t){return!1},e.swapStyle=function(e,t){return!1},e.swapTemplate=function(e,t){return!1},e.track=function(e){if(1===arguments.length)return jt(e);throw new Error},e.unwrap=function(e){return Wt.unwrapProxy(e)},e.wire=function(e,t){throw new Error},e}({});
|