lwc 2.30.1 → 2.30.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/engine-dom/esm/es2017/engine-dom.js +207 -75
- package/dist/engine-dom/iife/es2017/engine-dom.js +207 -75
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +204 -72
- package/dist/engine-dom/iife/es5/engine-dom.js +254 -118
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +251 -115
- package/dist/engine-dom/umd/es2017/engine-dom.js +207 -75
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +204 -72
- package/dist/engine-dom/umd/es5/engine-dom.js +254 -118
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +251 -115
- package/dist/engine-server/commonjs/es2017/engine-server.js +128 -48
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +128 -48
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +7 -4
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +7 -4
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +7 -4
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +7 -4
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +7 -4
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +7 -4
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +7 -4
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +7 -4
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +7 -4
- 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
|
@@ -282,6 +282,7 @@ function isVoidElement(name, namespace) {
|
|
|
282
282
|
* SPDX-License-Identifier: MIT
|
|
283
283
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
284
284
|
*/
|
|
285
|
+
const CAMEL_REGEX = /-([a-z])/g;
|
|
285
286
|
/**
|
|
286
287
|
* Maps boolean attribute name to supported tags: 'boolean attr name' => Set of allowed tag names
|
|
287
288
|
* that supports them.
|
|
@@ -354,32 +355,49 @@ const GLOBAL_ATTRIBUTE = new Set([
|
|
|
354
355
|
function isGlobalHtmlAttribute(attrName) {
|
|
355
356
|
return GLOBAL_ATTRIBUTE.has(attrName);
|
|
356
357
|
}
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
[
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
]
|
|
358
|
+
// Convoluted map generation so that @lwc/shared remains fully tree-shakable (verify-treeshakable)
|
|
359
|
+
const { NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING, NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING } =
|
|
360
|
+
/*#__PURE__*/ (() => {
|
|
361
|
+
/**
|
|
362
|
+
* Map composed of properties to attributes not following the HTML property to attribute mapping
|
|
363
|
+
* convention.
|
|
364
|
+
*/
|
|
365
|
+
const NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING = new Map([
|
|
366
|
+
['accessKey', 'accesskey'],
|
|
367
|
+
['readOnly', 'readonly'],
|
|
368
|
+
['tabIndex', 'tabindex'],
|
|
369
|
+
['bgColor', 'bgcolor'],
|
|
370
|
+
['colSpan', 'colspan'],
|
|
371
|
+
['rowSpan', 'rowspan'],
|
|
372
|
+
['contentEditable', 'contenteditable'],
|
|
373
|
+
['crossOrigin', 'crossorigin'],
|
|
374
|
+
['dateTime', 'datetime'],
|
|
375
|
+
['formAction', 'formaction'],
|
|
376
|
+
['isMap', 'ismap'],
|
|
377
|
+
['maxLength', 'maxlength'],
|
|
378
|
+
['minLength', 'minlength'],
|
|
379
|
+
['noValidate', 'novalidate'],
|
|
380
|
+
['useMap', 'usemap'],
|
|
381
|
+
['htmlFor', 'for'],
|
|
382
|
+
]);
|
|
383
|
+
/**
|
|
384
|
+
* Inverted map with attribute name key and property name value.
|
|
385
|
+
*/
|
|
386
|
+
const NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING = new Map();
|
|
387
|
+
NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING.forEach((value, key) => NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING.set(value, key));
|
|
388
|
+
return {
|
|
389
|
+
NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING,
|
|
390
|
+
NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING,
|
|
391
|
+
};
|
|
392
|
+
})();
|
|
379
393
|
/**
|
|
380
394
|
* Map associating previously transformed HTML property into HTML attribute.
|
|
381
395
|
*/
|
|
382
396
|
const CACHED_PROPERTY_ATTRIBUTE_MAPPING = new Map();
|
|
397
|
+
/**
|
|
398
|
+
* Map associating previously transformed HTML attribute into HTML property.
|
|
399
|
+
*/
|
|
400
|
+
const CACHED_ATTRIBUTE_PROPERTY_MAPPING = new Map();
|
|
383
401
|
function htmlPropertyToAttribute(propName) {
|
|
384
402
|
const ariaAttributeName = AriaPropNameToAttrNameMap[propName];
|
|
385
403
|
if (!isUndefined$1(ariaAttributeName)) {
|
|
@@ -408,6 +426,23 @@ function htmlPropertyToAttribute(propName) {
|
|
|
408
426
|
CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);
|
|
409
427
|
return attributeName;
|
|
410
428
|
}
|
|
429
|
+
function htmlAttributeToProperty(attrName) {
|
|
430
|
+
const ariaPropertyName = AriaAttrNameToPropNameMap[attrName];
|
|
431
|
+
if (!isUndefined$1(ariaPropertyName)) {
|
|
432
|
+
return ariaPropertyName;
|
|
433
|
+
}
|
|
434
|
+
const specialPropertyName = NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING.get(attrName);
|
|
435
|
+
if (!isUndefined$1(specialPropertyName)) {
|
|
436
|
+
return specialPropertyName;
|
|
437
|
+
}
|
|
438
|
+
const cachedPropertyName = CACHED_ATTRIBUTE_PROPERTY_MAPPING.get(attrName);
|
|
439
|
+
if (!isUndefined$1(cachedPropertyName)) {
|
|
440
|
+
return cachedPropertyName;
|
|
441
|
+
}
|
|
442
|
+
const propertyName = StringReplace.call(attrName, CAMEL_REGEX, (g) => g[1].toUpperCase());
|
|
443
|
+
CACHED_ATTRIBUTE_PROPERTY_MAPPING.set(attrName, propertyName);
|
|
444
|
+
return propertyName;
|
|
445
|
+
}
|
|
411
446
|
|
|
412
447
|
/*
|
|
413
448
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -434,9 +469,9 @@ function htmlEscape(str, attrMode = false) {
|
|
|
434
469
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
435
470
|
*/
|
|
436
471
|
// Increment whenever the LWC template compiler changes
|
|
437
|
-
const LWC_VERSION = "2.30.
|
|
472
|
+
const LWC_VERSION = "2.30.3";
|
|
438
473
|
const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
|
|
439
|
-
/** version: 2.30.
|
|
474
|
+
/** version: 2.30.3 */
|
|
440
475
|
|
|
441
476
|
/*
|
|
442
477
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -548,7 +583,7 @@ function setFeatureFlagForTest(name, value) {
|
|
|
548
583
|
setFeatureFlag(name, value);
|
|
549
584
|
}
|
|
550
585
|
}
|
|
551
|
-
/** version: 2.30.
|
|
586
|
+
/** version: 2.30.3 */
|
|
552
587
|
|
|
553
588
|
/* proxy-compat-disable */
|
|
554
589
|
|
|
@@ -3378,7 +3413,7 @@ function isVScopedSlotFragment(vnode) {
|
|
|
3378
3413
|
* SPDX-License-Identifier: MIT
|
|
3379
3414
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
3380
3415
|
*/
|
|
3381
|
-
const ColonCharCode = 58;
|
|
3416
|
+
const ColonCharCode$1 = 58;
|
|
3382
3417
|
function patchAttributes(oldVnode, vnode, renderer) {
|
|
3383
3418
|
const { attrs } = vnode.data;
|
|
3384
3419
|
if (isUndefined$1(attrs)) {
|
|
@@ -3395,11 +3430,11 @@ function patchAttributes(oldVnode, vnode, renderer) {
|
|
|
3395
3430
|
const old = oldAttrs[key];
|
|
3396
3431
|
if (old !== cur) {
|
|
3397
3432
|
unlockAttribute(elm, key);
|
|
3398
|
-
if (StringCharCodeAt.call(key, 3) === ColonCharCode) {
|
|
3433
|
+
if (StringCharCodeAt.call(key, 3) === ColonCharCode$1) {
|
|
3399
3434
|
// Assume xml namespace
|
|
3400
3435
|
setAttribute(elm, key, cur, XML_NAMESPACE);
|
|
3401
3436
|
}
|
|
3402
|
-
else if (StringCharCodeAt.call(key, 5) === ColonCharCode) {
|
|
3437
|
+
else if (StringCharCodeAt.call(key, 5) === ColonCharCode$1) {
|
|
3403
3438
|
// Assume xlink namespace
|
|
3404
3439
|
setAttribute(elm, key, cur, XLINK_NAMESPACE);
|
|
3405
3440
|
}
|
|
@@ -3414,6 +3449,46 @@ function patchAttributes(oldVnode, vnode, renderer) {
|
|
|
3414
3449
|
}
|
|
3415
3450
|
}
|
|
3416
3451
|
|
|
3452
|
+
/*
|
|
3453
|
+
* Copyright (c) 2018, salesforce.com, inc.
|
|
3454
|
+
* All rights reserved.
|
|
3455
|
+
* SPDX-License-Identifier: MIT
|
|
3456
|
+
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
3457
|
+
*/
|
|
3458
|
+
const ColonCharCode = 58;
|
|
3459
|
+
function patchAttrUnlessProp(oldVnode, vnode, renderer) {
|
|
3460
|
+
const { data: { attrs }, elm, } = vnode;
|
|
3461
|
+
if (isUndefined$1(attrs)) {
|
|
3462
|
+
return;
|
|
3463
|
+
}
|
|
3464
|
+
const { removeAttribute, setAttribute, setProperty } = renderer;
|
|
3465
|
+
const oldAttrs = isNull(oldVnode) ? EmptyObject : oldVnode.data.attrs;
|
|
3466
|
+
for (const name in attrs) {
|
|
3467
|
+
const cur = attrs[name];
|
|
3468
|
+
const old = oldAttrs[name];
|
|
3469
|
+
if (old !== cur) {
|
|
3470
|
+
const propName = htmlAttributeToProperty(name);
|
|
3471
|
+
if (propName in elm) {
|
|
3472
|
+
setProperty(elm, name, cur);
|
|
3473
|
+
}
|
|
3474
|
+
else if (StringCharCodeAt.call(name, 3) === ColonCharCode) {
|
|
3475
|
+
// Assume xml namespace
|
|
3476
|
+
setAttribute(elm, name, cur, XML_NAMESPACE);
|
|
3477
|
+
}
|
|
3478
|
+
else if (StringCharCodeAt.call(name, 5) === ColonCharCode) {
|
|
3479
|
+
// Assume xlink namespace
|
|
3480
|
+
setAttribute(elm, name, cur, XLINK_NAMESPACE);
|
|
3481
|
+
}
|
|
3482
|
+
else if (isNull(cur) || isUndefined$1(cur)) {
|
|
3483
|
+
removeAttribute(elm, name);
|
|
3484
|
+
}
|
|
3485
|
+
else {
|
|
3486
|
+
setAttribute(elm, name, cur);
|
|
3487
|
+
}
|
|
3488
|
+
}
|
|
3489
|
+
}
|
|
3490
|
+
}
|
|
3491
|
+
|
|
3417
3492
|
/*
|
|
3418
3493
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
3419
3494
|
* All rights reserved.
|
|
@@ -3815,16 +3890,16 @@ function mountCustomElement(vnode, parent, anchor, renderer) {
|
|
|
3815
3890
|
// the custom element from the registry is expecting an upgrade callback
|
|
3816
3891
|
vm = createViewModelHook(elm, vnode, renderer);
|
|
3817
3892
|
};
|
|
3818
|
-
|
|
3819
|
-
|
|
3893
|
+
let connectedCallback;
|
|
3894
|
+
let disconnectedCallback;
|
|
3895
|
+
if (lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE) {
|
|
3896
|
+
connectedCallback = elm => {
|
|
3820
3897
|
connectRootElement(elm);
|
|
3821
|
-
}
|
|
3822
|
-
|
|
3823
|
-
const disconnectedCallback = elm => {
|
|
3824
|
-
if (lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE) {
|
|
3898
|
+
};
|
|
3899
|
+
disconnectedCallback = elm => {
|
|
3825
3900
|
disconnectRootElement(elm);
|
|
3826
|
-
}
|
|
3827
|
-
}
|
|
3901
|
+
};
|
|
3902
|
+
}
|
|
3828
3903
|
// Should never get a tag with upper case letter at this point; the compiler
|
|
3829
3904
|
// should produce only tags with lowercase letters. However, the Java
|
|
3830
3905
|
// compiler may generate tagnames with uppercase letters so - for backwards
|
|
@@ -3997,7 +4072,11 @@ function patchElementPropsAndAttrs$1(oldVnode, vnode, renderer) {
|
|
|
3997
4072
|
// value is set before type=radio.
|
|
3998
4073
|
patchClassAttribute(oldVnode, vnode, renderer);
|
|
3999
4074
|
patchStyleAttribute(oldVnode, vnode, renderer);
|
|
4000
|
-
|
|
4075
|
+
if (vnode.data.external) {
|
|
4076
|
+
patchAttrUnlessProp(oldVnode, vnode, renderer);
|
|
4077
|
+
} else {
|
|
4078
|
+
patchAttributes(oldVnode, vnode, renderer);
|
|
4079
|
+
}
|
|
4001
4080
|
patchProps(oldVnode, vnode, renderer);
|
|
4002
4081
|
}
|
|
4003
4082
|
function applyStyleScoping(elm, owner, renderer) {
|
|
@@ -4430,8 +4509,11 @@ function s(slotName, data, children, slotset) {
|
|
|
4430
4509
|
!isUndefined$1(slotset.slotAssignments) &&
|
|
4431
4510
|
!isUndefined$1(slotset.slotAssignments[slotName]) &&
|
|
4432
4511
|
slotset.slotAssignments[slotName].length !== 0) {
|
|
4433
|
-
|
|
4434
|
-
|
|
4512
|
+
const newChildren = [];
|
|
4513
|
+
const slotAssignments = slotset.slotAssignments[slotName];
|
|
4514
|
+
for (let i = 0; i < slotAssignments.length; i++) {
|
|
4515
|
+
const vnode = slotAssignments[i];
|
|
4516
|
+
if (!isNull(vnode)) {
|
|
4435
4517
|
const assignedNodeIsScopedSlot = isVScopedSlotFragment(vnode);
|
|
4436
4518
|
// The only sniff test for a scoped <slot> element is the presence of `slotData`
|
|
4437
4519
|
const isScopedSlotElement = !isUndefined$1(data.slotData);
|
|
@@ -4441,32 +4523,30 @@ function s(slotName, data, children, slotset) {
|
|
|
4441
4523
|
logError(`Mismatched slot types for ${slotName === '' ? '(default)' : slotName} slot. Both parent and child component must use standard type or scoped type for a given slot.`, slotset.owner);
|
|
4442
4524
|
}
|
|
4443
4525
|
// Ignore slot content from parent
|
|
4444
|
-
|
|
4526
|
+
continue;
|
|
4445
4527
|
}
|
|
4446
4528
|
// If the passed slot content is factory, evaluate it and add the produced vnodes
|
|
4447
4529
|
if (assignedNodeIsScopedSlot) {
|
|
4448
4530
|
const vmBeingRenderedInception = getVMBeingRendered();
|
|
4449
|
-
let scopedSlotChildren = [];
|
|
4450
4531
|
// Evaluate in the scope of the slot content's owner
|
|
4451
4532
|
// if a slotset is provided, there will always be an owner. The only case where owner is
|
|
4452
4533
|
// undefined is for root components, but root components cannot accept slotted content
|
|
4453
4534
|
setVMBeingRendered(slotset.owner);
|
|
4454
4535
|
try {
|
|
4455
|
-
|
|
4536
|
+
ArrayPush$1.apply(newChildren, vnode.factory(data.slotData));
|
|
4456
4537
|
}
|
|
4457
4538
|
finally {
|
|
4458
4539
|
setVMBeingRendered(vmBeingRenderedInception);
|
|
4459
4540
|
}
|
|
4460
|
-
return ArrayConcat$1.call(accumulator, scopedSlotChildren);
|
|
4461
4541
|
}
|
|
4462
4542
|
else {
|
|
4463
4543
|
// If the slot content is standard type, the content is static, no additional
|
|
4464
4544
|
// processing needed on the vnode
|
|
4465
|
-
|
|
4545
|
+
ArrayPush$1.call(newChildren, vnode);
|
|
4466
4546
|
}
|
|
4467
4547
|
}
|
|
4468
|
-
|
|
4469
|
-
|
|
4548
|
+
}
|
|
4549
|
+
children = newChildren;
|
|
4470
4550
|
}
|
|
4471
4551
|
const vmBeingRendered = getVMBeingRendered();
|
|
4472
4552
|
const { renderMode, shadowMode } = vmBeingRendered;
|
|
@@ -6124,7 +6204,7 @@ function freezeTemplate(tmpl) {
|
|
|
6124
6204
|
});
|
|
6125
6205
|
}
|
|
6126
6206
|
}
|
|
6127
|
-
/* version: 2.30.
|
|
6207
|
+
/* version: 2.30.3 */
|
|
6128
6208
|
|
|
6129
6209
|
/*
|
|
6130
6210
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -6595,7 +6675,7 @@ function renderComponent(tagName, Ctor, props = {}) {
|
|
|
6595
6675
|
*/
|
|
6596
6676
|
freeze(LightningElement);
|
|
6597
6677
|
seal(LightningElement.prototype);
|
|
6598
|
-
/* version: 2.30.
|
|
6678
|
+
/* version: 2.30.3 */
|
|
6599
6679
|
|
|
6600
6680
|
exports.LightningElement = LightningElement;
|
|
6601
6681
|
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:T,reduce:k,reverse:M,shift:A,slice:x,some:N,sort:O,splice:_,unshift:P,forEach:L}=Array.prototype,{fromCharCode:$}=String,{charCodeAt:R,replace:D,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 Y(e,t){do{const n=s(e,t);if(!H(n))return n;e=a(e)}while(null!==e)}const q=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],{AriaAttrNameToPropNameMap:X,AriaPropNameToAttrNameMap:J}=(()=>{const e=n(null),t=n(null);return L.call(q,(n=>{const r=F.call(D.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=/-([a-z])/g,re=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 oe(e,t){const n=re.get(e);return void 0!==n&&(0===n.size||n.has(t))}const ie=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 se(e){return ie.has(e)}const{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:le,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:ae}=(()=>{const e=new Map([["accessKey","accesskey"],["readOnly","readonly"],["tabIndex","tabindex"],["bgColor","bgcolor"],["colSpan","colspan"],["rowSpan","rowspan"],["contentEditable","contenteditable"],["crossOrigin","crossorigin"],["dateTime","datetime"],["formAction","formaction"],["isMap","ismap"],["maxLength","maxlength"],["minLength","minlength"],["noValidate","novalidate"],["useMap","usemap"],["htmlFor","for"]]),t=new Map;return e.forEach(((e,n)=>t.set(e,n))),{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:t,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:e}})(),ce=new Map,ue=new Map;function de(e){const t=J[e];if(!H(t))return t;const n=ae.get(e);if(!H(n))return n;const r=ce.get(e);if(!H(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=R.call(e,t);o+=n>=65&&n<=90?"-"+$(n+32):$(n)}return ce.set(e,o),o}function fe(e){const t=X[e];if(!H(t))return t;const n=le.get(e);if(!H(n))return n;const r=ue.get(e);if(!H(r))return r;const o=D.call(e,ne,(e=>e[1].toUpperCase()));return ue.set(e,o),o}const pe={'"':""","'":"'","<":"<",">":">","&":"&"};function he(e,t=!1){const n=t?/["&]/g:/["'<>&]/g;return e.replace(n,(e=>pe[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 me={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 ge=Z.lwcRuntimeFlags;const we=f(n(null)),ye=f([]);function be(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}const ve=new WeakMap;const Ee={observe(e){e()},reset(){},link(){}};function Ce(e){return Ee}function Se(e){return`<${F.call(e.tagName)}>`}function Te(e,t){if(!u(t)&&H(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!B(n);)T.call(t,Se(n)),n=n.owner;return t.reverse().join("\n\t")}(e);o(t,"wcStack",{get:()=>n})}}function ke(e,t,n){let r=`[LWC ${e}]: ${t}`;H(n)||(r=`${r}\n${function(e){const t=[];let n="";for(;!B(e.owner);)T.call(t,n+Se(e)),e=e.owner,n+="\t";return E.call(t,"\n")}(n)}`);try{throw new Error(r)}catch(t){console[e](t)}}function Me(e,t){ke("error",e,t)}function Ae(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function xe(e){return W(e)&&c.call(e,"__circular__")}const Ne="undefined"!=typeof HTMLElement?HTMLElement:function(){},Oe=Ne.prototype;function _e(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:_e("offsetHeight")},offsetLeft:{readOnly:!0,error:_e("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:_e("offsetTop")},offsetWidth:{readOnly:!0,error:_e("offsetWidth")},role:{attribute:"role"}});let Pe,Le=null;function $e(e,t){return e!==Le||t!==Pe}function Re(e,t){Le=null,Pe=void 0}function De(e,t){Le=e,Pe=t}const Ie=n(null);function Fe(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n)}L.call(d(J),(e=>{const t=Y(Oe,e);H(t)||(Ie[e]=t)})),L.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=Y(Oe,e);H(t)||(Ie[e]=t)}));const{isArray:He}=Array,{prototype:Be,getPrototypeOf:Ve,create:je,defineProperty:We,isExtensible:Ge,getOwnPropertyDescriptor:Ue,getOwnPropertyNames:Ke,getOwnPropertySymbols:ze,preventExtensions:Ye,hasOwnProperty:qe}=Object,{push:Xe,concat:Je}=Array.prototype;function Qe(e){return void 0===e}function Ze(e){return"function"==typeof e}const et=new WeakMap;function tt(e,t){et.set(e,t)}const nt=e=>et.get(e)||e;class rt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(qe.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=Ue(n,t);if(!Qe(r)){const n=this.wrapDescriptor(r);We(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;Je.call(Ke(t),ze(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;Qe(n)||qe.call(e,n)||We(e,n,je(null)),Ye(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)||qe.call(t,n)?[]:[n];return Xe.apply(r,Ke(t)),Xe.apply(r,ze(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!Ge(e)&&(!!Ge(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return Ve(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=Ue(n,t);if(Qe(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},We(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const ot=new WeakMap,it=new WeakMap,st=new WeakMap,lt=new WeakMap;class at extends rt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=ot.get(e);if(!Qe(t))return t;const n=this,r=function(){return n.wrapValue(e.call(nt(this)))};return ot.set(e,r),st.set(r,e),r}wrapSetter(e){const t=it.get(e);if(!Qe(t))return t;const n=function(t){e.call(nt(this),nt(t))};return it.set(e,n),lt.set(n,e),n}unwrapDescriptor(e){if(qe.call(e,"value"))e.value=nt(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=st.get(e);if(!Qe(t))return t;const n=this,r=function(){return nt(e.call(n.wrapValue(this)))};return ot.set(r,e),st.set(e,r),r}unwrapSetter(e){const t=lt.get(e);if(!Qe(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return it.set(r,e),lt.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&&He(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(Ge(e)){const{originalTarget:t}=this;if(Ye(t),Ge(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!qe.call(r,t)||(We(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const ct=new WeakMap,ut=new WeakMap;class dt extends rt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=ct.get(e);if(!Qe(t))return t;const n=this,r=function(){return n.wrapValue(e.call(nt(this)))};return ct.set(e,r),r}wrapSetter(e){const t=ut.get(e);if(!Qe(t))return t;const n=function(e){};return ut.set(e,n),n}set(e,t,n){return!1}deleteProperty(e,t){return!1}setPrototypeOf(e,t){}preventExtensions(e){return!1}defineProperty(e,t,n){return!1}}function ft(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(He(e))return!0;const t=Ve(e);return t===Be||null===t||null===Ve(t)}const pt=(e,t)=>{},ht=(e,t)=>{};function mt(e){return He(e)?[]:{}}const gt=Symbol.for("@@lockerLiveValue"),wt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=Ze(t)?t:ht,this.valueObserved=Ze(n)?n:pt,this.valueIsObservable=Ze(r)?r:ft,this.tagPropertyKey=o}getProxy(e){const t=nt(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=nt(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return nt(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(Qe(t)){const n=new at(this,e);t=new Proxy(mt(e),n),tt(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(Qe(t)){const n=new dt(this,e);t=new Proxy(mt(e),n),tt(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:function(e,t){},valueMutated:function(e,t){const n=ve.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:gt});function yt(e){return wt.getReadOnlyProxy(e)}function bt(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=ur(this);if(!Wn(e))return n.call(e.elm)},set(t){const n=ur(this);return Fe(n,e,t),r.call(n.elm,t)}}}const vt=i(n(null)),Et=new WeakMap,Ct=function(){if(B(jn))throw new TypeError("Illegal constructor");const e=jn,{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 cr(o,e),cr(n,e),1===e.renderMode?e.renderRoot=St(e):e.renderRoot=n,this};function St(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,cr(s,e),s}Ct.prototype={constructor:Ct,dispatchEvent(e){const t=ur(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=ur(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,Xn(r,t),n)},removeEventListener(e,t,n){const r=ur(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,Xn(r,t),n)},hasAttribute(e){const t=ur(this),{elm:n,renderer:{getAttribute:r}}=t;return!B(r(n,e))},hasAttributeNS(e,t){const n=ur(this),{elm:r,renderer:{getAttribute:o}}=n;return!B(o(r,t,e))},removeAttribute(e){const t=ur(this),{elm:n,renderer:{removeAttribute:r}}=t;De(n,e),r(n,e),Re()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=ur(this);De(n,t),r(n,t,e),Re()},getAttribute(e){const t=ur(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=ur(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=ur(this),{elm:r,renderer:{setAttribute:o}}=n;De(r,e),o(r,e,t),Re()},setAttributeNS(e,t,n){const r=ur(this),{elm:o,renderer:{setAttribute:i}}=r;De(o,t),i(o,t,n,e),Re()},getBoundingClientRect(){const e=ur(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=ur(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=ur(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return ur(this).shadowRoot},get refs(){const e=ur(this);if(Rn)return;const{refVNodes:t,hasRefVNodes:r,cmpTemplate:o}=e;if(!r)return;if(B(t))return vt;let s=Et.get(t);if(H(s)){s=n(null);for(const e of d(t))s[e]=t[e].elm;i(s),Et.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=ur(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=ur(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=ur(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=ur(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=ur(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=ur(this);return e.renderer.getLastElementChild(e.elm)},render(){return ur(this).def.template},toString(){return`[object ${ur(this).def.name}]`}};const Tt=n(null),kt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of kt)Tt[e]={value(t){const n=ur(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};r(Ct.prototype,Tt);const Mt=n(null);for(const e in Ie)Mt[e]=bt(e,Ie[e]);function At(e){return{get(){return ur(this).cmpFields[e]},set(t){Fe(ur(this),e,t)},enumerable:!0,configurable:!0}}r(Ct.prototype,Mt),o(Ct,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const xt={observe(e){e()},reset(){},link(){}};function Nt(e){return{get(){const t=ur(this);if(!Wn(t))return t.cmpProps[e]},set(t){ur(this).cmpProps[e]=t},enumerable:!0,configurable:!0}}function Ot(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=ur(this);if(r)if(ge.ENABLE_REACTIVE_SETTER){let o=n.oar[e];H(o)&&(o=n.oar[e]=xt),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function _t(e){return{get(){return ur(this).cmpFields[e]},set(t){Fe(ur(this),e,t)},enumerable:!0,configurable:!0}}function Pt(e){return{get(){return ur(this).cmpFields[e]},set(t){Fe(ur(this),e,t)},enumerable:!0,configurable:!0}}const Lt=new Map;const $t={apiMethods:we,apiFields:we,apiFieldsConfig:we,wiredMethods:we,wiredFields:we,observedFields:we};const Rt=new Set;function Dt(){return[]}Rt.add(Dt);const It=n(null),Ft=n(null);function Ht(e){let t=It[e];return H(t)&&(t=It[e]=function(){const t=ur(this),{getHook:n}=t;return n(t.component,e)}),t}function Bt(e){let t=Ft[e];return H(t)&&(t=Ft[e]=function(t){const n=ur(this),{setHook:r}=n;t=yt(t),r(n.component,e,t)}),t}function Vt(e){return function(){const t=ur(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,x.call(arguments))}}function jt(e,t){return function(n,r,o){if(r===o)return;const i=e[n];H(i)?H(t)||t.apply(this,arguments):$e(this,n)&&(this[i]=o)}}function Wt(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[de(n)]=n,u[n]={get:Ht(n),set:Bt(n),enumerable:!0,configurable:!0}}for(let e=0,t=i.length;e<t;e+=1){const t=i[e];u[t]={value:Vt(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:jt(l,a)},o(s,"observedAttributes",{get:()=>[...c,...d(l)]}),r(s.prototype,u),s}const Gt=Wt(Ne,l(Ie),[]);i(Gt),f(Gt.prototype);const Ut=new WeakMap;function Kt(e){const{shadowSupportMode:o,renderMode:i}=e,s=function(e){const t=Lt.get(e);return H(t)?$t: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(xe(t)){const e=Ae(t);t=e===t?Ct:e}return t}(e),C=E!==Ct?Yt(E):qt,S=Wt(C.bridge,d(l),d(u)),T=t(n(null),C.props,l),k=t(n(null),C.propsConfig,c),M=t(n(null),C.methods,u),A=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 x=C.shadowSupportMode;H(o)||(x=o);let N=C.renderMode;H(i)||(N="light"===i?0:1);const O=function(e){return Kn.get(e)}(e)||C.template,_=e.name||C.name;r(m,h);return{ctor:e,name:_,wire:A,props:T,propsConfig:k,methods:M,bridge:S,template:O,renderMode:N,shadowSupportMode:x,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function zt(e){if(!W(e))return!1;if(e.prototype instanceof Ct)return!0;let t=e;do{if(xe(t)){const e=Ae(t);if(e===t)return!0;t=e}if(t===Ct)return!0}while(!B(t)&&(t=a(t)));return!1}function Yt(e){let t=Ut.get(e);if(H(t)){if(xe(e)){return t=Yt(Ae(e)),Ut.set(e,t),t}if(!zt(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=Kt(e),Ut.set(e,t)}return t}const qt={ctor:Ct,name:Ct.name,props:Mt,propsConfig:we,methods:we,renderMode:1,shadowSupportMode:"reset",wire:we,bridge:Gt,template:Dt,render:Ct.prototype.render};function Xt(e){return`${e}-host`}function Jt(e){return $n.h("style",{key:"style",attrs:{type:"text/css"}},[$n.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))T.apply(r,Qt(s,t,n));else{const e=s.$scoped$;if(ge.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){Me("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=en(n)),a=B(o)||0===o.shadowMode),T.call(r,s(i,l,a))}}return r}function Zt(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return H(n)||0===n.length||(o=Qt(n,r,e)),o}function en(e){let t=e;for(;!B(t);){if(1===t.renderMode)return t;t=t.owner}return t}function tn(e){const{type:t}=e;return 2===t||3===t}function nn(e,t){return e.key===t.key&&e.sel===t.sel}function rn(e){return 5===e.type}function on(e){return 6===e.type}function sn(e,t){return"input"===e&&("value"===t||"checked"===t)}const ln=n(null);function an(e){if(null==e)return we;e=G(e)?e:e+"";let t=ln[e];if(t)return t;t=n(null);let r,o=0;const i=e.length;for(r=0;r<i;r++)32===R.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),ln[e]=t,t}function cn(e,t,n,r){var o;o=t,Tn.has(o)?Mn(e,t,n,r):An(e,t,n,r)}function un(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&&yn(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?An(e.children,o,n,r):Mn(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;vn(e,t,n),cn(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);hn(e,n,r,!0),fn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;vn(e,t,r),H(o)||Cn(t,o),cn(e.children,t.children,n,r),H(o)||function(e){fr(e)}(o)}}(e,t,n,null!==(i=t.data.renderer)&&void 0!==i?i:r)}}function dn(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);wn(s,o,r),bn(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);wn(s,o,r),bn(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);wn(l,o,r);const{renderMode:a,shadowMode:c}=o;s&&(1!==c&&0!==a||(l.$shadowStaticNode$=!0));bn(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;pn(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);wn(c,i,r),En(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),vn(null,e,r),bn(c,t,n,r),pn(e.children,c,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:fn(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function fn(e,t,n,r){const{sel:o,owner:i}=e,{createCustomElement:s}=r;let l;let a,c;ge.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(a=e=>{ir(e)},c=e=>{sr(e)});const u=s(o.toLowerCase(),(t=>{l=function(e,t,n){let r=dr(e);if(!H(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;return r=ar(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}),a,c);e.elm=u,e.vm=l,wn(u,i,r),En(u,i,r),l&&Cn(e,l),vn(null,e,r),bn(u,t,n,r),l&&pr(l),pn(e.children,u,r,null),l&&function(e){fr(e)}(l)}function pn(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];gn(i)&&dn(i,t,n,r)}}function hn(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&(5===o?mn(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;mn(e.children,i,n,t);break}case 3:{const{vm:t}=e;H(t)||function(e){lr(e)}(t)}}}function mn(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];gn(i)&&hn(i,t,n,r)}}function gn(e){return null!=e}function wn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function yn(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function bn(e,t,n,r){r.insert(e,t,n)}function vn(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=an(o),c=an(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),n.data.external?function(e,t,n){const{data:{attrs:r},elm:o}=t;if(H(r))return;const{removeAttribute:i,setAttribute:s,setProperty:l}=n,a=B(e)?we:e.data.attrs;for(const e in r){const t=r[e];a[e]!==t&&(fe(e)in o?l(o,e,t):58===R.call(e,3)?s(o,e,t,"http://www.w3.org/XML/1998/namespace"):58===R.call(e,5)?s(o,e,t,"http://www.w3.org/1999/xlink"):B(t)||H(t)?i(o,e):s(o,e,t))}}(e,n,r):function(e,t,n){const{attrs:r}=t.data;if(H(r))return;const o=B(e)?we: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&&(De(i,e),58===R.call(e,3)?s(i,e,t,"http://www.w3.org/XML/1998/namespace"):58===R.call(e,5)?s(i,e,t,"http://www.w3.org/1999/xlink"):B(t)||H(t)?l(i,e):s(i,e,t),Re())}}(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=we),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===(sn(c,e)?u(a,e):s[e])&&e in s||d(a,e,t)}}(e,n,r)}function En(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 Cn(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(Sn(e,t,i),e.cmpSlots={owner:r,slotAssignments:i},j(e.isDirty)){const t=d(o);if(t.length!==d(i).length)return void Yn(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 Yn(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 Yn(e)}}}(t,r,e.owner),e.aChildren=r,e.children=ye)}function Sn(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(rn(s)){Sn(e,s.children.slice(1,-1),n);continue}let l="";tn(s)?l=null!==(o=null===(r=s.data.attrs)||void 0===r?void 0:r.slot)&&void 0!==o?o:"":on(s)&&(l=s.slotName);const a=n[l]=n[l]||[];T.call(a,s)}}const Tn=new WeakMap;function kn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(gn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function Mn(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;)gn(l)?gn(a)?gn(m)?gn(g)?nn(l,m)?(un(l,m,n,r),l=e[++o],m=t[++i]):nn(a,g)?(un(a,g,n,r),a=e[--s],g=t[--h]):nn(l,g)?(un(l,g,n,r),bn(l.elm,n,r.nextSibling(a.elm),r),l=e[++o],g=t[--h]):nn(a,m)?(un(a,m,n,r),bn(m.elm,n,l.elm,r),a=e[--s],m=t[++i]):(void 0===u&&(u=kn(e,o,s)),d=u[m.key],H(d)?(dn(m,n,r,l.elm),m=t[++i]):(f=e[d],gn(f)&&(f.sel!==m.sel?dn(m,n,r,l.elm):(un(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,bn(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(!gn(e)&&o<c);p=gn(e)?e.elm:null,pn(t,n,r,p,i,h+1)}else mn(e,n,r,!0,o,s+1)}function An(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void pn(t,n,r,null);if(0===i)return void mn(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&&(gn(i)?gn(l)?(un(i,l,n,r),s=l.elm):hn(i,n,r,!0):gn(l)&&(dn(l,n,r,s),s=l.elm))}}const xn=Symbol.iterator;function Nn(e,t,n=ye){const r=In(),{key:o,ref:i}=t,s={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return H(i)||be(r,i,s),s}function On(e,t,n,r=ye){const o=In(),{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){T.call(In().velements,e)}(l),H(s)||be(o,s,l),l}function _n(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:In()}}function Pn(e){var t;return t=e,Tn.set(t,1),e}let Ln=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const $n=i({s:function(e,t,n,r){if(!H(r)&&!H(r.slotAssignments)&&!H(r.slotAssignments[e])&&0!==r.slotAssignments[e].length){const o=[],i=r.slotAssignments[e];for(let e=0;e<i.length;e++){const n=i[e];if(!B(n)){const e=on(n);if(e!==!H(t.slotData))continue;if(e){const e=In();Fn(r.owner);try{T.apply(o,n.factory(t.slotData))}finally{Fn(e)}}else T.call(o,n)}}n=o}const o=In(),{renderMode:i,shadowMode:s}=o;return 0===i?(Pn(n),n):(1===s&&Pn(n),Nn("slot",t,n))},h:Nn,c:On,i:function(e,t){const n=[];if(Pn(n),H(e)||null===e)return n;const r=e[xn]();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)?T.apply(n,e):T.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];Pn(n);for(let r=0;r<t;r+=1){const t=e[r];h(t)?T.apply(n,t):T.call(n,t)}return n},t:_n,d:function(e){return null==e?"":String(e)},b:function(e){const t=In();if(B(t))throw new Error;const n=t;return function(t){Un(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:In()}},dc:function(e,t,n,r=ye){if(null==t)return null;if(!zt(t))throw new Error(`Invalid LWC Constructor ${z(t)} for custom element <${e}>.`);return On(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[_n(""),...t,_n("")],stable:n,owner:In()}},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:In()}},gid:function(e){const t=In();if(H(e)||""===e)return e;if(B(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?D.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=In();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 Ln(e)},ssf:function(e,t){return{type:6,factory:t,owner:In(),elm:void 0,sel:void 0,key:void 0,slotName:e}}});let Rn=!1,Dn=null;function In(){return Dn}function Fn(e){Dn=e}const Hn=(Bn=(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}=In(),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]=Bn(p,s),r[c]}});var Bn;function Vn(e,t){const r=Rn,o=Dn;let i=[];return yr(e,e.owner,(()=>{Dn=e}),(()=>{const{component:r,context:o,cmpSlots:s,cmpTemplate:l,tro:a}=e;a.observe((()=>{if(t!==l){if(B(l)||wr(e),a=t,!Rt.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(Xt(g)),y&&l(n,Xt(g))),H(c)||0===c.length||(p=u),H(p)||(f&&(s(n).add(Xt(p)),h=!0),d&&(a(n,Xt(p),""),m=!0)),r.stylesheetToken=p,r.hasTokenInClass=h,r.hasTokenInAttribute=m}(e,t);const r=Zt(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,Jt);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=[],Rn=!0,i=t.call(void 0,$n,r,s,o.tplCache);const{styleVNodes:u}=o;B(u)||P.apply(i,u)}))}),(()=>{Rn=r,Dn=o})),i}let jn=null;function Wn(e){return jn===e}function Gn(e,t,n){const{component:r,callHook:o,owner:i}=e;yr(e,i,U,(()=>{o(r,t,n)}),U)}function Un(e,t,n,r){const{callHook:o,owner:i}=e;yr(e,i,U,(()=>{o(n,t,[r])}),U)}const Kn=new Map;function zn(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=In();let s,l=!1;return yr(e,o,(()=>{Fn(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{Fn(i)})),l?Vn(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Yn(e){e.isDirty=!0}const qn=new WeakMap;function Xn(e,t){if(!W(t))throw new TypeError;let n=qn.get(t);return H(n)&&(n=function(n){Un(e,t,void 0,n)},qn.set(t,n)),n}const Jn=n(null),Qn=["rendered","connected","disconnected"];function Zn(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 er=0;const tr=new WeakMap;function nr(e,t,n=[]){return t.apply(e,n)}function rr(e,t,n){e[t]=n}function or(e,t){return e[t]}function ir(e){const t=ur(e);1===t.state&&sr(e),pr(t),fr(t)}function sr(e){lr(ur(e))}function lr(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}=Jn;t&&Zn(e,t);hr(e)&&function(e){const{wiredDisconnecting:t}=e.context;yr(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)||Gn(e,n)}(e),mr(e),function(e){const{aChildren:t}=e;gr(t)}(e)}}function ar(e,t,r,o){const{mode:i,owner:s,tagName:l,hydrated:a}=o,c=Yt(t),u={elm:e,def:c,idx:er++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,refVNodes:null,hasRefVNodes:!1,children:ye,aChildren:ye,velements:ye,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:we,wiredConnecting:ye,wiredDisconnecting:ye},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:nr,setHook:rr,getHook:or,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(ge.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=Ce(),function(e,t){const n=jn;let r;jn=e;try{const o=new t;if(jn.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(jn=n,!H(r))throw Te(e,r),r}}(u,c.ctor),hr(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=br.get(i);if(!H(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=Er(e,t,s),a=s.dynamic.length>0;T.call(r,(()=>{n.connect(),ge.ENABLE_WIRE_SYNC_EMIT||!a?i():Promise.resolve().then(i)})),T.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function cr(e,t){tr.set(e,t)}function ur(e){return tr.get(e)}function dr(e){return tr.get(e)}function fr(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&&yr(e,e,(()=>{}),(()=>{cn(r,t,n,o)}),(()=>{}));e.state}(e,zn(e))}}function pr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Jn;n&&Zn(e,n),hr(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;H(r)||Gn(e,r)}function hr(e){return l(e.def.wire).length>0}function mr(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=dr(n);H(e)||lr(e)}}}function gr(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:gr(n.children);break;case 3:lr(ur(n.elm));break}}}function wr(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=ye,mr(e),e.velements=ye}function yr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!H(i)){Te(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;wr(e);Gn(n,n.def.errorCallback,[i,i.wcStack])}}}const br=new Map;class vr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function Er(e,t,n){const{method:r,adapter:i,configCallback:s,dynamic:l}=n;const a=H(r)?function(e,t){return n=>{Fe(e,t,n)}}(e,t):function(e,t){return n=>{yr(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}),yr(e,e,U,(()=>{d=new i(c)}),U);const{computeConfigAndUpdate:f,ro:p}=function(e,t,n){const r=Ce();return{computeConfigAndUpdate:()=>{let o;r.observe((()=>o=t(e))),n(o)},ro:r}}(e.component,s,(t=>{yr(e,e,U,(()=>{d.update(t,u)}),U)}));return H(i.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Sr(r);if(H(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{dispatchEvent:a}}=e;T.call(s,(()=>{const e=new vr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){T.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 Cr=new Map;function Sr(e){return Cr.get(e)}function Tr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};br.set(e,o)}function kr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};br.set(e,o)}let Mr=!1;const Ar=Symbol("namespace"),xr=Symbol("type"),Nr=Symbol("parent"),Or=Symbol("shadow-root"),_r=Symbol("children"),Pr=Symbol("attributes"),Lr=Symbol("event-listeners"),$r=Symbol("value");var Rr;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(Rr||(Rr={}));const Dr=/\s+/g;function Ir(e){return new Set(e.split(Dr).filter((e=>e.length)))}function Fr(e){return Array.from(e).join(" ")}function Hr(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function Br(e,t){return{[xr]:Rr.Element,tagName:e,[Ar]:null!=t?t:ee,[Nr]:null,[Or]:null,[_r]:[],[Pr]:[],[Lr]:{}}}function Vr(e,t,n=null){const r=e[Pr].find((e=>e.name===t&&e[Ar]===n));return r?r.value:null}function jr(e,t,n,r=null){const o=e[Pr].find((e=>e.name===t&&e[Ar]===r));H(r)&&(r=null),H(o)?e[Pr].push({name:t,[Ar]:r,value:String(n)}):o.value=n}function Wr(e,t,n){e[Pr]=e[Pr].filter((e=>e.name!==t&&e[Ar]!==n))}const Gr=U,Ur=U,Kr=U,zr=Hr("dispatchEvent"),Yr=Hr("getBoundingClientRect"),qr=Hr("querySelector"),Xr=Hr("querySelectorAll"),Jr=Hr("getElementsByTagName"),Qr=Hr("getElementsByClassName"),Zr=Hr("getChildren"),eo=Hr("getChildNodes"),to=Hr("getFirstChild"),no=Hr("getFirstElementChild"),ro=Hr("getLastChild"),oo=Hr("getLastElementChild"),io=U,so=new Map;function lo(e){let t=so.get(e);return H(t)?(t=function(e){return function(t){const n=Br(e);return W(t)&&t(n),n}}(e),so.set(e,t),t):t}const ao={isNativeShadowDefined:!1,isSyntheticShadowDefined:!1,insert:function(e,t,n){const r=e[Nr];if(null!==r&&r!==t){const t=r[_r].indexOf(e);r[_r].splice(t,1)}e[Nr]=t;const o=B(n)?-1:t[_r].indexOf(n);-1===o?t[_r].push(e):t[_r].splice(o,0,e)},remove:function(e,t){const n=t[_r].indexOf(e);t[_r].splice(n,1)},cloneNode:function(e){return Object.assign({},e)},createFragment:function(e){return{[xr]:Rr.Raw,[Nr]:null,[$r]:e}},createElement:Br,createText:function(e){return{[xr]:Rr.Text,[$r]:String(e),[Nr]:null}},createComment:function(e){return{[xr]:Rr.Comment,[$r]:e,[Nr]:null}},createCustomElement:function(e,t){return new(lo(e))(t)},nextSibling:function(e){const t=e[Nr];if(B(t))return null;const n=t[_r].indexOf(e);return t[_r][n+1]||null},attachShadow:function(e,t){return e[Or]={[xr]:Rr.ShadowRoot,[_r]:[],mode:t.mode,delegatesFocus:!!t.delegatesFocus},e[Or]},getProperty:function(e,t){var n,r;if(t in e)return e[t];if(e[xr]===Rr.Element){const o=de(t);if(oe(o,e.tagName))return null!==(n=Vr(e,o))&&void 0!==n&&n;if(se(o)||Q(o))return Vr(e,o);if("input"===e.tagName&&"value"===t)return null!==(r=Vr(e,"value"))&&void 0!==r?r:""}},setProperty:function(e,t,n){if(t in e)return e[t]=n;if(e[xr]===Rr.Element){const r=de(t);if("innerHTML"===t)return void(e[_r]=[{[xr]:Rr.Raw,[Nr]:e,[$r]:n}]);if(oe(r,e.tagName))return!0===n?jr(e,r,""):Wr(e,r);if(se(r)||Q(r))return jr(e,r,n);if("input"===e.tagName&&"value"===r)return B(n)||H(n)?Wr(e,"value"):jr(e,"value",n)}},setText:function(e,t){e[xr]===Rr.Text?e[$r]=t:e[xr]===Rr.Element&&(e[_r]=[{[xr]:Rr.Text,[Nr]:e,[$r]:t}])},getAttribute:Vr,setAttribute:jr,removeAttribute:Wr,addEventListener:Ur,removeEventListener:Kr,dispatchEvent:zr,getClassList:function(e){function t(){let t=e[Pr].find((e=>"class"===e.name&&B(e[Ar])));return H(t)&&(t={name:"class",[Ar]:null,value:""},e[Pr].push(t)),t}return{add(...e){const n=t(),r=Ir(n.value);e.forEach((e=>r.add(e))),n.value=Fr(r)},remove(...e){const n=t(),r=Ir(n.value);e.forEach((e=>r.delete(e))),n.value=Fr(r)}}},setCSSStyleProperty:function(e,t,n,r){const o=e[Pr].find((e=>"style"===e.name&&B(e[Ar]))),i=`${t}: ${n}${r?" !important":""}`;H(o)?e[Pr].push({name:"style",[Ar]:null,value:i}):o.value+=`; ${i}`},getBoundingClientRect:Yr,querySelector:qr,querySelectorAll:Xr,getElementsByTagName:Jr,getElementsByClassName:Qr,getChildren:Zr,getChildNodes:eo,getFirstChild:to,getFirstElementChild:no,getLastChild:ro,getLastElementChild:oo,isConnected:function(e){return!B(e[Nr])},insertStylesheet:Gr,assertInstanceOfHTMLElement:io};function co(e){return e.map((e=>{switch(e[xr]){case Rr.Text:return""===e[$r]?"":he(e[$r]);case Rr.Comment:return`\x3c!--${he(e[$r])}--\x3e`;case Rr.Raw:return e[$r];case Rr.Element:return uo(e)}})).join("")}function uo(e){let t="";const n=e.tagName,r=e[Ar],o=r!==ee,i=e[_r].length>0;var s;return t+=`<${n}${e[Pr].length?` ${s=e[Pr],s.map((e=>e.value.length?`${e.name}="${he(e.value,!0)}"`:e.name)).join(" ")}`:""}`,o&&!i?(t+="/>",t):(t+=">",e[Or]&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${co(e[_r])}</template>`}(e[Or])),t+=co(e[_r]),function(e,t){return t===ee&&te.has(e.toLowerCase())}(n,r)&&!i||(t+=`</${n}>`),t)}const fo={[xr]:Rr.Element,tagName:"fake-root-element",[Ar]:ee,[Nr]:null,[Or]:null,[_r]:[],[Pr]:[],[Lr]:{}};i(Ct),f(Ct.prototype),exports.LightningElement=Ct,exports.api=function(){throw new Error},exports.createContextProvider=function(e){let t=Sr(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){Cr.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=Yt(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:de(e)};const a={};for(const e in s)a[e]=s[e].value;return{ctor:n,name:r,props:l,methods:a}},exports.isComponentConstructor=zt,exports.parseFragment=Hn,exports.parseSVGFragment=Hn,exports.readonly=function(e){return yt(e)},exports.register=function(e){for(let t=0;t<Qn.length;++t){const n=Qn[t];if(n in e){let t=Jn[n];H(t)&&(Jn[n]=t=[]),T.call(t,e[n])}}},exports.registerComponent=function(e,{tmpl:t}){return W(e)&&Kn.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=Ot(e,w)}else w=H(w)||H(w.get)?Nt(e):Ot(e,w);f[e]=w,o(r,e,w)}if(H(l)||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,Tr(w,t,i,l)}else w=Pt(e),h[e]=w,kr(w,t,i,l),o(r,e,w)}if(!H(c))for(const e in c)w=s(r,e),w=_t(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]=At(t))}return function(e,t){Lt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:p,wiredFields:h,observedFields:m}),e},exports.registerTemplate=function(e){return Rt.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=ao.createElement(e);ar(r,t,ao,{mode:"open",owner:null,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r[Nr]=fo,ir(r),uo(r)},exports.renderer=ao,exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(H(me[e])){const n=d(me).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=ge[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(ge,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(Mr,"Hooks are already overridden, only one definition is allowed."),Mr=!0,n=t.sanitizeHtmlContent,Ln=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};
|