lwc 2.28.0 → 2.29.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 +47 -24
- package/dist/engine-dom/iife/es2017/engine-dom.js +47 -24
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +40 -18
- package/dist/engine-dom/iife/es5/engine-dom.js +49 -24
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +42 -18
- package/dist/engine-dom/umd/es2017/engine-dom.js +47 -24
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +40 -18
- package/dist/engine-dom/umd/es5/engine-dom.js +49 -24
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +42 -18
- package/dist/engine-server/commonjs/es2017/engine-server.js +41 -18
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +41 -18
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3 -3
- package/dist/wire-service/esm/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/iife/es5/wire-service.js +2 -2
- package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es5/wire-service.js +2 -2
- package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
- package/package.json +7 -7
|
@@ -351,7 +351,7 @@
|
|
|
351
351
|
CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);
|
|
352
352
|
return attributeName;
|
|
353
353
|
}
|
|
354
|
-
/** version: 2.
|
|
354
|
+
/** version: 2.29.0 */
|
|
355
355
|
|
|
356
356
|
/**
|
|
357
357
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -445,7 +445,7 @@
|
|
|
445
445
|
patch$1(propName);
|
|
446
446
|
}
|
|
447
447
|
}
|
|
448
|
-
/** version: 2.
|
|
448
|
+
/** version: 2.29.0 */
|
|
449
449
|
|
|
450
450
|
/**
|
|
451
451
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -3299,6 +3299,12 @@
|
|
|
3299
3299
|
;
|
|
3300
3300
|
}
|
|
3301
3301
|
|
|
3302
|
+
function isVFragment(vnode) {
|
|
3303
|
+
return vnode.type === 5
|
|
3304
|
+
/* VNodeType.Fragment */
|
|
3305
|
+
;
|
|
3306
|
+
}
|
|
3307
|
+
|
|
3302
3308
|
function isVScopedSlotFragment(vnode) {
|
|
3303
3309
|
return vnode.type === 6
|
|
3304
3310
|
/* VNodeType.ScopedSlotFragment */
|
|
@@ -4117,22 +4123,26 @@
|
|
|
4117
4123
|
|
|
4118
4124
|
return vm;
|
|
4119
4125
|
}
|
|
4126
|
+
/**
|
|
4127
|
+
* Collects all slots into a SlotSet, traversing through VFragment Nodes
|
|
4128
|
+
*/
|
|
4120
4129
|
|
|
4121
|
-
function allocateInSlot(vm, children, owner) {
|
|
4122
|
-
var _a, _b;
|
|
4123
4130
|
|
|
4124
|
-
|
|
4125
|
-
var
|
|
4126
|
-
vm.cmpSlots = {
|
|
4127
|
-
owner: owner,
|
|
4128
|
-
slotAssignments: cmpSlotsMapping
|
|
4129
|
-
};
|
|
4131
|
+
function collectSlots(vm, children, cmpSlotsMapping) {
|
|
4132
|
+
var _a, _b;
|
|
4130
4133
|
|
|
4131
4134
|
for (var _i15 = 0, len = children.length; _i15 < len; _i15 += 1) {
|
|
4132
4135
|
var vnode = children[_i15];
|
|
4133
4136
|
|
|
4134
4137
|
if (isNull(vnode)) {
|
|
4135
4138
|
continue;
|
|
4139
|
+
} // Dive further iff the content is wrapped in a VFragment
|
|
4140
|
+
|
|
4141
|
+
|
|
4142
|
+
if (isVFragment(vnode)) {
|
|
4143
|
+
// Remove the text delimiter nodes to avoid overriding default slot content
|
|
4144
|
+
collectSlots(vm, vnode.children.slice(1, -1), cmpSlotsMapping);
|
|
4145
|
+
continue;
|
|
4136
4146
|
}
|
|
4137
4147
|
|
|
4138
4148
|
var slotName = '';
|
|
@@ -4146,6 +4156,16 @@
|
|
|
4146
4156
|
var vnodes = cmpSlotsMapping[slotName] = cmpSlotsMapping[slotName] || [];
|
|
4147
4157
|
ArrayPush$1.call(vnodes, vnode);
|
|
4148
4158
|
}
|
|
4159
|
+
}
|
|
4160
|
+
|
|
4161
|
+
function allocateInSlot(vm, children, owner) {
|
|
4162
|
+
var oldSlotsMapping = vm.cmpSlots.slotAssignments;
|
|
4163
|
+
var cmpSlotsMapping = create(null);
|
|
4164
|
+
collectSlots(vm, children, cmpSlotsMapping);
|
|
4165
|
+
vm.cmpSlots = {
|
|
4166
|
+
owner: owner,
|
|
4167
|
+
slotAssignments: cmpSlotsMapping
|
|
4168
|
+
};
|
|
4149
4169
|
|
|
4150
4170
|
if (isFalse(vm.isDirty)) {
|
|
4151
4171
|
// We need to determine if the old allocation is really different from the new one
|
|
@@ -4157,7 +4177,7 @@
|
|
|
4157
4177
|
return;
|
|
4158
4178
|
}
|
|
4159
4179
|
|
|
4160
|
-
for (var _i16 = 0,
|
|
4180
|
+
for (var _i16 = 0, len = oldKeys.length; _i16 < len; _i16 += 1) {
|
|
4161
4181
|
var key = oldKeys[_i16];
|
|
4162
4182
|
|
|
4163
4183
|
if (isUndefined$1(cmpSlotsMapping[key]) || oldSlotsMapping[key].length !== cmpSlotsMapping[key].length) {
|
|
@@ -4166,10 +4186,10 @@
|
|
|
4166
4186
|
}
|
|
4167
4187
|
|
|
4168
4188
|
var oldVNodes = oldSlotsMapping[key];
|
|
4169
|
-
var
|
|
4189
|
+
var vnodes = cmpSlotsMapping[key];
|
|
4170
4190
|
|
|
4171
4191
|
for (var j = 0, a = cmpSlotsMapping[key].length; j < a; j += 1) {
|
|
4172
|
-
if (oldVNodes[j] !==
|
|
4192
|
+
if (oldVNodes[j] !== vnodes[j]) {
|
|
4173
4193
|
markComponentAsDirty(vm);
|
|
4174
4194
|
return;
|
|
4175
4195
|
}
|
|
@@ -4909,7 +4929,7 @@
|
|
|
4909
4929
|
|
|
4910
4930
|
function buildParseFragmentFn(createFragmentFn) {
|
|
4911
4931
|
return function (strings) {
|
|
4912
|
-
for (var
|
|
4932
|
+
for (var _len4 = arguments.length, keys = new Array(_len4 > 1 ? _len4 - 1 : 0), _key3 = 1; _key3 < _len4; _key3++) {
|
|
4913
4933
|
keys[_key3 - 1] = arguments[_key3];
|
|
4914
4934
|
}
|
|
4915
4935
|
|
|
@@ -6570,8 +6590,9 @@
|
|
|
6570
6590
|
}
|
|
6571
6591
|
|
|
6572
6592
|
var nodesAreCompatible = true;
|
|
6593
|
+
var elmClassName = getProperty(elm, 'className');
|
|
6573
6594
|
|
|
6574
|
-
if (!isUndefined$1(className) && String(className) !==
|
|
6595
|
+
if (!isUndefined$1(className) && String(className) !== elmClassName) {
|
|
6575
6596
|
// className is used when class is bound to an expr.
|
|
6576
6597
|
nodesAreCompatible = false;
|
|
6577
6598
|
} else if (!isUndefined$1(classMap)) {
|
|
@@ -6592,6 +6613,9 @@
|
|
|
6592
6613
|
if (classList.length > keys(classMap).length) {
|
|
6593
6614
|
nodesAreCompatible = false;
|
|
6594
6615
|
}
|
|
6616
|
+
} else if (isUndefined$1(className) && elmClassName !== '') {
|
|
6617
|
+
// SSR contains a className but client-side VDOM does not
|
|
6618
|
+
nodesAreCompatible = false;
|
|
6595
6619
|
}
|
|
6596
6620
|
|
|
6597
6621
|
return nodesAreCompatible;
|
|
@@ -6736,7 +6760,7 @@
|
|
|
6736
6760
|
|
|
6737
6761
|
return ctor;
|
|
6738
6762
|
}
|
|
6739
|
-
/* version: 2.
|
|
6763
|
+
/* version: 2.29.0 */
|
|
6740
6764
|
|
|
6741
6765
|
/*
|
|
6742
6766
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -7779,7 +7803,7 @@
|
|
|
7779
7803
|
function isNull(obj) {
|
|
7780
7804
|
return obj === null;
|
|
7781
7805
|
}
|
|
7782
|
-
/** version: 2.
|
|
7806
|
+
/** version: 2.29.0 */
|
|
7783
7807
|
|
|
7784
7808
|
/*
|
|
7785
7809
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -8439,7 +8463,7 @@
|
|
|
8439
8463
|
});
|
|
8440
8464
|
freeze(LightningElement);
|
|
8441
8465
|
seal(LightningElement.prototype);
|
|
8442
|
-
/* version: 2.
|
|
8466
|
+
/* version: 2.29.0 */
|
|
8443
8467
|
|
|
8444
8468
|
exports.LightningElement = LightningElement;
|
|
8445
8469
|
exports.__unstable__ProfilerControl = profilerControl;
|
|
@@ -436,9 +436,9 @@ function htmlEscape(str, attrMode = false) {
|
|
|
436
436
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
437
437
|
*/
|
|
438
438
|
// Increment whenever the LWC template compiler changes
|
|
439
|
-
const LWC_VERSION = "2.
|
|
439
|
+
const LWC_VERSION = "2.29.0";
|
|
440
440
|
const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
|
|
441
|
-
/** version: 2.
|
|
441
|
+
/** version: 2.29.0 */
|
|
442
442
|
|
|
443
443
|
/*
|
|
444
444
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -550,7 +550,7 @@ function setFeatureFlagForTest(name, value) {
|
|
|
550
550
|
setFeatureFlag(name, value);
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
|
-
/** version: 2.
|
|
553
|
+
/** version: 2.29.0 */
|
|
554
554
|
|
|
555
555
|
/* proxy-compat-disable */
|
|
556
556
|
|
|
@@ -3441,6 +3441,9 @@ function isVBaseElement(vnode) {
|
|
|
3441
3441
|
function isSameVnode(vnode1, vnode2) {
|
|
3442
3442
|
return vnode1.key === vnode2.key && vnode1.sel === vnode2.sel;
|
|
3443
3443
|
}
|
|
3444
|
+
function isVFragment(vnode) {
|
|
3445
|
+
return vnode.type === 5 /* VNodeType.Fragment */;
|
|
3446
|
+
}
|
|
3444
3447
|
function isVScopedSlotFragment(vnode) {
|
|
3445
3448
|
return vnode.type === 6 /* VNodeType.ScopedSlotFragment */;
|
|
3446
3449
|
}
|
|
@@ -4313,26 +4316,26 @@ function createViewModelHook(elm, vnode, renderer) {
|
|
|
4313
4316
|
|
|
4314
4317
|
return vm;
|
|
4315
4318
|
}
|
|
4319
|
+
/**
|
|
4320
|
+
* Collects all slots into a SlotSet, traversing through VFragment Nodes
|
|
4321
|
+
*/
|
|
4316
4322
|
|
|
4317
|
-
function allocateInSlot(vm, children, owner) {
|
|
4318
|
-
var _a, _b;
|
|
4319
4323
|
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
|
-
slotAssignments: oldSlotsMapping
|
|
4323
|
-
}
|
|
4324
|
-
} = vm;
|
|
4325
|
-
const cmpSlotsMapping = create(null);
|
|
4326
|
-
vm.cmpSlots = {
|
|
4327
|
-
owner,
|
|
4328
|
-
slotAssignments: cmpSlotsMapping
|
|
4329
|
-
};
|
|
4324
|
+
function collectSlots(vm, children, cmpSlotsMapping) {
|
|
4325
|
+
var _a, _b;
|
|
4330
4326
|
|
|
4331
4327
|
for (let i = 0, len = children.length; i < len; i += 1) {
|
|
4332
4328
|
const vnode = children[i];
|
|
4333
4329
|
|
|
4334
4330
|
if (isNull(vnode)) {
|
|
4335
4331
|
continue;
|
|
4332
|
+
} // Dive further iff the content is wrapped in a VFragment
|
|
4333
|
+
|
|
4334
|
+
|
|
4335
|
+
if (isVFragment(vnode)) {
|
|
4336
|
+
// Remove the text delimiter nodes to avoid overriding default slot content
|
|
4337
|
+
collectSlots(vm, vnode.children.slice(1, -1), cmpSlotsMapping);
|
|
4338
|
+
continue;
|
|
4336
4339
|
}
|
|
4337
4340
|
|
|
4338
4341
|
let slotName = '';
|
|
@@ -4346,6 +4349,20 @@ function allocateInSlot(vm, children, owner) {
|
|
|
4346
4349
|
const vnodes = cmpSlotsMapping[slotName] = cmpSlotsMapping[slotName] || [];
|
|
4347
4350
|
ArrayPush$1.call(vnodes, vnode);
|
|
4348
4351
|
}
|
|
4352
|
+
}
|
|
4353
|
+
|
|
4354
|
+
function allocateInSlot(vm, children, owner) {
|
|
4355
|
+
const {
|
|
4356
|
+
cmpSlots: {
|
|
4357
|
+
slotAssignments: oldSlotsMapping
|
|
4358
|
+
}
|
|
4359
|
+
} = vm;
|
|
4360
|
+
const cmpSlotsMapping = create(null);
|
|
4361
|
+
collectSlots(vm, children, cmpSlotsMapping);
|
|
4362
|
+
vm.cmpSlots = {
|
|
4363
|
+
owner,
|
|
4364
|
+
slotAssignments: cmpSlotsMapping
|
|
4365
|
+
};
|
|
4349
4366
|
|
|
4350
4367
|
if (isFalse(vm.isDirty)) {
|
|
4351
4368
|
// We need to determine if the old allocation is really different from the new one
|
|
@@ -6487,7 +6504,7 @@ function freezeTemplate(tmpl) {
|
|
|
6487
6504
|
});
|
|
6488
6505
|
}
|
|
6489
6506
|
}
|
|
6490
|
-
/* version: 2.
|
|
6507
|
+
/* version: 2.29.0 */
|
|
6491
6508
|
|
|
6492
6509
|
/*
|
|
6493
6510
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -6573,7 +6590,13 @@ function remove(node, parent) {
|
|
|
6573
6590
|
parent[HostChildrenKey].splice(nodeIndex, 1);
|
|
6574
6591
|
}
|
|
6575
6592
|
function cloneNode(node) {
|
|
6576
|
-
|
|
6593
|
+
// Note: no need to deep clone as cloneNode is only used for nodes of type HostNodeType.Raw.
|
|
6594
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
6595
|
+
if (node[HostTypeKey] !== HostNodeType.Raw) {
|
|
6596
|
+
throw new TypeError(`SSR: cloneNode was called with invalid NodeType <${node[HostTypeKey]}>, only HostNodeType.Raw is supported.`);
|
|
6597
|
+
}
|
|
6598
|
+
}
|
|
6599
|
+
return Object.assign({}, node);
|
|
6577
6600
|
}
|
|
6578
6601
|
function createFragment(html) {
|
|
6579
6602
|
return {
|
|
@@ -6952,7 +6975,7 @@ function renderComponent(tagName, Ctor, props = {}) {
|
|
|
6952
6975
|
*/
|
|
6953
6976
|
freeze(LightningElement);
|
|
6954
6977
|
seal(LightningElement.prototype);
|
|
6955
|
-
/* version: 2.
|
|
6978
|
+
/* version: 2.29.0 */
|
|
6956
6979
|
|
|
6957
6980
|
exports.LightningElement = LightningElement;
|
|
6958
6981
|
exports.api = api$1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:t,create:n,defineProperties:r,defineProperty:o,freeze:i,getOwnPropertyDescriptor:s,getOwnPropertyNames:l,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:d,seal:f,setPrototypeOf:p}=Object,{isArray:h}=Array,{concat:m,copyWithin:g,fill:w,filter:y,find:b,indexOf:v,join:E,map:C,pop:S,push:k,reduce:T,reverse:M,shift:x,slice:A,some:N,sort:O,splice:_,unshift:L,forEach:$}=Array.prototype,{fromCharCode:P}=String,{charCodeAt:D,replace:R,slice:I,toLowerCase:F}=String.prototype;function H(e){return void 0===e}function B(e){return null===e}function V(e){return!0===e}function j(e){return!1===e}function W(e){return"function"==typeof e}function G(e){return"string"==typeof e}function U(){}const K={}.toString;function z(e){return e&&e.toString?h(e)?E.call(C.call(e,z),","):e.toString():"object"==typeof e?K.call(e):e+""}function q(e,t){do{const n=s(e,t);if(!H(n))return n;e=a(e)}while(null!==e)}const Y=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],{AriaAttrNameToPropNameMap:X,AriaPropNameToAttrNameMap:J}=(()=>{const e=n(null),t=n(null);return $.call(Y,(n=>{const r=F.call(R.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})();function Q(e){return e in X}const Z=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),ee="http://www.w3.org/1999/xhtml",te=new Set(["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr","param","keygen","menuitem"]);const ne=new Map([["autofocus",new Set(["button","input","keygen","select","textarea"])],["autoplay",new Set(["audio","video"])],["checked",new Set(["command","input"])],["disabled",new Set(["button","command","fieldset","input","keygen","optgroup","select","textarea"])],["formnovalidate",new Set(["button"])],["hidden",new Set],["loop",new Set(["audio","bgsound","marquee","video"])],["multiple",new Set(["input","select"])],["muted",new Set(["audio","video"])],["novalidate",new Set(["form"])],["open",new Set(["details"])],["readonly",new Set(["input","textarea"])],["required",new Set(["input","select","textarea"])],["reversed",new Set(["ol"])],["selected",new Set(["option"])]]);function re(e,t){const n=ne.get(e);return void 0!==n&&(0===n.size||n.has(t))}const oe=new Set(["accesskey","autocapitalize","autofocus","class","contenteditable","contextmenu","dir","draggable","enterkeyhint","exportparts","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","part","slot","spellcheck","style","tabindex","title","translate"]);function ie(e){return oe.has(e)}const se=new Map([["accessKey","accesskey"],["readOnly","readonly"],["tabIndex","tabindex"],["bgColor","bgcolor"],["colSpan","colspan"],["rowSpan","rowspan"],["contentEditable","contenteditable"],["crossOrigin","crossorigin"],["dateTime","datetime"],["formAction","formaction"],["isMap","ismap"],["maxLength","maxlength"],["minLength","minlength"],["noValidate","novalidate"],["useMap","usemap"],["htmlFor","for"]]),le=new Map;function ae(e){const t=J[e];if(!H(t))return t;const n=se.get(e);if(!H(n))return n;const r=le.get(e);if(!H(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=D.call(e,t);o+=n>=65&&n<=90?"-"+P(n+32):P(n)}return le.set(e,o),o}const ce={'"':""","'":"'","<":"<",">":">","&":"&"};function ue(e,t=!1){const n=t?/["&]/g:/["'<>&]/g;return e.replace(n,(e=>ce[e]))}if("function"!=typeof Event){class e{}o(Z,"Event",{value:e,configurable:!0,writable:!0})}if("function"!=typeof CustomEvent){class e extends Event{}o(Z,"CustomEvent",{value:e,configurable:!0,writable:!0})}const de={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null,ENABLE_LIGHT_GET_ROOT_NODE_PATCH:null,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null,ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY:null};Z.lwcRuntimeFlags||Object.defineProperty(Z,"lwcRuntimeFlags",{value:n(null)});const fe=Z.lwcRuntimeFlags;const pe=f(n(null)),he=f([]);function me(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}const ge=new WeakMap;const we={observe(e){e()},reset(){},link(){}};function ye(e){return we}function be(e){return`<${F.call(e.tagName)}>`}function ve(e,t){if(!u(t)&&H(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!B(n);)k.call(t,be(n)),n=n.owner;return t.reverse().join("\n\t")}(e);o(t,"wcStack",{get:()=>n})}}function Ee(e,t,n){let r=`[LWC ${e}]: ${t}`;H(n)||(r=`${r}\n${function(e){const t=[];let n="";for(;!B(e.owner);)k.call(t,n+be(e)),e=e.owner,n+="\t";return E.call(t,"\n")}(n)}`);try{throw new Error(r)}catch(t){console[e](t)}}function Ce(e,t){Ee("error",e,t)}function Se(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function ke(e){return W(e)&&c.call(e,"__circular__")}const Te="undefined"!=typeof HTMLElement?HTMLElement:function(){},Me=Te.prototype;function xe(e){return`Using the \`${e}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}t(n(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:xe("offsetHeight")},offsetLeft:{readOnly:!0,error:xe("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:xe("offsetTop")},offsetWidth:{readOnly:!0,error:xe("offsetWidth")},role:{attribute:"role"}});let Ae,Ne=null;function Oe(e,t){return e!==Ne||t!==Ae}function _e(e,t){Ne=null,Ae=void 0}function Le(e,t){Ne=e,Ae=t}const $e=n(null);function Pe(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n)}$.call(d(J),(e=>{const t=q(Me,e);H(t)||($e[e]=t)})),$.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=q(Me,e);H(t)||($e[e]=t)}));const{isArray:De}=Array,{prototype:Re,getPrototypeOf:Ie,create:Fe,defineProperty:He,isExtensible:Be,getOwnPropertyDescriptor:Ve,getOwnPropertyNames:je,getOwnPropertySymbols:We,preventExtensions:Ge,hasOwnProperty:Ue}=Object,{push:Ke,concat:ze}=Array.prototype;function qe(e){return void 0===e}function Ye(e){return"function"==typeof e}const Xe=new WeakMap;function Je(e,t){Xe.set(e,t)}const Qe=e=>Xe.get(e)||e;class Ze{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(Ue.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;qe(n)||(e.get=this.wrapGetter(n)),qe(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=Ve(n,t);if(!qe(r)){const n=this.wrapDescriptor(r);He(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;ze.call(je(t),We(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;qe(n)||Ue.call(e,n)||He(e,n,Fe(null)),Ge(e)}apply(e,t,n){}construct(e,t,n){}get(e,t){const{originalTarget:n,membrane:{valueObserved:r}}=this,o=n[t];return r(n,t),this.wrapValue(o)}has(e,t){const{originalTarget:n,membrane:{tagPropertyKey:r,valueObserved:o}}=this;return o(n,t),t in n||t===r}ownKeys(e){const{originalTarget:t,membrane:{tagPropertyKey:n}}=this,r=qe(n)||Ue.call(t,n)?[]:[n];return Ke.apply(r,je(t)),Ke.apply(r,We(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!Be(e)&&(!!Be(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return Ie(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=Ve(n,t);if(qe(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},He(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const et=new WeakMap,tt=new WeakMap,nt=new WeakMap,rt=new WeakMap;class ot extends Ze{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=et.get(e);if(!qe(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Qe(this)))};return et.set(e,r),nt.set(r,e),r}wrapSetter(e){const t=tt.get(e);if(!qe(t))return t;const n=function(t){e.call(Qe(this),Qe(t))};return tt.set(e,n),rt.set(n,e),n}unwrapDescriptor(e){if(Ue.call(e,"value"))e.value=Qe(e.value);else{const{set:t,get:n}=e;qe(n)||(e.get=this.unwrapGetter(n)),qe(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=nt.get(e);if(!qe(t))return t;const n=this,r=function(){return Qe(e.call(n.wrapValue(this)))};return et.set(r,e),nt.set(e,r),r}unwrapSetter(e){const t=rt.get(e);if(!qe(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return tt.set(r,e),rt.set(e,r),r}set(e,t,n){const{originalTarget:r,membrane:{valueMutated:o}}=this;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&De(r)&&o(r,t),!0}deleteProperty(e,t){const{originalTarget:n,membrane:{valueMutated:r}}=this;return delete n[t],r(n,t),!0}setPrototypeOf(e,t){}preventExtensions(e){if(Be(e)){const{originalTarget:t}=this;if(Ge(t),Be(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!Ue.call(r,t)||(He(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const it=new WeakMap,st=new WeakMap;class lt extends Ze{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=it.get(e);if(!qe(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Qe(this)))};return it.set(e,r),r}wrapSetter(e){const t=st.get(e);if(!qe(t))return t;const n=function(e){};return st.set(e,n),n}set(e,t,n){return!1}deleteProperty(e,t){return!1}setPrototypeOf(e,t){}preventExtensions(e){return!1}defineProperty(e,t,n){return!1}}function at(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(De(e))return!0;const t=Ie(e);return t===Re||null===t||null===Ie(t)}const ct=(e,t)=>{},ut=(e,t)=>{};function dt(e){return De(e)?[]:{}}const ft=Symbol.for("@@lockerLiveValue"),pt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=Ye(t)?t:ut,this.valueObserved=Ye(n)?n:ct,this.valueIsObservable=Ye(r)?r:at,this.tagPropertyKey=o}getProxy(e){const t=Qe(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=Qe(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return Qe(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(qe(t)){const n=new ot(this,e);t=new Proxy(dt(e),n),Je(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(qe(t)){const n=new lt(this,e);t=new Proxy(dt(e),n),Je(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:function(e,t){},valueMutated:function(e,t){const n=ge.get(e);if(!H(n)){const e=n[t];if(!H(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}},tagPropertyKey:ft});function ht(e){return pt.getReadOnlyProxy(e)}function mt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!W(n))throw new TypeError;if(!W(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const e=or(this);if(!In(e))return n.call(e.elm)},set(t){const n=or(this);return Pe(n,e,t),r.call(n.elm,t)}}}const gt=i(n(null)),wt=new WeakMap,yt=function(){if(B(Rn))throw new TypeError("Illegal constructor");const e=Rn,{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 rr(o,e),rr(n,e),1===e.renderMode?e.renderRoot=bt(e):e.renderRoot=n,this};function bt(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:i}}=e,s=i(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=s,rr(s,e),s}yt.prototype={constructor:yt,dispatchEvent(e){const t=or(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=or(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,Gn(r,t),n)},removeEventListener(e,t,n){const r=or(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,Gn(r,t),n)},hasAttribute(e){const t=or(this),{elm:n,renderer:{getAttribute:r}}=t;return!B(r(n,e))},hasAttributeNS(e,t){const n=or(this),{elm:r,renderer:{getAttribute:o}}=n;return!B(o(r,t,e))},removeAttribute(e){const t=or(this),{elm:n,renderer:{removeAttribute:r}}=t;Le(n,e),r(n,e),_e()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=or(this);Le(n,t),r(n,t,e),_e()},getAttribute(e){const t=or(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=or(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=or(this),{elm:r,renderer:{setAttribute:o}}=n;Le(r,e),o(r,e,t),_e()},setAttributeNS(e,t,n){const r=or(this),{elm:o,renderer:{setAttribute:i}}=r;Le(o,t),i(o,t,n,e),_e()},getBoundingClientRect(){const e=or(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=or(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=or(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return or(this).shadowRoot},get refs(){const e=or(this);if(Nn)return;const{refVNodes:t,hasRefVNodes:r,cmpTemplate:o}=e;if(!r)return;if(B(t))return gt;let s=wt.get(t);if(H(s)){s=n(null);for(const e of d(t))s[e]=t[e].elm;i(s),wt.set(t,s)}return s},set refs(e){o(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=or(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=or(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=or(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=or(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=or(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=or(this);return e.renderer.getLastElementChild(e.elm)},render(){return or(this).def.template},toString(){return`[object ${or(this).def.name}]`}};const vt=n(null),Et=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of Et)vt[e]={value(t){const n=or(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};r(yt.prototype,vt);const Ct=n(null);for(const e in $e)Ct[e]=mt(e,$e[e]);function St(e){return{get(){return or(this).cmpFields[e]},set(t){Pe(or(this),e,t)},enumerable:!0,configurable:!0}}r(yt.prototype,Ct),o(yt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const kt={observe(e){e()},reset(){},link(){}};function Tt(e){return{get(){const t=or(this);if(!In(t))return t.cmpProps[e]},set(t){or(this).cmpProps[e]=t},enumerable:!0,configurable:!0}}function Mt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!W(n))throw new Error;return{get(){return n.call(this)},set(t){const n=or(this);if(r)if(fe.ENABLE_REACTIVE_SETTER){let o=n.oar[e];H(o)&&(o=n.oar[e]=kt),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function xt(e){return{get(){return or(this).cmpFields[e]},set(t){Pe(or(this),e,t)},enumerable:!0,configurable:!0}}function At(e){return{get(){return or(this).cmpFields[e]},set(t){Pe(or(this),e,t)},enumerable:!0,configurable:!0}}const Nt=new Map;const Ot={apiMethods:pe,apiFields:pe,apiFieldsConfig:pe,wiredMethods:pe,wiredFields:pe,observedFields:pe};const _t=new Set;function Lt(){return[]}_t.add(Lt);const $t=n(null),Pt=n(null);function Dt(e){let t=$t[e];return H(t)&&(t=$t[e]=function(){const t=or(this),{getHook:n}=t;return n(t.component,e)}),t}function Rt(e){let t=Pt[e];return H(t)&&(t=Pt[e]=function(t){const n=or(this),{setHook:r}=n;t=ht(t),r(n.component,e,t)}),t}function It(e){return function(){const t=or(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,A.call(arguments))}}function Ft(e,t){return function(n,r,o){if(r===o)return;const i=e[n];H(i)?H(t)||t.apply(this,arguments):Oe(this,n)&&(this[i]=o)}}function Ht(e,t,i){let s;W(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),o(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const l=n(null),{attributeChangedCallback:a}=e.prototype,{observedAttributes:c=[]}=e,u=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[ae(n)]=n,u[n]={get:Dt(n),set:Rt(n),enumerable:!0,configurable:!0}}for(let e=0,t=i.length;e<t;e+=1){const t=i[e];u[t]={value:It(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:Ft(l,a)},o(s,"observedAttributes",{get:()=>[...c,...d(l)]}),r(s.prototype,u),s}const Bt=Ht(Te,l($e),[]);i(Bt),f(Bt.prototype);const Vt=new WeakMap;function jt(e){const{shadowSupportMode:o,renderMode:i}=e,s=function(e){const t=Nt.get(e);return H(t)?Ot:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:f,wiredMethods:p,observedFields:h}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=a(e);if(B(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(ke(t)){const e=Se(t);t=e===t?yt:e}return t}(e),C=E!==yt?Gt(E):Ut,S=Ht(C.bridge,d(l),d(u)),k=t(n(null),C.props,l),T=t(n(null),C.propsConfig,c),M=t(n(null),C.methods,u),x=t(n(null),C.wire,f,p);g=g||C.connectedCallback,w=w||C.disconnectedCallback,y=y||C.renderedCallback,b=b||C.errorCallback,v=v||C.render;let A=C.shadowSupportMode;H(o)||(A=o);let N=C.renderMode;H(i)||(N="light"===i?0:1);const O=function(e){return Bn.get(e)}(e)||C.template,_=e.name||C.name;r(m,h);return{ctor:e,name:_,wire:x,props:k,propsConfig:T,methods:M,bridge:S,template:O,renderMode:N,shadowSupportMode:A,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function Wt(e){if(!W(e))return!1;if(e.prototype instanceof yt)return!0;let t=e;do{if(ke(t)){const e=Se(t);if(e===t)return!0;t=e}if(t===yt)return!0}while(!B(t)&&(t=a(t)));return!1}function Gt(e){let t=Vt.get(e);if(H(t)){if(ke(e)){return t=Gt(Se(e)),Vt.set(e,t),t}if(!Wt(e))throw new TypeError(`${e} is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.`);t=jt(e),Vt.set(e,t)}return t}const Ut={ctor:yt,name:yt.name,props:Ct,propsConfig:pe,methods:pe,renderMode:1,shadowSupportMode:"reset",wire:pe,bridge:Bt,template:Lt,render:yt.prototype.render};function Kt(e){return`${e}-host`}function zt(e){return An.h("style",{key:"style",attrs:{type:"text/css"}},[An.t(e)])}function qt(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(h(s))k.apply(r,qt(s,t,n));else{const e=s.$scoped$;if(fe.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){Ce("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}const i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let a;1===n.renderMode?a=0===n.shadowMode:(H(o)&&(o=Xt(n)),a=B(o)||0===o.shadowMode),k.call(r,s(i,l,a))}}return r}function Yt(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return H(n)||0===n.length||(o=qt(n,r,e)),o}function Xt(e){let t=e;for(;!B(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Jt(e){const{type:t}=e;return 2===t||3===t}function Qt(e,t){return e.key===t.key&&e.sel===t.sel}function Zt(e){return 6===e.type}function en(e,t){return"input"===e&&("value"===t||"checked"===t)}const tn=n(null);function nn(e){if(null==e)return pe;e=G(e)?e:e+"";let t=tn[e];if(t)return t;t=n(null);let r,o=0;const i=e.length;for(r=0;r<i;r++)32===D.call(e,r)&&(r>o&&(t[I.call(e,o,r)]=!0),o=r+1);return r>o&&(t[I.call(e,o,r)]=!0),tn[e]=t,t}function rn(e,t,n,r){var o;o=t,yn.has(o)?vn(e,t,n,r):En(e,t,n,r)}function on(e,t,n,r){var o,i;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&pn(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:i}=t;i?En(e.children,o,n,r):vn(e.children,o,n,r);t.elm=o[o.length-1].elm}(e,t,n,r);break;case 2:!function(e,t,n){const r=t.elm=e.elm;mn(e,t,n),rn(e.children,t.children,r,n)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:r);break;case 3:!function(e,t,n,r){if(e.ctor!==t.ctor){const o=r.nextSibling(e.elm);cn(e,n,r,!0),ln(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;mn(e,t,r),H(o)||wn(t,o),rn(e.children,t.children,n,r),H(o)||function(e){sr(e)}(o)}}(e,t,n,null!==(i=t.data.renderer)&&void 0!==i?i:r)}}function sn(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);fn(s,o,r),hn(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);fn(s,o,r),hn(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);fn(l,o,r);const{renderMode:a,shadowMode:c}=o;s&&(1!==c&&0!==a||(l.$shadowStaticNode$=!0));hn(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;an(o,t,r,n),e.elm=o[o.length-1].elm}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:i,data:{svg:s}}=e,{createElement:l}=r,a=V(s)?"http://www.w3.org/2000/svg":void 0,c=e.elm=l(o,a);fn(c,i,r),gn(c,i,r),function(e,t){var n;const{owner:r,data:{context:o}}=t;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(c,e),mn(null,e,r),hn(c,t,n,r),an(e.children,c,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:ln(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function ln(e,t,n,r){const{sel:o,owner:i}=e,{createCustomElement:s}=r;let l;const a=s(o.toLowerCase(),(t=>{l=function(e,t,n){let r=ir(e);if(!H(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;return r=nr(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}),(e=>{fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&Zn(e)}),(e=>{fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&er(e)}));e.elm=a,e.vm=l,fn(a,i,r),gn(a,i,r),l&&wn(e,l),mn(null,e,r),hn(a,t,n,r),l&&lr(l),an(e.children,a,r,null),l&&function(e){sr(e)}(l)}function an(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];dn(i)&&sn(i,t,n,r)}}function cn(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&(5===o?un(e.children,t,n,r):function(e,t,n){n.remove(e,t)}(i,t,n)),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;un(e.children,i,n,t);break}case 3:{const{vm:t}=e;H(t)||function(e){tr(e)}(t)}}}function un(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];dn(i)&&cn(i,t,n,r)}}function dn(e){return null!=e}function fn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function pn(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function hn(e,t,n,r){r.insert(e,t,n)}function mn(e,n,r){B(e)&&(function(e,t){const{elm:n,data:{on:r}}=e;if(H(r))return;const{addEventListener:o}=t;for(const e in r)o(n,e,r[e])}(n,r),function(e,t){const{elm:n,data:{classMap:r}}=e;if(H(r))return;const{getClassList:o}=t,i=o(n);for(const e in r)i.add(e)}(n,r),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(H(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,i,s]=r[e];o(n,t,i,s)}}(n,r)),function(e,t,n){const{elm:r,data:{className:o}}=t,i=B(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),a=nn(o),c=nn(i);let u;for(u in c)H(a[u])&&l.remove(u);for(u in a)H(c[u])&&l.add(u)}(e,n,r),function(e,t,n){const{elm:r,data:{style:o}}=t;if((B(e)?void 0:e.data.style)===o)return;const{setAttribute:i,removeAttribute:s}=n;G(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,n,r),function(e,t,n){const{attrs:r}=t.data;if(H(r))return;const o=B(e)?pe:e.data.attrs;if(o===r)return;const{elm:i}=t,{setAttribute:s,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(Le(i,e),58===D.call(e,3)?s(i,e,t,"http://www.w3.org/XML/1998/namespace"):58===D.call(e,5)?s(i,e,t,"http://www.w3.org/1999/xlink"):B(t)||H(t)?l(i,e):s(i,e,t),_e())}}(e,n,r),function(e,n,r){let{props:o}=n.data;const{spread:i}=n.data;if(H(o)&&H(i))return;let s;if(!B(e)){s=e.data.props;const n=e.data.spread;if(s===o&&n===i)return;H(s)&&(s=pe),H(n)||(s=t({},s,n))}H(i)||(o=t({},o,i));const l=B(e),{elm:a,sel:c}=n,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(en(c,e)?u(a,e):s[e])&&e in s||d(a,e,t)}}(e,n,r)}function gn(e,t,n){const r=function(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}(t);if(!B(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||H(o)||(e.$shadowToken$=o)}function wn(e,t){const r=e.aChildren||e.children;t.aChildren=r;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t,r){var o,i;const{cmpSlots:{slotAssignments:s}}=e,l=n(null);e.cmpSlots={owner:r,slotAssignments:l};for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(B(n))continue;let r="";Jt(n)?r=null!==(i=null===(o=n.data.attrs)||void 0===o?void 0:o.slot)&&void 0!==i?i:"":Zt(n)&&(r=n.slotName);const s=l[r]=l[r]||[];k.call(s,n)}if(j(e.isDirty)){const t=d(s);if(t.length!==d(l).length)return void jn(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(H(l[r])||s[r].length!==l[r].length)return void jn(e);const o=s[r],i=l[r];for(let t=0,n=l[r].length;t<n;t+=1)if(o[t]!==i[t])return void jn(e)}}}(t,r,e.owner),e.aChildren=r,e.children=he)}const yn=new WeakMap;function bn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(dn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function vn(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;)dn(l)?dn(a)?dn(m)?dn(g)?Qt(l,m)?(on(l,m,n,r),l=e[++o],m=t[++i]):Qt(a,g)?(on(a,g,n,r),a=e[--s],g=t[--h]):Qt(l,g)?(on(l,g,n,r),hn(l.elm,n,r.nextSibling(a.elm),r),l=e[++o],g=t[--h]):Qt(a,m)?(on(a,m,n,r),hn(m.elm,n,l.elm,r),a=e[--s],m=t[++i]):(void 0===u&&(u=bn(e,o,s)),d=u[m.key],H(d)?(sn(m,n,r,l.elm),m=t[++i]):(f=e[d],dn(f)&&(f.sel!==m.sel?sn(m,n,r,l.elm):(on(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,hn(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(!dn(e)&&o<c);p=dn(e)?e.elm:null,an(t,n,r,p,i,h+1)}else un(e,n,r,!0,o,s+1)}function En(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void an(t,n,r,null);if(0===i)return void un(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&&(dn(i)?dn(l)?(on(i,l,n,r),s=l.elm):cn(i,n,r,!0):dn(l)&&(sn(l,n,r,s),s=l.elm))}}const Cn=Symbol.iterator;function Sn(e,t,n=he){const r=_n(),{key:o,ref:i}=t,s={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return H(i)||me(r,i,s),s}function kn(e,t,n,r=he){const o=_n(),{key:i,ref:s}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:i,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){k.call(_n().velements,e)}(l),H(s)||me(o,s,l),l}function Tn(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:_n()}}function Mn(e){var t;return t=e,yn.set(t,1),e}let xn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const An=i({s:function(e,t,n,r){H(r)||H(r.slotAssignments)||H(r.slotAssignments[e])||0===r.slotAssignments[e].length||(n=r.slotAssignments[e].reduce(((e,n)=>{if(n){const o=Zt(n);if(o!==!H(t.slotData))return e;if(o){const o=_n();let i=[];Ln(r.owner);try{i=n.factory(t.slotData)}finally{Ln(o)}return m.call(e,i)}return m.call(e,n)}return e}),[]));const o=_n(),{renderMode:i,shadowMode:s}=o;return 0===i?(Mn(n),n):(1===s&&Mn(n),Sn("slot",t,n))},h:Sn,c:kn,i:function(e,t){const n=[];if(Mn(n),H(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=[];Mn(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:Tn,d:function(e){return null==e?"":String(e)},b:function(e){const t=_n();if(B(t))throw new Error;const n=t;return function(t){Hn(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:"c",owner:_n()}},dc:function(e,t,n,r=he){if(null==t)return null;if(!Wt(t))throw new Error(`Invalid LWC Constructor ${z(t)} for custom element <${e}>.`);return kn(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[Tn(""),...t,Tn("")],stable:n,owner:_n()}},ti:function(e){return e>0&&!(V(e)||j(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:_n()}},gid:function(e){const t=_n();if(H(e)||""===e)return e;if(B(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?R.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=_n();if(H(e)||""===e)return e;if(B(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return xn(e)},ssf:function(e,t){return{type:6,factory:t,owner:_n(),elm:void 0,sel:void 0,key:void 0,slotName:e}}});let Nn=!1,On=null;function _n(){return On}function Ln(e){On=e}const $n=(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}=_n(),l=!H(o),a=1===i;let c=0;if(l&&n&&(c|=1),l&&a&&(c|=2),!H(r[c]))return r[c];const u=n&&l?" "+o:"",d=n&&l?` class="${o}"`:"",f=l&&a?" "+o:"";let p="";for(let n=0,r=t.length;n<r;n++)switch(t[n]){case 0:p+=e[n]+u;break;case 1:p+=e[n]+d;break;case 2:p+=e[n]+f;break;case 3:p+=e[n]+d+f}return p+=e[e.length-1],r[c]=Pn(p,s),r[c]}});var Pn;function Dn(e,t){const r=Nn,o=On;let i=[];return fr(e,e.owner,(()=>{On=e}),(()=>{const{component:r,context:o,cmpSlots:s,cmpTemplate:l,tro:a}=e;a.observe((()=>{if(t!==l){if(B(l)||dr(e),a=t,!_t.has(a))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${z(t)}.`);e.cmpTemplate=t,o.tplCache=n(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!H(t))for(let e=0;e<t.length;e++)if(V(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i,renderer:{getClassList:s,removeAttribute:l,setAttribute:a}}=e,{stylesheets:c,stylesheetToken:u}=t,d=1===o&&1===i,{hasScopedStyles:f}=r;let p,h,m;const{stylesheetToken:g,hasTokenInClass:w,hasTokenInAttribute:y}=r;H(g)||(w&&s(n).remove(Kt(g)),y&&l(n,Kt(g))),H(c)||0===c.length||(p=u),H(p)||(f&&(s(n).add(Kt(p)),h=!0),d&&(a(n,Kt(p),""),m=!0)),r.stylesheetToken=p,r.hasTokenInClass=h,r.hasTokenInAttribute=m}(e,t);const r=Yt(e,t);o.styleVNodes=0===r.length?null:function(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1!==n||1!==r)return C.call(t,zt);for(let e=0;e<t.length;e++)o(t[e]);return null}(e,r)}var a;const c=Boolean(t.hasRefs);e.hasRefVNodes=c,e.refVNodes=c?n(null):null,e.velements=[],Nn=!0,i=t.call(void 0,An,r,s,o.tplCache);const{styleVNodes:u}=o;B(u)||L.apply(i,u)}))}),(()=>{Nn=r,On=o})),i}let Rn=null;function In(e){return Rn===e}function Fn(e,t,n){const{component:r,callHook:o,owner:i}=e;fr(e,i,U,(()=>{o(r,t,n)}),U)}function Hn(e,t,n,r){const{callHook:o,owner:i}=e;fr(e,i,U,(()=>{o(n,t,[r])}),U)}const Bn=new Map;function Vn(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=_n();let s,l=!1;return fr(e,o,(()=>{Ln(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{Ln(i)})),l?Dn(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function jn(e){e.isDirty=!0}const Wn=new WeakMap;function Gn(e,t){if(!W(t))throw new TypeError;let n=Wn.get(t);return H(n)&&(n=function(n){Hn(e,t,void 0,n)},Wn.set(t,n)),n}const Un=n(null),Kn=["rendered","connected","disconnected"];function zn(e,t){const{component:n,def:r,context:o}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},r,o)}let qn=0;const Yn=new WeakMap;function Xn(e,t,n=[]){return t.apply(e,n)}function Jn(e,t,n){e[t]=n}function Qn(e,t){return e[t]}function Zn(e){const t=or(e);1===t.state&&er(e),lr(t),sr(t)}function er(e){tr(or(e))}function tr(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}=Un;t&&zn(e,t);ar(e)&&function(e){const{wiredDisconnecting:t}=e.context;fr(e,e,U,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),U)}(e);const{disconnectedCallback:n}=e.def;H(n)||Fn(e,n)}(e),cr(e),function(e){const{aChildren:t}=e;ur(t)}(e)}}function nr(e,t,r,o){const{mode:i,owner:s,tagName:l,hydrated:a}=o,c=Gt(t),u={elm:e,def:c,idx:qn++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,refVNodes:null,hasRefVNodes:!1,children:he,aChildren:he,velements:he,cmpProps:n(null),cmpFields:n(null),cmpSlots:{slotAssignments:n(null)},oar:n(null),cmpTemplate:null,hydrated:Boolean(a),renderMode:c.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:pe,wiredConnecting:he,wiredDisconnecting:he},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:Xn,setHook:Jn,getHook:Qn,renderer:r};return u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let i;if(r)if(0===n.renderMode)i=0;else if(o)if(fe.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!B(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=B(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,r),u.tro=ye(),function(e,t){const n=Rn;let r;Rn=e;try{const o=new t;if(Rn.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Rn=n,!H(r))throw ve(e,r),r}}(u,c.ctor),ar(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=pr.get(i);if(!H(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=mr(e,t,s),a=s.dynamic.length>0;k.call(r,(()=>{n.connect(),fe.ENABLE_WIRE_SYNC_EMIT||!a?i():Promise.resolve().then(i)})),k.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function rr(e,t){Yn.set(e,t)}function or(e){return Yn.get(e)}function ir(e){return Yn.get(e)}function sr(e){if(V(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&fr(e,e,(()=>{}),(()=>{rn(r,t,n,o)}),(()=>{}));e.state}(e,Vn(e))}}function lr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Un;n&&zn(e,n),ar(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;H(r)||Fn(e,r)}function ar(e){return l(e.def.wire).length>0}function cr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!H(n)){const e=ir(n);H(e)||tr(e)}}}function ur(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!B(n)&&!H(n.elm))switch(n.type){case 2:ur(n.children);break;case 3:tr(or(n.elm));break}}}function dr(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];B(o)||H(o.elm)||r(o.elm,n)}e.children=he,cr(e),e.velements=he}function fr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!H(i)){ve(e,i);const n=B(t)?void 0:function(e){let t=e;for(;!B(t);){if(!H(t.def.errorCallback))return t;t=t.owner}}(t);if(H(n))throw i;dr(e);Fn(n,n.def.errorCallback,[i,i.wcStack])}}}const pr=new Map;class hr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function mr(e,t,n){const{method:r,adapter:i,configCallback:s,dynamic:l}=n,a=H(r)?function(e,t){return n=>{Pe(e,t,n)}}(e,t):function(e,t){return n=>{fr(e,e.owner,U,(()=>{t.call(e.component,n)}),U)}}(e,r);let c,u;o(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),o(a,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),fr(e,e,U,(()=>{u=new i(a)}),U);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){const r=ye();return{computeConfigAndUpdate:()=>{let o;r.observe((()=>o=t(e))),n(o)},ro:r}}(e.component,s,(t=>{fr(e,e,U,(()=>{u.update(t,c)}),U)}));return H(i.contextSchema)||function(e,t,n){const{adapter:r}=t,o=wr(r);if(H(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{dispatchEvent:a}}=e;k.call(s,(()=>{const e=new hr(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 gr=new Map;function wr(e){return gr.get(e)}function yr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};pr.set(e,o)}function br(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};pr.set(e,o)}let vr=!1;const Er=Symbol("namespace"),Cr=Symbol("type"),Sr=Symbol("parent"),kr=Symbol("shadow-root"),Tr=Symbol("children"),Mr=Symbol("attributes"),xr=Symbol("event-listeners"),Ar=Symbol("value");var Nr;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(Nr||(Nr={}));const Or=/\s+/g;function _r(e){return new Set(e.split(Or).filter((e=>e.length)))}function Lr(e){return Array.from(e).join(" ")}function $r(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function Pr(e,t){return{[Cr]:Nr.Element,tagName:e,[Er]:null!=t?t:ee,[Sr]:null,[kr]:null,[Tr]:[],[Mr]:[],[xr]:{}}}function Dr(e,t,n=null){const r=e[Mr].find((e=>e.name===t&&e[Er]===n));return r?r.value:null}function Rr(e,t,n,r=null){const o=e[Mr].find((e=>e.name===t&&e[Er]===r));H(r)&&(r=null),H(o)?e[Mr].push({name:t,[Er]:r,value:String(n)}):o.value=n}function Ir(e,t,n){e[Mr]=e[Mr].filter((e=>e.name!==t&&e[Er]!==n))}const Fr=U,Hr=U,Br=U,Vr=$r("dispatchEvent"),jr=$r("getBoundingClientRect"),Wr=$r("querySelector"),Gr=$r("querySelectorAll"),Ur=$r("getElementsByTagName"),Kr=$r("getElementsByClassName"),zr=$r("getChildren"),qr=$r("getChildNodes"),Yr=$r("getFirstChild"),Xr=$r("getFirstElementChild"),Jr=$r("getLastChild"),Qr=$r("getLastElementChild"),Zr=U,eo=new Map;function to(e){let t=eo.get(e);return H(t)?(t=function(e){return function(t){const n=Pr(e);return W(t)&&t(n),n}}(e),eo.set(e,t),t):t}const no={isNativeShadowDefined:!1,isSyntheticShadowDefined:!1,insert:function(e,t,n){const r=e[Sr];if(null!==r&&r!==t){const t=r[Tr].indexOf(e);r[Tr].splice(t,1)}e[Sr]=t;const o=B(n)?-1:t[Tr].indexOf(n);-1===o?t[Tr].push(e):t[Tr].splice(o,0,e)},remove:function(e,t){const n=t[Tr].indexOf(e);t[Tr].splice(n,1)},cloneNode:function(e){return e},createFragment:function(e){return{[Cr]:Nr.Raw,[Sr]:null,[Ar]:e}},createElement:Pr,createText:function(e){return{[Cr]:Nr.Text,[Ar]:String(e),[Sr]:null}},createComment:function(e){return{[Cr]:Nr.Comment,[Ar]:e,[Sr]:null}},createCustomElement:function(e,t){return new(to(e))(t)},nextSibling:function(e){const t=e[Sr];if(B(t))return null;const n=t[Tr].indexOf(e);return t[Tr][n+1]||null},attachShadow:function(e,t){return e[kr]={[Cr]:Nr.ShadowRoot,[Tr]:[],mode:t.mode,delegatesFocus:!!t.delegatesFocus},e[kr]},getProperty:function(e,t){var n,r;if(t in e)return e[t];if(e[Cr]===Nr.Element){const o=ae(t);if(re(o,e.tagName))return null!==(n=Dr(e,o))&&void 0!==n&&n;if(ie(o)||Q(o))return Dr(e,o);if("input"===e.tagName&&"value"===t)return null!==(r=Dr(e,"value"))&&void 0!==r?r:""}},setProperty:function(e,t,n){if(t in e)return e[t]=n;if(e[Cr]===Nr.Element){const r=ae(t);if("innerHTML"===t)return void(e[Tr]=[{[Cr]:Nr.Raw,[Sr]:e,[Ar]:n}]);if(re(r,e.tagName))return!0===n?Rr(e,r,""):Ir(e,r);if(ie(r)||Q(r))return Rr(e,r,n);if("input"===e.tagName&&"value"===r)return B(n)||H(n)?Ir(e,"value"):Rr(e,"value",n)}},setText:function(e,t){e[Cr]===Nr.Text?e[Ar]=t:e[Cr]===Nr.Element&&(e[Tr]=[{[Cr]:Nr.Text,[Sr]:e,[Ar]:t}])},getAttribute:Dr,setAttribute:Rr,removeAttribute:Ir,addEventListener:Hr,removeEventListener:Br,dispatchEvent:Vr,getClassList:function(e){function t(){let t=e[Mr].find((e=>"class"===e.name&&B(e[Er])));return H(t)&&(t={name:"class",[Er]:null,value:""},e[Mr].push(t)),t}return{add(...e){const n=t(),r=_r(n.value);e.forEach((e=>r.add(e))),n.value=Lr(r)},remove(...e){const n=t(),r=_r(n.value);e.forEach((e=>r.delete(e))),n.value=Lr(r)}}},setCSSStyleProperty:function(e,t,n,r){const o=e[Mr].find((e=>"style"===e.name&&B(e[Er]))),i=`${t}: ${n}${r?" !important":""}`;H(o)?e[Mr].push({name:"style",[Er]:null,value:i}):o.value+=`; ${i}`},getBoundingClientRect:jr,querySelector:Wr,querySelectorAll:Gr,getElementsByTagName:Ur,getElementsByClassName:Kr,getChildren:zr,getChildNodes:qr,getFirstChild:Yr,getFirstElementChild:Xr,getLastChild:Jr,getLastElementChild:Qr,isConnected:function(e){return!B(e[Sr])},insertStylesheet:Fr,assertInstanceOfHTMLElement:Zr};function ro(e){return e.map((e=>{switch(e[Cr]){case Nr.Text:return""===e[Ar]?"":ue(e[Ar]);case Nr.Comment:return`\x3c!--${ue(e[Ar])}--\x3e`;case Nr.Raw:return e[Ar];case Nr.Element:return oo(e)}})).join("")}function oo(e){let t="";const n=e.tagName,r=e[Er],o=r!==ee,i=e[Tr].length>0;var s;return t+=`<${n}${e[Mr].length?` ${s=e[Mr],s.map((e=>e.value.length?`${e.name}="${ue(e.value,!0)}"`:e.name)).join(" ")}`:""}`,o&&!i?(t+="/>",t):(t+=">",e[kr]&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${ro(e[Tr])}</template>`}(e[kr])),t+=ro(e[Tr]),function(e,t){return t===ee&&te.has(e.toLowerCase())}(n,r)&&!i||(t+=`</${n}>`),t)}const io={[Cr]:Nr.Element,tagName:"fake-root-element",[Er]:ee,[Sr]:null,[kr]:null,[Tr]:[],[Mr]:[],[xr]:{}};i(yt),f(yt.prototype),exports.LightningElement=yt,exports.api=function(){throw new Error},exports.createContextProvider=function(e){let t=wr(e);if(!H(t))throw new Error("Adapter already has a context provider.");t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),function(e,t){gr.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:i}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{H(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},exports.freezeTemplate=function(e){},exports.getComponentDef=function(e){const t=Gt(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,l={};for(const e in o)l[e]={config:i[e]||0,type:"any",attr:ae(e)};const a={};for(const e in s)a[e]=s[e].value;return{ctor:n,name:r,props:l,methods:a}},exports.isComponentConstructor=Wt,exports.parseFragment=$n,exports.parseSVGFragment=$n,exports.readonly=function(e){return ht(e)},exports.register=function(e){for(let t=0;t<Kn.length;++t){const n=Kn[t];if(n in e){let t=Un[n];H(t)&&(Un[n]=t=[]),k.call(t,e[n])}}},exports.registerComponent=function(e,{tmpl:t}){return W(e)&&Bn.set(e,t),e},exports.registerDecorators=function(e,t){const r=e.prototype,{publicProps:i,publicMethods:l,wire:a,track:c,fields:u}=t,d=n(null),f=n(null),p=n(null),h=n(null),m=n(null),g=n(null);let w;if(!H(i))for(const e in i){const t=i[e];if(g[e]=t.config,w=s(r,e),t.config>0){if(H(w))throw new Error;w=Mt(e,w)}else w=H(w)||H(w.get)?Tt(e):Mt(e,w);f[e]=w,o(r,e,w)}if(H(l)||$.call(l,(e=>{if(w=s(r,e),H(w))throw new Error;d[e]=w})),!H(a))for(const e in a){const{adapter:t,method:n,config:i,dynamic:l=[]}=a[e];if(w=s(r,e),1===n){if(H(w))throw new Error;p[e]=w,yr(w,t,i,l)}else w=At(e),h[e]=w,br(w,t,i,l),o(r,e,w)}if(!H(c))for(const e in c)w=s(r,e),w=xt(e),o(r,e,w);if(!H(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=s(r,t);const n=!H(i)&&t in i,o=!H(c)&&t in c;n||o||(m[t]=St(t))}return function(e,t){Nt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:p,wiredFields:h,observedFields:m}),e},exports.registerTemplate=function(e){return _t.add(e),o(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return H(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=H(e)?void 0:e.shadowAttribute}}),e},exports.renderComponent=function(e,t,n={}){if(!G(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!W(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||B(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=no.createElement(e);nr(r,t,no,{mode:"open",owner:null,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r[Sr]=io,Zn(r),oo(r)},exports.renderer=no,exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(H(de[e])){const n=d(de).map((e=>`"${e}"`)).join(", ");console.warn(`Failed to set the value "${t}" for the runtime feature flag "${e}" because it is undefined. Available flags: ${n}.`)}else{const n=fe[e];if(!H(n))return void console.error(`Failed to set the value "${t}" for the runtime feature flag "${e}". "${e}" has already been set with the value "${n}".`);o(fe,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},exports.setFeatureFlagForTest=function(e,t){},exports.setHooks=function(t){var n;e.isFalse(vr,"Hooks are already overridden, only one definition is allowed."),vr=!0,n=t.sanitizeHtmlContent,xn=n},exports.track=function(e){if(1===arguments.length)return e;throw new Error},exports.unwrap=function(e){return e},exports.wire=function(e,t){throw new Error};
|
|
1
|
+
"use strict";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,{concat:m,copyWithin:g,fill:w,filter:y,find:b,indexOf:v,join:E,map:C,pop:S,push:k,reduce:T,reverse:M,shift:x,slice:A,some:N,sort:O,splice:_,unshift:L,forEach:$}=Array.prototype,{fromCharCode:P}=String,{charCodeAt:D,replace:R,slice:I,toLowerCase:F}=String.prototype;function H(e){return void 0===e}function B(e){return null===e}function V(e){return!0===e}function j(e){return!1===e}function W(e){return"function"==typeof e}function G(e){return"string"==typeof e}function U(){}const K={}.toString;function z(e){return e&&e.toString?h(e)?E.call(C.call(e,z),","):e.toString():"object"==typeof e?K.call(e):e+""}function q(e,t){do{const n=s(e,t);if(!H(n))return n;e=a(e)}while(null!==e)}const Y=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],{AriaAttrNameToPropNameMap:X,AriaPropNameToAttrNameMap:J}=(()=>{const e=n(null),t=n(null);return $.call(Y,(n=>{const r=F.call(R.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})();function Q(e){return e in X}const Z=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),ee="http://www.w3.org/1999/xhtml",te=new Set(["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr","param","keygen","menuitem"]);const ne=new Map([["autofocus",new Set(["button","input","keygen","select","textarea"])],["autoplay",new Set(["audio","video"])],["checked",new Set(["command","input"])],["disabled",new Set(["button","command","fieldset","input","keygen","optgroup","select","textarea"])],["formnovalidate",new Set(["button"])],["hidden",new Set],["loop",new Set(["audio","bgsound","marquee","video"])],["multiple",new Set(["input","select"])],["muted",new Set(["audio","video"])],["novalidate",new Set(["form"])],["open",new Set(["details"])],["readonly",new Set(["input","textarea"])],["required",new Set(["input","select","textarea"])],["reversed",new Set(["ol"])],["selected",new Set(["option"])]]);function re(e,t){const n=ne.get(e);return void 0!==n&&(0===n.size||n.has(t))}const oe=new Set(["accesskey","autocapitalize","autofocus","class","contenteditable","contextmenu","dir","draggable","enterkeyhint","exportparts","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","part","slot","spellcheck","style","tabindex","title","translate"]);function ie(e){return oe.has(e)}const se=new Map([["accessKey","accesskey"],["readOnly","readonly"],["tabIndex","tabindex"],["bgColor","bgcolor"],["colSpan","colspan"],["rowSpan","rowspan"],["contentEditable","contenteditable"],["crossOrigin","crossorigin"],["dateTime","datetime"],["formAction","formaction"],["isMap","ismap"],["maxLength","maxlength"],["minLength","minlength"],["noValidate","novalidate"],["useMap","usemap"],["htmlFor","for"]]),le=new Map;function ae(e){const t=J[e];if(!H(t))return t;const n=se.get(e);if(!H(n))return n;const r=le.get(e);if(!H(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=D.call(e,t);o+=n>=65&&n<=90?"-"+P(n+32):P(n)}return le.set(e,o),o}const ce={'"':""","'":"'","<":"<",">":">","&":"&"};function ue(e,t=!1){const n=t?/["&]/g:/["'<>&]/g;return e.replace(n,(e=>ce[e]))}if("function"!=typeof Event){class e{}o(Z,"Event",{value:e,configurable:!0,writable:!0})}if("function"!=typeof CustomEvent){class e extends Event{}o(Z,"CustomEvent",{value:e,configurable:!0,writable:!0})}const de={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null,ENABLE_LIGHT_GET_ROOT_NODE_PATCH:null,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null,ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY:null};Z.lwcRuntimeFlags||Object.defineProperty(Z,"lwcRuntimeFlags",{value:n(null)});const fe=Z.lwcRuntimeFlags;const pe=f(n(null)),he=f([]);function me(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}const ge=new WeakMap;const we={observe(e){e()},reset(){},link(){}};function ye(e){return we}function be(e){return`<${F.call(e.tagName)}>`}function ve(e,t){if(!u(t)&&H(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!B(n);)k.call(t,be(n)),n=n.owner;return t.reverse().join("\n\t")}(e);o(t,"wcStack",{get:()=>n})}}function Ee(e,t,n){let r=`[LWC ${e}]: ${t}`;H(n)||(r=`${r}\n${function(e){const t=[];let n="";for(;!B(e.owner);)k.call(t,n+be(e)),e=e.owner,n+="\t";return E.call(t,"\n")}(n)}`);try{throw new Error(r)}catch(t){console[e](t)}}function Ce(e,t){Ee("error",e,t)}function Se(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function ke(e){return W(e)&&c.call(e,"__circular__")}const Te="undefined"!=typeof HTMLElement?HTMLElement:function(){},Me=Te.prototype;function xe(e){return`Using the \`${e}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}t(n(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:xe("offsetHeight")},offsetLeft:{readOnly:!0,error:xe("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:xe("offsetTop")},offsetWidth:{readOnly:!0,error:xe("offsetWidth")},role:{attribute:"role"}});let Ae,Ne=null;function Oe(e,t){return e!==Ne||t!==Ae}function _e(e,t){Ne=null,Ae=void 0}function Le(e,t){Ne=e,Ae=t}const $e=n(null);function Pe(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n)}$.call(d(J),(e=>{const t=q(Me,e);H(t)||($e[e]=t)})),$.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=q(Me,e);H(t)||($e[e]=t)}));const{isArray:De}=Array,{prototype:Re,getPrototypeOf:Ie,create:Fe,defineProperty:He,isExtensible:Be,getOwnPropertyDescriptor:Ve,getOwnPropertyNames:je,getOwnPropertySymbols:We,preventExtensions:Ge,hasOwnProperty:Ue}=Object,{push:Ke,concat:ze}=Array.prototype;function qe(e){return void 0===e}function Ye(e){return"function"==typeof e}const Xe=new WeakMap;function Je(e,t){Xe.set(e,t)}const Qe=e=>Xe.get(e)||e;class Ze{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(Ue.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;qe(n)||(e.get=this.wrapGetter(n)),qe(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=Ve(n,t);if(!qe(r)){const n=this.wrapDescriptor(r);He(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;ze.call(je(t),We(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;qe(n)||Ue.call(e,n)||He(e,n,Fe(null)),Ge(e)}apply(e,t,n){}construct(e,t,n){}get(e,t){const{originalTarget:n,membrane:{valueObserved:r}}=this,o=n[t];return r(n,t),this.wrapValue(o)}has(e,t){const{originalTarget:n,membrane:{tagPropertyKey:r,valueObserved:o}}=this;return o(n,t),t in n||t===r}ownKeys(e){const{originalTarget:t,membrane:{tagPropertyKey:n}}=this,r=qe(n)||Ue.call(t,n)?[]:[n];return Ke.apply(r,je(t)),Ke.apply(r,We(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!Be(e)&&(!!Be(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return Ie(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=Ve(n,t);if(qe(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},He(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const et=new WeakMap,tt=new WeakMap,nt=new WeakMap,rt=new WeakMap;class ot extends Ze{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=et.get(e);if(!qe(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Qe(this)))};return et.set(e,r),nt.set(r,e),r}wrapSetter(e){const t=tt.get(e);if(!qe(t))return t;const n=function(t){e.call(Qe(this),Qe(t))};return tt.set(e,n),rt.set(n,e),n}unwrapDescriptor(e){if(Ue.call(e,"value"))e.value=Qe(e.value);else{const{set:t,get:n}=e;qe(n)||(e.get=this.unwrapGetter(n)),qe(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=nt.get(e);if(!qe(t))return t;const n=this,r=function(){return Qe(e.call(n.wrapValue(this)))};return et.set(r,e),nt.set(e,r),r}unwrapSetter(e){const t=rt.get(e);if(!qe(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return tt.set(r,e),rt.set(e,r),r}set(e,t,n){const{originalTarget:r,membrane:{valueMutated:o}}=this;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&De(r)&&o(r,t),!0}deleteProperty(e,t){const{originalTarget:n,membrane:{valueMutated:r}}=this;return delete n[t],r(n,t),!0}setPrototypeOf(e,t){}preventExtensions(e){if(Be(e)){const{originalTarget:t}=this;if(Ge(t),Be(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!Ue.call(r,t)||(He(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const it=new WeakMap,st=new WeakMap;class lt extends Ze{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=it.get(e);if(!qe(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Qe(this)))};return it.set(e,r),r}wrapSetter(e){const t=st.get(e);if(!qe(t))return t;const n=function(e){};return st.set(e,n),n}set(e,t,n){return!1}deleteProperty(e,t){return!1}setPrototypeOf(e,t){}preventExtensions(e){return!1}defineProperty(e,t,n){return!1}}function at(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(De(e))return!0;const t=Ie(e);return t===Re||null===t||null===Ie(t)}const ct=(e,t)=>{},ut=(e,t)=>{};function dt(e){return De(e)?[]:{}}const ft=Symbol.for("@@lockerLiveValue"),pt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=Ye(t)?t:ut,this.valueObserved=Ye(n)?n:ct,this.valueIsObservable=Ye(r)?r:at,this.tagPropertyKey=o}getProxy(e){const t=Qe(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=Qe(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return Qe(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(qe(t)){const n=new ot(this,e);t=new Proxy(dt(e),n),Je(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(qe(t)){const n=new lt(this,e);t=new Proxy(dt(e),n),Je(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:function(e,t){},valueMutated:function(e,t){const n=ge.get(e);if(!H(n)){const e=n[t];if(!H(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}},tagPropertyKey:ft});function ht(e){return pt.getReadOnlyProxy(e)}function mt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!W(n))throw new TypeError;if(!W(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const e=sr(this);if(!Hn(e))return n.call(e.elm)},set(t){const n=sr(this);return Pe(n,e,t),r.call(n.elm,t)}}}const gt=i(n(null)),wt=new WeakMap,yt=function(){if(B(Fn))throw new TypeError("Illegal constructor");const e=Fn,{def:t,elm:n}=e,{bridge:r}=t,o=this;if(p(n,r.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return ir(o,e),ir(n,e),1===e.renderMode?e.renderRoot=bt(e):e.renderRoot=n,this};function bt(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:i}}=e,s=i(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=s,ir(s,e),s}yt.prototype={constructor:yt,dispatchEvent(e){const t=sr(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=sr(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,Kn(r,t),n)},removeEventListener(e,t,n){const r=sr(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,Kn(r,t),n)},hasAttribute(e){const t=sr(this),{elm:n,renderer:{getAttribute:r}}=t;return!B(r(n,e))},hasAttributeNS(e,t){const n=sr(this),{elm:r,renderer:{getAttribute:o}}=n;return!B(o(r,t,e))},removeAttribute(e){const t=sr(this),{elm:n,renderer:{removeAttribute:r}}=t;Le(n,e),r(n,e),_e()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=sr(this);Le(n,t),r(n,t,e),_e()},getAttribute(e){const t=sr(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=sr(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=sr(this),{elm:r,renderer:{setAttribute:o}}=n;Le(r,e),o(r,e,t),_e()},setAttributeNS(e,t,n){const r=sr(this),{elm:o,renderer:{setAttribute:i}}=r;Le(o,t),i(o,t,n,e),_e()},getBoundingClientRect(){const e=sr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=sr(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=sr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return sr(this).shadowRoot},get refs(){const e=sr(this);if(_n)return;const{refVNodes:t,hasRefVNodes:r,cmpTemplate:o}=e;if(!r)return;if(B(t))return gt;let s=wt.get(t);if(H(s)){s=n(null);for(const e of d(t))s[e]=t[e].elm;i(s),wt.set(t,s)}return s},set refs(e){o(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=sr(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=sr(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=sr(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=sr(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=sr(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=sr(this);return e.renderer.getLastElementChild(e.elm)},render(){return sr(this).def.template},toString(){return`[object ${sr(this).def.name}]`}};const vt=n(null),Et=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of Et)vt[e]={value(t){const n=sr(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};r(yt.prototype,vt);const Ct=n(null);for(const e in $e)Ct[e]=mt(e,$e[e]);function St(e){return{get(){return sr(this).cmpFields[e]},set(t){Pe(sr(this),e,t)},enumerable:!0,configurable:!0}}r(yt.prototype,Ct),o(yt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const kt={observe(e){e()},reset(){},link(){}};function Tt(e){return{get(){const t=sr(this);if(!Hn(t))return t.cmpProps[e]},set(t){sr(this).cmpProps[e]=t},enumerable:!0,configurable:!0}}function Mt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!W(n))throw new Error;return{get(){return n.call(this)},set(t){const n=sr(this);if(r)if(fe.ENABLE_REACTIVE_SETTER){let o=n.oar[e];H(o)&&(o=n.oar[e]=kt),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function xt(e){return{get(){return sr(this).cmpFields[e]},set(t){Pe(sr(this),e,t)},enumerable:!0,configurable:!0}}function At(e){return{get(){return sr(this).cmpFields[e]},set(t){Pe(sr(this),e,t)},enumerable:!0,configurable:!0}}const Nt=new Map;const Ot={apiMethods:pe,apiFields:pe,apiFieldsConfig:pe,wiredMethods:pe,wiredFields:pe,observedFields:pe};const _t=new Set;function Lt(){return[]}_t.add(Lt);const $t=n(null),Pt=n(null);function Dt(e){let t=$t[e];return H(t)&&(t=$t[e]=function(){const t=sr(this),{getHook:n}=t;return n(t.component,e)}),t}function Rt(e){let t=Pt[e];return H(t)&&(t=Pt[e]=function(t){const n=sr(this),{setHook:r}=n;t=ht(t),r(n.component,e,t)}),t}function It(e){return function(){const t=sr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,A.call(arguments))}}function Ft(e,t){return function(n,r,o){if(r===o)return;const i=e[n];H(i)?H(t)||t.apply(this,arguments):Oe(this,n)&&(this[i]=o)}}function Ht(e,t,i){let s;W(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),o(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const l=n(null),{attributeChangedCallback:a}=e.prototype,{observedAttributes:c=[]}=e,u=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[ae(n)]=n,u[n]={get:Dt(n),set:Rt(n),enumerable:!0,configurable:!0}}for(let e=0,t=i.length;e<t;e+=1){const t=i[e];u[t]={value:It(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:Ft(l,a)},o(s,"observedAttributes",{get:()=>[...c,...d(l)]}),r(s.prototype,u),s}const Bt=Ht(Te,l($e),[]);i(Bt),f(Bt.prototype);const Vt=new WeakMap;function jt(e){const{shadowSupportMode:o,renderMode:i}=e,s=function(e){const t=Nt.get(e);return H(t)?Ot:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:f,wiredMethods:p,observedFields:h}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=a(e);if(B(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(ke(t)){const e=Se(t);t=e===t?yt:e}return t}(e),C=E!==yt?Gt(E):Ut,S=Ht(C.bridge,d(l),d(u)),k=t(n(null),C.props,l),T=t(n(null),C.propsConfig,c),M=t(n(null),C.methods,u),x=t(n(null),C.wire,f,p);g=g||C.connectedCallback,w=w||C.disconnectedCallback,y=y||C.renderedCallback,b=b||C.errorCallback,v=v||C.render;let A=C.shadowSupportMode;H(o)||(A=o);let N=C.renderMode;H(i)||(N="light"===i?0:1);const O=function(e){return jn.get(e)}(e)||C.template,_=e.name||C.name;r(m,h);return{ctor:e,name:_,wire:x,props:k,propsConfig:T,methods:M,bridge:S,template:O,renderMode:N,shadowSupportMode:A,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function Wt(e){if(!W(e))return!1;if(e.prototype instanceof yt)return!0;let t=e;do{if(ke(t)){const e=Se(t);if(e===t)return!0;t=e}if(t===yt)return!0}while(!B(t)&&(t=a(t)));return!1}function Gt(e){let t=Vt.get(e);if(H(t)){if(ke(e)){return t=Gt(Se(e)),Vt.set(e,t),t}if(!Wt(e))throw new TypeError(`${e} is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.`);t=jt(e),Vt.set(e,t)}return t}const Ut={ctor:yt,name:yt.name,props:Ct,propsConfig:pe,methods:pe,renderMode:1,shadowSupportMode:"reset",wire:pe,bridge:Bt,template:Lt,render:yt.prototype.render};function Kt(e){return`${e}-host`}function zt(e){return On.h("style",{key:"style",attrs:{type:"text/css"}},[On.t(e)])}function qt(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(h(s))k.apply(r,qt(s,t,n));else{const e=s.$scoped$;if(fe.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){Ce("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}const i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let a;1===n.renderMode?a=0===n.shadowMode:(H(o)&&(o=Xt(n)),a=B(o)||0===o.shadowMode),k.call(r,s(i,l,a))}}return r}function Yt(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return H(n)||0===n.length||(o=qt(n,r,e)),o}function Xt(e){let t=e;for(;!B(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Jt(e){const{type:t}=e;return 2===t||3===t}function Qt(e,t){return e.key===t.key&&e.sel===t.sel}function Zt(e){return 5===e.type}function en(e){return 6===e.type}function tn(e,t){return"input"===e&&("value"===t||"checked"===t)}const nn=n(null);function rn(e){if(null==e)return pe;e=G(e)?e:e+"";let t=nn[e];if(t)return t;t=n(null);let r,o=0;const i=e.length;for(r=0;r<i;r++)32===D.call(e,r)&&(r>o&&(t[I.call(e,o,r)]=!0),o=r+1);return r>o&&(t[I.call(e,o,r)]=!0),nn[e]=t,t}function on(e,t,n,r){var o;o=t,vn.has(o)?Cn(e,t,n,r):Sn(e,t,n,r)}function sn(e,t,n,r){var o,i;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&hn(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:i}=t;i?Sn(e.children,o,n,r):Cn(e.children,o,n,r);t.elm=o[o.length-1].elm}(e,t,n,r);break;case 2:!function(e,t,n){const r=t.elm=e.elm;gn(e,t,n),on(e.children,t.children,r,n)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:r);break;case 3:!function(e,t,n,r){if(e.ctor!==t.ctor){const o=r.nextSibling(e.elm);un(e,n,r,!0),an(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;gn(e,t,r),H(o)||yn(t,o),on(e.children,t.children,n,r),H(o)||function(e){ar(e)}(o)}}(e,t,n,null!==(i=t.data.renderer)&&void 0!==i?i:r)}}function ln(e,t,n,r){var o,i;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:i}=r,s=e.elm=i(e.text);pn(s,o,r),mn(s,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:i}=r,s=e.elm=i(e.text);pn(s,o,r),mn(s,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:i,isSyntheticShadowDefined:s}=r,l=e.elm=i(e.fragment,!0);pn(l,o,r);const{renderMode:a,shadowMode:c}=o;s&&(1!==c&&0!==a||(l.$shadowStaticNode$=!0));mn(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;cn(o,t,r,n),e.elm=o[o.length-1].elm}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:i,data:{svg:s}}=e,{createElement:l}=r,a=V(s)?"http://www.w3.org/2000/svg":void 0,c=e.elm=l(o,a);pn(c,i,r),wn(c,i,r),function(e,t){var n;const{owner:r,data:{context:o}}=t;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(c,e),gn(null,e,r),mn(c,t,n,r),cn(e.children,c,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:an(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function an(e,t,n,r){const{sel:o,owner:i}=e,{createCustomElement:s}=r;let l;const a=s(o.toLowerCase(),(t=>{l=function(e,t,n){let r=lr(e);if(!H(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;return r=or(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}),(e=>{fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&tr(e)}),(e=>{fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&nr(e)}));e.elm=a,e.vm=l,pn(a,i,r),wn(a,i,r),l&&yn(e,l),gn(null,e,r),mn(a,t,n,r),l&&cr(l),cn(e.children,a,r,null),l&&function(e){ar(e)}(l)}function cn(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];fn(i)&&ln(i,t,n,r)}}function un(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&(5===o?dn(e.children,t,n,r):function(e,t,n){n.remove(e,t)}(i,t,n)),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;dn(e.children,i,n,t);break}case 3:{const{vm:t}=e;H(t)||function(e){rr(e)}(t)}}}function dn(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];fn(i)&&un(i,t,n,r)}}function fn(e){return null!=e}function pn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function hn(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function mn(e,t,n,r){r.insert(e,t,n)}function gn(e,n,r){B(e)&&(function(e,t){const{elm:n,data:{on:r}}=e;if(H(r))return;const{addEventListener:o}=t;for(const e in r)o(n,e,r[e])}(n,r),function(e,t){const{elm:n,data:{classMap:r}}=e;if(H(r))return;const{getClassList:o}=t,i=o(n);for(const e in r)i.add(e)}(n,r),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(H(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,i,s]=r[e];o(n,t,i,s)}}(n,r)),function(e,t,n){const{elm:r,data:{className:o}}=t,i=B(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),a=rn(o),c=rn(i);let u;for(u in c)H(a[u])&&l.remove(u);for(u in a)H(c[u])&&l.add(u)}(e,n,r),function(e,t,n){const{elm:r,data:{style:o}}=t;if((B(e)?void 0:e.data.style)===o)return;const{setAttribute:i,removeAttribute:s}=n;G(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,n,r),function(e,t,n){const{attrs:r}=t.data;if(H(r))return;const o=B(e)?pe:e.data.attrs;if(o===r)return;const{elm:i}=t,{setAttribute:s,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(Le(i,e),58===D.call(e,3)?s(i,e,t,"http://www.w3.org/XML/1998/namespace"):58===D.call(e,5)?s(i,e,t,"http://www.w3.org/1999/xlink"):B(t)||H(t)?l(i,e):s(i,e,t),_e())}}(e,n,r),function(e,n,r){let{props:o}=n.data;const{spread:i}=n.data;if(H(o)&&H(i))return;let s;if(!B(e)){s=e.data.props;const n=e.data.spread;if(s===o&&n===i)return;H(s)&&(s=pe),H(n)||(s=t({},s,n))}H(i)||(o=t({},o,i));const l=B(e),{elm:a,sel:c}=n,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(tn(c,e)?u(a,e):s[e])&&e in s||d(a,e,t)}}(e,n,r)}function wn(e,t,n){const r=function(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}(t);if(!B(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||H(o)||(e.$shadowToken$=o)}function yn(e,t){const r=e.aChildren||e.children;t.aChildren=r;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t,r){const{cmpSlots:{slotAssignments:o}}=e,i=n(null);if(bn(e,t,i),e.cmpSlots={owner:r,slotAssignments:i},j(e.isDirty)){const t=d(o);if(t.length!==d(i).length)return void Gn(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(H(i[r])||o[r].length!==i[r].length)return void Gn(e);const s=o[r],l=i[r];for(let t=0,n=i[r].length;t<n;t+=1)if(s[t]!==l[t])return void Gn(e)}}}(t,r,e.owner),e.aChildren=r,e.children=he)}function bn(e,t,n){var r,o;for(let i=0,s=t.length;i<s;i+=1){const s=t[i];if(B(s))continue;if(Zt(s)){bn(e,s.children.slice(1,-1),n);continue}let l="";Jt(s)?l=null!==(o=null===(r=s.data.attrs)||void 0===r?void 0:r.slot)&&void 0!==o?o:"":en(s)&&(l=s.slotName);const a=n[l]=n[l]||[];k.call(a,s)}}const vn=new WeakMap;function En(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(fn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function Cn(e,t,n,r){let o=0,i=0,s=e.length-1,l=e[0],a=e[s];const c=t.length-1;let u,d,f,p,h=c,m=t[0],g=t[h],w=!1;for(;o<=s&&i<=h;)fn(l)?fn(a)?fn(m)?fn(g)?Qt(l,m)?(sn(l,m,n,r),l=e[++o],m=t[++i]):Qt(a,g)?(sn(a,g,n,r),a=e[--s],g=t[--h]):Qt(l,g)?(sn(l,g,n,r),mn(l.elm,n,r.nextSibling(a.elm),r),l=e[++o],g=t[--h]):Qt(a,m)?(sn(a,m,n,r),mn(m.elm,n,l.elm,r),a=e[--s],m=t[++i]):(void 0===u&&(u=En(e,o,s)),d=u[m.key],H(d)?(ln(m,n,r,l.elm),m=t[++i]):(f=e[d],fn(f)&&(f.sel!==m.sel?ln(m,n,r,l.elm):(sn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,mn(f.elm,n,l.elm,r))),m=t[++i])):g=t[--h]:m=t[++i]:a=e[--s]:l=e[++o];if(o<=s||i<=h)if(o>s){let e,o=h;do{e=t[++o]}while(!fn(e)&&o<c);p=fn(e)?e.elm:null,cn(t,n,r,p,i,h+1)}else dn(e,n,r,!0,o,s+1)}function Sn(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void cn(t,n,r,null);if(0===i)return void dn(e,n,r,!0);let s=null;for(let o=i-1;o>=0;o-=1){const i=e[o],l=t[o];l!==i&&(fn(i)?fn(l)?(sn(i,l,n,r),s=l.elm):un(i,n,r,!0):fn(l)&&(ln(l,n,r,s),s=l.elm))}}const kn=Symbol.iterator;function Tn(e,t,n=he){const r=$n(),{key:o,ref:i}=t,s={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return H(i)||me(r,i,s),s}function Mn(e,t,n,r=he){const o=$n(),{key:i,ref:s}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:i,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){k.call($n().velements,e)}(l),H(s)||me(o,s,l),l}function xn(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:$n()}}function An(e){var t;return t=e,vn.set(t,1),e}let Nn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const On=i({s:function(e,t,n,r){H(r)||H(r.slotAssignments)||H(r.slotAssignments[e])||0===r.slotAssignments[e].length||(n=r.slotAssignments[e].reduce(((e,n)=>{if(n){const o=en(n);if(o!==!H(t.slotData))return e;if(o){const o=$n();let i=[];Pn(r.owner);try{i=n.factory(t.slotData)}finally{Pn(o)}return m.call(e,i)}return m.call(e,n)}return e}),[]));const o=$n(),{renderMode:i,shadowMode:s}=o;return 0===i?(An(n),n):(1===s&&An(n),Tn("slot",t,n))},h:Tn,c:Mn,i:function(e,t){const n=[];if(An(n),H(e)||null===e)return n;const r=e[kn]();let o=r.next(),i=0,{value:s,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(s,i,0===i,!0===l);h(e)?k.apply(n,e):k.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];An(n);for(let r=0;r<t;r+=1){const t=e[r];h(t)?k.apply(n,t):k.call(n,t)}return n},t:xn,d:function(e){return null==e?"":String(e)},b:function(e){const t=$n();if(B(t))throw new Error;const n=t;return function(t){Vn(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:"c",owner:$n()}},dc:function(e,t,n,r=he){if(null==t)return null;if(!Wt(t))throw new Error(`Invalid LWC Constructor ${z(t)} for custom element <${e}>.`);return Mn(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[xn(""),...t,xn("")],stable:n,owner:$n()}},ti:function(e){return e>0&&!(V(e)||j(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:$n()}},gid:function(e){const t=$n();if(H(e)||""===e)return e;if(B(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?R.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=$n();if(H(e)||""===e)return e;if(B(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return Nn(e)},ssf:function(e,t){return{type:6,factory:t,owner:$n(),elm:void 0,sel:void 0,key:void 0,slotName:e}}});let _n=!1,Ln=null;function $n(){return Ln}function Pn(e){Ln=e}const Dn=(Rn=(e,t)=>{const{createFragment:n}=t;return n(e)},(e,...t)=>{const r=n(null);return function(){const{context:{hasScopedStyles:n,stylesheetToken:o},shadowMode:i,renderer:s}=$n(),l=!H(o),a=1===i;let c=0;if(l&&n&&(c|=1),l&&a&&(c|=2),!H(r[c]))return r[c];const u=n&&l?" "+o:"",d=n&&l?` class="${o}"`:"",f=l&&a?" "+o:"";let p="";for(let n=0,r=t.length;n<r;n++)switch(t[n]){case 0:p+=e[n]+u;break;case 1:p+=e[n]+d;break;case 2:p+=e[n]+f;break;case 3:p+=e[n]+d+f}return p+=e[e.length-1],r[c]=Rn(p,s),r[c]}});var Rn;function In(e,t){const r=_n,o=Ln;let i=[];return hr(e,e.owner,(()=>{Ln=e}),(()=>{const{component:r,context:o,cmpSlots:s,cmpTemplate:l,tro:a}=e;a.observe((()=>{if(t!==l){if(B(l)||pr(e),a=t,!_t.has(a))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${z(t)}.`);e.cmpTemplate=t,o.tplCache=n(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!H(t))for(let e=0;e<t.length;e++)if(V(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i,renderer:{getClassList:s,removeAttribute:l,setAttribute:a}}=e,{stylesheets:c,stylesheetToken:u}=t,d=1===o&&1===i,{hasScopedStyles:f}=r;let p,h,m;const{stylesheetToken:g,hasTokenInClass:w,hasTokenInAttribute:y}=r;H(g)||(w&&s(n).remove(Kt(g)),y&&l(n,Kt(g))),H(c)||0===c.length||(p=u),H(p)||(f&&(s(n).add(Kt(p)),h=!0),d&&(a(n,Kt(p),""),m=!0)),r.stylesheetToken=p,r.hasTokenInClass=h,r.hasTokenInAttribute=m}(e,t);const r=Yt(e,t);o.styleVNodes=0===r.length?null:function(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1!==n||1!==r)return C.call(t,zt);for(let e=0;e<t.length;e++)o(t[e]);return null}(e,r)}var a;const c=Boolean(t.hasRefs);e.hasRefVNodes=c,e.refVNodes=c?n(null):null,e.velements=[],_n=!0,i=t.call(void 0,On,r,s,o.tplCache);const{styleVNodes:u}=o;B(u)||L.apply(i,u)}))}),(()=>{_n=r,Ln=o})),i}let Fn=null;function Hn(e){return Fn===e}function Bn(e,t,n){const{component:r,callHook:o,owner:i}=e;hr(e,i,U,(()=>{o(r,t,n)}),U)}function Vn(e,t,n,r){const{callHook:o,owner:i}=e;hr(e,i,U,(()=>{o(n,t,[r])}),U)}const jn=new Map;function Wn(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=$n();let s,l=!1;return hr(e,o,(()=>{Pn(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{Pn(i)})),l?In(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Gn(e){e.isDirty=!0}const Un=new WeakMap;function Kn(e,t){if(!W(t))throw new TypeError;let n=Un.get(t);return H(n)&&(n=function(n){Vn(e,t,void 0,n)},Un.set(t,n)),n}const zn=n(null),qn=["rendered","connected","disconnected"];function Yn(e,t){const{component:n,def:r,context:o}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},r,o)}let Xn=0;const Jn=new WeakMap;function Qn(e,t,n=[]){return t.apply(e,n)}function Zn(e,t,n){e[t]=n}function er(e,t){return e[t]}function tr(e){const t=sr(e);1===t.state&&nr(e),cr(t),ar(t)}function nr(e){rr(sr(e))}function rr(e){const{state:t}=e;if(2!==t){const{oar:t,tro:n}=e;n.reset();for(const e in t)t[e].reset();!function(e){j(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=zn;t&&Yn(e,t);ur(e)&&function(e){const{wiredDisconnecting:t}=e.context;hr(e,e,U,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),U)}(e);const{disconnectedCallback:n}=e.def;H(n)||Bn(e,n)}(e),dr(e),function(e){const{aChildren:t}=e;fr(t)}(e)}}function or(e,t,r,o){const{mode:i,owner:s,tagName:l,hydrated:a}=o,c=Gt(t),u={elm:e,def:c,idx:Xn++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,refVNodes:null,hasRefVNodes:!1,children:he,aChildren:he,velements:he,cmpProps:n(null),cmpFields:n(null),cmpSlots:{slotAssignments:n(null)},oar:n(null),cmpTemplate:null,hydrated:Boolean(a),renderMode:c.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:pe,wiredConnecting:he,wiredDisconnecting:he},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:Qn,setHook:Zn,getHook:er,renderer:r};return u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let i;if(r)if(0===n.renderMode)i=0;else if(o)if(fe.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!B(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=B(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,r),u.tro=ye(),function(e,t){const n=Fn;let r;Fn=e;try{const o=new t;if(Fn.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Fn=n,!H(r))throw ve(e,r),r}}(u,c.ctor),ur(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],s=mr.get(i);if(!H(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=wr(e,t,s),a=s.dynamic.length>0;k.call(r,(()=>{n.connect(),fe.ENABLE_WIRE_SYNC_EMIT||!a?i():Promise.resolve().then(i)})),k.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function ir(e,t){Jn.set(e,t)}function sr(e){return Jn.get(e)}function lr(e){return Jn.get(e)}function ar(e){if(V(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&hr(e,e,(()=>{}),(()=>{on(r,t,n,o)}),(()=>{}));e.state}(e,Wn(e))}}function cr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=zn;n&&Yn(e,n),ur(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;H(r)||Bn(e,r)}function ur(e){return l(e.def.wire).length>0}function dr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!H(n)){const e=lr(n);H(e)||rr(e)}}}function fr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!B(n)&&!H(n.elm))switch(n.type){case 2:fr(n.children);break;case 3:rr(sr(n.elm));break}}}function pr(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];B(o)||H(o.elm)||r(o.elm,n)}e.children=he,dr(e),e.velements=he}function hr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!H(i)){ve(e,i);const n=B(t)?void 0:function(e){let t=e;for(;!B(t);){if(!H(t.def.errorCallback))return t;t=t.owner}}(t);if(H(n))throw i;pr(e);Bn(n,n.def.errorCallback,[i,i.wcStack])}}}const mr=new Map;class gr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function wr(e,t,n){const{method:r,adapter:i,configCallback:s,dynamic:l}=n,a=H(r)?function(e,t){return n=>{Pe(e,t,n)}}(e,t):function(e,t){return n=>{hr(e,e.owner,U,(()=>{t.call(e.component,n)}),U)}}(e,r);let c,u;o(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),o(a,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),hr(e,e,U,(()=>{u=new i(a)}),U);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){const r=ye();return{computeConfigAndUpdate:()=>{let o;r.observe((()=>o=t(e))),n(o)},ro:r}}(e.component,s,(t=>{hr(e,e,U,(()=>{u.update(t,c)}),U)}));return H(i.contextSchema)||function(e,t,n){const{adapter:r}=t,o=br(r);if(H(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{dispatchEvent:a}}=e;k.call(s,(()=>{const e=new gr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){k.call(l,e)}});a(i,e)}))}(e,n,(t=>{c!==t&&(c=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const yr=new Map;function br(e){return yr.get(e)}function vr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};mr.set(e,o)}function Er(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};mr.set(e,o)}let Cr=!1;const Sr=Symbol("namespace"),kr=Symbol("type"),Tr=Symbol("parent"),Mr=Symbol("shadow-root"),xr=Symbol("children"),Ar=Symbol("attributes"),Nr=Symbol("event-listeners"),Or=Symbol("value");var _r;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(_r||(_r={}));const Lr=/\s+/g;function $r(e){return new Set(e.split(Lr).filter((e=>e.length)))}function Pr(e){return Array.from(e).join(" ")}function Dr(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function Rr(e,t){return{[kr]:_r.Element,tagName:e,[Sr]:null!=t?t:ee,[Tr]:null,[Mr]:null,[xr]:[],[Ar]:[],[Nr]:{}}}function Ir(e,t,n=null){const r=e[Ar].find((e=>e.name===t&&e[Sr]===n));return r?r.value:null}function Fr(e,t,n,r=null){const o=e[Ar].find((e=>e.name===t&&e[Sr]===r));H(r)&&(r=null),H(o)?e[Ar].push({name:t,[Sr]:r,value:String(n)}):o.value=n}function Hr(e,t,n){e[Ar]=e[Ar].filter((e=>e.name!==t&&e[Sr]!==n))}const Br=U,Vr=U,jr=U,Wr=Dr("dispatchEvent"),Gr=Dr("getBoundingClientRect"),Ur=Dr("querySelector"),Kr=Dr("querySelectorAll"),zr=Dr("getElementsByTagName"),qr=Dr("getElementsByClassName"),Yr=Dr("getChildren"),Xr=Dr("getChildNodes"),Jr=Dr("getFirstChild"),Qr=Dr("getFirstElementChild"),Zr=Dr("getLastChild"),eo=Dr("getLastElementChild"),to=U,no=new Map;function ro(e){let t=no.get(e);return H(t)?(t=function(e){return function(t){const n=Rr(e);return W(t)&&t(n),n}}(e),no.set(e,t),t):t}const oo={isNativeShadowDefined:!1,isSyntheticShadowDefined:!1,insert:function(e,t,n){const r=e[Tr];if(null!==r&&r!==t){const t=r[xr].indexOf(e);r[xr].splice(t,1)}e[Tr]=t;const o=B(n)?-1:t[xr].indexOf(n);-1===o?t[xr].push(e):t[xr].splice(o,0,e)},remove:function(e,t){const n=t[xr].indexOf(e);t[xr].splice(n,1)},cloneNode:function(e){return Object.assign({},e)},createFragment:function(e){return{[kr]:_r.Raw,[Tr]:null,[Or]:e}},createElement:Rr,createText:function(e){return{[kr]:_r.Text,[Or]:String(e),[Tr]:null}},createComment:function(e){return{[kr]:_r.Comment,[Or]:e,[Tr]:null}},createCustomElement:function(e,t){return new(ro(e))(t)},nextSibling:function(e){const t=e[Tr];if(B(t))return null;const n=t[xr].indexOf(e);return t[xr][n+1]||null},attachShadow:function(e,t){return e[Mr]={[kr]:_r.ShadowRoot,[xr]:[],mode:t.mode,delegatesFocus:!!t.delegatesFocus},e[Mr]},getProperty:function(e,t){var n,r;if(t in e)return e[t];if(e[kr]===_r.Element){const o=ae(t);if(re(o,e.tagName))return null!==(n=Ir(e,o))&&void 0!==n&&n;if(ie(o)||Q(o))return Ir(e,o);if("input"===e.tagName&&"value"===t)return null!==(r=Ir(e,"value"))&&void 0!==r?r:""}},setProperty:function(e,t,n){if(t in e)return e[t]=n;if(e[kr]===_r.Element){const r=ae(t);if("innerHTML"===t)return void(e[xr]=[{[kr]:_r.Raw,[Tr]:e,[Or]:n}]);if(re(r,e.tagName))return!0===n?Fr(e,r,""):Hr(e,r);if(ie(r)||Q(r))return Fr(e,r,n);if("input"===e.tagName&&"value"===r)return B(n)||H(n)?Hr(e,"value"):Fr(e,"value",n)}},setText:function(e,t){e[kr]===_r.Text?e[Or]=t:e[kr]===_r.Element&&(e[xr]=[{[kr]:_r.Text,[Tr]:e,[Or]:t}])},getAttribute:Ir,setAttribute:Fr,removeAttribute:Hr,addEventListener:Vr,removeEventListener:jr,dispatchEvent:Wr,getClassList:function(e){function t(){let t=e[Ar].find((e=>"class"===e.name&&B(e[Sr])));return H(t)&&(t={name:"class",[Sr]:null,value:""},e[Ar].push(t)),t}return{add(...e){const n=t(),r=$r(n.value);e.forEach((e=>r.add(e))),n.value=Pr(r)},remove(...e){const n=t(),r=$r(n.value);e.forEach((e=>r.delete(e))),n.value=Pr(r)}}},setCSSStyleProperty:function(e,t,n,r){const o=e[Ar].find((e=>"style"===e.name&&B(e[Sr]))),i=`${t}: ${n}${r?" !important":""}`;H(o)?e[Ar].push({name:"style",[Sr]:null,value:i}):o.value+=`; ${i}`},getBoundingClientRect:Gr,querySelector:Ur,querySelectorAll:Kr,getElementsByTagName:zr,getElementsByClassName:qr,getChildren:Yr,getChildNodes:Xr,getFirstChild:Jr,getFirstElementChild:Qr,getLastChild:Zr,getLastElementChild:eo,isConnected:function(e){return!B(e[Tr])},insertStylesheet:Br,assertInstanceOfHTMLElement:to};function io(e){return e.map((e=>{switch(e[kr]){case _r.Text:return""===e[Or]?"":ue(e[Or]);case _r.Comment:return`\x3c!--${ue(e[Or])}--\x3e`;case _r.Raw:return e[Or];case _r.Element:return so(e)}})).join("")}function so(e){let t="";const n=e.tagName,r=e[Sr],o=r!==ee,i=e[xr].length>0;var s;return t+=`<${n}${e[Ar].length?` ${s=e[Ar],s.map((e=>e.value.length?`${e.name}="${ue(e.value,!0)}"`:e.name)).join(" ")}`:""}`,o&&!i?(t+="/>",t):(t+=">",e[Mr]&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${io(e[xr])}</template>`}(e[Mr])),t+=io(e[xr]),function(e,t){return t===ee&&te.has(e.toLowerCase())}(n,r)&&!i||(t+=`</${n}>`),t)}const lo={[kr]:_r.Element,tagName:"fake-root-element",[Sr]:ee,[Tr]:null,[Mr]:null,[xr]:[],[Ar]:[],[Nr]:{}};i(yt),f(yt.prototype),exports.LightningElement=yt,exports.api=function(){throw new Error},exports.createContextProvider=function(e){let t=br(e);if(!H(t))throw new Error("Adapter already has a context provider.");t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),function(e,t){yr.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:i}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{H(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},exports.freezeTemplate=function(e){},exports.getComponentDef=function(e){const t=Gt(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,l={};for(const e in o)l[e]={config:i[e]||0,type:"any",attr:ae(e)};const a={};for(const e in s)a[e]=s[e].value;return{ctor:n,name:r,props:l,methods:a}},exports.isComponentConstructor=Wt,exports.parseFragment=Dn,exports.parseSVGFragment=Dn,exports.readonly=function(e){return ht(e)},exports.register=function(e){for(let t=0;t<qn.length;++t){const n=qn[t];if(n in e){let t=zn[n];H(t)&&(zn[n]=t=[]),k.call(t,e[n])}}},exports.registerComponent=function(e,{tmpl:t}){return W(e)&&jn.set(e,t),e},exports.registerDecorators=function(e,t){const r=e.prototype,{publicProps:i,publicMethods:l,wire:a,track:c,fields:u}=t,d=n(null),f=n(null),p=n(null),h=n(null),m=n(null),g=n(null);let w;if(!H(i))for(const e in i){const t=i[e];if(g[e]=t.config,w=s(r,e),t.config>0){if(H(w))throw new Error;w=Mt(e,w)}else w=H(w)||H(w.get)?Tt(e):Mt(e,w);f[e]=w,o(r,e,w)}if(H(l)||$.call(l,(e=>{if(w=s(r,e),H(w))throw new Error;d[e]=w})),!H(a))for(const e in a){const{adapter:t,method:n,config:i,dynamic:l=[]}=a[e];if(w=s(r,e),1===n){if(H(w))throw new Error;p[e]=w,vr(w,t,i,l)}else w=At(e),h[e]=w,Er(w,t,i,l),o(r,e,w)}if(!H(c))for(const e in c)w=s(r,e),w=xt(e),o(r,e,w);if(!H(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=s(r,t);const n=!H(i)&&t in i,o=!H(c)&&t in c;n||o||(m[t]=St(t))}return function(e,t){Nt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:p,wiredFields:h,observedFields:m}),e},exports.registerTemplate=function(e){return _t.add(e),o(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return H(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=H(e)?void 0:e.shadowAttribute}}),e},exports.renderComponent=function(e,t,n={}){if(!G(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!W(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||B(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=oo.createElement(e);or(r,t,oo,{mode:"open",owner:null,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r[Tr]=lo,tr(r),so(r)},exports.renderer=oo,exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(H(de[e])){const n=d(de).map((e=>`"${e}"`)).join(", ");console.warn(`Failed to set the value "${t}" for the runtime feature flag "${e}" because it is undefined. Available flags: ${n}.`)}else{const n=fe[e];if(!H(n))return void console.error(`Failed to set the value "${t}" for the runtime feature flag "${e}". "${e}" has already been set with the value "${n}".`);o(fe,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},exports.setFeatureFlagForTest=function(e,t){},exports.setHooks=function(t){var n;e.isFalse(Cr,"Hooks are already overridden, only one definition is allowed."),Cr=!0,n=t.sanitizeHtmlContent,Nn=n},exports.track=function(e){if(1===arguments.length)return e;throw new Error},exports.unwrap=function(e){return e},exports.wire=function(e,t){throw new Error};
|
|
@@ -432,9 +432,9 @@ function htmlEscape(str, attrMode = false) {
|
|
|
432
432
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
433
433
|
*/
|
|
434
434
|
// Increment whenever the LWC template compiler changes
|
|
435
|
-
const LWC_VERSION = "2.
|
|
435
|
+
const LWC_VERSION = "2.29.0";
|
|
436
436
|
const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
|
|
437
|
-
/** version: 2.
|
|
437
|
+
/** version: 2.29.0 */
|
|
438
438
|
|
|
439
439
|
/*
|
|
440
440
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -546,7 +546,7 @@ function setFeatureFlagForTest(name, value) {
|
|
|
546
546
|
setFeatureFlag(name, value);
|
|
547
547
|
}
|
|
548
548
|
}
|
|
549
|
-
/** version: 2.
|
|
549
|
+
/** version: 2.29.0 */
|
|
550
550
|
|
|
551
551
|
/* proxy-compat-disable */
|
|
552
552
|
|
|
@@ -3437,6 +3437,9 @@ function isVBaseElement(vnode) {
|
|
|
3437
3437
|
function isSameVnode(vnode1, vnode2) {
|
|
3438
3438
|
return vnode1.key === vnode2.key && vnode1.sel === vnode2.sel;
|
|
3439
3439
|
}
|
|
3440
|
+
function isVFragment(vnode) {
|
|
3441
|
+
return vnode.type === 5 /* VNodeType.Fragment */;
|
|
3442
|
+
}
|
|
3440
3443
|
function isVScopedSlotFragment(vnode) {
|
|
3441
3444
|
return vnode.type === 6 /* VNodeType.ScopedSlotFragment */;
|
|
3442
3445
|
}
|
|
@@ -4309,26 +4312,26 @@ function createViewModelHook(elm, vnode, renderer) {
|
|
|
4309
4312
|
|
|
4310
4313
|
return vm;
|
|
4311
4314
|
}
|
|
4315
|
+
/**
|
|
4316
|
+
* Collects all slots into a SlotSet, traversing through VFragment Nodes
|
|
4317
|
+
*/
|
|
4312
4318
|
|
|
4313
|
-
function allocateInSlot(vm, children, owner) {
|
|
4314
|
-
var _a, _b;
|
|
4315
4319
|
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
slotAssignments: oldSlotsMapping
|
|
4319
|
-
}
|
|
4320
|
-
} = vm;
|
|
4321
|
-
const cmpSlotsMapping = create(null);
|
|
4322
|
-
vm.cmpSlots = {
|
|
4323
|
-
owner,
|
|
4324
|
-
slotAssignments: cmpSlotsMapping
|
|
4325
|
-
};
|
|
4320
|
+
function collectSlots(vm, children, cmpSlotsMapping) {
|
|
4321
|
+
var _a, _b;
|
|
4326
4322
|
|
|
4327
4323
|
for (let i = 0, len = children.length; i < len; i += 1) {
|
|
4328
4324
|
const vnode = children[i];
|
|
4329
4325
|
|
|
4330
4326
|
if (isNull(vnode)) {
|
|
4331
4327
|
continue;
|
|
4328
|
+
} // Dive further iff the content is wrapped in a VFragment
|
|
4329
|
+
|
|
4330
|
+
|
|
4331
|
+
if (isVFragment(vnode)) {
|
|
4332
|
+
// Remove the text delimiter nodes to avoid overriding default slot content
|
|
4333
|
+
collectSlots(vm, vnode.children.slice(1, -1), cmpSlotsMapping);
|
|
4334
|
+
continue;
|
|
4332
4335
|
}
|
|
4333
4336
|
|
|
4334
4337
|
let slotName = '';
|
|
@@ -4342,6 +4345,20 @@ function allocateInSlot(vm, children, owner) {
|
|
|
4342
4345
|
const vnodes = cmpSlotsMapping[slotName] = cmpSlotsMapping[slotName] || [];
|
|
4343
4346
|
ArrayPush$1.call(vnodes, vnode);
|
|
4344
4347
|
}
|
|
4348
|
+
}
|
|
4349
|
+
|
|
4350
|
+
function allocateInSlot(vm, children, owner) {
|
|
4351
|
+
const {
|
|
4352
|
+
cmpSlots: {
|
|
4353
|
+
slotAssignments: oldSlotsMapping
|
|
4354
|
+
}
|
|
4355
|
+
} = vm;
|
|
4356
|
+
const cmpSlotsMapping = create(null);
|
|
4357
|
+
collectSlots(vm, children, cmpSlotsMapping);
|
|
4358
|
+
vm.cmpSlots = {
|
|
4359
|
+
owner,
|
|
4360
|
+
slotAssignments: cmpSlotsMapping
|
|
4361
|
+
};
|
|
4345
4362
|
|
|
4346
4363
|
if (isFalse(vm.isDirty)) {
|
|
4347
4364
|
// We need to determine if the old allocation is really different from the new one
|
|
@@ -6483,7 +6500,7 @@ function freezeTemplate(tmpl) {
|
|
|
6483
6500
|
});
|
|
6484
6501
|
}
|
|
6485
6502
|
}
|
|
6486
|
-
/* version: 2.
|
|
6503
|
+
/* version: 2.29.0 */
|
|
6487
6504
|
|
|
6488
6505
|
/*
|
|
6489
6506
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -6569,7 +6586,13 @@ function remove(node, parent) {
|
|
|
6569
6586
|
parent[HostChildrenKey].splice(nodeIndex, 1);
|
|
6570
6587
|
}
|
|
6571
6588
|
function cloneNode(node) {
|
|
6572
|
-
|
|
6589
|
+
// Note: no need to deep clone as cloneNode is only used for nodes of type HostNodeType.Raw.
|
|
6590
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
6591
|
+
if (node[HostTypeKey] !== HostNodeType.Raw) {
|
|
6592
|
+
throw new TypeError(`SSR: cloneNode was called with invalid NodeType <${node[HostTypeKey]}>, only HostNodeType.Raw is supported.`);
|
|
6593
|
+
}
|
|
6594
|
+
}
|
|
6595
|
+
return Object.assign({}, node);
|
|
6573
6596
|
}
|
|
6574
6597
|
function createFragment(html) {
|
|
6575
6598
|
return {
|
|
@@ -6948,6 +6971,6 @@ function renderComponent(tagName, Ctor, props = {}) {
|
|
|
6948
6971
|
*/
|
|
6949
6972
|
freeze(LightningElement);
|
|
6950
6973
|
seal(LightningElement.prototype);
|
|
6951
|
-
/* version: 2.
|
|
6974
|
+
/* version: 2.29.0 */
|
|
6952
6975
|
|
|
6953
6976
|
export { LightningElement, api$1 as api, createContextProvider, freezeTemplate, getComponentDef, isComponentConstructor, parseFragment, parseFragment as parseSVGFragment, readonly, register, registerComponent, registerDecorators, registerTemplate, renderComponent, renderer, sanitizeAttribute, setFeatureFlag, setFeatureFlagForTest, setHooks, track, unwrap, wire };
|