lwc 2.30.1 → 2.30.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/engine-dom/esm/es2017/engine-dom.js +86 -41
- package/dist/engine-dom/iife/es2017/engine-dom.js +86 -41
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +83 -38
- package/dist/engine-dom/iife/es5/engine-dom.js +105 -60
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +102 -57
- package/dist/engine-dom/umd/es2017/engine-dom.js +86 -41
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +83 -38
- package/dist/engine-dom/umd/es5/engine-dom.js +105 -60
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +102 -57
- package/dist/engine-server/commonjs/es2017/engine-server.js +13 -13
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +13 -13
- 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
|
@@ -284,7 +284,7 @@
|
|
|
284
284
|
CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);
|
|
285
285
|
return attributeName;
|
|
286
286
|
}
|
|
287
|
-
/** version: 2.30.
|
|
287
|
+
/** version: 2.30.2 */
|
|
288
288
|
|
|
289
289
|
/**
|
|
290
290
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -365,7 +365,7 @@
|
|
|
365
365
|
patch$1(propName);
|
|
366
366
|
}
|
|
367
367
|
}
|
|
368
|
-
/** version: 2.30.
|
|
368
|
+
/** version: 2.30.2 */
|
|
369
369
|
|
|
370
370
|
/**
|
|
371
371
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -3147,16 +3147,16 @@
|
|
|
3147
3147
|
// the custom element from the registry is expecting an upgrade callback
|
|
3148
3148
|
vm = createViewModelHook(elm, vnode, renderer);
|
|
3149
3149
|
};
|
|
3150
|
-
var connectedCallback
|
|
3151
|
-
|
|
3150
|
+
var connectedCallback;
|
|
3151
|
+
var disconnectedCallback;
|
|
3152
|
+
if (lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE) {
|
|
3153
|
+
connectedCallback = function connectedCallback(elm) {
|
|
3152
3154
|
connectRootElement(elm);
|
|
3153
|
-
}
|
|
3154
|
-
|
|
3155
|
-
var disconnectedCallback = function disconnectedCallback(elm) {
|
|
3156
|
-
if (lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE) {
|
|
3155
|
+
};
|
|
3156
|
+
disconnectedCallback = function disconnectedCallback(elm) {
|
|
3157
3157
|
disconnectRootElement(elm);
|
|
3158
|
-
}
|
|
3159
|
-
}
|
|
3158
|
+
};
|
|
3159
|
+
}
|
|
3160
3160
|
// Should never get a tag with upper case letter at this point; the compiler
|
|
3161
3161
|
// should produce only tags with lowercase letters. However, the Java
|
|
3162
3162
|
// compiler may generate tagnames with uppercase letters so - for backwards
|
|
@@ -5660,9 +5660,11 @@
|
|
|
5660
5660
|
// Another benefit is that only LWC can create components that actually do anything – if you do
|
|
5661
5661
|
// `customElements.define('x-foo')`, then you don't have access to the upgradeCallback, so it's a dummy custom element.
|
|
5662
5662
|
// This class should be created once per tag name.
|
|
5663
|
-
var createUpgradableConstructor = function createUpgradableConstructor(
|
|
5663
|
+
var createUpgradableConstructor = function createUpgradableConstructor(connectedCallback, disconnectedCallback) {
|
|
5664
|
+
var hasConnectedCallback = !isUndefined$1(connectedCallback);
|
|
5665
|
+
var hasDisconnectedCallback = !isUndefined$1(disconnectedCallback);
|
|
5664
5666
|
// TODO [#2972]: this class should expose observedAttributes as necessary
|
|
5665
|
-
|
|
5667
|
+
var UpgradableConstructor = /*#__PURE__*/function (_HTMLElement) {
|
|
5666
5668
|
_inherits(UpgradableConstructor, _HTMLElement);
|
|
5667
5669
|
var _super7 = _createSuper(UpgradableConstructor);
|
|
5668
5670
|
function UpgradableConstructor(upgradeCallback) {
|
|
@@ -5673,32 +5675,34 @@
|
|
|
5673
5675
|
// then elementBeingUpgraded will be false
|
|
5674
5676
|
if (elementBeingUpgradedByLWC) {
|
|
5675
5677
|
upgradeCallback(_assertThisInitialized(_this5));
|
|
5676
|
-
} else {
|
|
5677
|
-
//
|
|
5678
|
-
//
|
|
5678
|
+
} else if (hasConnectedCallback || hasDisconnectedCallback) {
|
|
5679
|
+
// If this element has connected or disconnected callbacks, then we need to keep track of
|
|
5680
|
+
// instances that were created outside LWC (i.e. not created by `lwc.createElement()`).
|
|
5681
|
+
// If the element has no connected or disconnected callbacks, then we don't need to track this.
|
|
5679
5682
|
elementsUpgradedOutsideLWC.add(_assertThisInitialized(_this5));
|
|
5680
5683
|
// TODO [#2970]: LWC elements cannot be upgraded via new Ctor()
|
|
5681
5684
|
// Do we want to support this? Throw an error? Currently for backwards compat it's a no-op.
|
|
5682
5685
|
}
|
|
5683
5686
|
return _this5;
|
|
5684
5687
|
}
|
|
5685
|
-
_createClass(UpgradableConstructor
|
|
5686
|
-
|
|
5687
|
-
|
|
5688
|
-
|
|
5689
|
-
|
|
5690
|
-
|
|
5688
|
+
return _createClass(UpgradableConstructor);
|
|
5689
|
+
}( /*#__PURE__*/_wrapNativeSuper(HTMLElement)); // Do not unnecessarily add a connectedCallback/disconnectedCallback, as it introduces perf overhead
|
|
5690
|
+
// See: https://github.com/salesforce/lwc/pull/3162#issuecomment-1311851174
|
|
5691
|
+
if (hasConnectedCallback) {
|
|
5692
|
+
UpgradableConstructor.prototype.connectedCallback = function () {
|
|
5693
|
+
if (!elementsUpgradedOutsideLWC.has(this)) {
|
|
5694
|
+
connectedCallback(this);
|
|
5691
5695
|
}
|
|
5692
|
-
}
|
|
5693
|
-
|
|
5694
|
-
|
|
5695
|
-
|
|
5696
|
-
|
|
5697
|
-
|
|
5696
|
+
};
|
|
5697
|
+
}
|
|
5698
|
+
if (hasDisconnectedCallback) {
|
|
5699
|
+
UpgradableConstructor.prototype.disconnectedCallback = function () {
|
|
5700
|
+
if (!elementsUpgradedOutsideLWC.has(this)) {
|
|
5701
|
+
disconnectedCallback(this);
|
|
5698
5702
|
}
|
|
5699
|
-
}
|
|
5700
|
-
|
|
5701
|
-
|
|
5703
|
+
};
|
|
5704
|
+
}
|
|
5705
|
+
return UpgradableConstructor;
|
|
5702
5706
|
};
|
|
5703
5707
|
var createCustomElementVanilla = function createCustomElementVanilla(tagName, upgradeCallback, connectedCallback, disconnectedCallback) {
|
|
5704
5708
|
// use global custom elements registry
|
|
@@ -5758,17 +5762,27 @@
|
|
|
5758
5762
|
var _constructor$prototyp = constructor.prototype,
|
|
5759
5763
|
connectedCallback = _constructor$prototyp.connectedCallback,
|
|
5760
5764
|
disconnectedCallback = _constructor$prototyp.disconnectedCallback,
|
|
5765
|
+
formAssociatedCallback = _constructor$prototyp.formAssociatedCallback,
|
|
5766
|
+
formDisabledCallback = _constructor$prototyp.formDisabledCallback,
|
|
5767
|
+
formResetCallback = _constructor$prototyp.formResetCallback,
|
|
5768
|
+
formStateRestoreCallback = _constructor$prototyp.formStateRestoreCallback,
|
|
5761
5769
|
adoptedCallback = _constructor$prototyp.adoptedCallback,
|
|
5762
5770
|
attributeChangedCallback = _constructor$prototyp.attributeChangedCallback;
|
|
5771
|
+
var formAssociated = Boolean(constructor.formAssociated);
|
|
5763
5772
|
var observedAttributes = new Set((_a = constructor.observedAttributes) !== null && _a !== void 0 ? _a : []);
|
|
5764
5773
|
return {
|
|
5765
5774
|
UserCtor: constructor,
|
|
5766
5775
|
PivotCtor: undefined,
|
|
5767
5776
|
connectedCallback: connectedCallback,
|
|
5768
5777
|
disconnectedCallback: disconnectedCallback,
|
|
5778
|
+
formAssociatedCallback: formAssociatedCallback,
|
|
5779
|
+
formDisabledCallback: formDisabledCallback,
|
|
5780
|
+
formResetCallback: formResetCallback,
|
|
5781
|
+
formStateRestoreCallback: formStateRestoreCallback,
|
|
5769
5782
|
adoptedCallback: adoptedCallback,
|
|
5770
5783
|
attributeChangedCallback: attributeChangedCallback,
|
|
5771
|
-
observedAttributes: observedAttributes
|
|
5784
|
+
observedAttributes: observedAttributes,
|
|
5785
|
+
formAssociated: formAssociated
|
|
5772
5786
|
};
|
|
5773
5787
|
}
|
|
5774
5788
|
// Helper to create stand-in element for each tagName registered that delegates out to the registry for the given
|
|
@@ -5847,6 +5861,34 @@
|
|
|
5847
5861
|
}
|
|
5848
5862
|
}
|
|
5849
5863
|
}
|
|
5864
|
+
}, {
|
|
5865
|
+
key: "formAssociatedCallback",
|
|
5866
|
+
value: function formAssociatedCallback(form) {
|
|
5867
|
+
var _a;
|
|
5868
|
+
var definition = definitionForElement.get(this);
|
|
5869
|
+
(_a = definition === null || definition === void 0 ? void 0 : definition.formAssociatedCallback) === null || _a === void 0 ? void 0 : _a.call(this, form);
|
|
5870
|
+
}
|
|
5871
|
+
}, {
|
|
5872
|
+
key: "formDisabledCallback",
|
|
5873
|
+
value: function formDisabledCallback(disabled) {
|
|
5874
|
+
var _a;
|
|
5875
|
+
var definition = definitionForElement.get(this);
|
|
5876
|
+
(_a = definition === null || definition === void 0 ? void 0 : definition.formDisabledCallback) === null || _a === void 0 ? void 0 : _a.call(this, disabled);
|
|
5877
|
+
}
|
|
5878
|
+
}, {
|
|
5879
|
+
key: "formResetCallback",
|
|
5880
|
+
value: function formResetCallback() {
|
|
5881
|
+
var _a;
|
|
5882
|
+
var definition = definitionForElement.get(this);
|
|
5883
|
+
(_a = definition === null || definition === void 0 ? void 0 : definition.formResetCallback) === null || _a === void 0 ? void 0 : _a.call(this);
|
|
5884
|
+
}
|
|
5885
|
+
}, {
|
|
5886
|
+
key: "formStateRestoreCallback",
|
|
5887
|
+
value: function formStateRestoreCallback(state, mode) {
|
|
5888
|
+
var _a;
|
|
5889
|
+
var definition = definitionForElement.get(this);
|
|
5890
|
+
(_a = definition === null || definition === void 0 ? void 0 : definition.formStateRestoreCallback) === null || _a === void 0 ? void 0 : _a.call(this, state, mode);
|
|
5891
|
+
}
|
|
5850
5892
|
}, {
|
|
5851
5893
|
key: "adoptedCallback",
|
|
5852
5894
|
value: function adoptedCallback() {
|
|
@@ -5870,6 +5912,8 @@
|
|
|
5870
5912
|
return PivotCtor;
|
|
5871
5913
|
}(NativeHTMLElement);
|
|
5872
5914
|
PivotCtor.observedAttributes = _toConsumableArray(registeredDefinition.observedAttributes);
|
|
5915
|
+
// TODO [#3000]: support case where registeredDefinition is not form-associated, but later definition is.
|
|
5916
|
+
PivotCtor.formAssociated = registeredDefinition.formAssociated;
|
|
5873
5917
|
registeredPivotCtors.add(PivotCtor);
|
|
5874
5918
|
return PivotCtor;
|
|
5875
5919
|
}
|
|
@@ -6240,9 +6284,9 @@
|
|
|
6240
6284
|
// Creates a constructor that is intended to be used as the UserConstructor in a scoped (pivots) registry.
|
|
6241
6285
|
// In this case, the upgradeCallback only needs to be defined once because we create these on-demand,
|
|
6242
6286
|
// multiple times per tag name.
|
|
6243
|
-
var createUserConstructor = function createUserConstructor(
|
|
6287
|
+
var createUserConstructor = function createUserConstructor(HTMLElementToExtend, upgradeCallback, connectedCallback, disconnectedCallback) {
|
|
6244
6288
|
// TODO [#2972]: this class should expose observedAttributes as necessary
|
|
6245
|
-
|
|
6289
|
+
var UserConstructor = /*#__PURE__*/function (_HTMLElementToExtend) {
|
|
6246
6290
|
_inherits(UserConstructor, _HTMLElementToExtend);
|
|
6247
6291
|
var _super9 = _createSuper(UserConstructor);
|
|
6248
6292
|
function UserConstructor() {
|
|
@@ -6252,26 +6296,27 @@
|
|
|
6252
6296
|
upgradeCallback(_assertThisInitialized(_this7));
|
|
6253
6297
|
return _this7;
|
|
6254
6298
|
}
|
|
6255
|
-
_createClass(UserConstructor
|
|
6256
|
-
|
|
6257
|
-
|
|
6258
|
-
|
|
6259
|
-
|
|
6260
|
-
|
|
6261
|
-
|
|
6262
|
-
|
|
6263
|
-
|
|
6264
|
-
|
|
6265
|
-
|
|
6266
|
-
|
|
6267
|
-
}
|
|
6299
|
+
return _createClass(UserConstructor);
|
|
6300
|
+
}(HTMLElementToExtend); // Do not unnecessarily add a connectedCallback/disconnectedCallback, as it introduces perf overhead
|
|
6301
|
+
// See: https://github.com/salesforce/lwc/pull/3162#issuecomment-1311851174
|
|
6302
|
+
if (!isUndefined$1(connectedCallback)) {
|
|
6303
|
+
UserConstructor.prototype.connectedCallback = function () {
|
|
6304
|
+
connectedCallback(this);
|
|
6305
|
+
};
|
|
6306
|
+
}
|
|
6307
|
+
if (!isUndefined$1(disconnectedCallback)) {
|
|
6308
|
+
UserConstructor.prototype.disconnectedCallback = function () {
|
|
6309
|
+
disconnectedCallback(this);
|
|
6310
|
+
};
|
|
6311
|
+
}
|
|
6312
|
+
return UserConstructor;
|
|
6268
6313
|
};
|
|
6269
6314
|
function createCustomElementScoped(tagName, upgradeCallback, connectedCallback, disconnectedCallback) {
|
|
6270
6315
|
if (isUndefined$1(createScopedConstructor) || isUndefined$1(CachedHTMLElement)) {
|
|
6271
6316
|
// This error should be impossible to hit
|
|
6272
6317
|
throw new Error('The flag ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY must be set to true to use this feature');
|
|
6273
6318
|
}
|
|
6274
|
-
var UserConstructor = createUserConstructor(upgradeCallback, connectedCallback, disconnectedCallback
|
|
6319
|
+
var UserConstructor = createUserConstructor(CachedHTMLElement, upgradeCallback, connectedCallback, disconnectedCallback);
|
|
6275
6320
|
var ScopedConstructor = createScopedConstructor(tagName, UserConstructor);
|
|
6276
6321
|
return new ScopedConstructor(UserConstructor);
|
|
6277
6322
|
}
|
|
@@ -6366,7 +6411,7 @@
|
|
|
6366
6411
|
function isNull(obj) {
|
|
6367
6412
|
return obj === null;
|
|
6368
6413
|
}
|
|
6369
|
-
/** version: 2.30.
|
|
6414
|
+
/** version: 2.30.2 */
|
|
6370
6415
|
|
|
6371
6416
|
/*
|
|
6372
6417
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -6844,16 +6889,16 @@
|
|
|
6844
6889
|
DisconnectingSlot.set(elm, disconnectRootElement);
|
|
6845
6890
|
}
|
|
6846
6891
|
};
|
|
6847
|
-
var connectedCallback
|
|
6848
|
-
|
|
6892
|
+
var connectedCallback;
|
|
6893
|
+
var disconnectedCallback;
|
|
6894
|
+
if (lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE) {
|
|
6895
|
+
connectedCallback = function connectedCallback(elm) {
|
|
6849
6896
|
connectRootElement(elm);
|
|
6850
|
-
}
|
|
6851
|
-
|
|
6852
|
-
var disconnectedCallback = function disconnectedCallback(elm) {
|
|
6853
|
-
if (lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE) {
|
|
6897
|
+
};
|
|
6898
|
+
disconnectedCallback = function disconnectedCallback(elm) {
|
|
6854
6899
|
disconnectRootElement(elm);
|
|
6855
|
-
}
|
|
6856
|
-
}
|
|
6900
|
+
};
|
|
6901
|
+
}
|
|
6857
6902
|
var element = createCustomElement(tagName, upgradeCallback, connectedCallback, disconnectedCallback);
|
|
6858
6903
|
return element;
|
|
6859
6904
|
}
|
|
@@ -6925,7 +6970,7 @@
|
|
|
6925
6970
|
});
|
|
6926
6971
|
freeze(LightningElement);
|
|
6927
6972
|
seal(LightningElement.prototype);
|
|
6928
|
-
/* version: 2.30.
|
|
6973
|
+
/* version: 2.30.2 */
|
|
6929
6974
|
|
|
6930
6975
|
exports.LightningElement = LightningElement;
|
|
6931
6976
|
exports.__unstable__ProfilerControl = profilerControl;
|
|
@@ -434,9 +434,9 @@ function htmlEscape(str, attrMode = false) {
|
|
|
434
434
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
435
435
|
*/
|
|
436
436
|
// Increment whenever the LWC template compiler changes
|
|
437
|
-
const LWC_VERSION = "2.30.
|
|
437
|
+
const LWC_VERSION = "2.30.2";
|
|
438
438
|
const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
|
|
439
|
-
/** version: 2.30.
|
|
439
|
+
/** version: 2.30.2 */
|
|
440
440
|
|
|
441
441
|
/*
|
|
442
442
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -548,7 +548,7 @@ function setFeatureFlagForTest(name, value) {
|
|
|
548
548
|
setFeatureFlag(name, value);
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
/** version: 2.30.
|
|
551
|
+
/** version: 2.30.2 */
|
|
552
552
|
|
|
553
553
|
/* proxy-compat-disable */
|
|
554
554
|
|
|
@@ -3815,16 +3815,16 @@ function mountCustomElement(vnode, parent, anchor, renderer) {
|
|
|
3815
3815
|
// the custom element from the registry is expecting an upgrade callback
|
|
3816
3816
|
vm = createViewModelHook(elm, vnode, renderer);
|
|
3817
3817
|
};
|
|
3818
|
-
|
|
3819
|
-
|
|
3818
|
+
let connectedCallback;
|
|
3819
|
+
let disconnectedCallback;
|
|
3820
|
+
if (lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE) {
|
|
3821
|
+
connectedCallback = elm => {
|
|
3820
3822
|
connectRootElement(elm);
|
|
3821
|
-
}
|
|
3822
|
-
|
|
3823
|
-
const disconnectedCallback = elm => {
|
|
3824
|
-
if (lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE) {
|
|
3823
|
+
};
|
|
3824
|
+
disconnectedCallback = elm => {
|
|
3825
3825
|
disconnectRootElement(elm);
|
|
3826
|
-
}
|
|
3827
|
-
}
|
|
3826
|
+
};
|
|
3827
|
+
}
|
|
3828
3828
|
// Should never get a tag with upper case letter at this point; the compiler
|
|
3829
3829
|
// should produce only tags with lowercase letters. However, the Java
|
|
3830
3830
|
// compiler may generate tagnames with uppercase letters so - for backwards
|
|
@@ -6124,7 +6124,7 @@ function freezeTemplate(tmpl) {
|
|
|
6124
6124
|
});
|
|
6125
6125
|
}
|
|
6126
6126
|
}
|
|
6127
|
-
/* version: 2.30.
|
|
6127
|
+
/* version: 2.30.2 */
|
|
6128
6128
|
|
|
6129
6129
|
/*
|
|
6130
6130
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -6595,7 +6595,7 @@ function renderComponent(tagName, Ctor, props = {}) {
|
|
|
6595
6595
|
*/
|
|
6596
6596
|
freeze(LightningElement);
|
|
6597
6597
|
seal(LightningElement.prototype);
|
|
6598
|
-
/* version: 2.30.
|
|
6598
|
+
/* version: 2.30.2 */
|
|
6599
6599
|
|
|
6600
6600
|
exports.LightningElement = LightningElement;
|
|
6601
6601
|
exports.api = api$1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:t,create:n,defineProperties:r,defineProperty:o,freeze:i,getOwnPropertyDescriptor:s,getOwnPropertyNames:l,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:d,seal:f,setPrototypeOf:p}=Object,{isArray:h}=Array,{concat:m,copyWithin:g,fill:w,filter:y,find:b,indexOf:v,join:E,map:C,pop:S,push:k,reduce:T,reverse:M,shift:x,slice:A,some:N,sort:O,splice:_,unshift:L,forEach:$}=Array.prototype,{fromCharCode:P}=String,{charCodeAt:D,replace:R,slice:I,toLowerCase:F}=String.prototype;function H(e){return void 0===e}function B(e){return null===e}function V(e){return!0===e}function j(e){return!1===e}function W(e){return"function"==typeof e}function G(e){return"string"==typeof e}function U(){}const K={}.toString;function z(e){return e&&e.toString?h(e)?E.call(C.call(e,z),","):e.toString():"object"==typeof e?K.call(e):e+""}function q(e,t){do{const n=s(e,t);if(!H(n))return n;e=a(e)}while(null!==e)}const Y=["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:X,AriaPropNameToAttrNameMap:J}=(()=>{const e=n(null),t=n(null);return $.call(Y,(n=>{const r=F.call(R.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})();function Q(e){return e in X}const Z=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),ee="http://www.w3.org/1999/xhtml",te=new Set(["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr","param","keygen","menuitem"]);const ne=new Map([["autofocus",new Set(["button","input","keygen","select","textarea"])],["autoplay",new Set(["audio","video"])],["checked",new Set(["command","input"])],["disabled",new Set(["button","command","fieldset","input","keygen","optgroup","select","textarea"])],["formnovalidate",new Set(["button"])],["hidden",new Set],["loop",new Set(["audio","bgsound","marquee","video"])],["multiple",new Set(["input","select"])],["muted",new Set(["audio","video"])],["novalidate",new Set(["form"])],["open",new Set(["details"])],["readonly",new Set(["input","textarea"])],["required",new Set(["input","select","textarea"])],["reversed",new Set(["ol"])],["selected",new Set(["option"])]]);function re(e,t){const n=ne.get(e);return void 0!==n&&(0===n.size||n.has(t))}const oe=new Set(["accesskey","autocapitalize","autofocus","class","contenteditable","contextmenu","dir","draggable","enterkeyhint","exportparts","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","part","slot","spellcheck","style","tabindex","title","translate"]);function ie(e){return oe.has(e)}const se=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"]]),le=new Map;function ae(e){const t=J[e];if(!H(t))return t;const n=se.get(e);if(!H(n))return n;const r=le.get(e);if(!H(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=D.call(e,t);o+=n>=65&&n<=90?"-"+P(n+32):P(n)}return le.set(e,o),o}const ce={'"':""","'":"'","<":"<",">":">","&":"&"};function ue(e,t=!1){const n=t?/["&]/g:/["'<>&]/g;return e.replace(n,(e=>ce[e]))}if("function"!=typeof Event){class e{}o(Z,"Event",{value:e,configurable:!0,writable:!0})}if("function"!=typeof CustomEvent){class e extends Event{}o(Z,"CustomEvent",{value:e,configurable:!0,writable:!0})}const de={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null,ENABLE_LIGHT_GET_ROOT_NODE_PATCH:null,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null,ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY:null};Z.lwcRuntimeFlags||Object.defineProperty(Z,"lwcRuntimeFlags",{value:n(null)});const fe=Z.lwcRuntimeFlags;const pe=f(n(null)),he=f([]);function me(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}const ge=new WeakMap;const we={observe(e){e()},reset(){},link(){}};function ye(e){return we}function be(e){return`<${F.call(e.tagName)}>`}function ve(e,t){if(!u(t)&&H(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!B(n);)k.call(t,be(n)),n=n.owner;return t.reverse().join("\n\t")}(e);o(t,"wcStack",{get:()=>n})}}function Ee(e,t,n){let r=`[LWC ${e}]: ${t}`;H(n)||(r=`${r}\n${function(e){const t=[];let n="";for(;!B(e.owner);)k.call(t,n+be(e)),e=e.owner,n+="\t";return E.call(t,"\n")}(n)}`);try{throw new Error(r)}catch(t){console[e](t)}}function Ce(e,t){Ee("error",e,t)}function Se(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function ke(e){return W(e)&&c.call(e,"__circular__")}const Te="undefined"!=typeof HTMLElement?HTMLElement:function(){},Me=Te.prototype;function xe(e){return`Using the \`${e}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}t(n(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:xe("offsetHeight")},offsetLeft:{readOnly:!0,error:xe("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:xe("offsetTop")},offsetWidth:{readOnly:!0,error:xe("offsetWidth")},role:{attribute:"role"}});let Ae,Ne=null;function Oe(e,t){return e!==Ne||t!==Ae}function _e(e,t){Ne=null,Ae=void 0}function Le(e,t){Ne=e,Ae=t}const $e=n(null);function Pe(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n)}$.call(d(J),(e=>{const t=q(Me,e);H(t)||($e[e]=t)})),$.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=q(Me,e);H(t)||($e[e]=t)}));const{isArray:De}=Array,{prototype:Re,getPrototypeOf:Ie,create:Fe,defineProperty:He,isExtensible:Be,getOwnPropertyDescriptor:Ve,getOwnPropertyNames:je,getOwnPropertySymbols:We,preventExtensions:Ge,hasOwnProperty:Ue}=Object,{push:Ke,concat:ze}=Array.prototype;function qe(e){return void 0===e}function Ye(e){return"function"==typeof e}const Xe=new WeakMap;function Je(e,t){Xe.set(e,t)}const Qe=e=>Xe.get(e)||e;class Ze{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(Ue.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;qe(n)||(e.get=this.wrapGetter(n)),qe(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=Ve(n,t);if(!qe(r)){const n=this.wrapDescriptor(r);He(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;ze.call(je(t),We(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;qe(n)||Ue.call(e,n)||He(e,n,Fe(null)),Ge(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=qe(n)||Ue.call(t,n)?[]:[n];return Ke.apply(r,je(t)),Ke.apply(r,We(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!Be(e)&&(!!Be(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return Ie(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=Ve(n,t);if(qe(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},He(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const et=new WeakMap,tt=new WeakMap,nt=new WeakMap,rt=new WeakMap;class ot extends Ze{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=et.get(e);if(!qe(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Qe(this)))};return et.set(e,r),nt.set(r,e),r}wrapSetter(e){const t=tt.get(e);if(!qe(t))return t;const n=function(t){e.call(Qe(this),Qe(t))};return tt.set(e,n),rt.set(n,e),n}unwrapDescriptor(e){if(Ue.call(e,"value"))e.value=Qe(e.value);else{const{set:t,get:n}=e;qe(n)||(e.get=this.unwrapGetter(n)),qe(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=nt.get(e);if(!qe(t))return t;const n=this,r=function(){return Qe(e.call(n.wrapValue(this)))};return et.set(r,e),nt.set(e,r),r}unwrapSetter(e){const t=rt.get(e);if(!qe(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return tt.set(r,e),rt.set(e,r),r}set(e,t,n){const{originalTarget:r,membrane:{valueMutated:o}}=this;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&De(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(Be(e)){const{originalTarget:t}=this;if(Ge(t),Be(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!Ue.call(r,t)||(He(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const it=new WeakMap,st=new WeakMap;class lt extends Ze{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=it.get(e);if(!qe(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Qe(this)))};return it.set(e,r),r}wrapSetter(e){const t=st.get(e);if(!qe(t))return t;const n=function(e){};return st.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 at(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(De(e))return!0;const t=Ie(e);return t===Re||null===t||null===Ie(t)}const ct=(e,t)=>{},ut=(e,t)=>{};function dt(e){return De(e)?[]:{}}const ft=Symbol.for("@@lockerLiveValue"),pt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=Ye(t)?t:ut,this.valueObserved=Ye(n)?n:ct,this.valueIsObservable=Ye(r)?r:at,this.tagPropertyKey=o}getProxy(e){const t=Qe(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=Qe(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return Qe(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(qe(t)){const n=new ot(this,e);t=new Proxy(dt(e),n),Je(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(qe(t)){const n=new lt(this,e);t=new Proxy(dt(e),n),Je(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:function(e,t){},valueMutated:function(e,t){const n=ge.get(e);if(!H(n)){const e=n[t];if(!H(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}},tagPropertyKey:ft});function ht(e){return pt.getReadOnlyProxy(e)}function mt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!W(n))throw new TypeError;if(!W(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const e=sr(this);if(!Hn(e))return n.call(e.elm)},set(t){const n=sr(this);return Pe(n,e,t),r.call(n.elm,t)}}}const gt=i(n(null)),wt=new WeakMap,yt=function(){if(B(Fn))throw new TypeError("Illegal constructor");const e=Fn,{def:t,elm:n}=e,{bridge:r}=t,o=this;if(p(n,r.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return ir(o,e),ir(n,e),1===e.renderMode?e.renderRoot=bt(e):e.renderRoot=n,this};function bt(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:i}}=e,s=i(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=s,ir(s,e),s}yt.prototype={constructor:yt,dispatchEvent(e){const t=sr(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=sr(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,Kn(r,t),n)},removeEventListener(e,t,n){const r=sr(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,Kn(r,t),n)},hasAttribute(e){const t=sr(this),{elm:n,renderer:{getAttribute:r}}=t;return!B(r(n,e))},hasAttributeNS(e,t){const n=sr(this),{elm:r,renderer:{getAttribute:o}}=n;return!B(o(r,t,e))},removeAttribute(e){const t=sr(this),{elm:n,renderer:{removeAttribute:r}}=t;Le(n,e),r(n,e),_e()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=sr(this);Le(n,t),r(n,t,e),_e()},getAttribute(e){const t=sr(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=sr(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=sr(this),{elm:r,renderer:{setAttribute:o}}=n;Le(r,e),o(r,e,t),_e()},setAttributeNS(e,t,n){const r=sr(this),{elm:o,renderer:{setAttribute:i}}=r;Le(o,t),i(o,t,n,e),_e()},getBoundingClientRect(){const e=sr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=sr(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=sr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return sr(this).shadowRoot},get refs(){const e=sr(this);if(_n)return;const{refVNodes:t,hasRefVNodes:r,cmpTemplate:o}=e;if(!r)return;if(B(t))return gt;let s=wt.get(t);if(H(s)){s=n(null);for(const e of d(t))s[e]=t[e].elm;i(s),wt.set(t,s)}return s},set refs(e){o(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=sr(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=sr(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=sr(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=sr(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=sr(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=sr(this);return e.renderer.getLastElementChild(e.elm)},render(){return sr(this).def.template},toString(){return`[object ${sr(this).def.name}]`}};const vt=n(null),Et=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of Et)vt[e]={value(t){const n=sr(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};r(yt.prototype,vt);const Ct=n(null);for(const e in $e)Ct[e]=mt(e,$e[e]);function St(e){return{get(){return sr(this).cmpFields[e]},set(t){Pe(sr(this),e,t)},enumerable:!0,configurable:!0}}r(yt.prototype,Ct),o(yt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const kt={observe(e){e()},reset(){},link(){}};function Tt(e){return{get(){const t=sr(this);if(!Hn(t))return t.cmpProps[e]},set(t){sr(this).cmpProps[e]=t},enumerable:!0,configurable:!0}}function Mt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!W(n))throw new Error;return{get(){return n.call(this)},set(t){const n=sr(this);if(r)if(fe.ENABLE_REACTIVE_SETTER){let o=n.oar[e];H(o)&&(o=n.oar[e]=kt),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function xt(e){return{get(){return sr(this).cmpFields[e]},set(t){Pe(sr(this),e,t)},enumerable:!0,configurable:!0}}function At(e){return{get(){return sr(this).cmpFields[e]},set(t){Pe(sr(this),e,t)},enumerable:!0,configurable:!0}}const Nt=new Map;const Ot={apiMethods:pe,apiFields:pe,apiFieldsConfig:pe,wiredMethods:pe,wiredFields:pe,observedFields:pe};const _t=new Set;function Lt(){return[]}_t.add(Lt);const $t=n(null),Pt=n(null);function Dt(e){let t=$t[e];return H(t)&&(t=$t[e]=function(){const t=sr(this),{getHook:n}=t;return n(t.component,e)}),t}function Rt(e){let t=Pt[e];return H(t)&&(t=Pt[e]=function(t){const n=sr(this),{setHook:r}=n;t=ht(t),r(n.component,e,t)}),t}function It(e){return function(){const t=sr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,A.call(arguments))}}function Ft(e,t){return function(n,r,o){if(r===o)return;const i=e[n];H(i)?H(t)||t.apply(this,arguments):Oe(this,n)&&(this[i]=o)}}function Ht(e,t,i){let s;W(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),o(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const l=n(null),{attributeChangedCallback:a}=e.prototype,{observedAttributes:c=[]}=e,u=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[ae(n)]=n,u[n]={get:Dt(n),set:Rt(n),enumerable:!0,configurable:!0}}for(let e=0,t=i.length;e<t;e+=1){const t=i[e];u[t]={value:It(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:Ft(l,a)},o(s,"observedAttributes",{get:()=>[...c,...d(l)]}),r(s.prototype,u),s}const Bt=Ht(Te,l($e),[]);i(Bt),f(Bt.prototype);const Vt=new WeakMap;function jt(e){const{shadowSupportMode:o,renderMode:i}=e,s=function(e){const t=Nt.get(e);return H(t)?Ot:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:f,wiredMethods:p,observedFields:h}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=a(e);if(B(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(ke(t)){const e=Se(t);t=e===t?yt:e}return t}(e),C=E!==yt?Gt(E):Ut,S=Ht(C.bridge,d(l),d(u)),k=t(n(null),C.props,l),T=t(n(null),C.propsConfig,c),M=t(n(null),C.methods,u),x=t(n(null),C.wire,f,p);g=g||C.connectedCallback,w=w||C.disconnectedCallback,y=y||C.renderedCallback,b=b||C.errorCallback,v=v||C.render;let A=C.shadowSupportMode;H(o)||(A=o);let N=C.renderMode;H(i)||(N="light"===i?0:1);const O=function(e){return jn.get(e)}(e)||C.template,_=e.name||C.name;r(m,h);return{ctor:e,name:_,wire:x,props:k,propsConfig:T,methods:M,bridge:S,template:O,renderMode:N,shadowSupportMode:A,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function Wt(e){if(!W(e))return!1;if(e.prototype instanceof yt)return!0;let t=e;do{if(ke(t)){const e=Se(t);if(e===t)return!0;t=e}if(t===yt)return!0}while(!B(t)&&(t=a(t)));return!1}function Gt(e){let t=Vt.get(e);if(H(t)){if(ke(e)){return t=Gt(Se(e)),Vt.set(e,t),t}if(!Wt(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=jt(e),Vt.set(e,t)}return t}const Ut={ctor:yt,name:yt.name,props:Ct,propsConfig:pe,methods:pe,renderMode:1,shadowSupportMode:"reset",wire:pe,bridge:Bt,template:Lt,render:yt.prototype.render};function Kt(e){return`${e}-host`}function zt(e){return On.h("style",{key:"style",attrs:{type:"text/css"}},[On.t(e)])}function qt(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(h(s))k.apply(r,qt(s,t,n));else{const e=s.$scoped$;if(fe.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){Ce("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}const i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let a;1===n.renderMode?a=0===n.shadowMode:(H(o)&&(o=Xt(n)),a=B(o)||0===o.shadowMode),k.call(r,s(i,l,a))}}return r}function Yt(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return H(n)||0===n.length||(o=qt(n,r,e)),o}function Xt(e){let t=e;for(;!B(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Jt(e){const{type:t}=e;return 2===t||3===t}function Qt(e,t){return e.key===t.key&&e.sel===t.sel}function Zt(e){return 5===e.type}function en(e){return 6===e.type}function tn(e,t){return"input"===e&&("value"===t||"checked"===t)}const nn=n(null);function rn(e){if(null==e)return pe;e=G(e)?e:e+"";let t=nn[e];if(t)return t;t=n(null);let r,o=0;const i=e.length;for(r=0;r<i;r++)32===D.call(e,r)&&(r>o&&(t[I.call(e,o,r)]=!0),o=r+1);return r>o&&(t[I.call(e,o,r)]=!0),nn[e]=t,t}function on(e,t,n,r){var o;o=t,vn.has(o)?Cn(e,t,n,r):Sn(e,t,n,r)}function sn(e,t,n,r){var o,i;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&hn(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:i}=t;i?Sn(e.children,o,n,r):Cn(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;gn(e,t,n),on(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);un(e,n,r,!0),an(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;gn(e,t,r),H(o)||yn(t,o),on(e.children,t.children,n,r),H(o)||function(e){ar(e)}(o)}}(e,t,n,null!==(i=t.data.renderer)&&void 0!==i?i:r)}}function ln(e,t,n,r){var o,i;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:i}=r,s=e.elm=i(e.text);pn(s,o,r),mn(s,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:i}=r,s=e.elm=i(e.text);pn(s,o,r),mn(s,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:i,isSyntheticShadowDefined:s}=r,l=e.elm=i(e.fragment,!0);pn(l,o,r);const{renderMode:a,shadowMode:c}=o;s&&(1!==c&&0!==a||(l.$shadowStaticNode$=!0));mn(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;cn(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:i,data:{svg:s}}=e,{createElement:l}=r,a=V(s)?"http://www.w3.org/2000/svg":void 0,c=e.elm=l(o,a);pn(c,i,r),wn(c,i,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)}(c,e),gn(null,e,r),mn(c,t,n,r),cn(e.children,c,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:an(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function an(e,t,n,r){const{sel:o,owner:i}=e,{createCustomElement:s}=r;let l;const a=s(o.toLowerCase(),(t=>{l=function(e,t,n){let r=lr(e);if(!H(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;return r=or(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}),(e=>{fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&tr(e)}),(e=>{fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&nr(e)}));e.elm=a,e.vm=l,pn(a,i,r),wn(a,i,r),l&&yn(e,l),gn(null,e,r),mn(a,t,n,r),l&&cr(l),cn(e.children,a,r,null),l&&function(e){ar(e)}(l)}function cn(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];fn(i)&&ln(i,t,n,r)}}function un(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&(5===o?dn(e.children,t,n,r):function(e,t,n){n.remove(e,t)}(i,t,n)),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;dn(e.children,i,n,t);break}case 3:{const{vm:t}=e;H(t)||function(e){rr(e)}(t)}}}function dn(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];fn(i)&&un(i,t,n,r)}}function fn(e){return null!=e}function pn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function hn(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function mn(e,t,n,r){r.insert(e,t,n)}function gn(e,n,r){B(e)&&(function(e,t){const{elm:n,data:{on:r}}=e;if(H(r))return;const{addEventListener:o}=t;for(const e in r)o(n,e,r[e])}(n,r),function(e,t){const{elm:n,data:{classMap:r}}=e;if(H(r))return;const{getClassList:o}=t,i=o(n);for(const e in r)i.add(e)}(n,r),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(H(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,i,s]=r[e];o(n,t,i,s)}}(n,r)),function(e,t,n){const{elm:r,data:{className:o}}=t,i=B(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),a=rn(o),c=rn(i);let u;for(u in c)H(a[u])&&l.remove(u);for(u in a)H(c[u])&&l.add(u)}(e,n,r),function(e,t,n){const{elm:r,data:{style:o}}=t;if((B(e)?void 0:e.data.style)===o)return;const{setAttribute:i,removeAttribute:s}=n;G(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,n,r),function(e,t,n){const{attrs:r}=t.data;if(H(r))return;const o=B(e)?pe:e.data.attrs;if(o===r)return;const{elm:i}=t,{setAttribute:s,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(Le(i,e),58===D.call(e,3)?s(i,e,t,"http://www.w3.org/XML/1998/namespace"):58===D.call(e,5)?s(i,e,t,"http://www.w3.org/1999/xlink"):B(t)||H(t)?l(i,e):s(i,e,t),_e())}}(e,n,r),function(e,n,r){let{props:o}=n.data;const{spread:i}=n.data;if(H(o)&&H(i))return;let s;if(!B(e)){s=e.data.props;const n=e.data.spread;if(s===o&&n===i)return;H(s)&&(s=pe),H(n)||(s=t({},s,n))}H(i)||(o=t({},o,i));const l=B(e),{elm:a,sel:c}=n,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(tn(c,e)?u(a,e):s[e])&&e in s||d(a,e,t)}}(e,n,r)}function wn(e,t,n){const r=function(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}(t);if(!B(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||H(o)||(e.$shadowToken$=o)}function yn(e,t){const r=e.aChildren||e.children;t.aChildren=r;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t,r){const{cmpSlots:{slotAssignments:o}}=e,i=n(null);if(bn(e,t,i),e.cmpSlots={owner:r,slotAssignments:i},j(e.isDirty)){const t=d(o);if(t.length!==d(i).length)return void Gn(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(H(i[r])||o[r].length!==i[r].length)return void Gn(e);const s=o[r],l=i[r];for(let t=0,n=i[r].length;t<n;t+=1)if(s[t]!==l[t])return void Gn(e)}}}(t,r,e.owner),e.aChildren=r,e.children=he)}function bn(e,t,n){var r,o;for(let i=0,s=t.length;i<s;i+=1){const s=t[i];if(B(s))continue;if(Zt(s)){bn(e,s.children.slice(1,-1),n);continue}let l="";Jt(s)?l=null!==(o=null===(r=s.data.attrs)||void 0===r?void 0:r.slot)&&void 0!==o?o:"":en(s)&&(l=s.slotName);const a=n[l]=n[l]||[];k.call(a,s)}}const vn=new WeakMap;function En(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(fn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function Cn(e,t,n,r){let o=0,i=0,s=e.length-1,l=e[0],a=e[s];const c=t.length-1;let u,d,f,p,h=c,m=t[0],g=t[h],w=!1;for(;o<=s&&i<=h;)fn(l)?fn(a)?fn(m)?fn(g)?Qt(l,m)?(sn(l,m,n,r),l=e[++o],m=t[++i]):Qt(a,g)?(sn(a,g,n,r),a=e[--s],g=t[--h]):Qt(l,g)?(sn(l,g,n,r),mn(l.elm,n,r.nextSibling(a.elm),r),l=e[++o],g=t[--h]):Qt(a,m)?(sn(a,m,n,r),mn(m.elm,n,l.elm,r),a=e[--s],m=t[++i]):(void 0===u&&(u=En(e,o,s)),d=u[m.key],H(d)?(ln(m,n,r,l.elm),m=t[++i]):(f=e[d],fn(f)&&(f.sel!==m.sel?ln(m,n,r,l.elm):(sn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,mn(f.elm,n,l.elm,r))),m=t[++i])):g=t[--h]:m=t[++i]:a=e[--s]:l=e[++o];if(o<=s||i<=h)if(o>s){let e,o=h;do{e=t[++o]}while(!fn(e)&&o<c);p=fn(e)?e.elm:null,cn(t,n,r,p,i,h+1)}else dn(e,n,r,!0,o,s+1)}function Sn(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void cn(t,n,r,null);if(0===i)return void dn(e,n,r,!0);let s=null;for(let o=i-1;o>=0;o-=1){const i=e[o],l=t[o];l!==i&&(fn(i)?fn(l)?(sn(i,l,n,r),s=l.elm):un(i,n,r,!0):fn(l)&&(ln(l,n,r,s),s=l.elm))}}const kn=Symbol.iterator;function Tn(e,t,n=he){const r=$n(),{key:o,ref:i}=t,s={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return H(i)||me(r,i,s),s}function Mn(e,t,n,r=he){const o=$n(),{key:i,ref:s}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:i,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){k.call($n().velements,e)}(l),H(s)||me(o,s,l),l}function xn(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:$n()}}function An(e){var t;return t=e,vn.set(t,1),e}let Nn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const On=i({s:function(e,t,n,r){H(r)||H(r.slotAssignments)||H(r.slotAssignments[e])||0===r.slotAssignments[e].length||(n=r.slotAssignments[e].reduce(((e,n)=>{if(n){const o=en(n);if(o!==!H(t.slotData))return e;if(o){const o=$n();let i=[];Pn(r.owner);try{i=n.factory(t.slotData)}finally{Pn(o)}return m.call(e,i)}return m.call(e,n)}return e}),[]));const o=$n(),{renderMode:i,shadowMode:s}=o;return 0===i?(An(n),n):(1===s&&An(n),Tn("slot",t,n))},h:Tn,c:Mn,i:function(e,t){const n=[];if(An(n),H(e)||null===e)return n;const r=e[kn]();let o=r.next(),i=0,{value:s,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(s,i,0===i,!0===l);h(e)?k.apply(n,e):k.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];An(n);for(let r=0;r<t;r+=1){const t=e[r];h(t)?k.apply(n,t):k.call(n,t)}return n},t:xn,d:function(e){return null==e?"":String(e)},b:function(e){const t=$n();if(B(t))throw new Error;const n=t;return function(t){Vn(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:$n()}},dc:function(e,t,n,r=he){if(null==t)return null;if(!Wt(t))throw new Error(`Invalid LWC Constructor ${z(t)} for custom element <${e}>.`);return Mn(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[xn(""),...t,xn("")],stable:n,owner:$n()}},ti:function(e){return e>0&&!(V(e)||j(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:$n()}},gid:function(e){const t=$n();if(H(e)||""===e)return e;if(B(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?R.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=$n();if(H(e)||""===e)return e;if(B(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return Nn(e)},ssf:function(e,t){return{type:6,factory:t,owner:$n(),elm:void 0,sel:void 0,key:void 0,slotName:e}}});let _n=!1,Ln=null;function $n(){return Ln}function Pn(e){Ln=e}const Dn=(Rn=(e,t)=>{const{createFragment:n}=t;return n(e)},(e,...t)=>{const r=n(null);return function(){const{context:{hasScopedStyles:n,stylesheetToken:o},shadowMode:i,renderer:s}=$n(),l=!H(o),a=1===i;let c=0;if(l&&n&&(c|=1),l&&a&&(c|=2),!H(r[c]))return r[c];const u=n&&l?" "+o:"",d=n&&l?` class="${o}"`:"",f=l&&a?" "+o:"";let p="";for(let n=0,r=t.length;n<r;n++)switch(t[n]){case 0:p+=e[n]+u;break;case 1:p+=e[n]+d;break;case 2:p+=e[n]+f;break;case 3:p+=e[n]+d+f}return p+=e[e.length-1],r[c]=Rn(p,s),r[c]}});var Rn;function In(e,t){const r=_n,o=Ln;let i=[];return hr(e,e.owner,(()=>{Ln=e}),(()=>{const{component:r,context:o,cmpSlots:s,cmpTemplate:l,tro:a}=e;a.observe((()=>{if(t!==l){if(B(l)||pr(e),a=t,!_t.has(a))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${z(t)}.`);e.cmpTemplate=t,o.tplCache=n(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!H(t))for(let e=0;e<t.length;e++)if(V(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i,renderer:{getClassList:s,removeAttribute:l,setAttribute:a}}=e,{stylesheets:c,stylesheetToken:u}=t,d=1===o&&1===i,{hasScopedStyles:f}=r;let p,h,m;const{stylesheetToken:g,hasTokenInClass:w,hasTokenInAttribute:y}=r;H(g)||(w&&s(n).remove(Kt(g)),y&&l(n,Kt(g))),H(c)||0===c.length||(p=u),H(p)||(f&&(s(n).add(Kt(p)),h=!0),d&&(a(n,Kt(p),""),m=!0)),r.stylesheetToken=p,r.hasTokenInClass=h,r.hasTokenInAttribute=m}(e,t);const r=Yt(e,t);o.styleVNodes=0===r.length?null:function(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1!==n||1!==r)return C.call(t,zt);for(let e=0;e<t.length;e++)o(t[e]);return null}(e,r)}var a;const c=Boolean(t.hasRefs);e.hasRefVNodes=c,e.refVNodes=c?n(null):null,e.velements=[],_n=!0,i=t.call(void 0,On,r,s,o.tplCache);const{styleVNodes:u}=o;B(u)||L.apply(i,u)}))}),(()=>{_n=r,Ln=o})),i}let Fn=null;function Hn(e){return Fn===e}function Bn(e,t,n){const{component:r,callHook:o,owner:i}=e;hr(e,i,U,(()=>{o(r,t,n)}),U)}function Vn(e,t,n,r){const{callHook:o,owner:i}=e;hr(e,i,U,(()=>{o(n,t,[r])}),U)}const jn=new Map;function Wn(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=$n();let s,l=!1;return hr(e,o,(()=>{Pn(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{Pn(i)})),l?In(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Gn(e){e.isDirty=!0}const Un=new WeakMap;function Kn(e,t){if(!W(t))throw new TypeError;let n=Un.get(t);return H(n)&&(n=function(n){Vn(e,t,void 0,n)},Un.set(t,n)),n}const zn=n(null),qn=["rendered","connected","disconnected"];function Yn(e,t){const{component:n,def:r,context:o}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},r,o)}let Xn=0;const Jn=new WeakMap;function Qn(e,t,n=[]){return t.apply(e,n)}function Zn(e,t,n){e[t]=n}function er(e,t){return e[t]}function tr(e){const t=sr(e);1===t.state&&nr(e),cr(t),ar(t)}function nr(e){rr(sr(e))}function rr(e){const{state:t}=e;if(2!==t){const{oar:t,tro:n}=e;n.reset();for(const e in t)t[e].reset();!function(e){j(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=zn;t&&Yn(e,t);ur(e)&&function(e){const{wiredDisconnecting:t}=e.context;hr(e,e,U,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),U)}(e);const{disconnectedCallback:n}=e.def;H(n)||Bn(e,n)}(e),dr(e),function(e){const{aChildren:t}=e;fr(t)}(e)}}function or(e,t,r,o){const{mode:i,owner:s,tagName:l,hydrated:a}=o,c=Gt(t),u={elm:e,def:c,idx:Xn++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,refVNodes:null,hasRefVNodes:!1,children:he,aChildren:he,velements:he,cmpProps:n(null),cmpFields:n(null),cmpSlots:{slotAssignments:n(null)},oar:n(null),cmpTemplate:null,hydrated:Boolean(a),renderMode:c.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:pe,wiredConnecting:he,wiredDisconnecting:he},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:Qn,setHook:Zn,getHook:er,renderer:r};return u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let i;if(r)if(0===n.renderMode)i=0;else if(o)if(fe.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!B(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=B(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,r),u.tro=ye(),function(e,t){const n=Fn;let r;Fn=e;try{const o=new t;if(Fn.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Fn=n,!H(r))throw ve(e,r),r}}(u,c.ctor),ur(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],s=mr.get(i);if(!H(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=wr(e,t,s),a=s.dynamic.length>0;k.call(r,(()=>{n.connect(),fe.ENABLE_WIRE_SYNC_EMIT||!a?i():Promise.resolve().then(i)})),k.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function ir(e,t){Jn.set(e,t)}function sr(e){return Jn.get(e)}function lr(e){return Jn.get(e)}function ar(e){if(V(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&hr(e,e,(()=>{}),(()=>{on(r,t,n,o)}),(()=>{}));e.state}(e,Wn(e))}}function cr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=zn;n&&Yn(e,n),ur(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;H(r)||Bn(e,r)}function ur(e){return l(e.def.wire).length>0}function dr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!H(n)){const e=lr(n);H(e)||rr(e)}}}function fr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!B(n)&&!H(n.elm))switch(n.type){case 2:fr(n.children);break;case 3:rr(sr(n.elm));break}}}function pr(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];B(o)||H(o.elm)||r(o.elm,n)}e.children=he,dr(e),e.velements=he}function hr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!H(i)){ve(e,i);const n=B(t)?void 0:function(e){let t=e;for(;!B(t);){if(!H(t.def.errorCallback))return t;t=t.owner}}(t);if(H(n))throw i;pr(e);Bn(n,n.def.errorCallback,[i,i.wcStack])}}}const mr=new Map;class gr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function wr(e,t,n){const{method:r,adapter:i,configCallback:s,dynamic:l}=n;const a=H(r)?function(e,t){return n=>{Pe(e,t,n)}}(e,t):function(e,t){return n=>{hr(e,e.owner,U,(()=>{t.call(e.component,n)}),U)}}(e,r),c=e=>{a(e)};let u,d;o(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),o(c,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),hr(e,e,U,(()=>{d=new i(c)}),U);const{computeConfigAndUpdate:f,ro:p}=function(e,t,n){const r=ye();return{computeConfigAndUpdate:()=>{let o;r.observe((()=>o=t(e))),n(o)},ro:r}}(e.component,s,(t=>{hr(e,e,U,(()=>{d.update(t,u)}),U)}));return H(i.contextSchema)||function(e,t,n){const{adapter:r}=t,o=br(r);if(H(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{dispatchEvent:a}}=e;k.call(s,(()=>{const e=new gr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){k.call(l,e)}});a(i,e)}))}(e,n,(t=>{u!==t&&(u=t,1===e.state&&f())})),{connector:d,computeConfigAndUpdate:f,resetConfigWatcher:()=>p.reset()}}const yr=new Map;function br(e){return yr.get(e)}function vr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};mr.set(e,o)}function Er(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};mr.set(e,o)}let Cr=!1;const Sr=Symbol("namespace"),kr=Symbol("type"),Tr=Symbol("parent"),Mr=Symbol("shadow-root"),xr=Symbol("children"),Ar=Symbol("attributes"),Nr=Symbol("event-listeners"),Or=Symbol("value");var _r;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(_r||(_r={}));const Lr=/\s+/g;function $r(e){return new Set(e.split(Lr).filter((e=>e.length)))}function Pr(e){return Array.from(e).join(" ")}function Dr(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function Rr(e,t){return{[kr]:_r.Element,tagName:e,[Sr]:null!=t?t:ee,[Tr]:null,[Mr]:null,[xr]:[],[Ar]:[],[Nr]:{}}}function Ir(e,t,n=null){const r=e[Ar].find((e=>e.name===t&&e[Sr]===n));return r?r.value:null}function Fr(e,t,n,r=null){const o=e[Ar].find((e=>e.name===t&&e[Sr]===r));H(r)&&(r=null),H(o)?e[Ar].push({name:t,[Sr]:r,value:String(n)}):o.value=n}function Hr(e,t,n){e[Ar]=e[Ar].filter((e=>e.name!==t&&e[Sr]!==n))}const Br=U,Vr=U,jr=U,Wr=Dr("dispatchEvent"),Gr=Dr("getBoundingClientRect"),Ur=Dr("querySelector"),Kr=Dr("querySelectorAll"),zr=Dr("getElementsByTagName"),qr=Dr("getElementsByClassName"),Yr=Dr("getChildren"),Xr=Dr("getChildNodes"),Jr=Dr("getFirstChild"),Qr=Dr("getFirstElementChild"),Zr=Dr("getLastChild"),eo=Dr("getLastElementChild"),to=U,no=new Map;function ro(e){let t=no.get(e);return H(t)?(t=function(e){return function(t){const n=Rr(e);return W(t)&&t(n),n}}(e),no.set(e,t),t):t}const oo={isNativeShadowDefined:!1,isSyntheticShadowDefined:!1,insert:function(e,t,n){const r=e[Tr];if(null!==r&&r!==t){const t=r[xr].indexOf(e);r[xr].splice(t,1)}e[Tr]=t;const o=B(n)?-1:t[xr].indexOf(n);-1===o?t[xr].push(e):t[xr].splice(o,0,e)},remove:function(e,t){const n=t[xr].indexOf(e);t[xr].splice(n,1)},cloneNode:function(e){return Object.assign({},e)},createFragment:function(e){return{[kr]:_r.Raw,[Tr]:null,[Or]:e}},createElement:Rr,createText:function(e){return{[kr]:_r.Text,[Or]:String(e),[Tr]:null}},createComment:function(e){return{[kr]:_r.Comment,[Or]:e,[Tr]:null}},createCustomElement:function(e,t){return new(ro(e))(t)},nextSibling:function(e){const t=e[Tr];if(B(t))return null;const n=t[xr].indexOf(e);return t[xr][n+1]||null},attachShadow:function(e,t){return e[Mr]={[kr]:_r.ShadowRoot,[xr]:[],mode:t.mode,delegatesFocus:!!t.delegatesFocus},e[Mr]},getProperty:function(e,t){var n,r;if(t in e)return e[t];if(e[kr]===_r.Element){const o=ae(t);if(re(o,e.tagName))return null!==(n=Ir(e,o))&&void 0!==n&&n;if(ie(o)||Q(o))return Ir(e,o);if("input"===e.tagName&&"value"===t)return null!==(r=Ir(e,"value"))&&void 0!==r?r:""}},setProperty:function(e,t,n){if(t in e)return e[t]=n;if(e[kr]===_r.Element){const r=ae(t);if("innerHTML"===t)return void(e[xr]=[{[kr]:_r.Raw,[Tr]:e,[Or]:n}]);if(re(r,e.tagName))return!0===n?Fr(e,r,""):Hr(e,r);if(ie(r)||Q(r))return Fr(e,r,n);if("input"===e.tagName&&"value"===r)return B(n)||H(n)?Hr(e,"value"):Fr(e,"value",n)}},setText:function(e,t){e[kr]===_r.Text?e[Or]=t:e[kr]===_r.Element&&(e[xr]=[{[kr]:_r.Text,[Tr]:e,[Or]:t}])},getAttribute:Ir,setAttribute:Fr,removeAttribute:Hr,addEventListener:Vr,removeEventListener:jr,dispatchEvent:Wr,getClassList:function(e){function t(){let t=e[Ar].find((e=>"class"===e.name&&B(e[Sr])));return H(t)&&(t={name:"class",[Sr]:null,value:""},e[Ar].push(t)),t}return{add(...e){const n=t(),r=$r(n.value);e.forEach((e=>r.add(e))),n.value=Pr(r)},remove(...e){const n=t(),r=$r(n.value);e.forEach((e=>r.delete(e))),n.value=Pr(r)}}},setCSSStyleProperty:function(e,t,n,r){const o=e[Ar].find((e=>"style"===e.name&&B(e[Sr]))),i=`${t}: ${n}${r?" !important":""}`;H(o)?e[Ar].push({name:"style",[Sr]:null,value:i}):o.value+=`; ${i}`},getBoundingClientRect:Gr,querySelector:Ur,querySelectorAll:Kr,getElementsByTagName:zr,getElementsByClassName:qr,getChildren:Yr,getChildNodes:Xr,getFirstChild:Jr,getFirstElementChild:Qr,getLastChild:Zr,getLastElementChild:eo,isConnected:function(e){return!B(e[Tr])},insertStylesheet:Br,assertInstanceOfHTMLElement:to};function io(e){return e.map((e=>{switch(e[kr]){case _r.Text:return""===e[Or]?"":ue(e[Or]);case _r.Comment:return`\x3c!--${ue(e[Or])}--\x3e`;case _r.Raw:return e[Or];case _r.Element:return so(e)}})).join("")}function so(e){let t="";const n=e.tagName,r=e[Sr],o=r!==ee,i=e[xr].length>0;var s;return t+=`<${n}${e[Ar].length?` ${s=e[Ar],s.map((e=>e.value.length?`${e.name}="${ue(e.value,!0)}"`:e.name)).join(" ")}`:""}`,o&&!i?(t+="/>",t):(t+=">",e[Mr]&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${io(e[xr])}</template>`}(e[Mr])),t+=io(e[xr]),function(e,t){return t===ee&&te.has(e.toLowerCase())}(n,r)&&!i||(t+=`</${n}>`),t)}const lo={[kr]:_r.Element,tagName:"fake-root-element",[Sr]:ee,[Tr]:null,[Mr]:null,[xr]:[],[Ar]:[],[Nr]:{}};i(yt),f(yt.prototype),exports.LightningElement=yt,exports.api=function(){throw new Error},exports.createContextProvider=function(e){let t=br(e);if(!H(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){yr.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:i}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{H(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},exports.freezeTemplate=function(e){},exports.getComponentDef=function(e){const t=Gt(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,l={};for(const e in o)l[e]={config:i[e]||0,type:"any",attr:ae(e)};const a={};for(const e in s)a[e]=s[e].value;return{ctor:n,name:r,props:l,methods:a}},exports.isComponentConstructor=Wt,exports.parseFragment=Dn,exports.parseSVGFragment=Dn,exports.readonly=function(e){return ht(e)},exports.register=function(e){for(let t=0;t<qn.length;++t){const n=qn[t];if(n in e){let t=zn[n];H(t)&&(zn[n]=t=[]),k.call(t,e[n])}}},exports.registerComponent=function(e,{tmpl:t}){return W(e)&&jn.set(e,t),e},exports.registerDecorators=function(e,t){const r=e.prototype,{publicProps:i,publicMethods:l,wire:a,track:c,fields:u}=t,d=n(null),f=n(null),p=n(null),h=n(null),m=n(null),g=n(null);let w;if(!H(i))for(const e in i){const t=i[e];if(g[e]=t.config,w=s(r,e),t.config>0){if(H(w))throw new Error;w=Mt(e,w)}else w=H(w)||H(w.get)?Tt(e):Mt(e,w);f[e]=w,o(r,e,w)}if(H(l)||$.call(l,(e=>{if(w=s(r,e),H(w))throw new Error;d[e]=w})),!H(a))for(const e in a){const{adapter:t,method:n,config:i,dynamic:l=[]}=a[e];if(w=s(r,e),1===n){if(H(w))throw new Error;p[e]=w,vr(w,t,i,l)}else w=At(e),h[e]=w,Er(w,t,i,l),o(r,e,w)}if(!H(c))for(const e in c)w=s(r,e),w=xt(e),o(r,e,w);if(!H(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=s(r,t);const n=!H(i)&&t in i,o=!H(c)&&t in c;n||o||(m[t]=St(t))}return function(e,t){Nt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:p,wiredFields:h,observedFields:m}),e},exports.registerTemplate=function(e){return _t.add(e),o(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return H(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=H(e)?void 0:e.shadowAttribute}}),e},exports.renderComponent=function(e,t,n={}){if(!G(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!W(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||B(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=oo.createElement(e);or(r,t,oo,{mode:"open",owner:null,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r[Tr]=lo,tr(r),so(r)},exports.renderer=oo,exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(H(de[e])){const n=d(de).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=fe[e];if(!H(n))return void console.error(`Failed to set the value "${t}" for the runtime feature flag "${e}". "${e}" has already been set with the value "${n}".`);o(fe,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},exports.setFeatureFlagForTest=function(e,t){},exports.setHooks=function(t){var n;e.isFalse(Cr,"Hooks are already overridden, only one definition is allowed."),Cr=!0,n=t.sanitizeHtmlContent,Nn=n},exports.track=function(e){if(1===arguments.length)return e;throw new Error},exports.unwrap=function(e){return e},exports.wire=function(e,t){throw new Error};
|
|
1
|
+
"use strict";var e=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:t,create:n,defineProperties:r,defineProperty:o,freeze:i,getOwnPropertyDescriptor:s,getOwnPropertyNames:l,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:d,seal:f,setPrototypeOf:p}=Object,{isArray:h}=Array,{concat:m,copyWithin:g,fill:w,filter:y,find:b,indexOf:v,join:E,map:C,pop:S,push:k,reduce:T,reverse:M,shift:x,slice:A,some:O,sort:N,splice:_,unshift:L,forEach:$}=Array.prototype,{fromCharCode:P}=String,{charCodeAt:D,replace:R,slice:I,toLowerCase:F}=String.prototype;function H(e){return void 0===e}function B(e){return null===e}function V(e){return!0===e}function j(e){return!1===e}function W(e){return"function"==typeof e}function G(e){return"string"==typeof e}function U(){}const K={}.toString;function z(e){return e&&e.toString?h(e)?E.call(C.call(e,z),","):e.toString():"object"==typeof e?K.call(e):e+""}function q(e,t){do{const n=s(e,t);if(!H(n))return n;e=a(e)}while(null!==e)}const Y=["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:X,AriaPropNameToAttrNameMap:J}=(()=>{const e=n(null),t=n(null);return $.call(Y,(n=>{const r=F.call(R.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})();function Q(e){return e in X}const Z=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),ee="http://www.w3.org/1999/xhtml",te=new Set(["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr","param","keygen","menuitem"]);const ne=new Map([["autofocus",new Set(["button","input","keygen","select","textarea"])],["autoplay",new Set(["audio","video"])],["checked",new Set(["command","input"])],["disabled",new Set(["button","command","fieldset","input","keygen","optgroup","select","textarea"])],["formnovalidate",new Set(["button"])],["hidden",new Set],["loop",new Set(["audio","bgsound","marquee","video"])],["multiple",new Set(["input","select"])],["muted",new Set(["audio","video"])],["novalidate",new Set(["form"])],["open",new Set(["details"])],["readonly",new Set(["input","textarea"])],["required",new Set(["input","select","textarea"])],["reversed",new Set(["ol"])],["selected",new Set(["option"])]]);function re(e,t){const n=ne.get(e);return void 0!==n&&(0===n.size||n.has(t))}const oe=new Set(["accesskey","autocapitalize","autofocus","class","contenteditable","contextmenu","dir","draggable","enterkeyhint","exportparts","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","part","slot","spellcheck","style","tabindex","title","translate"]);function ie(e){return oe.has(e)}const se=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"]]),le=new Map;function ae(e){const t=J[e];if(!H(t))return t;const n=se.get(e);if(!H(n))return n;const r=le.get(e);if(!H(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=D.call(e,t);o+=n>=65&&n<=90?"-"+P(n+32):P(n)}return le.set(e,o),o}const ce={'"':""","'":"'","<":"<",">":">","&":"&"};function ue(e,t=!1){const n=t?/["&]/g:/["'<>&]/g;return e.replace(n,(e=>ce[e]))}if("function"!=typeof Event){class e{}o(Z,"Event",{value:e,configurable:!0,writable:!0})}if("function"!=typeof CustomEvent){class e extends Event{}o(Z,"CustomEvent",{value:e,configurable:!0,writable:!0})}const de={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null,ENABLE_LIGHT_GET_ROOT_NODE_PATCH:null,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null,ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY:null};Z.lwcRuntimeFlags||Object.defineProperty(Z,"lwcRuntimeFlags",{value:n(null)});const fe=Z.lwcRuntimeFlags;const pe=f(n(null)),he=f([]);function me(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}const ge=new WeakMap;const we={observe(e){e()},reset(){},link(){}};function ye(e){return we}function be(e){return`<${F.call(e.tagName)}>`}function ve(e,t){if(!u(t)&&H(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!B(n);)k.call(t,be(n)),n=n.owner;return t.reverse().join("\n\t")}(e);o(t,"wcStack",{get:()=>n})}}function Ee(e,t,n){let r=`[LWC ${e}]: ${t}`;H(n)||(r=`${r}\n${function(e){const t=[];let n="";for(;!B(e.owner);)k.call(t,n+be(e)),e=e.owner,n+="\t";return E.call(t,"\n")}(n)}`);try{throw new Error(r)}catch(t){console[e](t)}}function Ce(e,t){Ee("error",e,t)}function Se(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function ke(e){return W(e)&&c.call(e,"__circular__")}const Te="undefined"!=typeof HTMLElement?HTMLElement:function(){},Me=Te.prototype;function xe(e){return`Using the \`${e}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}t(n(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:xe("offsetHeight")},offsetLeft:{readOnly:!0,error:xe("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:xe("offsetTop")},offsetWidth:{readOnly:!0,error:xe("offsetWidth")},role:{attribute:"role"}});let Ae,Oe=null;function Ne(e,t){return e!==Oe||t!==Ae}function _e(e,t){Oe=null,Ae=void 0}function Le(e,t){Oe=e,Ae=t}const $e=n(null);function Pe(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n)}$.call(d(J),(e=>{const t=q(Me,e);H(t)||($e[e]=t)})),$.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=q(Me,e);H(t)||($e[e]=t)}));const{isArray:De}=Array,{prototype:Re,getPrototypeOf:Ie,create:Fe,defineProperty:He,isExtensible:Be,getOwnPropertyDescriptor:Ve,getOwnPropertyNames:je,getOwnPropertySymbols:We,preventExtensions:Ge,hasOwnProperty:Ue}=Object,{push:Ke,concat:ze}=Array.prototype;function qe(e){return void 0===e}function Ye(e){return"function"==typeof e}const Xe=new WeakMap;function Je(e,t){Xe.set(e,t)}const Qe=e=>Xe.get(e)||e;class Ze{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(Ue.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;qe(n)||(e.get=this.wrapGetter(n)),qe(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=Ve(n,t);if(!qe(r)){const n=this.wrapDescriptor(r);He(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;ze.call(je(t),We(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;qe(n)||Ue.call(e,n)||He(e,n,Fe(null)),Ge(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=qe(n)||Ue.call(t,n)?[]:[n];return Ke.apply(r,je(t)),Ke.apply(r,We(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!Be(e)&&(!!Be(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return Ie(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=Ve(n,t);if(qe(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},He(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const et=new WeakMap,tt=new WeakMap,nt=new WeakMap,rt=new WeakMap;class ot extends Ze{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=et.get(e);if(!qe(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Qe(this)))};return et.set(e,r),nt.set(r,e),r}wrapSetter(e){const t=tt.get(e);if(!qe(t))return t;const n=function(t){e.call(Qe(this),Qe(t))};return tt.set(e,n),rt.set(n,e),n}unwrapDescriptor(e){if(Ue.call(e,"value"))e.value=Qe(e.value);else{const{set:t,get:n}=e;qe(n)||(e.get=this.unwrapGetter(n)),qe(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=nt.get(e);if(!qe(t))return t;const n=this,r=function(){return Qe(e.call(n.wrapValue(this)))};return et.set(r,e),nt.set(e,r),r}unwrapSetter(e){const t=rt.get(e);if(!qe(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return tt.set(r,e),rt.set(e,r),r}set(e,t,n){const{originalTarget:r,membrane:{valueMutated:o}}=this;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&De(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(Be(e)){const{originalTarget:t}=this;if(Ge(t),Be(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!Ue.call(r,t)||(He(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const it=new WeakMap,st=new WeakMap;class lt extends Ze{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=it.get(e);if(!qe(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Qe(this)))};return it.set(e,r),r}wrapSetter(e){const t=st.get(e);if(!qe(t))return t;const n=function(e){};return st.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 at(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(De(e))return!0;const t=Ie(e);return t===Re||null===t||null===Ie(t)}const ct=(e,t)=>{},ut=(e,t)=>{};function dt(e){return De(e)?[]:{}}const ft=Symbol.for("@@lockerLiveValue"),pt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=Ye(t)?t:ut,this.valueObserved=Ye(n)?n:ct,this.valueIsObservable=Ye(r)?r:at,this.tagPropertyKey=o}getProxy(e){const t=Qe(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=Qe(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return Qe(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(qe(t)){const n=new ot(this,e);t=new Proxy(dt(e),n),Je(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(qe(t)){const n=new lt(this,e);t=new Proxy(dt(e),n),Je(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:function(e,t){},valueMutated:function(e,t){const n=ge.get(e);if(!H(n)){const e=n[t];if(!H(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}},tagPropertyKey:ft});function ht(e){return pt.getReadOnlyProxy(e)}function mt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!W(n))throw new TypeError;if(!W(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const e=sr(this);if(!Hn(e))return n.call(e.elm)},set(t){const n=sr(this);return Pe(n,e,t),r.call(n.elm,t)}}}const gt=i(n(null)),wt=new WeakMap,yt=function(){if(B(Fn))throw new TypeError("Illegal constructor");const e=Fn,{def:t,elm:n}=e,{bridge:r}=t,o=this;if(p(n,r.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return ir(o,e),ir(n,e),1===e.renderMode?e.renderRoot=bt(e):e.renderRoot=n,this};function bt(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:i}}=e,s=i(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=s,ir(s,e),s}yt.prototype={constructor:yt,dispatchEvent(e){const t=sr(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=sr(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,Kn(r,t),n)},removeEventListener(e,t,n){const r=sr(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,Kn(r,t),n)},hasAttribute(e){const t=sr(this),{elm:n,renderer:{getAttribute:r}}=t;return!B(r(n,e))},hasAttributeNS(e,t){const n=sr(this),{elm:r,renderer:{getAttribute:o}}=n;return!B(o(r,t,e))},removeAttribute(e){const t=sr(this),{elm:n,renderer:{removeAttribute:r}}=t;Le(n,e),r(n,e),_e()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=sr(this);Le(n,t),r(n,t,e),_e()},getAttribute(e){const t=sr(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=sr(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=sr(this),{elm:r,renderer:{setAttribute:o}}=n;Le(r,e),o(r,e,t),_e()},setAttributeNS(e,t,n){const r=sr(this),{elm:o,renderer:{setAttribute:i}}=r;Le(o,t),i(o,t,n,e),_e()},getBoundingClientRect(){const e=sr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=sr(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=sr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return sr(this).shadowRoot},get refs(){const e=sr(this);if(_n)return;const{refVNodes:t,hasRefVNodes:r,cmpTemplate:o}=e;if(!r)return;if(B(t))return gt;let s=wt.get(t);if(H(s)){s=n(null);for(const e of d(t))s[e]=t[e].elm;i(s),wt.set(t,s)}return s},set refs(e){o(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=sr(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=sr(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=sr(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=sr(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=sr(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=sr(this);return e.renderer.getLastElementChild(e.elm)},render(){return sr(this).def.template},toString(){return`[object ${sr(this).def.name}]`}};const vt=n(null),Et=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of Et)vt[e]={value(t){const n=sr(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};r(yt.prototype,vt);const Ct=n(null);for(const e in $e)Ct[e]=mt(e,$e[e]);function St(e){return{get(){return sr(this).cmpFields[e]},set(t){Pe(sr(this),e,t)},enumerable:!0,configurable:!0}}r(yt.prototype,Ct),o(yt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const kt={observe(e){e()},reset(){},link(){}};function Tt(e){return{get(){const t=sr(this);if(!Hn(t))return t.cmpProps[e]},set(t){sr(this).cmpProps[e]=t},enumerable:!0,configurable:!0}}function Mt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!W(n))throw new Error;return{get(){return n.call(this)},set(t){const n=sr(this);if(r)if(fe.ENABLE_REACTIVE_SETTER){let o=n.oar[e];H(o)&&(o=n.oar[e]=kt),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function xt(e){return{get(){return sr(this).cmpFields[e]},set(t){Pe(sr(this),e,t)},enumerable:!0,configurable:!0}}function At(e){return{get(){return sr(this).cmpFields[e]},set(t){Pe(sr(this),e,t)},enumerable:!0,configurable:!0}}const Ot=new Map;const Nt={apiMethods:pe,apiFields:pe,apiFieldsConfig:pe,wiredMethods:pe,wiredFields:pe,observedFields:pe};const _t=new Set;function Lt(){return[]}_t.add(Lt);const $t=n(null),Pt=n(null);function Dt(e){let t=$t[e];return H(t)&&(t=$t[e]=function(){const t=sr(this),{getHook:n}=t;return n(t.component,e)}),t}function Rt(e){let t=Pt[e];return H(t)&&(t=Pt[e]=function(t){const n=sr(this),{setHook:r}=n;t=ht(t),r(n.component,e,t)}),t}function It(e){return function(){const t=sr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,A.call(arguments))}}function Ft(e,t){return function(n,r,o){if(r===o)return;const i=e[n];H(i)?H(t)||t.apply(this,arguments):Ne(this,n)&&(this[i]=o)}}function Ht(e,t,i){let s;W(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),o(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const l=n(null),{attributeChangedCallback:a}=e.prototype,{observedAttributes:c=[]}=e,u=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[ae(n)]=n,u[n]={get:Dt(n),set:Rt(n),enumerable:!0,configurable:!0}}for(let e=0,t=i.length;e<t;e+=1){const t=i[e];u[t]={value:It(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:Ft(l,a)},o(s,"observedAttributes",{get:()=>[...c,...d(l)]}),r(s.prototype,u),s}const Bt=Ht(Te,l($e),[]);i(Bt),f(Bt.prototype);const Vt=new WeakMap;function jt(e){const{shadowSupportMode:o,renderMode:i}=e,s=function(e){const t=Ot.get(e);return H(t)?Nt:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:f,wiredMethods:p,observedFields:h}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=a(e);if(B(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(ke(t)){const e=Se(t);t=e===t?yt:e}return t}(e),C=E!==yt?Gt(E):Ut,S=Ht(C.bridge,d(l),d(u)),k=t(n(null),C.props,l),T=t(n(null),C.propsConfig,c),M=t(n(null),C.methods,u),x=t(n(null),C.wire,f,p);g=g||C.connectedCallback,w=w||C.disconnectedCallback,y=y||C.renderedCallback,b=b||C.errorCallback,v=v||C.render;let A=C.shadowSupportMode;H(o)||(A=o);let O=C.renderMode;H(i)||(O="light"===i?0:1);const N=function(e){return jn.get(e)}(e)||C.template,_=e.name||C.name;r(m,h);return{ctor:e,name:_,wire:x,props:k,propsConfig:T,methods:M,bridge:S,template:N,renderMode:O,shadowSupportMode:A,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function Wt(e){if(!W(e))return!1;if(e.prototype instanceof yt)return!0;let t=e;do{if(ke(t)){const e=Se(t);if(e===t)return!0;t=e}if(t===yt)return!0}while(!B(t)&&(t=a(t)));return!1}function Gt(e){let t=Vt.get(e);if(H(t)){if(ke(e)){return t=Gt(Se(e)),Vt.set(e,t),t}if(!Wt(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=jt(e),Vt.set(e,t)}return t}const Ut={ctor:yt,name:yt.name,props:Ct,propsConfig:pe,methods:pe,renderMode:1,shadowSupportMode:"reset",wire:pe,bridge:Bt,template:Lt,render:yt.prototype.render};function Kt(e){return`${e}-host`}function zt(e){return Nn.h("style",{key:"style",attrs:{type:"text/css"}},[Nn.t(e)])}function qt(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(h(s))k.apply(r,qt(s,t,n));else{const e=s.$scoped$;if(fe.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){Ce("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}const i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let a;1===n.renderMode?a=0===n.shadowMode:(H(o)&&(o=Xt(n)),a=B(o)||0===o.shadowMode),k.call(r,s(i,l,a))}}return r}function Yt(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return H(n)||0===n.length||(o=qt(n,r,e)),o}function Xt(e){let t=e;for(;!B(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Jt(e){const{type:t}=e;return 2===t||3===t}function Qt(e,t){return e.key===t.key&&e.sel===t.sel}function Zt(e){return 5===e.type}function en(e){return 6===e.type}function tn(e,t){return"input"===e&&("value"===t||"checked"===t)}const nn=n(null);function rn(e){if(null==e)return pe;e=G(e)?e:e+"";let t=nn[e];if(t)return t;t=n(null);let r,o=0;const i=e.length;for(r=0;r<i;r++)32===D.call(e,r)&&(r>o&&(t[I.call(e,o,r)]=!0),o=r+1);return r>o&&(t[I.call(e,o,r)]=!0),nn[e]=t,t}function on(e,t,n,r){var o;o=t,vn.has(o)?Cn(e,t,n,r):Sn(e,t,n,r)}function sn(e,t,n,r){var o,i;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&hn(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:i}=t;i?Sn(e.children,o,n,r):Cn(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;gn(e,t,n),on(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);un(e,n,r,!0),an(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;gn(e,t,r),H(o)||yn(t,o),on(e.children,t.children,n,r),H(o)||function(e){ar(e)}(o)}}(e,t,n,null!==(i=t.data.renderer)&&void 0!==i?i:r)}}function ln(e,t,n,r){var o,i;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:i}=r,s=e.elm=i(e.text);pn(s,o,r),mn(s,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:i}=r,s=e.elm=i(e.text);pn(s,o,r),mn(s,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:i,isSyntheticShadowDefined:s}=r,l=e.elm=i(e.fragment,!0);pn(l,o,r);const{renderMode:a,shadowMode:c}=o;s&&(1!==c&&0!==a||(l.$shadowStaticNode$=!0));mn(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;cn(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:i,data:{svg:s}}=e,{createElement:l}=r,a=V(s)?"http://www.w3.org/2000/svg":void 0,c=e.elm=l(o,a);pn(c,i,r),wn(c,i,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)}(c,e),gn(null,e,r),mn(c,t,n,r),cn(e.children,c,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:an(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function an(e,t,n,r){const{sel:o,owner:i}=e,{createCustomElement:s}=r;let l;let a,c;fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(a=e=>{tr(e)},c=e=>{nr(e)});const u=s(o.toLowerCase(),(t=>{l=function(e,t,n){let r=lr(e);if(!H(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;return r=or(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}),a,c);e.elm=u,e.vm=l,pn(u,i,r),wn(u,i,r),l&&yn(e,l),gn(null,e,r),mn(u,t,n,r),l&&cr(l),cn(e.children,u,r,null),l&&function(e){ar(e)}(l)}function cn(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];fn(i)&&ln(i,t,n,r)}}function un(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&(5===o?dn(e.children,t,n,r):function(e,t,n){n.remove(e,t)}(i,t,n)),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;dn(e.children,i,n,t);break}case 3:{const{vm:t}=e;H(t)||function(e){rr(e)}(t)}}}function dn(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];fn(i)&&un(i,t,n,r)}}function fn(e){return null!=e}function pn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function hn(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function mn(e,t,n,r){r.insert(e,t,n)}function gn(e,n,r){B(e)&&(function(e,t){const{elm:n,data:{on:r}}=e;if(H(r))return;const{addEventListener:o}=t;for(const e in r)o(n,e,r[e])}(n,r),function(e,t){const{elm:n,data:{classMap:r}}=e;if(H(r))return;const{getClassList:o}=t,i=o(n);for(const e in r)i.add(e)}(n,r),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(H(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,i,s]=r[e];o(n,t,i,s)}}(n,r)),function(e,t,n){const{elm:r,data:{className:o}}=t,i=B(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),a=rn(o),c=rn(i);let u;for(u in c)H(a[u])&&l.remove(u);for(u in a)H(c[u])&&l.add(u)}(e,n,r),function(e,t,n){const{elm:r,data:{style:o}}=t;if((B(e)?void 0:e.data.style)===o)return;const{setAttribute:i,removeAttribute:s}=n;G(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,n,r),function(e,t,n){const{attrs:r}=t.data;if(H(r))return;const o=B(e)?pe:e.data.attrs;if(o===r)return;const{elm:i}=t,{setAttribute:s,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(Le(i,e),58===D.call(e,3)?s(i,e,t,"http://www.w3.org/XML/1998/namespace"):58===D.call(e,5)?s(i,e,t,"http://www.w3.org/1999/xlink"):B(t)||H(t)?l(i,e):s(i,e,t),_e())}}(e,n,r),function(e,n,r){let{props:o}=n.data;const{spread:i}=n.data;if(H(o)&&H(i))return;let s;if(!B(e)){s=e.data.props;const n=e.data.spread;if(s===o&&n===i)return;H(s)&&(s=pe),H(n)||(s=t({},s,n))}H(i)||(o=t({},o,i));const l=B(e),{elm:a,sel:c}=n,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(tn(c,e)?u(a,e):s[e])&&e in s||d(a,e,t)}}(e,n,r)}function wn(e,t,n){const r=function(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}(t);if(!B(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||H(o)||(e.$shadowToken$=o)}function yn(e,t){const r=e.aChildren||e.children;t.aChildren=r;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t,r){const{cmpSlots:{slotAssignments:o}}=e,i=n(null);if(bn(e,t,i),e.cmpSlots={owner:r,slotAssignments:i},j(e.isDirty)){const t=d(o);if(t.length!==d(i).length)return void Gn(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(H(i[r])||o[r].length!==i[r].length)return void Gn(e);const s=o[r],l=i[r];for(let t=0,n=i[r].length;t<n;t+=1)if(s[t]!==l[t])return void Gn(e)}}}(t,r,e.owner),e.aChildren=r,e.children=he)}function bn(e,t,n){var r,o;for(let i=0,s=t.length;i<s;i+=1){const s=t[i];if(B(s))continue;if(Zt(s)){bn(e,s.children.slice(1,-1),n);continue}let l="";Jt(s)?l=null!==(o=null===(r=s.data.attrs)||void 0===r?void 0:r.slot)&&void 0!==o?o:"":en(s)&&(l=s.slotName);const a=n[l]=n[l]||[];k.call(a,s)}}const vn=new WeakMap;function En(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(fn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function Cn(e,t,n,r){let o=0,i=0,s=e.length-1,l=e[0],a=e[s];const c=t.length-1;let u,d,f,p,h=c,m=t[0],g=t[h],w=!1;for(;o<=s&&i<=h;)fn(l)?fn(a)?fn(m)?fn(g)?Qt(l,m)?(sn(l,m,n,r),l=e[++o],m=t[++i]):Qt(a,g)?(sn(a,g,n,r),a=e[--s],g=t[--h]):Qt(l,g)?(sn(l,g,n,r),mn(l.elm,n,r.nextSibling(a.elm),r),l=e[++o],g=t[--h]):Qt(a,m)?(sn(a,m,n,r),mn(m.elm,n,l.elm,r),a=e[--s],m=t[++i]):(void 0===u&&(u=En(e,o,s)),d=u[m.key],H(d)?(ln(m,n,r,l.elm),m=t[++i]):(f=e[d],fn(f)&&(f.sel!==m.sel?ln(m,n,r,l.elm):(sn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,mn(f.elm,n,l.elm,r))),m=t[++i])):g=t[--h]:m=t[++i]:a=e[--s]:l=e[++o];if(o<=s||i<=h)if(o>s){let e,o=h;do{e=t[++o]}while(!fn(e)&&o<c);p=fn(e)?e.elm:null,cn(t,n,r,p,i,h+1)}else dn(e,n,r,!0,o,s+1)}function Sn(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void cn(t,n,r,null);if(0===i)return void dn(e,n,r,!0);let s=null;for(let o=i-1;o>=0;o-=1){const i=e[o],l=t[o];l!==i&&(fn(i)?fn(l)?(sn(i,l,n,r),s=l.elm):un(i,n,r,!0):fn(l)&&(ln(l,n,r,s),s=l.elm))}}const kn=Symbol.iterator;function Tn(e,t,n=he){const r=$n(),{key:o,ref:i}=t,s={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return H(i)||me(r,i,s),s}function Mn(e,t,n,r=he){const o=$n(),{key:i,ref:s}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:i,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){k.call($n().velements,e)}(l),H(s)||me(o,s,l),l}function xn(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:$n()}}function An(e){var t;return t=e,vn.set(t,1),e}let On=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const Nn=i({s:function(e,t,n,r){H(r)||H(r.slotAssignments)||H(r.slotAssignments[e])||0===r.slotAssignments[e].length||(n=r.slotAssignments[e].reduce(((e,n)=>{if(n){const o=en(n);if(o!==!H(t.slotData))return e;if(o){const o=$n();let i=[];Pn(r.owner);try{i=n.factory(t.slotData)}finally{Pn(o)}return m.call(e,i)}return m.call(e,n)}return e}),[]));const o=$n(),{renderMode:i,shadowMode:s}=o;return 0===i?(An(n),n):(1===s&&An(n),Tn("slot",t,n))},h:Tn,c:Mn,i:function(e,t){const n=[];if(An(n),H(e)||null===e)return n;const r=e[kn]();let o=r.next(),i=0,{value:s,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(s,i,0===i,!0===l);h(e)?k.apply(n,e):k.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];An(n);for(let r=0;r<t;r+=1){const t=e[r];h(t)?k.apply(n,t):k.call(n,t)}return n},t:xn,d:function(e){return null==e?"":String(e)},b:function(e){const t=$n();if(B(t))throw new Error;const n=t;return function(t){Vn(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:$n()}},dc:function(e,t,n,r=he){if(null==t)return null;if(!Wt(t))throw new Error(`Invalid LWC Constructor ${z(t)} for custom element <${e}>.`);return Mn(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[xn(""),...t,xn("")],stable:n,owner:$n()}},ti:function(e){return e>0&&!(V(e)||j(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:$n()}},gid:function(e){const t=$n();if(H(e)||""===e)return e;if(B(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?R.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=$n();if(H(e)||""===e)return e;if(B(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return On(e)},ssf:function(e,t){return{type:6,factory:t,owner:$n(),elm:void 0,sel:void 0,key:void 0,slotName:e}}});let _n=!1,Ln=null;function $n(){return Ln}function Pn(e){Ln=e}const Dn=(Rn=(e,t)=>{const{createFragment:n}=t;return n(e)},(e,...t)=>{const r=n(null);return function(){const{context:{hasScopedStyles:n,stylesheetToken:o},shadowMode:i,renderer:s}=$n(),l=!H(o),a=1===i;let c=0;if(l&&n&&(c|=1),l&&a&&(c|=2),!H(r[c]))return r[c];const u=n&&l?" "+o:"",d=n&&l?` class="${o}"`:"",f=l&&a?" "+o:"";let p="";for(let n=0,r=t.length;n<r;n++)switch(t[n]){case 0:p+=e[n]+u;break;case 1:p+=e[n]+d;break;case 2:p+=e[n]+f;break;case 3:p+=e[n]+d+f}return p+=e[e.length-1],r[c]=Rn(p,s),r[c]}});var Rn;function In(e,t){const r=_n,o=Ln;let i=[];return hr(e,e.owner,(()=>{Ln=e}),(()=>{const{component:r,context:o,cmpSlots:s,cmpTemplate:l,tro:a}=e;a.observe((()=>{if(t!==l){if(B(l)||pr(e),a=t,!_t.has(a))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${z(t)}.`);e.cmpTemplate=t,o.tplCache=n(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!H(t))for(let e=0;e<t.length;e++)if(V(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i,renderer:{getClassList:s,removeAttribute:l,setAttribute:a}}=e,{stylesheets:c,stylesheetToken:u}=t,d=1===o&&1===i,{hasScopedStyles:f}=r;let p,h,m;const{stylesheetToken:g,hasTokenInClass:w,hasTokenInAttribute:y}=r;H(g)||(w&&s(n).remove(Kt(g)),y&&l(n,Kt(g))),H(c)||0===c.length||(p=u),H(p)||(f&&(s(n).add(Kt(p)),h=!0),d&&(a(n,Kt(p),""),m=!0)),r.stylesheetToken=p,r.hasTokenInClass=h,r.hasTokenInAttribute=m}(e,t);const r=Yt(e,t);o.styleVNodes=0===r.length?null:function(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1!==n||1!==r)return C.call(t,zt);for(let e=0;e<t.length;e++)o(t[e]);return null}(e,r)}var a;const c=Boolean(t.hasRefs);e.hasRefVNodes=c,e.refVNodes=c?n(null):null,e.velements=[],_n=!0,i=t.call(void 0,Nn,r,s,o.tplCache);const{styleVNodes:u}=o;B(u)||L.apply(i,u)}))}),(()=>{_n=r,Ln=o})),i}let Fn=null;function Hn(e){return Fn===e}function Bn(e,t,n){const{component:r,callHook:o,owner:i}=e;hr(e,i,U,(()=>{o(r,t,n)}),U)}function Vn(e,t,n,r){const{callHook:o,owner:i}=e;hr(e,i,U,(()=>{o(n,t,[r])}),U)}const jn=new Map;function Wn(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=$n();let s,l=!1;return hr(e,o,(()=>{Pn(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{Pn(i)})),l?In(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Gn(e){e.isDirty=!0}const Un=new WeakMap;function Kn(e,t){if(!W(t))throw new TypeError;let n=Un.get(t);return H(n)&&(n=function(n){Vn(e,t,void 0,n)},Un.set(t,n)),n}const zn=n(null),qn=["rendered","connected","disconnected"];function Yn(e,t){const{component:n,def:r,context:o}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},r,o)}let Xn=0;const Jn=new WeakMap;function Qn(e,t,n=[]){return t.apply(e,n)}function Zn(e,t,n){e[t]=n}function er(e,t){return e[t]}function tr(e){const t=sr(e);1===t.state&&nr(e),cr(t),ar(t)}function nr(e){rr(sr(e))}function rr(e){const{state:t}=e;if(2!==t){const{oar:t,tro:n}=e;n.reset();for(const e in t)t[e].reset();!function(e){j(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=zn;t&&Yn(e,t);ur(e)&&function(e){const{wiredDisconnecting:t}=e.context;hr(e,e,U,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),U)}(e);const{disconnectedCallback:n}=e.def;H(n)||Bn(e,n)}(e),dr(e),function(e){const{aChildren:t}=e;fr(t)}(e)}}function or(e,t,r,o){const{mode:i,owner:s,tagName:l,hydrated:a}=o,c=Gt(t),u={elm:e,def:c,idx:Xn++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,refVNodes:null,hasRefVNodes:!1,children:he,aChildren:he,velements:he,cmpProps:n(null),cmpFields:n(null),cmpSlots:{slotAssignments:n(null)},oar:n(null),cmpTemplate:null,hydrated:Boolean(a),renderMode:c.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:pe,wiredConnecting:he,wiredDisconnecting:he},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:Qn,setHook:Zn,getHook:er,renderer:r};return u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let i;if(r)if(0===n.renderMode)i=0;else if(o)if(fe.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!B(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=B(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,r),u.tro=ye(),function(e,t){const n=Fn;let r;Fn=e;try{const o=new t;if(Fn.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Fn=n,!H(r))throw ve(e,r),r}}(u,c.ctor),ur(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],s=mr.get(i);if(!H(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=wr(e,t,s),a=s.dynamic.length>0;k.call(r,(()=>{n.connect(),fe.ENABLE_WIRE_SYNC_EMIT||!a?i():Promise.resolve().then(i)})),k.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function ir(e,t){Jn.set(e,t)}function sr(e){return Jn.get(e)}function lr(e){return Jn.get(e)}function ar(e){if(V(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&hr(e,e,(()=>{}),(()=>{on(r,t,n,o)}),(()=>{}));e.state}(e,Wn(e))}}function cr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=zn;n&&Yn(e,n),ur(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;H(r)||Bn(e,r)}function ur(e){return l(e.def.wire).length>0}function dr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!H(n)){const e=lr(n);H(e)||rr(e)}}}function fr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!B(n)&&!H(n.elm))switch(n.type){case 2:fr(n.children);break;case 3:rr(sr(n.elm));break}}}function pr(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];B(o)||H(o.elm)||r(o.elm,n)}e.children=he,dr(e),e.velements=he}function hr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!H(i)){ve(e,i);const n=B(t)?void 0:function(e){let t=e;for(;!B(t);){if(!H(t.def.errorCallback))return t;t=t.owner}}(t);if(H(n))throw i;pr(e);Bn(n,n.def.errorCallback,[i,i.wcStack])}}}const mr=new Map;class gr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function wr(e,t,n){const{method:r,adapter:i,configCallback:s,dynamic:l}=n;const a=H(r)?function(e,t){return n=>{Pe(e,t,n)}}(e,t):function(e,t){return n=>{hr(e,e.owner,U,(()=>{t.call(e.component,n)}),U)}}(e,r),c=e=>{a(e)};let u,d;o(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),o(c,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),hr(e,e,U,(()=>{d=new i(c)}),U);const{computeConfigAndUpdate:f,ro:p}=function(e,t,n){const r=ye();return{computeConfigAndUpdate:()=>{let o;r.observe((()=>o=t(e))),n(o)},ro:r}}(e.component,s,(t=>{hr(e,e,U,(()=>{d.update(t,u)}),U)}));return H(i.contextSchema)||function(e,t,n){const{adapter:r}=t,o=br(r);if(H(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{dispatchEvent:a}}=e;k.call(s,(()=>{const e=new gr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){k.call(l,e)}});a(i,e)}))}(e,n,(t=>{u!==t&&(u=t,1===e.state&&f())})),{connector:d,computeConfigAndUpdate:f,resetConfigWatcher:()=>p.reset()}}const yr=new Map;function br(e){return yr.get(e)}function vr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};mr.set(e,o)}function Er(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};mr.set(e,o)}let Cr=!1;const Sr=Symbol("namespace"),kr=Symbol("type"),Tr=Symbol("parent"),Mr=Symbol("shadow-root"),xr=Symbol("children"),Ar=Symbol("attributes"),Or=Symbol("event-listeners"),Nr=Symbol("value");var _r;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(_r||(_r={}));const Lr=/\s+/g;function $r(e){return new Set(e.split(Lr).filter((e=>e.length)))}function Pr(e){return Array.from(e).join(" ")}function Dr(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function Rr(e,t){return{[kr]:_r.Element,tagName:e,[Sr]:null!=t?t:ee,[Tr]:null,[Mr]:null,[xr]:[],[Ar]:[],[Or]:{}}}function Ir(e,t,n=null){const r=e[Ar].find((e=>e.name===t&&e[Sr]===n));return r?r.value:null}function Fr(e,t,n,r=null){const o=e[Ar].find((e=>e.name===t&&e[Sr]===r));H(r)&&(r=null),H(o)?e[Ar].push({name:t,[Sr]:r,value:String(n)}):o.value=n}function Hr(e,t,n){e[Ar]=e[Ar].filter((e=>e.name!==t&&e[Sr]!==n))}const Br=U,Vr=U,jr=U,Wr=Dr("dispatchEvent"),Gr=Dr("getBoundingClientRect"),Ur=Dr("querySelector"),Kr=Dr("querySelectorAll"),zr=Dr("getElementsByTagName"),qr=Dr("getElementsByClassName"),Yr=Dr("getChildren"),Xr=Dr("getChildNodes"),Jr=Dr("getFirstChild"),Qr=Dr("getFirstElementChild"),Zr=Dr("getLastChild"),eo=Dr("getLastElementChild"),to=U,no=new Map;function ro(e){let t=no.get(e);return H(t)?(t=function(e){return function(t){const n=Rr(e);return W(t)&&t(n),n}}(e),no.set(e,t),t):t}const oo={isNativeShadowDefined:!1,isSyntheticShadowDefined:!1,insert:function(e,t,n){const r=e[Tr];if(null!==r&&r!==t){const t=r[xr].indexOf(e);r[xr].splice(t,1)}e[Tr]=t;const o=B(n)?-1:t[xr].indexOf(n);-1===o?t[xr].push(e):t[xr].splice(o,0,e)},remove:function(e,t){const n=t[xr].indexOf(e);t[xr].splice(n,1)},cloneNode:function(e){return Object.assign({},e)},createFragment:function(e){return{[kr]:_r.Raw,[Tr]:null,[Nr]:e}},createElement:Rr,createText:function(e){return{[kr]:_r.Text,[Nr]:String(e),[Tr]:null}},createComment:function(e){return{[kr]:_r.Comment,[Nr]:e,[Tr]:null}},createCustomElement:function(e,t){return new(ro(e))(t)},nextSibling:function(e){const t=e[Tr];if(B(t))return null;const n=t[xr].indexOf(e);return t[xr][n+1]||null},attachShadow:function(e,t){return e[Mr]={[kr]:_r.ShadowRoot,[xr]:[],mode:t.mode,delegatesFocus:!!t.delegatesFocus},e[Mr]},getProperty:function(e,t){var n,r;if(t in e)return e[t];if(e[kr]===_r.Element){const o=ae(t);if(re(o,e.tagName))return null!==(n=Ir(e,o))&&void 0!==n&&n;if(ie(o)||Q(o))return Ir(e,o);if("input"===e.tagName&&"value"===t)return null!==(r=Ir(e,"value"))&&void 0!==r?r:""}},setProperty:function(e,t,n){if(t in e)return e[t]=n;if(e[kr]===_r.Element){const r=ae(t);if("innerHTML"===t)return void(e[xr]=[{[kr]:_r.Raw,[Tr]:e,[Nr]:n}]);if(re(r,e.tagName))return!0===n?Fr(e,r,""):Hr(e,r);if(ie(r)||Q(r))return Fr(e,r,n);if("input"===e.tagName&&"value"===r)return B(n)||H(n)?Hr(e,"value"):Fr(e,"value",n)}},setText:function(e,t){e[kr]===_r.Text?e[Nr]=t:e[kr]===_r.Element&&(e[xr]=[{[kr]:_r.Text,[Tr]:e,[Nr]:t}])},getAttribute:Ir,setAttribute:Fr,removeAttribute:Hr,addEventListener:Vr,removeEventListener:jr,dispatchEvent:Wr,getClassList:function(e){function t(){let t=e[Ar].find((e=>"class"===e.name&&B(e[Sr])));return H(t)&&(t={name:"class",[Sr]:null,value:""},e[Ar].push(t)),t}return{add(...e){const n=t(),r=$r(n.value);e.forEach((e=>r.add(e))),n.value=Pr(r)},remove(...e){const n=t(),r=$r(n.value);e.forEach((e=>r.delete(e))),n.value=Pr(r)}}},setCSSStyleProperty:function(e,t,n,r){const o=e[Ar].find((e=>"style"===e.name&&B(e[Sr]))),i=`${t}: ${n}${r?" !important":""}`;H(o)?e[Ar].push({name:"style",[Sr]:null,value:i}):o.value+=`; ${i}`},getBoundingClientRect:Gr,querySelector:Ur,querySelectorAll:Kr,getElementsByTagName:zr,getElementsByClassName:qr,getChildren:Yr,getChildNodes:Xr,getFirstChild:Jr,getFirstElementChild:Qr,getLastChild:Zr,getLastElementChild:eo,isConnected:function(e){return!B(e[Tr])},insertStylesheet:Br,assertInstanceOfHTMLElement:to};function io(e){return e.map((e=>{switch(e[kr]){case _r.Text:return""===e[Nr]?"":ue(e[Nr]);case _r.Comment:return`\x3c!--${ue(e[Nr])}--\x3e`;case _r.Raw:return e[Nr];case _r.Element:return so(e)}})).join("")}function so(e){let t="";const n=e.tagName,r=e[Sr],o=r!==ee,i=e[xr].length>0;var s;return t+=`<${n}${e[Ar].length?` ${s=e[Ar],s.map((e=>e.value.length?`${e.name}="${ue(e.value,!0)}"`:e.name)).join(" ")}`:""}`,o&&!i?(t+="/>",t):(t+=">",e[Mr]&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${io(e[xr])}</template>`}(e[Mr])),t+=io(e[xr]),function(e,t){return t===ee&&te.has(e.toLowerCase())}(n,r)&&!i||(t+=`</${n}>`),t)}const lo={[kr]:_r.Element,tagName:"fake-root-element",[Sr]:ee,[Tr]:null,[Mr]:null,[xr]:[],[Ar]:[],[Or]:{}};i(yt),f(yt.prototype),exports.LightningElement=yt,exports.api=function(){throw new Error},exports.createContextProvider=function(e){let t=br(e);if(!H(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){yr.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:i}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{H(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},exports.freezeTemplate=function(e){},exports.getComponentDef=function(e){const t=Gt(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,l={};for(const e in o)l[e]={config:i[e]||0,type:"any",attr:ae(e)};const a={};for(const e in s)a[e]=s[e].value;return{ctor:n,name:r,props:l,methods:a}},exports.isComponentConstructor=Wt,exports.parseFragment=Dn,exports.parseSVGFragment=Dn,exports.readonly=function(e){return ht(e)},exports.register=function(e){for(let t=0;t<qn.length;++t){const n=qn[t];if(n in e){let t=zn[n];H(t)&&(zn[n]=t=[]),k.call(t,e[n])}}},exports.registerComponent=function(e,{tmpl:t}){return W(e)&&jn.set(e,t),e},exports.registerDecorators=function(e,t){const r=e.prototype,{publicProps:i,publicMethods:l,wire:a,track:c,fields:u}=t,d=n(null),f=n(null),p=n(null),h=n(null),m=n(null),g=n(null);let w;if(!H(i))for(const e in i){const t=i[e];if(g[e]=t.config,w=s(r,e),t.config>0){if(H(w))throw new Error;w=Mt(e,w)}else w=H(w)||H(w.get)?Tt(e):Mt(e,w);f[e]=w,o(r,e,w)}if(H(l)||$.call(l,(e=>{if(w=s(r,e),H(w))throw new Error;d[e]=w})),!H(a))for(const e in a){const{adapter:t,method:n,config:i,dynamic:l=[]}=a[e];if(w=s(r,e),1===n){if(H(w))throw new Error;p[e]=w,vr(w,t,i,l)}else w=At(e),h[e]=w,Er(w,t,i,l),o(r,e,w)}if(!H(c))for(const e in c)w=s(r,e),w=xt(e),o(r,e,w);if(!H(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=s(r,t);const n=!H(i)&&t in i,o=!H(c)&&t in c;n||o||(m[t]=St(t))}return function(e,t){Ot.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:p,wiredFields:h,observedFields:m}),e},exports.registerTemplate=function(e){return _t.add(e),o(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return H(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=H(e)?void 0:e.shadowAttribute}}),e},exports.renderComponent=function(e,t,n={}){if(!G(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!W(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||B(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=oo.createElement(e);or(r,t,oo,{mode:"open",owner:null,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r[Tr]=lo,tr(r),so(r)},exports.renderer=oo,exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(H(de[e])){const n=d(de).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=fe[e];if(!H(n))return void console.error(`Failed to set the value "${t}" for the runtime feature flag "${e}". "${e}" has already been set with the value "${n}".`);o(fe,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},exports.setFeatureFlagForTest=function(e,t){},exports.setHooks=function(t){var n;e.isFalse(Cr,"Hooks are already overridden, only one definition is allowed."),Cr=!0,n=t.sanitizeHtmlContent,On=n},exports.track=function(e){if(1===arguments.length)return e;throw new Error},exports.unwrap=function(e){return e},exports.wire=function(e,t){throw new Error};
|