lwc 2.14.2 → 2.17.0
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 +155 -13
- package/dist/engine-dom/iife/es2017/engine-dom.js +156 -12
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +147 -10
- package/dist/engine-dom/iife/es5/engine-dom.js +268 -40
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +253 -38
- package/dist/engine-dom/umd/es2017/engine-dom.js +156 -12
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +147 -10
- package/dist/engine-dom/umd/es5/engine-dom.js +268 -40
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +253 -38
- package/dist/engine-server/commonjs/es2017/engine-server.js +129 -29
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +128 -30
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +24 -4
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +24 -4
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +24 -4
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +29 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +29 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +24 -4
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +24 -4
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +29 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +29 -3
- package/dist/wire-service/esm/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/iife/es5/wire-service.js +2 -2
- package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es5/wire-service.js +2 -2
- package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
- package/package.json +7 -7
|
@@ -229,6 +229,7 @@ const _globalThis = /*@__PURE__*/ (function () {
|
|
|
229
229
|
return _globalThis;
|
|
230
230
|
})();
|
|
231
231
|
const KEY__SHADOW_RESOLVER = '$shadowResolver$';
|
|
232
|
+
const KEY__SHADOW_STATIC = '$shadowStaticNode$';
|
|
232
233
|
const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
233
234
|
const KEY__SCOPED_CSS = '$scoped$';
|
|
234
235
|
|
|
@@ -410,6 +411,24 @@ function htmlPropertyToAttribute(propName) {
|
|
|
410
411
|
CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);
|
|
411
412
|
return attributeName;
|
|
412
413
|
}
|
|
414
|
+
|
|
415
|
+
/*
|
|
416
|
+
* Copyright (c) 2020, salesforce.com, inc.
|
|
417
|
+
* All rights reserved.
|
|
418
|
+
* SPDX-License-Identifier: MIT
|
|
419
|
+
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
420
|
+
*/
|
|
421
|
+
const ESCAPED_CHARS = {
|
|
422
|
+
'"': '"',
|
|
423
|
+
"'": ''',
|
|
424
|
+
'<': '<',
|
|
425
|
+
'>': '>',
|
|
426
|
+
'&': '&',
|
|
427
|
+
};
|
|
428
|
+
function htmlEscape(str, attrMode = false) {
|
|
429
|
+
const searchValue = attrMode ? /["&]/g : /["'<>&]/g;
|
|
430
|
+
return str.replace(searchValue, (char) => ESCAPED_CHARS[char]);
|
|
431
|
+
}
|
|
413
432
|
const XML_NAMESPACE = 'http://www.w3.org/XML/1998/namespace';
|
|
414
433
|
const SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
|
|
415
434
|
const XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';
|
|
@@ -421,9 +440,9 @@ const XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';
|
|
|
421
440
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
422
441
|
*/
|
|
423
442
|
// Increment whenever the LWC template compiler changes
|
|
424
|
-
const LWC_VERSION = "2.
|
|
443
|
+
const LWC_VERSION = "2.17.0";
|
|
425
444
|
const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
|
|
426
|
-
/** version: 2.
|
|
445
|
+
/** version: 2.17.0 */
|
|
427
446
|
|
|
428
447
|
/*
|
|
429
448
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -532,7 +551,7 @@ function setFeatureFlagForTest(name, value) {
|
|
|
532
551
|
setFeatureFlag(name, value);
|
|
533
552
|
}
|
|
534
553
|
}
|
|
535
|
-
/** version: 2.
|
|
554
|
+
/** version: 2.17.0 */
|
|
536
555
|
|
|
537
556
|
/* proxy-compat-disable */
|
|
538
557
|
|
|
@@ -3561,6 +3580,9 @@ function patch(n1, n2, renderer) {
|
|
|
3561
3580
|
// VComment has no special capability, fallback to the owner's renderer
|
|
3562
3581
|
patchComment(n1, n2, renderer);
|
|
3563
3582
|
break;
|
|
3583
|
+
case 4 /* Static */:
|
|
3584
|
+
n2.elm = n1.elm;
|
|
3585
|
+
break;
|
|
3564
3586
|
case 2 /* Element */:
|
|
3565
3587
|
patchElement(n1, n2, (_a = n2.data.renderer) !== null && _a !== void 0 ? _a : renderer);
|
|
3566
3588
|
break;
|
|
@@ -3580,6 +3602,10 @@ function mount(node, parent, renderer, anchor) {
|
|
|
3580
3602
|
// VComment has no special capability, fallback to the owner's renderer
|
|
3581
3603
|
mountComment(node, parent, anchor, renderer);
|
|
3582
3604
|
break;
|
|
3605
|
+
case 4 /* Static */:
|
|
3606
|
+
// VStatic cannot have a custom renderer associated to them, using owner's renderer
|
|
3607
|
+
mountStatic(node, parent, anchor, renderer);
|
|
3608
|
+
break;
|
|
3583
3609
|
case 2 /* Element */:
|
|
3584
3610
|
// If the vnode data has a renderer override use it, else fallback to owner's renderer
|
|
3585
3611
|
mountElement(node, parent, anchor, (_a = node.data.renderer) !== null && _a !== void 0 ? _a : renderer);
|
|
@@ -3635,6 +3661,24 @@ function patchElement(n1, n2, renderer) {
|
|
|
3635
3661
|
patchElementPropsAndAttrs$1(n1, n2, renderer);
|
|
3636
3662
|
patchChildren(n1.children, n2.children, elm, renderer);
|
|
3637
3663
|
}
|
|
3664
|
+
function mountStatic(vnode, parent, anchor, renderer) {
|
|
3665
|
+
const { owner } = vnode;
|
|
3666
|
+
const { cloneNode, isSyntheticShadowDefined } = renderer;
|
|
3667
|
+
const elm = (vnode.elm = cloneNode(vnode.fragment, true));
|
|
3668
|
+
linkNodeToShadow(elm, owner, renderer);
|
|
3669
|
+
// Marks this node as Static to propagate the shadow resolver. must happen after elm is assigned to the proper shadow
|
|
3670
|
+
const { renderMode, shadowMode } = owner;
|
|
3671
|
+
if (isSyntheticShadowDefined) {
|
|
3672
|
+
if (shadowMode === 1 /* Synthetic */ || renderMode === 0 /* Light */) {
|
|
3673
|
+
elm[KEY__SHADOW_STATIC] = true;
|
|
3674
|
+
}
|
|
3675
|
+
}
|
|
3676
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
3677
|
+
const isLight = renderMode === 0 /* Light */;
|
|
3678
|
+
patchElementWithRestrictions(elm, { isPortal: false, isLight });
|
|
3679
|
+
}
|
|
3680
|
+
insertNode(elm, parent, anchor, renderer);
|
|
3681
|
+
}
|
|
3638
3682
|
function mountCustomElement(vnode, parent, anchor, renderer) {
|
|
3639
3683
|
const { sel, owner } = vnode;
|
|
3640
3684
|
const UpgradableConstructor = getUpgradableConstructor(sel, renderer);
|
|
@@ -4103,6 +4147,17 @@ const SymbolIterator = Symbol.iterator;
|
|
|
4103
4147
|
function addVNodeToChildLWC(vnode) {
|
|
4104
4148
|
ArrayPush$1.call(getVMBeingRendered().velements, vnode);
|
|
4105
4149
|
}
|
|
4150
|
+
// [st]atic node
|
|
4151
|
+
function st(fragment, key) {
|
|
4152
|
+
return {
|
|
4153
|
+
type: 4 /* Static */,
|
|
4154
|
+
sel: undefined,
|
|
4155
|
+
key,
|
|
4156
|
+
elm: undefined,
|
|
4157
|
+
fragment,
|
|
4158
|
+
owner: getVMBeingRendered(),
|
|
4159
|
+
};
|
|
4160
|
+
}
|
|
4106
4161
|
// [h]tml node
|
|
4107
4162
|
function h(sel, data, children = EmptyArray) {
|
|
4108
4163
|
const vmBeingRendered = getVMBeingRendered();
|
|
@@ -4492,6 +4547,7 @@ const api = freeze({
|
|
|
4492
4547
|
co,
|
|
4493
4548
|
dc,
|
|
4494
4549
|
ti,
|
|
4550
|
+
st,
|
|
4495
4551
|
gid,
|
|
4496
4552
|
fid,
|
|
4497
4553
|
shc,
|
|
@@ -4643,8 +4699,7 @@ function createStylesheet(vm, stylesheets) {
|
|
|
4643
4699
|
// This works in the client, because the stylesheets are created, and cached in the VM
|
|
4644
4700
|
// the first time the VM renders.
|
|
4645
4701
|
// native shadow or light DOM, SSR
|
|
4646
|
-
|
|
4647
|
-
return createInlineStyleVNode(combinedStylesheetContent);
|
|
4702
|
+
return ArrayMap.call(stylesheets, createInlineStyleVNode);
|
|
4648
4703
|
}
|
|
4649
4704
|
else {
|
|
4650
4705
|
// native shadow or light DOM, DOM renderer
|
|
@@ -4778,6 +4833,54 @@ function validateLightDomTemplate(template, vm) {
|
|
|
4778
4833
|
assert.isTrue(isUndefined$1(template.renderMode), `Shadow DOM components template can't render light DOM templates. Either remove the 'lwc:render-mode' directive from ${getComponentTag(vm)} or set it to 'lwc:render-mode="shadow"`);
|
|
4779
4834
|
}
|
|
4780
4835
|
}
|
|
4836
|
+
function buildParseFragmentFn(createFragmentFn) {
|
|
4837
|
+
return (strings, ...keys) => {
|
|
4838
|
+
const cache = create(null);
|
|
4839
|
+
return function () {
|
|
4840
|
+
const { context: { hasScopedStyles, stylesheetToken }, shadowMode, renderer, } = getVMBeingRendered();
|
|
4841
|
+
const hasStyleToken = !isUndefined$1(stylesheetToken);
|
|
4842
|
+
const isSyntheticShadow = shadowMode === 1 /* Synthetic */;
|
|
4843
|
+
let cacheKey = 0;
|
|
4844
|
+
if (hasStyleToken && hasScopedStyles) {
|
|
4845
|
+
cacheKey |= 1 /* HAS_SCOPED_STYLE */;
|
|
4846
|
+
}
|
|
4847
|
+
if (hasStyleToken && isSyntheticShadow) {
|
|
4848
|
+
cacheKey |= 2 /* SHADOW_MODE_SYNTHETIC */;
|
|
4849
|
+
}
|
|
4850
|
+
if (!isUndefined$1(cache[cacheKey])) {
|
|
4851
|
+
return cache[cacheKey];
|
|
4852
|
+
}
|
|
4853
|
+
const classToken = hasScopedStyles && hasStyleToken ? ' ' + stylesheetToken : '';
|
|
4854
|
+
const classAttrToken = hasScopedStyles && hasStyleToken ? ` class="${stylesheetToken}"` : '';
|
|
4855
|
+
const attrToken = hasStyleToken && isSyntheticShadow ? ' ' + stylesheetToken : '';
|
|
4856
|
+
let htmlFragment = '';
|
|
4857
|
+
for (let i = 0, n = keys.length; i < n; i++) {
|
|
4858
|
+
switch (keys[i]) {
|
|
4859
|
+
case 0: // styleToken in existing class attr
|
|
4860
|
+
htmlFragment += strings[i] + classToken;
|
|
4861
|
+
break;
|
|
4862
|
+
case 1: // styleToken for added class attr
|
|
4863
|
+
htmlFragment += strings[i] + classAttrToken;
|
|
4864
|
+
break;
|
|
4865
|
+
case 2: // styleToken as attr
|
|
4866
|
+
htmlFragment += strings[i] + attrToken;
|
|
4867
|
+
break;
|
|
4868
|
+
case 3: // ${1}${2}
|
|
4869
|
+
htmlFragment += strings[i] + classAttrToken + attrToken;
|
|
4870
|
+
break;
|
|
4871
|
+
}
|
|
4872
|
+
}
|
|
4873
|
+
htmlFragment += strings[strings.length - 1];
|
|
4874
|
+
cache[cacheKey] = createFragmentFn(htmlFragment, renderer);
|
|
4875
|
+
return cache[cacheKey];
|
|
4876
|
+
};
|
|
4877
|
+
};
|
|
4878
|
+
}
|
|
4879
|
+
// Note: at the moment this code executes, we don't have a renderer yet.
|
|
4880
|
+
const parseFragment = buildParseFragmentFn((html, renderer) => {
|
|
4881
|
+
const { createFragment } = renderer;
|
|
4882
|
+
return createFragment(html);
|
|
4883
|
+
});
|
|
4781
4884
|
function evaluateTemplate(vm, html) {
|
|
4782
4885
|
if (process.env.NODE_ENV !== 'production') {
|
|
4783
4886
|
assert.isTrue(isFunction$1(html), `evaluateTemplate() second argument must be an imported template instead of ${toString$1(html)}`);
|
|
@@ -4824,7 +4927,7 @@ function evaluateTemplate(vm, html) {
|
|
|
4824
4927
|
// Evaluate, create stylesheet and cache the produced VNode for future
|
|
4825
4928
|
// re-rendering.
|
|
4826
4929
|
const stylesheetsContent = getStylesheetsContent(vm, html);
|
|
4827
|
-
context.
|
|
4930
|
+
context.styleVNodes =
|
|
4828
4931
|
stylesheetsContent.length === 0
|
|
4829
4932
|
? null
|
|
4830
4933
|
: createStylesheet(vm, stylesheetsContent);
|
|
@@ -4841,9 +4944,9 @@ function evaluateTemplate(vm, html) {
|
|
|
4841
4944
|
// Set the global flag that template is being updated
|
|
4842
4945
|
isUpdatingTemplate = true;
|
|
4843
4946
|
vnodes = html.call(undefined, api, component, cmpSlots, context.tplCache);
|
|
4844
|
-
const {
|
|
4845
|
-
if (!isNull(
|
|
4846
|
-
ArrayUnshift.
|
|
4947
|
+
const { styleVNodes } = context;
|
|
4948
|
+
if (!isNull(styleVNodes)) {
|
|
4949
|
+
ArrayUnshift.apply(vnodes, styleVNodes);
|
|
4847
4950
|
}
|
|
4848
4951
|
});
|
|
4849
4952
|
}, () => {
|
|
@@ -5208,7 +5311,7 @@ function createVM(elm, ctor, renderer, options) {
|
|
|
5208
5311
|
hasTokenInClass: undefined,
|
|
5209
5312
|
hasTokenInAttribute: undefined,
|
|
5210
5313
|
hasScopedStyles: undefined,
|
|
5211
|
-
|
|
5314
|
+
styleVNodes: null,
|
|
5212
5315
|
tplCache: EmptyObject,
|
|
5213
5316
|
wiredConnecting: EmptyArray,
|
|
5214
5317
|
wiredDisconnecting: EmptyArray
|
|
@@ -6191,7 +6294,7 @@ function freezeTemplate(tmpl) {
|
|
|
6191
6294
|
});
|
|
6192
6295
|
}
|
|
6193
6296
|
}
|
|
6194
|
-
/* version: 2.
|
|
6297
|
+
/* version: 2.17.0 */
|
|
6195
6298
|
|
|
6196
6299
|
/*
|
|
6197
6300
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -6287,6 +6390,16 @@ function remove(node, parent) {
|
|
|
6287
6390
|
const nodeIndex = parent.children.indexOf(node);
|
|
6288
6391
|
parent.children.splice(nodeIndex, 1);
|
|
6289
6392
|
}
|
|
6393
|
+
function cloneNode(node) {
|
|
6394
|
+
return node;
|
|
6395
|
+
}
|
|
6396
|
+
function createFragment(html) {
|
|
6397
|
+
return {
|
|
6398
|
+
type: HostNodeType.Raw,
|
|
6399
|
+
parent: null,
|
|
6400
|
+
value: html,
|
|
6401
|
+
};
|
|
6402
|
+
}
|
|
6290
6403
|
function createText(content) {
|
|
6291
6404
|
return {
|
|
6292
6405
|
type: HostNodeType.Text,
|
|
@@ -6501,6 +6614,8 @@ const renderer = {
|
|
|
6501
6614
|
isHydrating,
|
|
6502
6615
|
insert,
|
|
6503
6616
|
remove,
|
|
6617
|
+
cloneNode,
|
|
6618
|
+
createFragment,
|
|
6504
6619
|
createElement,
|
|
6505
6620
|
createText,
|
|
6506
6621
|
createComment,
|
|
@@ -6535,23 +6650,6 @@ const renderer = {
|
|
|
6535
6650
|
getCustomElement,
|
|
6536
6651
|
};
|
|
6537
6652
|
|
|
6538
|
-
/*
|
|
6539
|
-
* Copyright (c) 2020, salesforce.com, inc.
|
|
6540
|
-
* All rights reserved.
|
|
6541
|
-
* SPDX-License-Identifier: MIT
|
|
6542
|
-
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
6543
|
-
*/
|
|
6544
|
-
const ESCAPED_CHARS = {
|
|
6545
|
-
'"': '"',
|
|
6546
|
-
"'": ''',
|
|
6547
|
-
'<': '<',
|
|
6548
|
-
'>': '>',
|
|
6549
|
-
'&': '&',
|
|
6550
|
-
};
|
|
6551
|
-
function htmlEscape(str) {
|
|
6552
|
-
return str.replace(/["'<>&]/g, (char) => ESCAPED_CHARS[char]);
|
|
6553
|
-
}
|
|
6554
|
-
|
|
6555
6653
|
/*
|
|
6556
6654
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
6557
6655
|
* All rights reserved.
|
|
@@ -6649,7 +6747,7 @@ function renderComponent(tagName, Ctor, props = {}) {
|
|
|
6649
6747
|
*/
|
|
6650
6748
|
freeze(LightningElement);
|
|
6651
6749
|
seal(LightningElement.prototype);
|
|
6652
|
-
/* version: 2.
|
|
6750
|
+
/* version: 2.17.0 */
|
|
6653
6751
|
|
|
6654
6752
|
exports.LightningElement = LightningElement;
|
|
6655
6753
|
exports.api = api$1;
|
|
@@ -6657,6 +6755,8 @@ exports.createContextProvider = createContextProvider;
|
|
|
6657
6755
|
exports.freezeTemplate = freezeTemplate;
|
|
6658
6756
|
exports.getComponentDef = getComponentDef;
|
|
6659
6757
|
exports.isComponentConstructor = isComponentConstructor;
|
|
6758
|
+
exports.parseFragment = parseFragment;
|
|
6759
|
+
exports.parseSVGFragment = parseFragment;
|
|
6660
6760
|
exports.readonly = readonly;
|
|
6661
6761
|
exports.register = register;
|
|
6662
6762
|
exports.registerComponent = registerComponent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:t,create:n,defineProperties:r,defineProperty:o,freeze:i,getOwnPropertyDescriptor:s,getOwnPropertyNames:l,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:d,seal:f,setPrototypeOf:p}=Object,{isArray:h}=Array,{copyWithin:m,fill:g,filter:w,find:y,indexOf:b,join:v,map:C,pop:E,push:k,reduce:x,reverse:S,shift:M,slice:T,sort:A,splice:O,unshift:P,forEach:$}=Array.prototype,{fromCharCode:L}=String,{charCodeAt:N,replace:R,slice:_,toLowerCase:D}=String.prototype;function F(e){return void 0===e}function I(e){return null===e}function H(e){return!0===e}function j(e){return!1===e}function B(e){return"function"==typeof e}function W(e){return"string"==typeof e}function V(){}const K={}.toString;function G(e){return e&&e.toString?h(e)?v.call(C.call(e,G),","):e.toString():"object"==typeof e?K.call(e):e+""}function z(e,t){do{const n=s(e,t);if(!F(n))return n;e=a(e)}while(null!==e)}const U=["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:q,AriaPropNameToAttrNameMap:X}=(()=>{const e=n(null),t=n(null);return $.call(U,(n=>{const r=D.call(R.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})();function Y(e){return e in q}const J=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),Q=new Set(["area","base","br","circle","col","ellipse","feBlend","feColorMatrix","feFuncR","feFuncG","feFuncB","feFuncA","feImage","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","fePointLight","embed","hr","img","input","keygen","line","link","menuitem","meta","param","path","rect","source","track","wbr"]);const Z=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 ee(e,t){const n=Z.get(e);return void 0!==n&&(0===n.size||n.has(t))}const te=new Set(["role","accesskey","class","contenteditable","contextmenu","dir","draggable","dropzone","hidden","id","itemprop","lang","slot","spellcheck","style","tabindex","title"]);function ne(e){return te.has(e)}const re=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"]]),oe=new Map;function ie(e){const t=X[e];if(!F(t))return t;const n=re.get(e);if(!F(n))return n;const r=oe.get(e);if(!F(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=N.call(e,t);o+=n>=65&&n<=90?"-"+L(n+32):L(n)}return oe.set(e,o),o}if("function"!=typeof Event){class e{}o(J,"Event",{value:e,configurable:!0,writable:!0})}if("function"!=typeof CustomEvent){class e extends Event{}o(J,"CustomEvent",{value:e,configurable:!0,writable:!0})}const se={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HMR:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null};J.lwcRuntimeFlags||Object.defineProperty(J,"lwcRuntimeFlags",{value:n(null)});const le=J.lwcRuntimeFlags;let ae=[];const ce=f(n(null)),ue=f([]);function de(){const e=ae;ae=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function fe(e){0===ae.length&&Promise.resolve().then(de),k.call(ae,e)}const pe=new WeakMap;let he=null;function me(e,t){const n=pe.get(e);if(!F(n)){const e=n[t];if(!F(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function ge(e,t){if(null===he)return;const r=he,o=function(e){let t=pe.get(e);if(F(t)){const r=n(null);t=r,pe.set(e,r)}return t}(e);let i=o[t];if(F(i))i=[],o[t]=i;else if(i[0]===r)return;-1===b.call(i,r)&&r.link(i)}class we{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=he;let n;he=this;try{e()}catch(e){n=Object(e)}finally{if(he=t,void 0!==n)throw n}}reset(){const{listeners:e}=this,t=e.length;if(t>0){for(let n=0;n<t;n+=1){const t=e[n],r=b.call(e[n],this);O.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){k.call(e,this),k.call(this.listeners,e)}}function ye(e,t){me(e.component,t)}function be(e,t){ge(e.component,t)}function ve(e){return`<${D.call(e.tagName)}>`}function Ce(e,t){if(!u(t)&&F(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!I(n);)k.call(t,ve(n)),n=n.owner;return t.reverse().join("\n\t")}(e);o(t,"wcStack",{get:()=>n})}}function Ee(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function ke(e){return B(e)&&c.call(e,"__circular__")}const xe="undefined"!=typeof HTMLElement?HTMLElement:function(){},Se=xe.prototype;function Me(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:Me("offsetHeight")},offsetLeft:{readOnly:!0,error:Me("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Me("offsetTop")},offsetWidth:{readOnly:!0,error:Me("offsetWidth")},role:{attribute:"role"}});let Te,Ae=null;function Oe(e,t){return e!==Ae||t!==Te}function Pe(e,t){Ae=null,Te=void 0}function $e(e,t){Ae=e,Te=t}const Le=n(null);$.call(d(X),(e=>{const t=z(Se,e);F(t)||(Le[e]=t)})),$.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=z(Se,e);F(t)||(Le[e]=t)}));const{isArray:Ne}=Array,{prototype:Re,getPrototypeOf:_e,create:De,defineProperty:Fe,isExtensible:Ie,getOwnPropertyDescriptor:He,getOwnPropertyNames:je,getOwnPropertySymbols:Be,preventExtensions:We,hasOwnProperty:Ve}=Object,{push:Ke,concat:Ge}=Array.prototype;function ze(e){return void 0===e}function Ue(e){return"function"==typeof e}const qe=new WeakMap;function Xe(e,t){qe.set(e,t)}const Ye=e=>qe.get(e)||e;class Je{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(Ve.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;ze(n)||(e.get=this.wrapGetter(n)),ze(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=He(n,t);if(!ze(r)){const n=this.wrapDescriptor(r);Fe(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;Ge.call(je(t),Be(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;ze(n)||Ve.call(e,n)||Fe(e,n,De(null)),We(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=ze(n)||Ve.call(t,n)?[]:[n];return Ke.apply(r,je(t)),Ke.apply(r,Be(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!Ie(e)&&(!!Ie(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return _e(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=He(n,t);if(ze(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},Fe(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const Qe=new WeakMap,Ze=new WeakMap,et=new WeakMap,tt=new WeakMap;class nt extends Je{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Qe.get(e);if(!ze(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Ye(this)))};return Qe.set(e,r),et.set(r,e),r}wrapSetter(e){const t=Ze.get(e);if(!ze(t))return t;const n=function(t){e.call(Ye(this),Ye(t))};return Ze.set(e,n),tt.set(n,e),n}unwrapDescriptor(e){if(Ve.call(e,"value"))e.value=Ye(e.value);else{const{set:t,get:n}=e;ze(n)||(e.get=this.unwrapGetter(n)),ze(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=et.get(e);if(!ze(t))return t;const n=this,r=function(){return Ye(e.call(n.wrapValue(this)))};return Qe.set(r,e),et.set(e,r),r}unwrapSetter(e){const t=tt.get(e);if(!ze(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Ze.set(r,e),tt.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&&Ne(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(Ie(e)){const{originalTarget:t}=this;if(We(t),Ie(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!Ve.call(r,t)||(Fe(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const rt=new WeakMap,ot=new WeakMap;class it extends Je{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=rt.get(e);if(!ze(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Ye(this)))};return rt.set(e,r),r}wrapSetter(e){const t=ot.get(e);if(!ze(t))return t;const n=function(e){};return ot.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 st(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(Ne(e))return!0;const t=_e(e);return t===Re||null===t||null===_e(t)}const lt=(e,t)=>{},at=(e,t)=>{};function ct(e){return Ne(e)?[]:{}}const ut=Symbol.for("@@lockerLiveValue"),dt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=Ue(t)?t:at,this.valueObserved=Ue(n)?n:lt,this.valueIsObservable=Ue(r)?r:st,this.tagPropertyKey=o}getProxy(e){const t=Ye(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=Ye(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return Ye(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(ze(t)){const n=new nt(this,e);t=new Proxy(ct(e),n),Xe(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(ze(t)){const n=new it(this,e);t=new Proxy(ct(e),n),Xe(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:ge,valueMutated:me,tagPropertyKey:ut});function ft(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!B(n))throw new TypeError;if(!B(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const t=Yn(this);if(!An(t))return be(t,e),n.call(t.elm)},set(t){const n=Yn(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,ye(n,e)),r.call(n.elm,t)}}}const pt=function(){if(I(Tn))throw new ReferenceError("Illegal constructor");const e=Tn,{def:t,elm:n}=e,{bridge:r}=t,o=this;if(p(n,r.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return this[ut]=void 0,Xn(o,e),Xn(n,e),1===e.renderMode?e.renderRoot=ht(e):e.renderRoot=n,this};function ht(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,Xn(s,e),s}pt.prototype={constructor:pt,dispatchEvent(e){const t=Yn(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=Yn(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,Dn(r,t),n)},removeEventListener(e,t,n){const r=Yn(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,Dn(r,t),n)},hasAttribute(e){const t=Yn(this),{elm:n,renderer:{getAttribute:r}}=t;return!I(r(n,e))},hasAttributeNS(e,t){const n=Yn(this),{elm:r,renderer:{getAttribute:o}}=n;return!I(o(r,t,e))},removeAttribute(e){const t=Yn(this),{elm:n,renderer:{removeAttribute:r}}=t;$e(n,e),r(n,e),Pe()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=Yn(this);$e(n,t),r(n,t,e),Pe()},getAttribute(e){const t=Yn(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=Yn(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=Yn(this),{elm:r,renderer:{setAttribute:o}}=n;$e(r,e),o(r,e,t),Pe()},setAttributeNS(e,t,n){const r=Yn(this),{elm:o,renderer:{setAttribute:i}}=r;$e(o,t),i(o,t,n,e),Pe()},getBoundingClientRect(){const e=Yn(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=Yn(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=Yn(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return Yn(this).shadowRoot},get shadowRoot(){return null},get children(){const e=Yn(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=Yn(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=Yn(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=Yn(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=Yn(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=Yn(this);return e.renderer.getLastElementChild(e.elm)},render(){return Yn(this).def.template},toString(){return`[object ${Yn(this).def.name}]`}};const mt=n(null),gt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of gt)mt[e]={value(t){const n=Yn(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};r(pt.prototype,mt);const wt=n(null);for(const e in Le)wt[e]=ft(e,Le[e]);function yt(e){return{get(){const t=Yn(this);return be(t,e),t.cmpFields[e]},set(t){const n=Yn(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,ye(n,e))},enumerable:!0,configurable:!0}}function bt(e){return{get(){const t=Yn(this);if(!An(t))return be(t,e),t.cmpProps[e]},set(t){const n=Yn(this);n.cmpProps[e]=t,ye(n,e)},enumerable:!0,configurable:!0}}r(pt.prototype,wt),o(pt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class vt extends we{constructor(e,t){super((()=>{j(this.debouncing)&&(this.debouncing=!0,fe((()=>{if(H(this.debouncing)){const{value:n}=this,{isDirty:r,component:o,idx:i}=e;t.call(o,n),this.debouncing=!1,H(e.isDirty)&&j(r)&&i>0&&Gn(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function Ct(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!B(n))throw new Error;return{get(){return n.call(this)},set(t){const n=Yn(this);if(r)if(le.ENABLE_REACTIVE_SETTER){let o=n.oar[e];F(o)&&(o=n.oar[e]=new vt(n,r)),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function Et(e){return{get(){const t=Yn(this);return be(t,e),t.cmpFields[e]},set(t){const n=Yn(this),r=dt.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,ye(n,e))},enumerable:!0,configurable:!0}}function kt(e){return{get(){const t=Yn(this);return be(t,e),t.cmpFields[e]},set(t){const n=Yn(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,ye(n,e))},enumerable:!0,configurable:!0}}const xt=new Map;const St={apiMethods:ce,apiFields:ce,apiFieldsConfig:ce,wiredMethods:ce,wiredFields:ce,observedFields:ce};const Mt=new Set;function Tt(){return[]}Mt.add(Tt);const At=n(null),Ot=n(null);function Pt(e){let t=At[e];return F(t)&&(t=At[e]=function(){const t=Yn(this),{getHook:n}=t;return n(t.component,e)}),t}function $t(e){let t=Ot[e];return F(t)&&(t=Ot[e]=function(t){const n=Yn(this),{setHook:r}=n;t=dt.getReadOnlyProxy(t),r(n.component,e,t)}),t}function Lt(e){return function(){const t=Yn(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,T.call(arguments))}}function Nt(e,t){return function(n,r,o){if(r===o)return;const i=e[n];F(i)?F(t)||t.apply(this,arguments):Oe(this,n)&&(this[i]=o)}}function Rt(e,t,i){let s;B(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[ie(n)]=n,u[n]={get:Pt(n),set:$t(n),enumerable:!0,configurable:!0}}for(let e=0,t=i.length;e<t;e+=1){const t=i[e];u[t]={value:Lt(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:Nt(l,a)},o(s,"observedAttributes",{get:()=>[...c,...d(l)]}),r(s.prototype,u),s}const _t=Rt(xe,l(Le),[]);i(_t),f(_t.prototype);const Dt=new WeakMap;function Ft(e){const{shadowSupportMode:o,renderMode:i}=e,s=function(e){const t=xt.get(e);return F(t)?St: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 C=function(e){let t=a(e);if(I(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(ke(t)){const e=Ee(t);t=e===t?pt:e}return t}(e),E=C!==pt?Ht(C):jt,k=Rt(E.bridge,d(l),d(u)),x=t(n(null),E.props,l),S=t(n(null),E.propsConfig,c),M=t(n(null),E.methods,u),T=t(n(null),E.wire,f,p);g=g||E.connectedCallback,w=w||E.disconnectedCallback,y=y||E.renderedCallback,b=b||E.errorCallback,v=v||E.render;let A=E.shadowSupportMode;F(o)||(A=o);let O=E.renderMode;F(i)||(O="light"===i?0:1);const P=function(e){return $n.get(e)}(e)||E.template,$=e.name||E.name;r(m,h);return{ctor:e,name:$,wire:T,props:x,propsConfig:S,methods:M,bridge:k,template:P,renderMode:O,shadowSupportMode:A,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function It(e){if(!B(e))return!1;if(e.prototype instanceof pt)return!0;let t=e;do{if(ke(t)){const e=Ee(t);if(e===t)return!0;t=e}if(t===pt)return!0}while(!I(t)&&(t=a(t)));return!1}function Ht(e){let t=Dt.get(e);if(F(t)){if(ke(e)){return t=Ht(Ee(e)),Dt.set(e,t),t}if(!It(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=Ft(e),Dt.set(e,t)}return t}const jt={ctor:pt,name:pt.name,props:wt,propsConfig:ce,methods:ce,renderMode:1,shadowSupportMode:"reset",wire:ce,bridge:_t,template:Tt,render:pt.prototype.render};function Bt(e){const{type:t}=e;return 2===t||3===t}function Wt(e,t){return e.key===t.key&&e.sel===t.sel}function Vt(e,t){return"input"===e&&("value"===t||"checked"===t)}const Kt=n(null);function Gt(e){if(null==e)return ce;e=W(e)?e:e+"";let t=Kt[e];if(t)return t;t=n(null);let r,o=0;const i=e.length;for(r=0;r<i;r++)32===N.call(e,r)&&(r>o&&(t[_.call(e,o,r)]=!0),o=r+1);return r>o&&(t[_.call(e,o,r)]=!0),Kt[e]=t,t}function zt(e,t,n,r){var o;o=t,ln.has(o)?function(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;)Qt(l)?Qt(a)?Qt(m)?Qt(g)?Wt(l,m)?(Ut(l,m,r),l=e[++o],m=t[++i]):Wt(a,g)?(Ut(a,g,r),a=e[--s],g=t[--h]):Wt(l,g)?(Ut(l,g,r),rn(l.elm,n,r.nextSibling(a.elm),r),l=e[++o],g=t[--h]):Wt(a,m)?(Ut(a,m,r),rn(m.elm,n,l.elm,r),a=e[--s],m=t[++i]):(void 0===u&&(u=an(e,o,s)),d=u[m.key],F(d)?(qt(m,n,r,l.elm),m=t[++i]):(f=e[d],Qt(f)&&(f.sel!==m.sel?qt(m,n,r,l.elm):(Ut(f,m,r),w||(w=!0,e=[...e]),e[d]=void 0,rn(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(!Qt(e)&&o<c);p=Qt(e)?e.elm:null,Xt(t,n,r,p,i,h+1)}else Jt(e,n,r,!0,o,s+1)}(e,t,n,r):function(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void Xt(t,n,r,null);if(0===i)return void Jt(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&&(Qt(i)?Qt(l)?(Ut(i,l,r),s=l.elm):Yt(i,n,r,!0):Qt(l)&&(qt(l,n,r,s),s=l.elm))}}(e,t,n,r)}function Ut(e,t,n){var r,o;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&nn(t,n)}(e,t,n);break;case 2:!function(e,t,n){const r=t.elm=e.elm;on(e,t,n),zt(e.children,t.children,r,n)}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:!function(e,t,n){const r=t.elm=e.elm,o=t.vm=e.vm;on(e,t,n),F(o)||sn(t,o);zt(e.children,t.children,r,n),F(o)||Gn(o)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}}function qt(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);tn(s,o,r),rn(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);tn(s,o,r),rn(s,t,n,r)}(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=H(s)?"http://www.w3.org/2000/svg":void 0,c=l(o,a);tn(c,i,r),function(e,t,n){const{owner:r}=t;if(en(e,r,n),1===r.shadowMode){const{data:{context:n}}=t,{stylesheetToken:o}=r.context;F(n)||F(n.lwc)||"manual"!==n.lwc.dom||function(e){e.$domManual$=!0}(e),F(o)||Zt(e,o)}}(c,e,r),e.elm=c,on(null,e,r),rn(c,t,n,r),Xt(e.children,c,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:!function(e,t,n,r){const{sel:o,owner:i}=e,s=function(e,t){const{getCustomElement:n,HTMLElementExported:r,defineCustomElement:o}=t;let i=n(e=e.toLowerCase());return F(i)?(i=class extends r{constructor(e){super(),B(e)&&e(this)}},o(e,i),i):i}(o,r);let l;const a=new s((t=>{l=function(e,t,n){let r=Jn(e);if(!F(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;if(en(e,l,n),1===l.shadowMode){const{stylesheetToken:t}=l.context;F(t)||Zt(e,t)}return r=qn(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}));if(tn(a,i,r),e.elm=a,e.vm=l,l)sn(e,l);else if(e.ctor!==s)throw new TypeError("Incorrect Component Constructor");on(null,e,r),rn(a,t,n,r),l&&tr(l);Xt(e.children,a,r,null),l&&function(e){Qn(e)}(l)}(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function Xt(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];Qt(i)&&qt(i,t,n,r)}}function Yt(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&function(e,t,n){n.remove(e,t)}(i,t,n),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;Jt(e.children,i,n,t);break}case 3:{const{vm:t}=e;F(t)||function(e){Un(e)}(t)}}}function Jt(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];Qt(i)&&Yt(i,t,n,r)}}function Qt(e){return null!=e}function Zt(e,t){e.$shadowToken$=t}function en(e,t,n){const{cmpTemplate:r,context:o}=t,{getClassList:i}=n,s=null==r?void 0:r.stylesheetToken;!F(s)&&o.hasScopedStyles&&i(e).add(s)}function tn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function nn(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function rn(e,t,n,r){r.insert(e,t,n)}function on(e,t,n){I(e)&&(function(e,t){const{elm:n,data:{on:r}}=e;if(F(r))return;const{addEventListener:o}=t;for(const e in r)o(n,e,r[e])}(t,n),function(e,t){const{elm:n,data:{classMap:r}}=e;if(F(r))return;const{getClassList:o}=t,i=o(n);for(const e in r)i.add(e)}(t,n),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(F(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)}}(t,n)),function(e,t,n){const{elm:r,data:{className:o}}=t,i=I(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),a=Gt(o),c=Gt(i);let u;for(u in c)F(a[u])&&l.remove(u);for(u in a)F(c[u])&&l.add(u)}(e,t,n),function(e,t,n){const{elm:r,data:{style:o}}=t;if((I(e)?void 0:e.data.style)===o)return;const{setAttribute:i,removeAttribute:s}=n;W(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,t,n),function(e,t,n){const{attrs:r}=t.data;if(F(r))return;const o=I(e)?ce: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&&($e(i,e),58===N.call(e,3)?s(i,e,t,"http://www.w3.org/XML/1998/namespace"):58===N.call(e,5)?s(i,e,t,"http://www.w3.org/1999/xlink"):I(t)||F(t)?l(i,e):s(i,e,t),Pe())}}(e,t,n),function(e,t,n){const{props:r}=t.data;if(F(r))return;const o=I(e)?ce:e.data.props;if(o===r)return;const i=I(e),{elm:s,sel:l}=t,{getProperty:a,setProperty:c}=n;for(const e in r){const t=r[e];(i||t!==(Vt(l,e)?a(s,e):o[e]))&&c(s,e,t)}}(e,t,n)}function sn(e,t){const r=e.aChildren||e.children;t.aChildren=r;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t){var r;const{cmpSlots:o}=e,i=e.cmpSlots=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(I(n))continue;let o="";Bt(n)&&(o=(null===(r=n.data.attrs)||void 0===r?void 0:r.slot)||"");const s=i[o]=i[o]||[];k.call(s,n)}if(j(e.isDirty)){const t=d(o);if(t.length!==d(i).length)return void Rn(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(F(i[r])||o[r].length!==i[r].length)return void Rn(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 Rn(e)}}}(t,r),e.aChildren=r,e.children=ue)}const ln=new WeakMap;function an(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(Qt(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}const cn=Symbol.iterator;function un(e,t,n=ue){const r=xn();const{key:o}=t;return{type:2,sel:e,data:t,children:n,elm:undefined,key:o,owner:r}}function dn(e,t,n,r=ue){const o=xn(),{key:i}=n;const s={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(xn().velements,e)}(s),s}const fn=new Map;let pn=0;function hn(e){var t;return t=e,ln.set(t,1),e}let mn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const gn=i({s:function(e,t,n,r){F(r)||F(r[e])||0===r[e].length||(n=r[e]);const o=xn(),{renderMode:i,shadowMode:s}=o;return 0===i?(hn(n),n):(1===s&&hn(n),un("slot",t,n))},h:un,c:dn,i:function(e,t){const n=[];if(hn(n),F(e)||null===e)return n;const r=e[cn]();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=[];hn(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:function(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:xn()}},d:function(e){return null==e?"":String(e)},b:function(e){const t=xn();if(I(t))throw new Error;const n=t;return function(t){Pn(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:undefined,owner:xn()}},dc:function(e,t,n,r=ue){if(null==t)return null;if(!It(t))throw new Error(`Invalid LWC Constructor ${G(t)} for custom element <${e}>.`);let o=fn.get(t);return F(o)&&(o=pn++,fn.set(t,o)),dn(e,t,Object.assign(Object.assign({},n),{key:`dc:${o}:${n.key}`}),r)},ti:function(e){return e>0&&!(H(e)||j(e))?0:e},gid:function(e){const t=xn();if(F(e)||""===e)return e;if(I(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=xn();if(F(e)||""===e)return e;if(I(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return mn(e)}});function wn(e){return`${e}-host`}function yn(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,yn(s,t,n));else{const e=s.$scoped$,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:(F(o)&&(o=vn(n)),a=I(o)||0===o.shadowMode),k.call(r,s(i,l,a))}}return r}function bn(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return F(n)||0===n.length||(o=yn(n,r,e)),o}function vn(e){let t=e;for(;!I(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Cn(e,t){const{renderMode:n,shadowMode:r,renderer:{ssr:o,insertStylesheet:i}}=e;if(1===n&&1===r)for(let e=0;e<t.length;e++)i(t[e]);else{if(o||e.hydrated){const e=v.call(t,"\n");return s=e,gn.h("style",{key:"style",attrs:{type:"text/css"}},[gn.t(s)])}{const n=function(e){const t=vn(e);return I(t)||1!==t.shadowMode?t:null}(e),r=I(n)?void 0:n.shadowRoot;for(let e=0;e<t.length;e++)i(t[e],r)}}var s;return null}let En=!1,kn=null;function xn(){return kn}function Sn(e){kn=e}function Mn(e,t){const r=En,o=kn;let i=[];return sr(e,e.owner,(()=>{kn=e}),(()=>{const{component:r,context:o,cmpSlots:s,cmpTemplate:l,tro:a}=e;a.observe((()=>{if(t!==l){if(I(l)||ir(e),a=t,!Mt.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: ${G(t)}.`);e.cmpTemplate=t,o.tplCache=n(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!F(t))for(let e=0;e<t.length;e++)if(H(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;F(g)||(w&&s(n).remove(wn(g)),y&&l(n,wn(g))),F(c)||0===c.length||(p=u),F(p)||(f&&(s(n).add(wn(p)),h=!0),d&&(a(n,wn(p),""),m=!0)),r.stylesheetToken=p,r.hasTokenInClass=h,r.hasTokenInAttribute=m}(e,t);const r=bn(e,t);o.styleVNode=0===r.length?null:Cn(e,r)}var a;e.velements=[],En=!0,i=t.call(void 0,gn,r,s,o.tplCache);const{styleVNode:c}=o;I(c)||P.call(i,c)}))}),(()=>{En=r,kn=o})),i}let Tn=null;function An(e){return Tn===e}function On(e,t,n){const{component:r,callHook:o,owner:i}=e;sr(e,i,V,(()=>{o(r,t,n)}),V)}function Pn(e,t,n,r){const{callHook:o,owner:i}=e;sr(e,i,V,(()=>{o(n,t,[r])}),V)}const $n=new Map;function Ln(e){return new we((()=>{const{isDirty:t}=e;j(t)&&(Rn(e),function(e){const{renderer:{ssr:t}}=e;if(H(t)||H(e.isScheduled))return;e.isScheduled=!0,0===Zn.length&&fe(er);k.call(Zn,e)}(e))}))}function Nn(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=xn();let s,l=!1;return sr(e,o,(()=>{Sn(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{Sn(i)})),l?Mn(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Rn(e){e.isDirty=!0}const _n=new WeakMap;function Dn(e,t){if(!B(t))throw new TypeError;let n=_n.get(t);return F(n)&&(n=function(n){Pn(e,t,void 0,n)},_n.set(t,n)),n}const Fn=n(null),In=["rendered","connected","disconnected"];function Hn(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 jn=0;const Bn=new WeakMap;function Wn(e,t,n=[]){return t.apply(e,n)}function Vn(e,t,n){e[t]=n}function Kn(e,t){return e[t]}function Gn(e){Qn(e)}function zn(e){const t=Yn(e);1===t.state&&function(e){Un(Yn(e))}(e),tr(t),Qn(t)}function Un(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}=Fn;t&&Hn(e,t);nr(e)&&function(e){const{wiredDisconnecting:t}=e.context;sr(e,e,V,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),V)}(e);const{disconnectedCallback:n}=e.def;F(n)||On(e,n)}(e),rr(e),function(e){const{aChildren:t}=e;or(t)}(e)}}function qn(e,t,r,o){const{mode:i,owner:s,tagName:l,hydrated:a}=o,c=Ht(t),u={elm:e,def:c,idx:jn++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,children:ue,aChildren:ue,velements:ue,cmpProps:n(null),cmpFields:n(null),cmpSlots: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,styleVNode:null,tplCache:ce,wiredConnecting:ue,wiredDisconnecting:ue},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:Wn,setHook:Vn,getHook:Kn,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(le.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!I(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=I(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,r),u.tro=Ln(u),function(e,t){const n=Tn;let r;Tn=e;try{const o=new t;if(Tn.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Tn=n,!F(r))throw Ce(e,r),r}}(u,c.ctor),nr(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=lr.get(i);if(!F(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=cr(e,t,s),a=s.dynamic.length>0;k.call(r,(()=>{n.connect(),le.ENABLE_WIRE_SYNC_EMIT||!a?i():Promise.resolve().then(i)})),k.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function Xn(e,t){Bn.set(e,t)}function Yn(e){return Bn.get(e)}function Jn(e){return Bn.get(e)}function Qn(e){if(H(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&sr(e,e,(()=>{}),(()=>{zt(r,t,n,o)}),(()=>{}));1===e.state&&function(e){const{def:{renderedCallback:t},renderer:{ssr:n}}=e;if(H(n))return;const{rendered:r}=Fn;r&&Hn(e,r);F(t)||On(e,t)}(e)}(e,Nn(e))}}let Zn=[];function er(){const e=Zn.sort(((e,t)=>e.idx-t.idx));Zn=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{Qn(r)}catch(r){throw t+1<n&&(0===Zn.length&&fe(er),P.apply(Zn,T.call(e,t+1))),r}}}function tr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Fn;n&&Hn(e,n),nr(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;F(r)||On(e,r)}function nr(e){return l(e.def.wire).length>0}function rr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!F(n)){const e=Jn(n);F(e)||Un(e)}}}function or(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!I(n)&&!F(n.elm))switch(n.type){case 2:or(n.children);break;case 3:Un(Yn(n.elm));break}}}function ir(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];I(o)||F(o.elm)||r(o.elm,n)}e.children=ue,rr(e),e.velements=ue}function sr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!F(i)){Ce(e,i);const n=I(t)?void 0:function(e){let t=e;for(;!I(t);){if(!F(t.def.errorCallback))return t;t=t.owner}}(t);if(F(n))throw i;ir(e);On(n,n.def.errorCallback,[i,i.wcStack])}}}const lr=new Map;class ar extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function cr(e,t,n){const{method:r,adapter:i,configCallback:s,dynamic:l}=n,a=F(r)?function(e,t){const{cmpFields:n}=e;return r=>{r!==e.cmpFields[t]&&(n[t]=r,ye(e,t))}}(e,t):function(e,t){return n=>{sr(e,e.owner,V,(()=>{t.call(e.component,n)}),V)}}(e,r);let c,u;o(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),o(a,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),sr(e,e,V,(()=>{u=new i(a)}),V);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let r=!1;const o=new we((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),i()})))})),i=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:i,ro:o}}(e.component,s,(t=>{sr(e,e,V,(()=>{u.update(t,c)}),V)}));return F(i.contextSchema)||function(e,t,n){const{adapter:r}=t,o=dr(r);if(F(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{dispatchEvent:a}}=e;k.call(s,(()=>{const e=new ar(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){k.call(l,e)}});a(i,e)}))}(e,n,(t=>{c!==t&&(c=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const ur=new Map;function dr(e){return ur.get(e)}function fr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};lr.set(e,o)}function pr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};lr.set(e,o)}let hr=!1;var mr;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(mr||(mr={}));const gr=/\s+/g;function wr(e){return new Set(e.split(gr).filter((e=>e.length)))}function yr(e){return Array.from(e).join(" ")}function br(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function vr(e){return{type:mr.Element,name:e,parent:null,shadowRoot:null,children:[],attributes:[],eventListeners:{}}}const Cr=n(null),Er=new WeakMap;function kr(e,t,n=null){const r=e.attributes.find((e=>e.name===t&&e.namespace===n));return r?r.value:null}function xr(e,t,n,r=null){const o=e.attributes.find((e=>e.name===t&&e.namespace===r));F(r)&&(r=null),F(o)?e.attributes.push({name:t,namespace:r,value:String(n)}):o.value=n}function Sr(e,t,n){e.attributes=e.attributes.filter((e=>e.name!==t&&e.namespace!==n))}const Mr=V,Tr=V,Ar=V,Or=br("dispatchEvent"),Pr=br("getBoundingClientRect"),$r=br("querySelector"),Lr=br("querySelectorAll"),Nr=br("getElementsByTagName"),Rr=br("getElementsByClassName"),_r=br("getChildren"),Dr=br("getChildNodes"),Fr=br("getFirstChild"),Ir=br("getFirstElementChild"),Hr=br("getLastChild"),jr=br("getLastElementChild");const Br={ssr:!0,isNativeShadowDefined:!1,isSyntheticShadowDefined:!1,HTMLElementExported:class{constructor(){const{constructor:e}=this,t=Er.get(e);if(!t)throw new TypeError("Invalid Construction");return vr(t)}},isHydrating:function(){return!1},insert:function(e,t,n){if(null!==e.parent&&e.parent!==t){const t=e.parent.children.indexOf(e);e.parent.children.splice(t,1)}e.parent=t;const r=I(n)?-1:t.children.indexOf(n);-1===r?t.children.push(e):t.children.splice(r,0,e)},remove:function(e,t){const n=t.children.indexOf(e);t.children.splice(n,1)},createElement:vr,createText:function(e){return{type:mr.Text,value:String(e),parent:null}},createComment:function(e){return{type:mr.Comment,value:e,parent:null}},nextSibling:function(e){const{parent:t}=e;if(I(t))return null;const n=t.children.indexOf(e);return t.children[n+1]||null},attachShadow:function(e,t){return e.shadowRoot={type:mr.ShadowRoot,children:[],mode:t.mode,delegatesFocus:!!t.delegatesFocus},e.shadowRoot},getProperty:function(e,t){var n,r;if(t in e)return e[t];if(e.type===mr.Element){const o=ie(t);if(ee(o,e.name))return null!==(n=kr(e,o))&&void 0!==n&&n;if(ne(o)||Y(o))return kr(e,o);if("input"===e.name&&"value"===t)return null!==(r=kr(e,"value"))&&void 0!==r?r:""}},setProperty:function(e,t,n){if(t in e)return e[t]=n;if(e.type===mr.Element){const r=ie(t);if("innerHTML"===t)return void(e.children=[{type:mr.Raw,parent:e,value:n}]);if(ee(r,e.name))return!0===n?xr(e,r,""):Sr(e,r);if(ne(r)||Y(r))return xr(e,r,n);if("input"===e.name&&"value"===r)return I(n)||F(n)?Sr(e,"value"):xr(e,"value",n)}},setText:function(e,t){e.type===mr.Text?e.value=t:e.type===mr.Element&&(e.children=[{type:mr.Text,parent:e,value:t}])},getAttribute:kr,setAttribute:xr,removeAttribute:Sr,addEventListener:Tr,removeEventListener:Ar,dispatchEvent:Or,getClassList:function(e){function t(){let t=e.attributes.find((e=>"class"===e.name&&I(e.namespace)));return F(t)&&(t={name:"class",namespace:null,value:""},e.attributes.push(t)),t}return{add(...e){const n=t(),r=wr(n.value);e.forEach((e=>r.add(e))),n.value=yr(r)},remove(...e){const n=t(),r=wr(n.value);e.forEach((e=>r.delete(e))),n.value=yr(r)}}},setCSSStyleProperty:function(e,t,n,r){const o=e.attributes.find((e=>"style"===e.name&&I(e.namespace))),i=`${t}: ${n}${r?" !important":""}`;F(o)?e.attributes.push({name:"style",namespace:null,value:i}):o.value+=`; ${i}`},getBoundingClientRect:Pr,querySelector:$r,querySelectorAll:Lr,getElementsByTagName:Nr,getElementsByClassName:Rr,getChildren:_r,getChildNodes:Dr,getFirstChild:Fr,getFirstElementChild:Ir,getLastChild:Hr,getLastElementChild:jr,isConnected:function(e){return!I(e.parent)},insertStylesheet:Mr,assertInstanceOfHTMLElement:V,defineCustomElement:function(e,t,n){!function(e,t){if(e!==D.call(e)||Cr[e])throw new TypeError("Invalid Registration");Cr[e]=t,Er.set(t,e)}(e,t)},getCustomElement:function(e){return Cr[e]}},Wr={'"':""","'":"'","<":"<",">":">","&":"&"};function Vr(e){return e.replace(/["'<>&]/g,(e=>Wr[e]))}function Kr(e){return e.map((e=>{switch(e.type){case mr.Text:return""===e.value?"":Vr(e.value);case mr.Comment:return`\x3c!--${Vr(e.value)}--\x3e`;case mr.Raw:return e.value;case mr.Element:return Gr(e)}})).join("")}function Gr(e){let t="";const{name:n}=e,r=e.attributes.length?` ${o=e.attributes,o.map((e=>e.value.length?`${e.name}=${JSON.stringify(Vr(e.value))}`:e.name)).join(" ")}`:"";var o;const i=Kr(e.children);return t+=`<${n}${r}>`,e.shadowRoot&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${Kr(e.children)}</template>`}(e.shadowRoot)),t+=i,function(e){return Q.has(e)}(n)||(t+=`</${n}>`),t}const zr={type:mr.Element,name:"fake-root-element",parent:null,shadowRoot:null,children:[],attributes:[],eventListeners:{}};i(pt),f(pt.prototype),exports.LightningElement=pt,exports.api=function(){throw new Error},exports.createContextProvider=function(e){let t=dr(e);if(!F(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){ur.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((()=>{F(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},exports.freezeTemplate=function(e){},exports.getComponentDef=function(e){const t=Ht(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:ie(e)};const a={};for(const e in s)a[e]=s[e].value;return{ctor:n,name:r,props:l,methods:a}},exports.isComponentConstructor=It,exports.readonly=function(e){return dt.getReadOnlyProxy(e)},exports.register=function(e){for(let t=0;t<In.length;++t){const n=In[t];if(n in e){let t=Fn[n];F(t)&&(Fn[n]=t=[]),k.call(t,e[n])}}},exports.registerComponent=function(e,{tmpl:t}){return B(e)&&$n.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(!F(i))for(const e in i){const t=i[e];if(g[e]=t.config,w=s(r,e),t.config>0){if(F(w))throw new Error;w=Ct(e,w)}else w=F(w)||F(w.get)?bt(e):Ct(e,w);f[e]=w,o(r,e,w)}if(F(l)||$.call(l,(e=>{if(w=s(r,e),F(w))throw new Error;d[e]=w})),!F(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(F(w))throw new Error;p[e]=w,fr(w,t,i,l)}else w=kt(e),h[e]=w,pr(w,t,i,l),o(r,e,w)}if(!F(c))for(const e in c)w=s(r,e),w=Et(e),o(r,e,w);if(!F(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=s(r,t);const n=!F(i)&&t in i,o=!F(c)&&t in c;n||o||(m[t]=yt(t))}return function(e,t){xt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:p,wiredFields:h,observedFields:m}),e},exports.registerTemplate=function(e){return Mt.add(e),o(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return F(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=F(e)?void 0:e.shadowAttribute}}),e},exports.renderComponent=function(e,t,n={}){if(!W(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!B(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||I(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=Br.createElement(e);qn(r,t,Br,{mode:"open",owner:null,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r.parent=zr,zn(r),Gr(r)},exports.renderer=Br,exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(F(se[e])){const n=d(se).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=le[e];if(!F(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(le,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(hr,"Hooks are already overridden, only one definition is allowed."),hr=!0,n=t.sanitizeHtmlContent,mn=n},exports.track=function(e){if(1===arguments.length)return dt.getProxy(e);throw new Error},exports.unwrap=function(e){return dt.unwrapProxy(e)},exports.wire=function(e,t){throw new Error};
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:t,create:n,defineProperties:r,defineProperty:o,freeze:i,getOwnPropertyDescriptor:s,getOwnPropertyNames:l,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:d,seal:f,setPrototypeOf:p}=Object,{isArray:h}=Array,{copyWithin:m,fill:g,filter:w,find:y,indexOf:b,join:v,map:C,pop:E,push:k,reduce:x,reverse:S,shift:M,slice:T,sort:A,splice:O,unshift:P,forEach:$}=Array.prototype,{fromCharCode:L}=String,{charCodeAt:N,replace:R,slice:F,toLowerCase:_}=String.prototype;function D(e){return void 0===e}function I(e){return null===e}function H(e){return!0===e}function j(e){return!1===e}function B(e){return"function"==typeof e}function W(e){return"string"==typeof e}function V(){}const G={}.toString;function K(e){return e&&e.toString?h(e)?v.call(C.call(e,K),","):e.toString():"object"==typeof e?G.call(e):e+""}function z(e,t){do{const n=s(e,t);if(!D(n))return n;e=a(e)}while(null!==e)}const U=["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:q,AriaPropNameToAttrNameMap:X}=(()=>{const e=n(null),t=n(null);return $.call(U,(n=>{const r=_.call(R.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})();function Y(e){return e in q}const J=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),Q=new Set(["area","base","br","circle","col","ellipse","feBlend","feColorMatrix","feFuncR","feFuncG","feFuncB","feFuncA","feImage","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","fePointLight","embed","hr","img","input","keygen","line","link","menuitem","meta","param","path","rect","source","track","wbr"]);const Z=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 ee(e,t){const n=Z.get(e);return void 0!==n&&(0===n.size||n.has(t))}const te=new Set(["role","accesskey","class","contenteditable","contextmenu","dir","draggable","dropzone","hidden","id","itemprop","lang","slot","spellcheck","style","tabindex","title"]);function ne(e){return te.has(e)}const re=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"]]),oe=new Map;function ie(e){const t=X[e];if(!D(t))return t;const n=re.get(e);if(!D(n))return n;const r=oe.get(e);if(!D(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=N.call(e,t);o+=n>=65&&n<=90?"-"+L(n+32):L(n)}return oe.set(e,o),o}const se={'"':""","'":"'","<":"<",">":">","&":"&"};function le(e,t=!1){const n=t?/["&]/g:/["'<>&]/g;return e.replace(n,(e=>se[e]))}if("function"!=typeof Event){class e{}o(J,"Event",{value:e,configurable:!0,writable:!0})}if("function"!=typeof CustomEvent){class e extends Event{}o(J,"CustomEvent",{value:e,configurable:!0,writable:!0})}const ae={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HMR:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null};J.lwcRuntimeFlags||Object.defineProperty(J,"lwcRuntimeFlags",{value:n(null)});const ce=J.lwcRuntimeFlags;let ue=[];const de=f(n(null)),fe=f([]);function pe(){const e=ue;ue=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function he(e){0===ue.length&&Promise.resolve().then(pe),k.call(ue,e)}const me=new WeakMap;let ge=null;function we(e,t){const n=me.get(e);if(!D(n)){const e=n[t];if(!D(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function ye(e,t){if(null===ge)return;const r=ge,o=function(e){let t=me.get(e);if(D(t)){const r=n(null);t=r,me.set(e,r)}return t}(e);let i=o[t];if(D(i))i=[],o[t]=i;else if(i[0]===r)return;-1===b.call(i,r)&&r.link(i)}class be{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=ge;let n;ge=this;try{e()}catch(e){n=Object(e)}finally{if(ge=t,void 0!==n)throw n}}reset(){const{listeners:e}=this,t=e.length;if(t>0){for(let n=0;n<t;n+=1){const t=e[n],r=b.call(e[n],this);O.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){k.call(e,this),k.call(this.listeners,e)}}function ve(e,t){we(e.component,t)}function Ce(e,t){ye(e.component,t)}function Ee(e){return`<${_.call(e.tagName)}>`}function ke(e,t){if(!u(t)&&D(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!I(n);)k.call(t,Ee(n)),n=n.owner;return t.reverse().join("\n\t")}(e);o(t,"wcStack",{get:()=>n})}}function xe(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function Se(e){return B(e)&&c.call(e,"__circular__")}const Me="undefined"!=typeof HTMLElement?HTMLElement:function(){},Te=Me.prototype;function Ae(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:Ae("offsetHeight")},offsetLeft:{readOnly:!0,error:Ae("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Ae("offsetTop")},offsetWidth:{readOnly:!0,error:Ae("offsetWidth")},role:{attribute:"role"}});let Oe,Pe=null;function $e(e,t){return e!==Pe||t!==Oe}function Le(e,t){Pe=null,Oe=void 0}function Ne(e,t){Pe=e,Oe=t}const Re=n(null);$.call(d(X),(e=>{const t=z(Te,e);D(t)||(Re[e]=t)})),$.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=z(Te,e);D(t)||(Re[e]=t)}));const{isArray:Fe}=Array,{prototype:_e,getPrototypeOf:De,create:Ie,defineProperty:He,isExtensible:je,getOwnPropertyDescriptor:Be,getOwnPropertyNames:We,getOwnPropertySymbols:Ve,preventExtensions:Ge,hasOwnProperty:Ke}=Object,{push:ze,concat:Ue}=Array.prototype;function qe(e){return void 0===e}function Xe(e){return"function"==typeof e}const Ye=new WeakMap;function Je(e,t){Ye.set(e,t)}const Qe=e=>Ye.get(e)||e;class Ze{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(Ke.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=Be(n,t);if(!qe(r)){const n=this.wrapDescriptor(r);He(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;Ue.call(We(t),Ve(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;qe(n)||Ke.call(e,n)||He(e,n,Ie(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)||Ke.call(t,n)?[]:[n];return ze.apply(r,We(t)),ze.apply(r,Ve(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!je(e)&&(!!je(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return De(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=Be(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(Ke.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&&Fe(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(je(e)){const{originalTarget:t}=this;if(Ge(t),je(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!Ke.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(Fe(e))return!0;const t=De(e);return t===_e||null===t||null===De(t)}const ct=(e,t)=>{},ut=(e,t)=>{};function dt(e){return Fe(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=Xe(t)?t:ut,this.valueObserved=Xe(n)?n:ct,this.valueIsObservable=Xe(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:ye,valueMutated:we,tagPropertyKey:ft});function ht(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!B(n))throw new TypeError;if(!B(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const t=tr(this);if(!Nn(t))return Ce(t,e),n.call(t.elm)},set(t){const n=tr(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,ve(n,e)),r.call(n.elm,t)}}}const mt=function(){if(I(Ln))throw new ReferenceError("Illegal constructor");const e=Ln,{def:t,elm:n}=e,{bridge:r}=t,o=this;if(p(n,r.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return this[ft]=void 0,er(o,e),er(n,e),1===e.renderMode?e.renderRoot=gt(e):e.renderRoot=n,this};function gt(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,er(s,e),s}mt.prototype={constructor:mt,dispatchEvent(e){const t=tr(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=tr(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,Bn(r,t),n)},removeEventListener(e,t,n){const r=tr(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,Bn(r,t),n)},hasAttribute(e){const t=tr(this),{elm:n,renderer:{getAttribute:r}}=t;return!I(r(n,e))},hasAttributeNS(e,t){const n=tr(this),{elm:r,renderer:{getAttribute:o}}=n;return!I(o(r,t,e))},removeAttribute(e){const t=tr(this),{elm:n,renderer:{removeAttribute:r}}=t;Ne(n,e),r(n,e),Le()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=tr(this);Ne(n,t),r(n,t,e),Le()},getAttribute(e){const t=tr(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=tr(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=tr(this),{elm:r,renderer:{setAttribute:o}}=n;Ne(r,e),o(r,e,t),Le()},setAttributeNS(e,t,n){const r=tr(this),{elm:o,renderer:{setAttribute:i}}=r;Ne(o,t),i(o,t,n,e),Le()},getBoundingClientRect(){const e=tr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=tr(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=tr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return tr(this).shadowRoot},get shadowRoot(){return null},get children(){const e=tr(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=tr(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=tr(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=tr(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=tr(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=tr(this);return e.renderer.getLastElementChild(e.elm)},render(){return tr(this).def.template},toString(){return`[object ${tr(this).def.name}]`}};const wt=n(null),yt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of yt)wt[e]={value(t){const n=tr(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};r(mt.prototype,wt);const bt=n(null);for(const e in Re)bt[e]=ht(e,Re[e]);function vt(e){return{get(){const t=tr(this);return Ce(t,e),t.cmpFields[e]},set(t){const n=tr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,ve(n,e))},enumerable:!0,configurable:!0}}function Ct(e){return{get(){const t=tr(this);if(!Nn(t))return Ce(t,e),t.cmpProps[e]},set(t){const n=tr(this);n.cmpProps[e]=t,ve(n,e)},enumerable:!0,configurable:!0}}r(mt.prototype,bt),o(mt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class Et extends be{constructor(e,t){super((()=>{j(this.debouncing)&&(this.debouncing=!0,he((()=>{if(H(this.debouncing)){const{value:n}=this,{isDirty:r,component:o,idx:i}=e;t.call(o,n),this.debouncing=!1,H(e.isDirty)&&j(r)&&i>0&&Yn(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function kt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!B(n))throw new Error;return{get(){return n.call(this)},set(t){const n=tr(this);if(r)if(ce.ENABLE_REACTIVE_SETTER){let o=n.oar[e];D(o)&&(o=n.oar[e]=new Et(n,r)),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function xt(e){return{get(){const t=tr(this);return Ce(t,e),t.cmpFields[e]},set(t){const n=tr(this),r=pt.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,ve(n,e))},enumerable:!0,configurable:!0}}function St(e){return{get(){const t=tr(this);return Ce(t,e),t.cmpFields[e]},set(t){const n=tr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,ve(n,e))},enumerable:!0,configurable:!0}}const Mt=new Map;const Tt={apiMethods:de,apiFields:de,apiFieldsConfig:de,wiredMethods:de,wiredFields:de,observedFields:de};const At=new Set;function Ot(){return[]}At.add(Ot);const Pt=n(null),$t=n(null);function Lt(e){let t=Pt[e];return D(t)&&(t=Pt[e]=function(){const t=tr(this),{getHook:n}=t;return n(t.component,e)}),t}function Nt(e){let t=$t[e];return D(t)&&(t=$t[e]=function(t){const n=tr(this),{setHook:r}=n;t=pt.getReadOnlyProxy(t),r(n.component,e,t)}),t}function Rt(e){return function(){const t=tr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,T.call(arguments))}}function Ft(e,t){return function(n,r,o){if(r===o)return;const i=e[n];D(i)?D(t)||t.apply(this,arguments):$e(this,n)&&(this[i]=o)}}function _t(e,t,i){let s;B(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[ie(n)]=n,u[n]={get:Lt(n),set:Nt(n),enumerable:!0,configurable:!0}}for(let e=0,t=i.length;e<t;e+=1){const t=i[e];u[t]={value:Rt(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 Dt=_t(Me,l(Re),[]);i(Dt),f(Dt.prototype);const It=new WeakMap;function Ht(e){const{shadowSupportMode:o,renderMode:i}=e,s=function(e){const t=Mt.get(e);return D(t)?Tt: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 C=function(e){let t=a(e);if(I(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(Se(t)){const e=xe(t);t=e===t?mt:e}return t}(e),E=C!==mt?Bt(C):Wt,k=_t(E.bridge,d(l),d(u)),x=t(n(null),E.props,l),S=t(n(null),E.propsConfig,c),M=t(n(null),E.methods,u),T=t(n(null),E.wire,f,p);g=g||E.connectedCallback,w=w||E.disconnectedCallback,y=y||E.renderedCallback,b=b||E.errorCallback,v=v||E.render;let A=E.shadowSupportMode;D(o)||(A=o);let O=E.renderMode;D(i)||(O="light"===i?0:1);const P=function(e){return _n.get(e)}(e)||E.template,$=e.name||E.name;r(m,h);return{ctor:e,name:$,wire:T,props:x,propsConfig:S,methods:M,bridge:k,template:P,renderMode:O,shadowSupportMode:A,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function jt(e){if(!B(e))return!1;if(e.prototype instanceof mt)return!0;let t=e;do{if(Se(t)){const e=xe(t);if(e===t)return!0;t=e}if(t===mt)return!0}while(!I(t)&&(t=a(t)));return!1}function Bt(e){let t=It.get(e);if(D(t)){if(Se(e)){return t=Bt(xe(e)),It.set(e,t),t}if(!jt(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=Ht(e),It.set(e,t)}return t}const Wt={ctor:mt,name:mt.name,props:bt,propsConfig:de,methods:de,renderMode:1,shadowSupportMode:"reset",wire:de,bridge:Dt,template:Ot,render:mt.prototype.render};function Vt(e){const{type:t}=e;return 2===t||3===t}function Gt(e,t){return e.key===t.key&&e.sel===t.sel}function Kt(e,t){return"input"===e&&("value"===t||"checked"===t)}const zt=n(null);function Ut(e){if(null==e)return de;e=W(e)?e:e+"";let t=zt[e];if(t)return t;t=n(null);let r,o=0;const i=e.length;for(r=0;r<i;r++)32===N.call(e,r)&&(r>o&&(t[F.call(e,o,r)]=!0),o=r+1);return r>o&&(t[F.call(e,o,r)]=!0),zt[e]=t,t}function qt(e,t,n,r){var o;o=t,cn.has(o)?function(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;)en(l)?en(a)?en(m)?en(g)?Gt(l,m)?(Xt(l,m,r),l=e[++o],m=t[++i]):Gt(a,g)?(Xt(a,g,r),a=e[--s],g=t[--h]):Gt(l,g)?(Xt(l,g,r),sn(l.elm,n,r.nextSibling(a.elm),r),l=e[++o],g=t[--h]):Gt(a,m)?(Xt(a,m,r),sn(m.elm,n,l.elm,r),a=e[--s],m=t[++i]):(void 0===u&&(u=un(e,o,s)),d=u[m.key],D(d)?(Yt(m,n,r,l.elm),m=t[++i]):(f=e[d],en(f)&&(f.sel!==m.sel?Yt(m,n,r,l.elm):(Xt(f,m,r),w||(w=!0,e=[...e]),e[d]=void 0,sn(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(!en(e)&&o<c);p=en(e)?e.elm:null,Jt(t,n,r,p,i,h+1)}else Zt(e,n,r,!0,o,s+1)}(e,t,n,r):function(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void Jt(t,n,r,null);if(0===i)return void Zt(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&&(en(i)?en(l)?(Xt(i,l,r),s=l.elm):Qt(i,n,r,!0):en(l)&&(Yt(l,n,r,s),s=l.elm))}}(e,t,n,r)}function Xt(e,t,n){var r,o;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&on(t,n)}(e,t,n);break;case 4:t.elm=e.elm;break;case 2:!function(e,t,n){const r=t.elm=e.elm;ln(e,t,n),qt(e.children,t.children,r,n)}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:!function(e,t,n){const r=t.elm=e.elm,o=t.vm=e.vm;ln(e,t,n),D(o)||an(t,o);qt(e.children,t.children,r,n),D(o)||Yn(o)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}}function Yt(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);rn(s,o,r),sn(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);rn(s,o,r),sn(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);rn(l,o,r);const{renderMode:a,shadowMode:c}=o;s&&(1!==c&&0!==a||(l.$shadowStaticNode$=!0));sn(l,t,n,r)}(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=H(s)?"http://www.w3.org/2000/svg":void 0,c=l(o,a);rn(c,i,r),function(e,t,n){const{owner:r}=t;if(nn(e,r,n),1===r.shadowMode){const{data:{context:n}}=t,{stylesheetToken:o}=r.context;D(n)||D(n.lwc)||"manual"!==n.lwc.dom||function(e){e.$domManual$=!0}(e),D(o)||tn(e,o)}}(c,e,r),e.elm=c,ln(null,e,r),sn(c,t,n,r),Jt(e.children,c,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:!function(e,t,n,r){const{sel:o,owner:i}=e,s=function(e,t){const{getCustomElement:n,HTMLElementExported:r,defineCustomElement:o}=t;let i=n(e=e.toLowerCase());return D(i)?(i=class extends r{constructor(e){super(),B(e)&&e(this)}},o(e,i),i):i}(o,r);let l;const a=new s((t=>{l=function(e,t,n){let r=nr(e);if(!D(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;if(nn(e,l,n),1===l.shadowMode){const{stylesheetToken:t}=l.context;D(t)||tn(e,t)}return r=Zn(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}));if(rn(a,i,r),e.elm=a,e.vm=l,l)an(e,l);else if(e.ctor!==s)throw new TypeError("Incorrect Component Constructor");ln(null,e,r),sn(a,t,n,r),l&&sr(l);Jt(e.children,a,r,null),l&&function(e){rr(e)}(l)}(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function Jt(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];en(i)&&Yt(i,t,n,r)}}function Qt(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&function(e,t,n){n.remove(e,t)}(i,t,n),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;Zt(e.children,i,n,t);break}case 3:{const{vm:t}=e;D(t)||function(e){Qn(e)}(t)}}}function Zt(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];en(i)&&Qt(i,t,n,r)}}function en(e){return null!=e}function tn(e,t){e.$shadowToken$=t}function nn(e,t,n){const{cmpTemplate:r,context:o}=t,{getClassList:i}=n,s=null==r?void 0:r.stylesheetToken;!D(s)&&o.hasScopedStyles&&i(e).add(s)}function rn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function on(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function sn(e,t,n,r){r.insert(e,t,n)}function ln(e,t,n){I(e)&&(function(e,t){const{elm:n,data:{on:r}}=e;if(D(r))return;const{addEventListener:o}=t;for(const e in r)o(n,e,r[e])}(t,n),function(e,t){const{elm:n,data:{classMap:r}}=e;if(D(r))return;const{getClassList:o}=t,i=o(n);for(const e in r)i.add(e)}(t,n),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(D(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)}}(t,n)),function(e,t,n){const{elm:r,data:{className:o}}=t,i=I(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),a=Ut(o),c=Ut(i);let u;for(u in c)D(a[u])&&l.remove(u);for(u in a)D(c[u])&&l.add(u)}(e,t,n),function(e,t,n){const{elm:r,data:{style:o}}=t;if((I(e)?void 0:e.data.style)===o)return;const{setAttribute:i,removeAttribute:s}=n;W(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,t,n),function(e,t,n){const{attrs:r}=t.data;if(D(r))return;const o=I(e)?de: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&&(Ne(i,e),58===N.call(e,3)?s(i,e,t,"http://www.w3.org/XML/1998/namespace"):58===N.call(e,5)?s(i,e,t,"http://www.w3.org/1999/xlink"):I(t)||D(t)?l(i,e):s(i,e,t),Le())}}(e,t,n),function(e,t,n){const{props:r}=t.data;if(D(r))return;const o=I(e)?de:e.data.props;if(o===r)return;const i=I(e),{elm:s,sel:l}=t,{getProperty:a,setProperty:c}=n;for(const e in r){const t=r[e];(i||t!==(Kt(l,e)?a(s,e):o[e]))&&c(s,e,t)}}(e,t,n)}function an(e,t){const r=e.aChildren||e.children;t.aChildren=r;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t){var r;const{cmpSlots:o}=e,i=e.cmpSlots=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(I(n))continue;let o="";Vt(n)&&(o=(null===(r=n.data.attrs)||void 0===r?void 0:r.slot)||"");const s=i[o]=i[o]||[];k.call(s,n)}if(j(e.isDirty)){const t=d(o);if(t.length!==d(i).length)return void Hn(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(D(i[r])||o[r].length!==i[r].length)return void Hn(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 Hn(e)}}}(t,r),e.aChildren=r,e.children=fe)}const cn=new WeakMap;function un(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(en(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}const dn=Symbol.iterator;function fn(e,t,n=fe){const r=Tn();const{key:o}=t;return{type:2,sel:e,data:t,children:n,elm:undefined,key:o,owner:r}}function pn(e,t,n,r=fe){const o=Tn(),{key:i}=n;const s={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(Tn().velements,e)}(s),s}const hn=new Map;let mn=0;function gn(e){var t;return t=e,cn.set(t,1),e}let wn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const yn=i({s:function(e,t,n,r){D(r)||D(r[e])||0===r[e].length||(n=r[e]);const o=Tn(),{renderMode:i,shadowMode:s}=o;return 0===i?(gn(n),n):(1===s&&gn(n),fn("slot",t,n))},h:fn,c:pn,i:function(e,t){const n=[];if(gn(n),D(e)||null===e)return n;const r=e[dn]();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=[];gn(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:function(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:Tn()}},d:function(e){return null==e?"":String(e)},b:function(e){const t=Tn();if(I(t))throw new Error;const n=t;return function(t){Fn(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:undefined,owner:Tn()}},dc:function(e,t,n,r=fe){if(null==t)return null;if(!jt(t))throw new Error(`Invalid LWC Constructor ${K(t)} for custom element <${e}>.`);let o=hn.get(t);return D(o)&&(o=mn++,hn.set(t,o)),pn(e,t,Object.assign(Object.assign({},n),{key:`dc:${o}:${n.key}`}),r)},ti:function(e){return e>0&&!(H(e)||j(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:Tn()}},gid:function(e){const t=Tn();if(D(e)||""===e)return e;if(I(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=Tn();if(D(e)||""===e)return e;if(I(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return wn(e)}});function bn(e){return`${e}-host`}function vn(e){return yn.h("style",{key:"style",attrs:{type:"text/css"}},[yn.t(e)])}function Cn(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,Cn(s,t,n));else{const e=s.$scoped$,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:(D(o)&&(o=kn(n)),a=I(o)||0===o.shadowMode),k.call(r,s(i,l,a))}}return r}function En(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return D(n)||0===n.length||(o=Cn(n,r,e)),o}function kn(e){let t=e;for(;!I(t);){if(1===t.renderMode)return t;t=t.owner}return t}function xn(e,t){const{renderMode:n,shadowMode:r,renderer:{ssr:o,insertStylesheet:i}}=e;if(1===n&&1===r)for(let e=0;e<t.length;e++)i(t[e]);else{if(o||e.hydrated)return C.call(t,vn);{const n=function(e){const t=kn(e);return I(t)||1!==t.shadowMode?t:null}(e),r=I(n)?void 0:n.shadowRoot;for(let e=0;e<t.length;e++)i(t[e],r)}}return null}let Sn=!1,Mn=null;function Tn(){return Mn}function An(e){Mn=e}const On=(Pn=(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}=Tn(),l=!D(o),a=1===i;let c=0;if(l&&n&&(c|=1),l&&a&&(c|=2),!D(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]=Pn(p,s),r[c]}});var Pn;function $n(e,t){const r=Sn,o=Mn;let i=[];return dr(e,e.owner,(()=>{Mn=e}),(()=>{const{component:r,context:o,cmpSlots:s,cmpTemplate:l,tro:a}=e;a.observe((()=>{if(t!==l){if(I(l)||ur(e),a=t,!At.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: ${K(t)}.`);e.cmpTemplate=t,o.tplCache=n(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!D(t))for(let e=0;e<t.length;e++)if(H(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;D(g)||(w&&s(n).remove(bn(g)),y&&l(n,bn(g))),D(c)||0===c.length||(p=u),D(p)||(f&&(s(n).add(bn(p)),h=!0),d&&(a(n,bn(p),""),m=!0)),r.stylesheetToken=p,r.hasTokenInClass=h,r.hasTokenInAttribute=m}(e,t);const r=En(e,t);o.styleVNodes=0===r.length?null:xn(e,r)}var a;e.velements=[],Sn=!0,i=t.call(void 0,yn,r,s,o.tplCache);const{styleVNodes:c}=o;I(c)||P.apply(i,c)}))}),(()=>{Sn=r,Mn=o})),i}let Ln=null;function Nn(e){return Ln===e}function Rn(e,t,n){const{component:r,callHook:o,owner:i}=e;dr(e,i,V,(()=>{o(r,t,n)}),V)}function Fn(e,t,n,r){const{callHook:o,owner:i}=e;dr(e,i,V,(()=>{o(n,t,[r])}),V)}const _n=new Map;function Dn(e){return new be((()=>{const{isDirty:t}=e;j(t)&&(Hn(e),function(e){const{renderer:{ssr:t}}=e;if(H(t)||H(e.isScheduled))return;e.isScheduled=!0,0===or.length&&he(ir);k.call(or,e)}(e))}))}function In(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=Tn();let s,l=!1;return dr(e,o,(()=>{An(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{An(i)})),l?$n(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Hn(e){e.isDirty=!0}const jn=new WeakMap;function Bn(e,t){if(!B(t))throw new TypeError;let n=jn.get(t);return D(n)&&(n=function(n){Fn(e,t,void 0,n)},jn.set(t,n)),n}const Wn=n(null),Vn=["rendered","connected","disconnected"];function Gn(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 Kn=0;const zn=new WeakMap;function Un(e,t,n=[]){return t.apply(e,n)}function qn(e,t,n){e[t]=n}function Xn(e,t){return e[t]}function Yn(e){rr(e)}function Jn(e){const t=tr(e);1===t.state&&function(e){Qn(tr(e))}(e),sr(t),rr(t)}function Qn(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}=Wn;t&&Gn(e,t);lr(e)&&function(e){const{wiredDisconnecting:t}=e.context;dr(e,e,V,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),V)}(e);const{disconnectedCallback:n}=e.def;D(n)||Rn(e,n)}(e),ar(e),function(e){const{aChildren:t}=e;cr(t)}(e)}}function Zn(e,t,r,o){const{mode:i,owner:s,tagName:l,hydrated:a}=o,c=Bt(t),u={elm:e,def:c,idx:Kn++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,children:fe,aChildren:fe,velements:fe,cmpProps:n(null),cmpFields:n(null),cmpSlots: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:de,wiredConnecting:fe,wiredDisconnecting:fe},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:Un,setHook:qn,getHook:Xn,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(ce.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!I(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=I(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,r),u.tro=Dn(u),function(e,t){const n=Ln;let r;Ln=e;try{const o=new t;if(Ln.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Ln=n,!D(r))throw ke(e,r),r}}(u,c.ctor),lr(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=fr.get(i);if(!D(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=hr(e,t,s),a=s.dynamic.length>0;k.call(r,(()=>{n.connect(),ce.ENABLE_WIRE_SYNC_EMIT||!a?i():Promise.resolve().then(i)})),k.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function er(e,t){zn.set(e,t)}function tr(e){return zn.get(e)}function nr(e){return zn.get(e)}function rr(e){if(H(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&dr(e,e,(()=>{}),(()=>{qt(r,t,n,o)}),(()=>{}));1===e.state&&function(e){const{def:{renderedCallback:t},renderer:{ssr:n}}=e;if(H(n))return;const{rendered:r}=Wn;r&&Gn(e,r);D(t)||Rn(e,t)}(e)}(e,In(e))}}let or=[];function ir(){const e=or.sort(((e,t)=>e.idx-t.idx));or=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{rr(r)}catch(r){throw t+1<n&&(0===or.length&&he(ir),P.apply(or,T.call(e,t+1))),r}}}function sr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Wn;n&&Gn(e,n),lr(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;D(r)||Rn(e,r)}function lr(e){return l(e.def.wire).length>0}function ar(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!D(n)){const e=nr(n);D(e)||Qn(e)}}}function cr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!I(n)&&!D(n.elm))switch(n.type){case 2:cr(n.children);break;case 3:Qn(tr(n.elm));break}}}function ur(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];I(o)||D(o.elm)||r(o.elm,n)}e.children=fe,ar(e),e.velements=fe}function dr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!D(i)){ke(e,i);const n=I(t)?void 0:function(e){let t=e;for(;!I(t);){if(!D(t.def.errorCallback))return t;t=t.owner}}(t);if(D(n))throw i;ur(e);Rn(n,n.def.errorCallback,[i,i.wcStack])}}}const fr=new Map;class pr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function hr(e,t,n){const{method:r,adapter:i,configCallback:s,dynamic:l}=n,a=D(r)?function(e,t){const{cmpFields:n}=e;return r=>{r!==e.cmpFields[t]&&(n[t]=r,ve(e,t))}}(e,t):function(e,t){return n=>{dr(e,e.owner,V,(()=>{t.call(e.component,n)}),V)}}(e,r);let c,u;o(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),o(a,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),dr(e,e,V,(()=>{u=new i(a)}),V);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let r=!1;const o=new be((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),i()})))})),i=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:i,ro:o}}(e.component,s,(t=>{dr(e,e,V,(()=>{u.update(t,c)}),V)}));return D(i.contextSchema)||function(e,t,n){const{adapter:r}=t,o=gr(r);if(D(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{dispatchEvent:a}}=e;k.call(s,(()=>{const e=new pr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){k.call(l,e)}});a(i,e)}))}(e,n,(t=>{c!==t&&(c=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const mr=new Map;function gr(e){return mr.get(e)}function wr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};fr.set(e,o)}function yr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};fr.set(e,o)}let br=!1;var vr;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(vr||(vr={}));const Cr=/\s+/g;function Er(e){return new Set(e.split(Cr).filter((e=>e.length)))}function kr(e){return Array.from(e).join(" ")}function xr(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function Sr(e){return{type:vr.Element,name:e,parent:null,shadowRoot:null,children:[],attributes:[],eventListeners:{}}}const Mr=n(null),Tr=new WeakMap;function Ar(e,t,n=null){const r=e.attributes.find((e=>e.name===t&&e.namespace===n));return r?r.value:null}function Or(e,t,n,r=null){const o=e.attributes.find((e=>e.name===t&&e.namespace===r));D(r)&&(r=null),D(o)?e.attributes.push({name:t,namespace:r,value:String(n)}):o.value=n}function Pr(e,t,n){e.attributes=e.attributes.filter((e=>e.name!==t&&e.namespace!==n))}const $r=V,Lr=V,Nr=V,Rr=xr("dispatchEvent"),Fr=xr("getBoundingClientRect"),_r=xr("querySelector"),Dr=xr("querySelectorAll"),Ir=xr("getElementsByTagName"),Hr=xr("getElementsByClassName"),jr=xr("getChildren"),Br=xr("getChildNodes"),Wr=xr("getFirstChild"),Vr=xr("getFirstElementChild"),Gr=xr("getLastChild"),Kr=xr("getLastElementChild");const zr={ssr:!0,isNativeShadowDefined:!1,isSyntheticShadowDefined:!1,HTMLElementExported:class{constructor(){const{constructor:e}=this,t=Tr.get(e);if(!t)throw new TypeError("Invalid Construction");return Sr(t)}},isHydrating:function(){return!1},insert:function(e,t,n){if(null!==e.parent&&e.parent!==t){const t=e.parent.children.indexOf(e);e.parent.children.splice(t,1)}e.parent=t;const r=I(n)?-1:t.children.indexOf(n);-1===r?t.children.push(e):t.children.splice(r,0,e)},remove:function(e,t){const n=t.children.indexOf(e);t.children.splice(n,1)},cloneNode:function(e){return e},createFragment:function(e){return{type:vr.Raw,parent:null,value:e}},createElement:Sr,createText:function(e){return{type:vr.Text,value:String(e),parent:null}},createComment:function(e){return{type:vr.Comment,value:e,parent:null}},nextSibling:function(e){const{parent:t}=e;if(I(t))return null;const n=t.children.indexOf(e);return t.children[n+1]||null},attachShadow:function(e,t){return e.shadowRoot={type:vr.ShadowRoot,children:[],mode:t.mode,delegatesFocus:!!t.delegatesFocus},e.shadowRoot},getProperty:function(e,t){var n,r;if(t in e)return e[t];if(e.type===vr.Element){const o=ie(t);if(ee(o,e.name))return null!==(n=Ar(e,o))&&void 0!==n&&n;if(ne(o)||Y(o))return Ar(e,o);if("input"===e.name&&"value"===t)return null!==(r=Ar(e,"value"))&&void 0!==r?r:""}},setProperty:function(e,t,n){if(t in e)return e[t]=n;if(e.type===vr.Element){const r=ie(t);if("innerHTML"===t)return void(e.children=[{type:vr.Raw,parent:e,value:n}]);if(ee(r,e.name))return!0===n?Or(e,r,""):Pr(e,r);if(ne(r)||Y(r))return Or(e,r,n);if("input"===e.name&&"value"===r)return I(n)||D(n)?Pr(e,"value"):Or(e,"value",n)}},setText:function(e,t){e.type===vr.Text?e.value=t:e.type===vr.Element&&(e.children=[{type:vr.Text,parent:e,value:t}])},getAttribute:Ar,setAttribute:Or,removeAttribute:Pr,addEventListener:Lr,removeEventListener:Nr,dispatchEvent:Rr,getClassList:function(e){function t(){let t=e.attributes.find((e=>"class"===e.name&&I(e.namespace)));return D(t)&&(t={name:"class",namespace:null,value:""},e.attributes.push(t)),t}return{add(...e){const n=t(),r=Er(n.value);e.forEach((e=>r.add(e))),n.value=kr(r)},remove(...e){const n=t(),r=Er(n.value);e.forEach((e=>r.delete(e))),n.value=kr(r)}}},setCSSStyleProperty:function(e,t,n,r){const o=e.attributes.find((e=>"style"===e.name&&I(e.namespace))),i=`${t}: ${n}${r?" !important":""}`;D(o)?e.attributes.push({name:"style",namespace:null,value:i}):o.value+=`; ${i}`},getBoundingClientRect:Fr,querySelector:_r,querySelectorAll:Dr,getElementsByTagName:Ir,getElementsByClassName:Hr,getChildren:jr,getChildNodes:Br,getFirstChild:Wr,getFirstElementChild:Vr,getLastChild:Gr,getLastElementChild:Kr,isConnected:function(e){return!I(e.parent)},insertStylesheet:$r,assertInstanceOfHTMLElement:V,defineCustomElement:function(e,t,n){!function(e,t){if(e!==_.call(e)||Mr[e])throw new TypeError("Invalid Registration");Mr[e]=t,Tr.set(t,e)}(e,t)},getCustomElement:function(e){return Mr[e]}};function Ur(e){return e.map((e=>{switch(e.type){case vr.Text:return""===e.value?"":le(e.value);case vr.Comment:return`\x3c!--${le(e.value)}--\x3e`;case vr.Raw:return e.value;case vr.Element:return qr(e)}})).join("")}function qr(e){let t="";const{name:n}=e,r=e.attributes.length?` ${o=e.attributes,o.map((e=>e.value.length?`${e.name}=${JSON.stringify(le(e.value))}`:e.name)).join(" ")}`:"";var o;const i=Ur(e.children);return t+=`<${n}${r}>`,e.shadowRoot&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${Ur(e.children)}</template>`}(e.shadowRoot)),t+=i,function(e){return Q.has(e)}(n)||(t+=`</${n}>`),t}const Xr={type:vr.Element,name:"fake-root-element",parent:null,shadowRoot:null,children:[],attributes:[],eventListeners:{}};i(mt),f(mt.prototype),exports.LightningElement=mt,exports.api=function(){throw new Error},exports.createContextProvider=function(e){let t=gr(e);if(!D(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){mr.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((()=>{D(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},exports.freezeTemplate=function(e){},exports.getComponentDef=function(e){const t=Bt(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:ie(e)};const a={};for(const e in s)a[e]=s[e].value;return{ctor:n,name:r,props:l,methods:a}},exports.isComponentConstructor=jt,exports.parseFragment=On,exports.parseSVGFragment=On,exports.readonly=function(e){return pt.getReadOnlyProxy(e)},exports.register=function(e){for(let t=0;t<Vn.length;++t){const n=Vn[t];if(n in e){let t=Wn[n];D(t)&&(Wn[n]=t=[]),k.call(t,e[n])}}},exports.registerComponent=function(e,{tmpl:t}){return B(e)&&_n.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(!D(i))for(const e in i){const t=i[e];if(g[e]=t.config,w=s(r,e),t.config>0){if(D(w))throw new Error;w=kt(e,w)}else w=D(w)||D(w.get)?Ct(e):kt(e,w);f[e]=w,o(r,e,w)}if(D(l)||$.call(l,(e=>{if(w=s(r,e),D(w))throw new Error;d[e]=w})),!D(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(D(w))throw new Error;p[e]=w,wr(w,t,i,l)}else w=St(e),h[e]=w,yr(w,t,i,l),o(r,e,w)}if(!D(c))for(const e in c)w=s(r,e),w=xt(e),o(r,e,w);if(!D(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=s(r,t);const n=!D(i)&&t in i,o=!D(c)&&t in c;n||o||(m[t]=vt(t))}return function(e,t){Mt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:p,wiredFields:h,observedFields:m}),e},exports.registerTemplate=function(e){return At.add(e),o(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return D(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=D(e)?void 0:e.shadowAttribute}}),e},exports.renderComponent=function(e,t,n={}){if(!W(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!B(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||I(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=zr.createElement(e);Zn(r,t,zr,{mode:"open",owner:null,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r.parent=Xr,Jn(r),qr(r)},exports.renderer=zr,exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(D(ae[e])){const n=d(ae).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=ce[e];if(!D(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(ce,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(br,"Hooks are already overridden, only one definition is allowed."),br=!0,n=t.sanitizeHtmlContent,wn=n},exports.track=function(e){if(1===arguments.length)return pt.getProxy(e);throw new Error},exports.unwrap=function(e){return pt.unwrapProxy(e)},exports.wire=function(e,t){throw new Error};
|