lwc 2.14.0 → 2.14.1
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 +48 -22
- package/dist/engine-dom/iife/es2017/engine-dom.js +48 -22
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +44 -19
- package/dist/engine-dom/iife/es5/engine-dom.js +49 -25
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +45 -21
- package/dist/engine-dom/umd/es2017/engine-dom.js +48 -22
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +44 -19
- package/dist/engine-dom/umd/es5/engine-dom.js +49 -25
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +45 -21
- package/dist/engine-server/commonjs/es2017/engine-server.js +48 -22
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +48 -22
- 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
|
@@ -347,7 +347,7 @@ var LWC = (function (exports) {
|
|
|
347
347
|
var XML_NAMESPACE = 'http://www.w3.org/XML/1998/namespace';
|
|
348
348
|
var SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
|
|
349
349
|
var XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';
|
|
350
|
-
/** version: 2.14.
|
|
350
|
+
/** version: 2.14.1 */
|
|
351
351
|
|
|
352
352
|
/*
|
|
353
353
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -3692,14 +3692,19 @@ var LWC = (function (exports) {
|
|
|
3692
3692
|
removeNode(elm, parent);
|
|
3693
3693
|
}
|
|
3694
3694
|
|
|
3695
|
-
var removeChildren = sel === 'slot'; // slot content is removed to trigger slotchange event when removing slot
|
|
3696
|
-
|
|
3697
3695
|
switch (type) {
|
|
3698
3696
|
case 2
|
|
3699
3697
|
/* Element */
|
|
3700
3698
|
:
|
|
3701
|
-
|
|
3702
|
-
|
|
3699
|
+
{
|
|
3700
|
+
// Slot content is removed to trigger slotchange event when removing slot.
|
|
3701
|
+
// Only required for synthetic shadow.
|
|
3702
|
+
var removeChildren = sel === 'slot' && vnode.owner.shadowMode === 1
|
|
3703
|
+
/* Synthetic */
|
|
3704
|
+
;
|
|
3705
|
+
unmountVNodes(vnode.children, elm, removeChildren);
|
|
3706
|
+
break;
|
|
3707
|
+
}
|
|
3703
3708
|
|
|
3704
3709
|
case 3
|
|
3705
3710
|
/* CustomElement */
|
|
@@ -5194,9 +5199,19 @@ var LWC = (function (exports) {
|
|
|
5194
5199
|
resetComponentStateWhenRemoved(vm);
|
|
5195
5200
|
}
|
|
5196
5201
|
|
|
5197
|
-
function
|
|
5198
|
-
var
|
|
5202
|
+
function getNearestShadowAncestor(vm) {
|
|
5203
|
+
var ancestor = vm.owner;
|
|
5204
|
+
|
|
5205
|
+
while (!isNull(ancestor) && ancestor.renderMode === 0
|
|
5206
|
+
/* Light */
|
|
5207
|
+
) {
|
|
5208
|
+
ancestor = ancestor.owner;
|
|
5209
|
+
}
|
|
5210
|
+
|
|
5211
|
+
return ancestor;
|
|
5212
|
+
}
|
|
5199
5213
|
|
|
5214
|
+
function createVM(elm, ctor, options) {
|
|
5200
5215
|
var mode = options.mode,
|
|
5201
5216
|
owner = options.owner,
|
|
5202
5217
|
tagName = options.tagName,
|
|
@@ -5224,8 +5239,6 @@ var LWC = (function (exports) {
|
|
|
5224
5239
|
cmpTemplate: null,
|
|
5225
5240
|
hydrated: Boolean(hydrated),
|
|
5226
5241
|
renderMode: def.renderMode,
|
|
5227
|
-
shadowMode: computeShadowMode(def, owner),
|
|
5228
|
-
nearestShadowMode: (owner === null || owner === void 0 ? void 0 : owner.shadowRoot) ? owner.shadowMode : (_a = owner === null || owner === void 0 ? void 0 : owner.nearestShadowMode) !== null && _a !== void 0 ? _a : null,
|
|
5229
5242
|
context: {
|
|
5230
5243
|
stylesheetToken: undefined,
|
|
5231
5244
|
hasTokenInClass: undefined,
|
|
@@ -5238,6 +5251,7 @@ var LWC = (function (exports) {
|
|
|
5238
5251
|
},
|
|
5239
5252
|
// Properties set right after VM creation.
|
|
5240
5253
|
tro: null,
|
|
5254
|
+
shadowMode: null,
|
|
5241
5255
|
// Properties set by the LightningElement constructor.
|
|
5242
5256
|
component: null,
|
|
5243
5257
|
shadowRoot: null,
|
|
@@ -5246,6 +5260,7 @@ var LWC = (function (exports) {
|
|
|
5246
5260
|
setHook: setHook,
|
|
5247
5261
|
getHook: getHook
|
|
5248
5262
|
};
|
|
5263
|
+
vm.shadowMode = computeShadowMode(vm);
|
|
5249
5264
|
vm.tro = getTemplateReactiveObserver(vm);
|
|
5250
5265
|
|
|
5251
5266
|
|
|
@@ -5258,9 +5273,8 @@ var LWC = (function (exports) {
|
|
|
5258
5273
|
return vm;
|
|
5259
5274
|
}
|
|
5260
5275
|
|
|
5261
|
-
function computeShadowMode(
|
|
5262
|
-
var
|
|
5263
|
-
|
|
5276
|
+
function computeShadowMode(vm) {
|
|
5277
|
+
var def = vm.def;
|
|
5264
5278
|
var shadowMode;
|
|
5265
5279
|
|
|
5266
5280
|
if (isSyntheticShadowDefined$1) {
|
|
@@ -5283,13 +5297,23 @@ var LWC = (function (exports) {
|
|
|
5283
5297
|
/* Native */
|
|
5284
5298
|
;
|
|
5285
5299
|
} else {
|
|
5286
|
-
|
|
5287
|
-
|
|
5288
|
-
|
|
5289
|
-
|
|
5290
|
-
|
|
5291
|
-
|
|
5292
|
-
|
|
5300
|
+
var shadowAncestor = getNearestShadowAncestor(vm);
|
|
5301
|
+
|
|
5302
|
+
if (!isNull(shadowAncestor) && shadowAncestor.shadowMode === 0
|
|
5303
|
+
/* Native */
|
|
5304
|
+
) {
|
|
5305
|
+
// Transitive support for native Shadow DOM. A component in native mode
|
|
5306
|
+
// transitively opts all of its descendants into native.
|
|
5307
|
+
shadowMode = 0
|
|
5308
|
+
/* Native */
|
|
5309
|
+
;
|
|
5310
|
+
} else {
|
|
5311
|
+
// Synthetic if neither this component nor any of its ancestors are configured
|
|
5312
|
+
// to be native.
|
|
5313
|
+
shadowMode = 1
|
|
5314
|
+
/* Synthetic */
|
|
5315
|
+
;
|
|
5316
|
+
}
|
|
5293
5317
|
}
|
|
5294
5318
|
} else {
|
|
5295
5319
|
shadowMode = 1
|
|
@@ -6387,7 +6411,7 @@ var LWC = (function (exports) {
|
|
|
6387
6411
|
|
|
6388
6412
|
return ctor;
|
|
6389
6413
|
}
|
|
6390
|
-
/* version: 2.14.
|
|
6414
|
+
/* version: 2.14.1 */
|
|
6391
6415
|
|
|
6392
6416
|
/*
|
|
6393
6417
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -7163,7 +7187,7 @@ var LWC = (function (exports) {
|
|
|
7163
7187
|
});
|
|
7164
7188
|
freeze(LightningElement);
|
|
7165
7189
|
seal(LightningElement.prototype);
|
|
7166
|
-
/* version: 2.14.
|
|
7190
|
+
/* version: 2.14.1 */
|
|
7167
7191
|
|
|
7168
7192
|
exports.LightningElement = LightningElement;
|
|
7169
7193
|
exports.__unstable__ProfilerControl = profilerControl;
|
|
@@ -304,9 +304,9 @@
|
|
|
304
304
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
305
305
|
*/
|
|
306
306
|
// Increment whenever the LWC template compiler changes
|
|
307
|
-
const LWC_VERSION = "2.14.
|
|
307
|
+
const LWC_VERSION = "2.14.1";
|
|
308
308
|
const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
|
|
309
|
-
/** version: 2.14.
|
|
309
|
+
/** version: 2.14.1 */
|
|
310
310
|
|
|
311
311
|
/*
|
|
312
312
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -460,7 +460,7 @@
|
|
|
460
460
|
setFeatureFlag(name, value);
|
|
461
461
|
}
|
|
462
462
|
}
|
|
463
|
-
/** version: 2.14.
|
|
463
|
+
/** version: 2.14.1 */
|
|
464
464
|
|
|
465
465
|
/* proxy-compat-disable */
|
|
466
466
|
|
|
@@ -2775,7 +2775,8 @@
|
|
|
2775
2775
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
2776
2776
|
*/
|
|
2777
2777
|
let warned = false;
|
|
2778
|
-
|
|
2778
|
+
// @ts-ignore
|
|
2779
|
+
if (process.env.NODE_ENV !== 'production' && typeof __karma__ !== 'undefined') {
|
|
2779
2780
|
// @ts-ignore
|
|
2780
2781
|
window.__lwcResetWarnedOnVersionMismatch = () => {
|
|
2781
2782
|
warned = false;
|
|
@@ -3915,11 +3916,14 @@
|
|
|
3915
3916
|
if (doRemove) {
|
|
3916
3917
|
removeNode(elm, parent);
|
|
3917
3918
|
}
|
|
3918
|
-
const removeChildren = sel === 'slot'; // slot content is removed to trigger slotchange event when removing slot
|
|
3919
3919
|
switch (type) {
|
|
3920
|
-
case 2 /* Element */:
|
|
3920
|
+
case 2 /* Element */: {
|
|
3921
|
+
// Slot content is removed to trigger slotchange event when removing slot.
|
|
3922
|
+
// Only required for synthetic shadow.
|
|
3923
|
+
const removeChildren = sel === 'slot' && vnode.owner.shadowMode === 1 /* Synthetic */;
|
|
3921
3924
|
unmountVNodes(vnode.children, elm, removeChildren);
|
|
3922
3925
|
break;
|
|
3926
|
+
}
|
|
3923
3927
|
case 3 /* CustomElement */: {
|
|
3924
3928
|
const { vm } = vnode;
|
|
3925
3929
|
// No need to unmount the children here, `removeVM` will take care of removing the
|
|
@@ -5395,9 +5399,20 @@
|
|
|
5395
5399
|
|
|
5396
5400
|
resetComponentStateWhenRemoved(vm);
|
|
5397
5401
|
}
|
|
5398
|
-
function createVM(elm, ctor, options) {
|
|
5399
|
-
var _a;
|
|
5400
5402
|
|
|
5403
|
+
function getNearestShadowAncestor(vm) {
|
|
5404
|
+
let ancestor = vm.owner;
|
|
5405
|
+
|
|
5406
|
+
while (!isNull(ancestor) && ancestor.renderMode === 0
|
|
5407
|
+
/* Light */
|
|
5408
|
+
) {
|
|
5409
|
+
ancestor = ancestor.owner;
|
|
5410
|
+
}
|
|
5411
|
+
|
|
5412
|
+
return ancestor;
|
|
5413
|
+
}
|
|
5414
|
+
|
|
5415
|
+
function createVM(elm, ctor, options) {
|
|
5401
5416
|
const {
|
|
5402
5417
|
mode,
|
|
5403
5418
|
owner,
|
|
@@ -5427,8 +5442,6 @@
|
|
|
5427
5442
|
cmpTemplate: null,
|
|
5428
5443
|
hydrated: Boolean(hydrated),
|
|
5429
5444
|
renderMode: def.renderMode,
|
|
5430
|
-
shadowMode: computeShadowMode(def, owner),
|
|
5431
|
-
nearestShadowMode: (owner === null || owner === void 0 ? void 0 : owner.shadowRoot) ? owner.shadowMode : (_a = owner === null || owner === void 0 ? void 0 : owner.nearestShadowMode) !== null && _a !== void 0 ? _a : null,
|
|
5432
5445
|
context: {
|
|
5433
5446
|
stylesheetToken: undefined,
|
|
5434
5447
|
hasTokenInClass: undefined,
|
|
@@ -5441,6 +5454,7 @@
|
|
|
5441
5454
|
},
|
|
5442
5455
|
// Properties set right after VM creation.
|
|
5443
5456
|
tro: null,
|
|
5457
|
+
shadowMode: null,
|
|
5444
5458
|
// Properties set by the LightningElement constructor.
|
|
5445
5459
|
component: null,
|
|
5446
5460
|
shadowRoot: null,
|
|
@@ -5449,6 +5463,7 @@
|
|
|
5449
5463
|
setHook,
|
|
5450
5464
|
getHook
|
|
5451
5465
|
};
|
|
5466
|
+
vm.shadowMode = computeShadowMode(vm);
|
|
5452
5467
|
vm.tro = getTemplateReactiveObserver(vm);
|
|
5453
5468
|
|
|
5454
5469
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -5473,9 +5488,10 @@
|
|
|
5473
5488
|
return vm;
|
|
5474
5489
|
}
|
|
5475
5490
|
|
|
5476
|
-
function computeShadowMode(
|
|
5477
|
-
|
|
5478
|
-
|
|
5491
|
+
function computeShadowMode(vm) {
|
|
5492
|
+
const {
|
|
5493
|
+
def
|
|
5494
|
+
} = vm;
|
|
5479
5495
|
let shadowMode;
|
|
5480
5496
|
|
|
5481
5497
|
if (isSyntheticShadowDefined$1) {
|
|
@@ -5498,13 +5514,23 @@
|
|
|
5498
5514
|
/* Native */
|
|
5499
5515
|
;
|
|
5500
5516
|
} else {
|
|
5501
|
-
|
|
5502
|
-
|
|
5503
|
-
|
|
5504
|
-
|
|
5505
|
-
|
|
5506
|
-
|
|
5507
|
-
|
|
5517
|
+
const shadowAncestor = getNearestShadowAncestor(vm);
|
|
5518
|
+
|
|
5519
|
+
if (!isNull(shadowAncestor) && shadowAncestor.shadowMode === 0
|
|
5520
|
+
/* Native */
|
|
5521
|
+
) {
|
|
5522
|
+
// Transitive support for native Shadow DOM. A component in native mode
|
|
5523
|
+
// transitively opts all of its descendants into native.
|
|
5524
|
+
shadowMode = 0
|
|
5525
|
+
/* Native */
|
|
5526
|
+
;
|
|
5527
|
+
} else {
|
|
5528
|
+
// Synthetic if neither this component nor any of its ancestors are configured
|
|
5529
|
+
// to be native.
|
|
5530
|
+
shadowMode = 1
|
|
5531
|
+
/* Synthetic */
|
|
5532
|
+
;
|
|
5533
|
+
}
|
|
5508
5534
|
}
|
|
5509
5535
|
} else {
|
|
5510
5536
|
shadowMode = 1
|
|
@@ -6716,7 +6742,7 @@
|
|
|
6716
6742
|
}
|
|
6717
6743
|
return ctor;
|
|
6718
6744
|
}
|
|
6719
|
-
/* version: 2.14.
|
|
6745
|
+
/* version: 2.14.1 */
|
|
6720
6746
|
|
|
6721
6747
|
/*
|
|
6722
6748
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -7413,7 +7439,7 @@
|
|
|
7413
7439
|
});
|
|
7414
7440
|
freeze(LightningElement);
|
|
7415
7441
|
seal(LightningElement.prototype);
|
|
7416
|
-
/* version: 2.14.
|
|
7442
|
+
/* version: 2.14.1 */
|
|
7417
7443
|
|
|
7418
7444
|
exports.LightningElement = LightningElement;
|
|
7419
7445
|
exports.__unstable__ProfilerControl = profilerControl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).LWC={})}(this,(function(e){"use strict";var t=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:n,create:o,defineProperties:r,defineProperty:i,freeze:s,getOwnPropertyDescriptor:l,getOwnPropertyNames:c,getPrototypeOf:a,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{copyWithin:g,fill:w,filter:y,find:b,indexOf:v,join:C,map:E,pop:M,push:k,reduce:T,reverse:S,shift:x,slice:O,sort:N,splice:A,unshift:P,forEach:$}=Array.prototype,{fromCharCode:_}=String,{charCodeAt:R,replace:L,slice:D,toLowerCase:H}=String.prototype;function I(e){return void 0===e}function F(e){return null===e}function W(e){return!0===e}function j(e){return!1===e}function B(e){return"function"==typeof e}function V(e){return"object"==typeof e}function K(e){return"string"==typeof e}function G(){}const z={}.toString;function U(e){return e&&e.toString?m(e)?C.call(E.call(e,U),","):e.toString():"object"==typeof e?z.call(e):e+""}function q(e,t){do{const n=l(e,t);if(!I(n))return n;e=a(e)}while(null!==e)}const X=["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:Y,AriaPropNameToAttrNameMap:J}=(()=>{const e=o(null),t=o(null);return $.call(X,(n=>{const o=H.call(L.call(n,/^aria/,(()=>"aria-")));e[o]=n,t[n]=o})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),Q=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}(),Z=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"]]),ee=new Map;function te(e){const t=J[e];if(!I(t))return t;const n=Z.get(e);if(!I(n))return n;const o=ee.get(e);if(!I(o))return o;let r="";for(let t=0,n=e.length;t<n;t++){const n=R.call(e,t);r+=n>=65&&n<=90?"-"+_(n+32):_(n)}return ee.set(e,r),r}const ne="http://www.w3.org/2000/svg";function oe(e){return void 0===Object.getOwnPropertyDescriptor(Element.prototype,e)}const re=new WeakMap;function ie(e){let t=re.get(e);return void 0===t&&(t={},re.set(e,t)),t}function se(e,t){return{get(){const n=ie(this);return u.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set(n){const o=null==(r=n)?null:String(r);var r;ie(this)[e]=o,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function le(e){const t=se(e,J[e]);Object.defineProperty(Element.prototype,e,t)}const ce=f(J);for(let e=0,t=ce.length;e<t;e+=1){const t=ce[e];oe(t)&&le(t)}const ae={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HMR:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null};Q.lwcRuntimeFlags||Object.defineProperty(Q,"lwcRuntimeFlags",{value:o(null)});const ue=Q.lwcRuntimeFlags;let de=[];const fe=h(o(null)),he=h([]);function pe(){const e=de;de=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function me(e){0===de.length&&Promise.resolve().then(pe),k.call(de,e)}const ge=/;(?![^(]*\))/g,we=/:(.+)/;function ye(e,t){const n={};for(const o of Object.keys(e))o!==t&&(n[o]=e[o]);return n}let be,ve,Ce,Ee,Me,ke,Te,Se,xe,Oe,Ne,Ae,Pe,$e,_e,Re,Le,De,He,Ie,Fe,We,je,Be,Ve,Ke,Ge,ze,Ue,qe,Xe,Ye,Je,Qe,Ze,et,tt;const nt=new WeakMap;let ot=null;function rt(e,t){const n=nt.get(e);if(!I(n)){const e=n[t];if(!I(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function it(e,t){if(null===ot)return;const n=ot,r=function(e){let t=nt.get(e);if(I(t)){const n=o(null);t=n,nt.set(e,n)}return t}(e);let i=r[t];if(I(i))i=[],r[t]=i;else if(i[0]===n)return;-1===v.call(i,n)&&n.link(i)}class st{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=ot;let n;ot=this;try{e()}catch(e){n=Object(e)}finally{if(ot=t,void 0!==n)throw n}}reset(){const{listeners:e}=this,t=e.length;if(t>0){for(let n=0;n<t;n+=1){const t=e[n],o=v.call(e[n],this);A.call(t,o,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){k.call(e,this),k.call(this.listeners,e)}}function lt(e,t){rt(e.component,t)}function ct(e,t){it(e.component,t)}function at(e){return`<${H.call(e.tagName)}>`}function ut(e,t){if(!d(t)&&I(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!F(n);)k.call(t,at(n)),n=n.owner;return t.reverse().join("\n\t")}(e);i(t,"wcStack",{get:()=>n})}}function dt(e,t,n){let o=`[LWC ${e}]: ${t}`;I(n)||(o=`${o}\n${function(e){const t=[];let n="";for(;!F(e.owner);)k.call(t,n+at(e)),e=e.owner,n+="\t";return C.call(t,"\n")}(n)}`);try{throw new Error(o)}catch(t){console[e](t)}}function ft(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function ht(e){return B(e)&&u.call(e,"__circular__")}const pt="undefined"!=typeof HTMLElement?HTMLElement:function(){},mt=pt.prototype;function gt(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.`}n(o(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:gt("offsetHeight")},offsetLeft:{readOnly:!0,error:gt("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:gt("offsetTop")},offsetWidth:{readOnly:!0,error:gt("offsetWidth")},role:{attribute:"role"}});let wt,yt=null;function bt(e,t){return e!==yt||t!==wt}function vt(e,t){yt=null,wt=void 0}function Ct(e,t){yt=e,wt=t}const Et=o(null);$.call(f(J),(e=>{const t=q(mt,e);I(t)||(Et[e]=t)})),$.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=q(mt,e);I(t)||(Et[e]=t)}));const{isArray:Mt}=Array,{prototype:kt,getPrototypeOf:Tt,create:St,defineProperty:xt,isExtensible:Ot,getOwnPropertyDescriptor:Nt,getOwnPropertyNames:At,getOwnPropertySymbols:Pt,preventExtensions:$t,hasOwnProperty:_t}=Object,{push:Rt,concat:Lt}=Array.prototype;function Dt(e){return void 0===e}function Ht(e){return"function"==typeof e}const It=new WeakMap;function Ft(e,t){It.set(e,t)}const Wt=e=>It.get(e)||e;class jt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(_t.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;Dt(n)||(e.get=this.wrapGetter(n)),Dt(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,o=Nt(n,t);if(!Dt(o)){const n=this.wrapDescriptor(o);xt(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;Lt.call(At(t),Pt(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;Dt(n)||_t.call(e,n)||xt(e,n,St(null)),$t(e)}apply(e,t,n){}construct(e,t,n){}get(e,t){const{originalTarget:n,membrane:{valueObserved:o}}=this,r=n[t];return o(n,t),this.wrapValue(r)}has(e,t){const{originalTarget:n,membrane:{tagPropertyKey:o,valueObserved:r}}=this;return r(n,t),t in n||t===o}ownKeys(e){const{originalTarget:t,membrane:{tagPropertyKey:n}}=this,o=Dt(n)||_t.call(t,n)?[]:[n];return Rt.apply(o,At(t)),Rt.apply(o,Pt(t)),o}isExtensible(e){const{originalTarget:t}=this;return!!Ot(e)&&(!!Ot(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return Tt(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:o,tagPropertyKey:r}}=this;o(n,t);let i=Nt(n,t);if(Dt(i)){if(t!==r)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},xt(e,r,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const Bt=new WeakMap,Vt=new WeakMap,Kt=new WeakMap,Gt=new WeakMap;class zt extends jt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Bt.get(e);if(!Dt(t))return t;const n=this,o=function(){return n.wrapValue(e.call(Wt(this)))};return Bt.set(e,o),Kt.set(o,e),o}wrapSetter(e){const t=Vt.get(e);if(!Dt(t))return t;const n=function(t){e.call(Wt(this),Wt(t))};return Vt.set(e,n),Gt.set(n,e),n}unwrapDescriptor(e){if(_t.call(e,"value"))e.value=Wt(e.value);else{const{set:t,get:n}=e;Dt(n)||(e.get=this.unwrapGetter(n)),Dt(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=Kt.get(e);if(!Dt(t))return t;const n=this,o=function(){return Wt(e.call(n.wrapValue(this)))};return Bt.set(o,e),Kt.set(e,o),o}unwrapSetter(e){const t=Gt.get(e);if(!Dt(t))return t;const n=this,o=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Vt.set(o,e),Gt.set(e,o),o}set(e,t,n){const{originalTarget:o,membrane:{valueMutated:r}}=this;return o[t]!==n?(o[t]=n,r(o,t)):"length"===t&&Mt(o)&&r(o,t),!0}deleteProperty(e,t){const{originalTarget:n,membrane:{valueMutated:o}}=this;return delete n[t],o(n,t),!0}setPrototypeOf(e,t){}preventExtensions(e){if(Ot(e)){const{originalTarget:t}=this;if($t(t),Ot(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:o,membrane:{valueMutated:r,tagPropertyKey:i}}=this;return t===i&&!_t.call(o,t)||(xt(o,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),r(o,t),!0)}}const Ut=new WeakMap,qt=new WeakMap;class Xt extends jt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=Ut.get(e);if(!Dt(t))return t;const n=this,o=function(){return n.wrapValue(e.call(Wt(this)))};return Ut.set(e,o),o}wrapSetter(e){const t=qt.get(e);if(!Dt(t))return t;const n=function(e){};return qt.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 Yt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(Mt(e))return!0;const t=Tt(e);return t===kt||null===t||null===Tt(t)}const Jt=(e,t)=>{},Qt=(e,t)=>{};function Zt(e){return Mt(e)?[]:{}}const en=Symbol.for("@@lockerLiveValue"),tn=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:o,tagPropertyKey:r}=e;this.valueMutated=Ht(t)?t:Qt,this.valueObserved=Ht(n)?n:Jt,this.valueIsObservable=Ht(o)?o:Yt,this.tagPropertyKey=r}getProxy(e){const t=Wt(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=Wt(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return Wt(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(Dt(t)){const n=new zt(this,e);t=new Proxy(Zt(e),n),Ft(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(Dt(t)){const n=new Xt(this,e);t=new Proxy(Zt(e),n),Ft(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:it,valueMutated:rt,tagPropertyKey:en});function nn(e,t){const{get:n,set:o,enumerable:r,configurable:i}=t;if(!B(n))throw new TypeError;if(!B(o))throw new TypeError;return{enumerable:r,configurable:i,get(){const t=or(this);if(!_o(t))return ct(t,e),n.call(t.elm)},set(t){const n=or(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,lt(n,e)),o.call(n.elm,t)}}}const on=function(){if(F($o))throw new ReferenceError("Illegal constructor");const e=$o,{def:t,elm:n}=e,{bridge:o}=t,r=this;if(p(n,o.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:o}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=o}return this[en]=void 0,nr(r,e),nr(n,e),1===e.renderMode?e.renderRoot=rn(e):e.renderRoot=n,this};function rn(e){const{elm:t,mode:n,shadowMode:o,def:{ctor:r}}=e,i=Ne(t,{"$$lwc-synthetic-mode":1===o,delegatesFocus:Boolean(r.delegatesFocus),mode:n});return e.shadowRoot=i,nr(i,e),i}on.prototype={constructor:on,dispatchEvent(e){const{elm:t}=or(this);return Ie(t,e)},addEventListener(e,t,n){const o=or(this),{elm:r}=o,i=jo(o,t);De(r,e,i,n)},removeEventListener(e,t,n){const o=or(this),{elm:r}=o,i=jo(o,t);He(r,e,i,n)},hasAttribute(e){const{elm:t}=or(this);return!F(_e(t,e))},hasAttributeNS(e,t){const{elm:n}=or(this);return!F(_e(n,t,e))},removeAttribute(e){const{elm:t}=or(this);Ct(t,e),Le(t,e),vt()},removeAttributeNS(e,t){const{elm:n}=or(this);Ct(n,t),Le(n,t,e),vt()},getAttribute(e){const{elm:t}=or(this);return _e(t,e)},getAttributeNS(e,t){const{elm:n}=or(this);return _e(n,t,e)},setAttribute(e,t){const n=or(this),{elm:o}=n;Ct(o,e),Re(o,e,t),vt()},setAttributeNS(e,t,n){const o=or(this),{elm:r}=o;Ct(r,t),Re(r,t,n,e),vt()},getBoundingClientRect(){const e=or(this),{elm:t}=e;return je(t)},get isConnected(){const{elm:e}=or(this);return Qe(e)},get classList(){const e=or(this),{elm:t}=e;return Fe(t)},get template(){return or(this).shadowRoot},get shadowRoot(){return null},render(){return or(this).def.template},toString(){return`[object ${or(this).def.name}]`}};const sn=o(null),ln=["children","childNodes","firstChild","firstElementChild","lastChild","lastElementChild"];function cn(e){switch(e){case"children":return ze;case"childNodes":return Ue;case"firstChild":return qe;case"firstElementChild":return Xe;case"lastChild":return Ye;case"lastElementChild":return Je}}for(const e of ln)sn[e]={get(){const t=or(this),{elm:n}=t;return cn(e)(n)},configurable:!0,enumerable:!0};const an=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];function un(e){switch(e){case"getElementsByClassName":return Ge;case"getElementsByTagName":return Ke;case"querySelector":return Be;case"querySelectorAll":return Ve}}for(const e of an)sn[e]={value(t){const n=or(this),{elm:o}=n;return un(e)(o,t)},configurable:!0,enumerable:!0,writable:!0};r(on.prototype,sn);const dn=o(null);for(const e in Et)dn[e]=nn(e,Et[e]);function fn(e){return{get(){const t=or(this);return ct(t,e),t.cmpFields[e]},set(t){const n=or(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,lt(n,e))},enumerable:!0,configurable:!0}}function hn(e){return{get(){const t=or(this);if(!_o(t))return ct(t,e),t.cmpProps[e]},set(t){const n=or(this);n.cmpProps[e]=t,lt(n,e)},enumerable:!0,configurable:!0}}r(on.prototype,dn),i(on,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class pn extends st{constructor(e,t){super((()=>{j(this.debouncing)&&(this.debouncing=!0,me((()=>{if(W(this.debouncing)){const{value:n}=this,{isDirty:o,component:r,idx:i}=e;t.call(r,n),this.debouncing=!1,W(e.isDirty)&&j(o)&&i>0&&Yo(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function mn(e,t){const{get:n,set:o,enumerable:r,configurable:i}=t;if(!B(n))throw new Error;return{get(){return n.call(this)},set(t){const n=or(this);if(o)if(ue.ENABLE_REACTIVE_SETTER){let r=n.oar[e];I(r)&&(r=n.oar[e]=new pn(n,o)),r.reset(t),r.observe((()=>{o.call(this,t)}))}else o.call(this,t)},enumerable:r,configurable:i}}function gn(e){return{get(){const t=or(this);return ct(t,e),t.cmpFields[e]},set(t){const n=or(this),o=tn.getProxy(t);o!==n.cmpFields[e]&&(n.cmpFields[e]=o,lt(n,e))},enumerable:!0,configurable:!0}}function wn(e){return{get(){const t=or(this);return ct(t,e),t.cmpFields[e]},set(t){const n=or(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,lt(n,e))},enumerable:!0,configurable:!0}}const yn=new Map;const bn={apiMethods:fe,apiFields:fe,apiFieldsConfig:fe,wiredMethods:fe,wiredFields:fe,observedFields:fe};const vn=new Set;function Cn(){return[]}vn.add(Cn);const En=o(null),Mn=o(null);function kn(e){let t=En[e];return I(t)&&(t=En[e]=function(){const t=or(this),{getHook:n}=t;return n(t.component,e)}),t}function Tn(e){let t=Mn[e];return I(t)&&(t=Mn[e]=function(t){const n=or(this),{setHook:o}=n;t=tn.getReadOnlyProxy(t),o(n.component,e,t)}),t}function Sn(e){return function(){const t=or(this),{callHook:n,component:o}=t,r=o[e];return n(t.component,r,O.call(arguments))}}function xn(e,t){return function(n,o,r){if(o===r)return;const i=e[n];I(i)?I(t)||t.apply(this,arguments):bt(this,n)&&(this[i]=r)}}function On(e,t,n){let s;B(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),i(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const l=o(null),{attributeChangedCallback:c}=e.prototype,{observedAttributes:a=[]}=e,u=o(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[te(n)]=n,u[n]={get:kn(n),set:Tn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:Sn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:xn(l,c)},i(s,"observedAttributes",{get:()=>[...a,...f(l)]}),r(s.prototype,u),s}const Nn=On(pt,c(Et),[]);s(Nn),h(Nn.prototype);const An=new WeakMap;function Pn(e){const{shadowSupportMode:t,renderMode:i}=e,s=function(e){const t=yn.get(e);return I(t)?bn:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const C=function(e){let t=a(e);if(F(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(ht(t)){const e=ft(t);t=e===t?on:e}return t}(e),E=C!==on?_n(C):Rn,M=On(E.bridge,f(l),f(u)),k=n(o(null),E.props,l),T=n(o(null),E.propsConfig,c),S=n(o(null),E.methods,u),x=n(o(null),E.wire,d,h);g=g||E.connectedCallback,w=w||E.disconnectedCallback,y=y||E.renderedCallback,b=b||E.errorCallback,v=v||E.render;let O=E.shadowSupportMode;I(t)||(O=t);let N=E.renderMode;I(i)||(N="light"===i?0:1);const A=function(e){return Do.get(e)}(e)||E.template,P=e.name||E.name;r(m,p);return{ctor:e,name:P,wire:x,props:k,propsConfig:T,methods:S,bridge:M,template:A,renderMode:N,shadowSupportMode:O,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function $n(e){if(!B(e))return!1;if(e.prototype instanceof on)return!0;let t=e;do{if(ht(t)){const e=ft(t);if(e===t)return!0;t=e}if(t===on)return!0}while(!F(t)&&(t=a(t)));return!1}function _n(e){let t=An.get(e);if(I(t)){if(ht(e)){return t=_n(ft(e)),An.set(e,t),t}if(!$n(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=Pn(e),An.set(e,t)}return t}const Rn={ctor:on,name:on.name,props:dn,propsConfig:fe,methods:fe,renderMode:1,shadowSupportMode:"reset",wire:fe,bridge:Nn,template:Cn,render:on.prototype.render};function Ln(e){e=e.toLowerCase();let t=tt(e);return I(t)?(t=class extends Ee{constructor(e){super(),B(e)&&e(this)}},et(e,t),t):t}function Dn(e){const{type:t}=e;return 2===t||3===t}function Hn(e,t){return e.key===t.key&&e.sel===t.sel}function In(e,t){return"input"===e&&("value"===t||"checked"===t)}function Fn(e,t){const{props:n}=t.data;if(I(n))return;const o=F(e)?fe:e.data.props;if(o===n)return;const r=F(e),{elm:i,sel:s}=t;for(const e in n){const t=n[e];(r||t!==(In(s,e)?Ae(i,e):o[e]))&&Pe(i,e,t)}}const Wn=o(null);function jn(e){if(null==e)return fe;e=K(e)?e:e+"";let t=Wn[e];if(t)return t;t=o(null);let n,r=0;const i=e.length;for(n=0;n<i;n++)32===R.call(e,n)&&(n>r&&(t[D.call(e,r,n)]=!0),r=n+1);return n>r&&(t[D.call(e,r,n)]=!0),Wn[e]=t,t}function Bn(e){const{elm:t,data:{on:n}}=e;if(!I(n))for(const e in n){const o=n[e];De(t,e,o)}}function Vn(e,t,n){var o;o=t,ro.has(o)?function(e,t,n){let o=0,r=0,i=e.length-1,s=e[0],l=e[i];const c=t.length-1;let a,u,d,f,h=c,p=t[0],m=t[h],g=!1;for(;o<=i&&r<=h;)Xn(s)?Xn(l)?Xn(p)?Xn(m)?Hn(s,p)?(Kn(s,p),s=e[++o],p=t[++r]):Hn(l,m)?(Kn(l,m),l=e[--i],m=t[--h]):Hn(s,m)?(Kn(s,m),eo(s.elm,n,Oe(l.elm)),s=e[++o],m=t[--h]):Hn(l,p)?(Kn(l,p),eo(p.elm,n,s.elm),l=e[--i],p=t[++r]):(void 0===a&&(a=io(e,o,i)),u=a[p.key],I(u)?(Gn(p,n,s.elm),p=t[++r]):(d=e[u],Xn(d)&&(d.sel!==p.sel?Gn(p,n,s.elm):(Kn(d,p),g||(g=!0,e=[...e]),e[u]=void 0,eo(d.elm,n,s.elm))),p=t[++r])):m=t[--h]:p=t[++r]:l=e[--i]:s=e[++o];if(o<=i||r<=h)if(o>i){let e,o=h;do{e=t[++o]}while(!Xn(e)&&o<c);f=Xn(e)?e.elm:null,zn(t,n,f,r,h+1)}else qn(e,n,!0,o,i+1)}(e,t,n):function(e,t,n){const o=e.length,r=t.length;if(0===o)return void zn(t,n,null);if(0===r)return void qn(e,n,!0);let i=null;for(let o=r-1;o>=0;o-=1){const r=e[o],s=t[o];s!==r&&(Xn(r)?Xn(s)?(Kn(r,s),i=s.elm):Un(r,n,!0):Xn(s)&&(Gn(s,n,i),i=s.elm))}}(e,t,n)}function Kn(e,t){if(e!==t)switch(t.type){case 0:case 1:!function(e,t){t.elm=e.elm,t.text!==e.text&&Zn(t)}(e,t);break;case 2:!function(e,t){const n=t.elm=e.elm;no(e,t),Vn(e.children,t.children,n)}(e,t);break;case 3:!function(e,t){const n=t.elm=e.elm,o=t.vm=e.vm;no(e,t),I(o)||oo(t,o);Vn(e.children,t.children,n),I(o)||Yo(o)}(e,t)}}function Gn(e,t,n){switch(e.type){case 0:!function(e,t,n){const{owner:o}=e,r=e.elm=Se(e.text);Qn(r,o),eo(r,t,n)}(e,t,n);break;case 1:!function(e,t,n){const{owner:o}=e,r=e.elm=xe(e.text);Qn(r,o),eo(r,t,n)}(e,t,n);break;case 2:!function(e,t,n){const{sel:o,owner:r,data:{svg:i}}=e,s=W(i)?ne:void 0,l=Te(o,s);Qn(l,r),function(e,t){const{owner:n}=t;if(Jn(e,n),1===n.shadowMode){const{data:{context:o}}=t,{stylesheetToken:r}=n.context;I(o)||I(o.lwc)||"manual"!==o.lwc.dom||function(e){e.$domManual$=!0}(e),I(r)||Yn(e,r)}}(l,e),e.elm=l,no(null,e),eo(l,t,n),zn(e.children,l,null)}(e,t,n);break;case 3:!function(e,t,n){const{sel:o,owner:r}=e,i=Ln(o);let s;const l=new i((t=>{s=function(e,t){let n=rr(e);if(!I(n))return n;const{sel:o,mode:r,ctor:i,owner:s}=t;if(Jn(e,s),1===s.shadowMode){const{stylesheetToken:t}=s.context;I(t)||Yn(e,t)}return n=er(e,i,{mode:r,owner:s,tagName:o}),n}(t,e)}));if(Qn(l,r),e.elm=l,e.vm=s,s)oo(e,s);else if(e.ctor!==i)throw new TypeError("Incorrect Component Constructor");no(null,e),eo(l,t,n),s&&ar(s);zn(e.children,l,null),s&&function(e){ir(e)}(s)}(e,t,n)}}function zn(e,t,n,o=0,r=e.length){for(;o<r;++o){const r=e[o];Xn(r)&&Gn(r,t,n)}}function Un(e,t,n=!1){const{type:o,elm:r,sel:i}=e;n&&to(r,t);const s="slot"===i;switch(o){case 2:qn(e.children,r,s);break;case 3:{const{vm:t}=e;I(t)||function(e){Zo(e)}(t)}}}function qn(e,t,n=!1,o=0,r=e.length){for(;o<r;++o){const r=e[o];Xn(r)&&Un(r,t,n)}}function Xn(e){return null!=e}function Yn(e,t){e.$shadowToken$=t}function Jn(e,t){const{cmpTemplate:n,context:o}=t,r=null==n?void 0:n.stylesheetToken;!I(r)&&o.hasScopedStyles&&Fe(e).add(r)}function Qn(e,t){const{renderRoot:n,renderMode:o,shadowMode:r}=t;Ce&&(1!==r&&0!==o||(e.$shadowResolver$=n.$shadowResolver$))}function Zn(e){const{elm:t,text:n}=e;$e(t,n)}function eo(e,t,n){Me(e,t,n)}function to(e,t){ke(e,t)}function no(e,t){F(e)&&(Bn(t),function(e){const{elm:t,data:{classMap:n}}=e;if(I(n))return;const o=Fe(t);for(const e in n)o.add(e)}(t),function(e){const{elm:t,data:{styleDecls:n}}=e;if(!I(n))for(let e=0;e<n.length;e++){const[o,r,i]=n[e];We(t,o,r,i)}}(t)),function(e,t){const{elm:n,data:{className:o}}=t,r=F(e)?void 0:e.data.className;if(r===o)return;const i=Fe(n),s=jn(o),l=jn(r);let c;for(c in l)I(s[c])&&i.remove(c);for(c in s)I(l[c])&&i.add(c)}(e,t),function(e,t){const{elm:n,data:{style:o}}=t;(F(e)?void 0:e.data.style)!==o&&(K(o)&&""!==o?Re(n,"style",o):Le(n,"style"))}(e,t),function(e,t){const{attrs:n}=t.data;if(I(n))return;const o=F(e)?fe:e.data.attrs;if(o===n)return;const{elm:r}=t;for(const e in n){const t=n[e];o[e]!==t&&(Ct(r,e),58===R.call(e,3)?Re(r,e,t,"http://www.w3.org/XML/1998/namespace"):58===R.call(e,5)?Re(r,e,t,"http://www.w3.org/1999/xlink"):F(t)||I(t)?Le(r,e):Re(r,e,t),vt())}}(e,t),Fn(e,t)}function oo(e,t){const n=e.aChildren||e.children;t.aChildren=n;const{renderMode:r,shadowMode:i}=t;1!==i&&0!==r||(!function(e,t){var n;const{cmpSlots:r}=e,i=e.cmpSlots=o(null);for(let e=0,o=t.length;e<o;e+=1){const o=t[e];if(F(o))continue;let r="";Dn(o)&&(r=(null===(n=o.data.attrs)||void 0===n?void 0:n.slot)||"");const s=i[r]=i[r]||[];k.call(s,o)}if(j(e.isDirty)){const t=f(r);if(t.length!==f(i).length)return void Fo(e);for(let n=0,o=t.length;n<o;n+=1){const o=t[n];if(I(i[o])||r[o].length!==i[o].length)return void Fo(e);const s=r[o],l=i[o];for(let t=0,n=i[o].length;t<n;t+=1)if(s[t]!==l[t])return void Fo(e)}}}(t,n),e.aChildren=n,e.children=he)}const ro=new WeakMap;function io(e,t,n){const o={};for(let r=t;r<=n;++r){const t=e[r];if(Xn(t)){const{key:e}=t;void 0!==e&&(o[e]=r)}}return o}const so=Symbol.iterator;function lo(e,t,n=he){const o=No();const{key:r}=t;return{type:2,sel:e,data:t,children:n,elm:undefined,key:r,owner:o}}function co(e,t,n,o=he){const r=No(),{key:i}=n;const s={type:3,sel:e,data:n,children:o,elm:undefined,key:i,ctor:t,owner:r,mode:"open",aChildren:undefined,vm:undefined};return function(e){k.call(No().velements,e)}(s),s}const ao=new Map;let uo=0;function fo(e){var t;return t=e,ro.set(t,1),e}let ho=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const po=s({s:function(e,t,n,o){I(o)||I(o[e])||0===o[e].length||(n=o[e]);const r=No(),{renderMode:i,shadowMode:s}=r;return 0===i?(fo(n),n):(1===s&&fo(n),lo("slot",t,n))},h:lo,c:co,i:function(e,t){const n=[];if(fo(n),I(e)||null===e)return n;const o=e[so]();let r=o.next(),i=0,{value:s,done:l}=r;for(;!1===l;){r=o.next(),l=r.done;const e=t(s,i,0===i,!0===l);m(e)?k.apply(n,e):k.call(n,e),i+=1,s=r.value}return n},f:function(e){const t=e.length,n=[];fo(n);for(let o=0;o<t;o+=1){const t=e[o];m(t)?k.apply(n,t):k.call(n,t)}return n},t:function(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:No()}},d:function(e){return null==e?"":String(e)},b:function(e){const t=No();if(F(t))throw new Error;const n=t;return function(t){Lo(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:undefined,owner:No()}},dc:function(e,t,n,o=he){if(null==t)return null;if(!$n(t))throw new Error(`Invalid LWC Constructor ${U(t)} for custom element <${e}>.`);let r=ao.get(t);return I(r)&&(r=uo++,ao.set(t,r)),co(e,t,Object.assign(Object.assign({},n),{key:`dc:${r}:${n.key}`}),o)},ti:function(e){return e>0&&!(W(e)||j(e))?0:e},gid:function(e){const t=No();if(I(e)||""===e)return e;if(F(e))return null;const{idx:n,shadowMode:o}=t;return 1===o?L.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=No();if(I(e)||""===e)return e;if(F(e))return null;const{idx:n,shadowMode:o}=t;return 1===o&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return ho(e)}});function mo(e){return`${e}-host`}function go(e,t,n){const o=[];let r;for(let i=0;i<e.length;i++){let s=e[i];if(m(s))k.apply(o,go(s,t,n));else{const e=s.$scoped$,i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let c;1===n.renderMode?c=0===n.shadowMode:(I(r)&&(r=yo(n)),c=F(r)||0===r.shadowMode),k.call(o,s(i,l,c))}}return o}function wo(e,t){const{stylesheets:n,stylesheetToken:o}=t;let r=[];return I(n)||0===n.length||(r=go(n,o,e)),r}function yo(e){let t=e;for(;!F(t);){if(1===t.renderMode)return t;t=t.owner}return t}function bo(e,t){const{renderMode:n,shadowMode:o}=e;if(1===n&&1===o)for(let e=0;e<t.length;e++)Ze(t[e]);else{if(be||e.hydrated){const e=C.call(t,"\n");return r=e,po.h("style",{key:"style",attrs:{type:"text/css"}},[po.t(r)])}{const n=function(e){const t=yo(e);return F(t)||1!==t.shadowMode?t:null}(e),o=F(n)?void 0:n.shadowRoot;for(let e=0;e<t.length;e++)Ze(t[e],o)}}var r;return null}let vo=!1,Co=G;const Eo={enableProfiler(){vo=!0},disableProfiler(){vo=!1},attachDispatcher(e){Co=e,this.enableProfiler()},detachDispatcher(){const e=Co;return Co=G,this.disableProfiler(),e}};function Mo(e,t){vo&&Co(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function ko(e,t){vo&&Co(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function To(e,t){vo&&Co(e,0,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}function So(e,t){vo&&Co(e,1,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}let xo=!1,Oo=null;function No(){return Oo}function Ao(e){Oo=e}function Po(e,t){const n=xo,r=Oo;let i=[];return pr(e,e.owner,(()=>{Oo=e,Mo(1,e)}),(()=>{const{component:n,context:r,cmpSlots:s,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(F(l)||hr(e),c=t,!vn.has(c))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${U(t)}.`);e.cmpTemplate=t,r.tplCache=o(null),r.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!I(t))for(let e=0;e<t.length;e++)if(W(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:o,renderMode:r,shadowMode:i}=e,{stylesheets:s,stylesheetToken:l}=t,c=1===r&&1===i,{hasScopedStyles:a}=o;let u,d,f;const{stylesheetToken:h,hasTokenInClass:p,hasTokenInAttribute:m}=o;I(h)||(p&&Fe(n).remove(mo(h)),m&&Le(n,mo(h))),I(s)||0===s.length||(u=l),I(u)||(a&&(Fe(n).add(mo(u)),d=!0),c&&(Re(n,mo(u),""),f=!0)),o.stylesheetToken=u,o.hasTokenInClass=d,o.hasTokenInAttribute=f}(e,t);const n=wo(e,t);r.styleVNode=0===n.length?null:bo(e,n)}var c;e.velements=[],xo=!0,i=t.call(void 0,po,n,s,r.tplCache);const{styleVNode:a}=r;F(a)||P.call(i,a)}))}),(()=>{xo=n,Oo=r,ko(1,e)})),i}let $o=null;function _o(e){return $o===e}function Ro(e,t,n){const{component:o,callHook:r,owner:i}=e;pr(e,i,G,(()=>{r(o,t,n)}),G)}function Lo(e,t,n,o){const{callHook:r,owner:i}=e;pr(e,i,G,(()=>{r(n,t,[o])}),G)}const Do=new Map;function Ho(e){return new st((()=>{const{isDirty:t}=e;j(t)&&(Fo(e),function(e){if(W(be)||W(e.isScheduled))return;e.isScheduled=!0,0===lr.length&&me(cr);k.call(lr,e)}(e))}))}function Io(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:o,owner:r}=e,i=No();let s,l=!1;return pr(e,r,(()=>{Ao(e)}),(()=>{e.tro.observe((()=>{s=n(o,t),l=!0}))}),(()=>{Ao(i)})),l?Po(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Fo(e){e.isDirty=!0}const Wo=new WeakMap;function jo(e,t){if(!B(t))throw new TypeError;let n=Wo.get(t);return I(n)&&(n=function(n){Lo(e,t,void 0,n)},Wo.set(t,n)),n}const Bo=o(null),Vo=["rendered","connected","disconnected"];function Ko(e,t){const{component:n,def:o,context:r}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},o,r)}let Go=0;const zo=new WeakMap;function Uo(e,t,n=[]){return t.apply(e,n)}function qo(e,t,n){e[t]=n}function Xo(e,t){return e[t]}function Yo(e){ir(e)}function Jo(e){const t=or(e);To(7,t),1===t.state&&Qo(e),ar(t),ir(t),So(7,t)}function Qo(e){Zo(or(e))}function Zo(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}=Bo;t&&Ko(e,t);ur(e)&&function(e){const{wiredDisconnecting:t}=e.context;pr(e,e,G,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),G)}(e);const{disconnectedCallback:n}=e.def;I(n)||(Mo(5,e),Ro(e,n),ko(5,e))}(e),dr(e),function(e){const{aChildren:t}=e;fr(t)}(e)}}function er(e,t,n){var r;const{mode:i,owner:s,tagName:l,hydrated:c}=n,a=_n(t),u={elm:e,def:a,idx:Go++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,children:he,aChildren:he,velements:he,cmpProps:o(null),cmpFields:o(null),cmpSlots:o(null),oar:o(null),cmpTemplate:null,hydrated:Boolean(c),renderMode:a.renderMode,shadowMode:tr(a,s),nearestShadowMode:(null==s?void 0:s.shadowRoot)?s.shadowMode:null!==(r=null==s?void 0:s.nearestShadowMode)&&void 0!==r?r:null,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:fe,wiredConnecting:he,wiredDisconnecting:he},tro:null,component:null,shadowRoot:null,renderRoot:null,callHook:Uo,setHook:qo,getHook:Xo};return u.tro=Ho(u),function(e,t){const n=$o;let o;Mo(0,e),$o=e;try{const r=new t;if($o.component!==r)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){o=Object(e)}finally{if(ko(0,e),$o=n,!I(o))throw ut(e,o),o}}(u,a.ctor),ur(u)&&function(e){const{context:t,def:{wire:n}}=e,o=t.wiredConnecting=[],r=t.wiredDisconnecting=[];for(const t in n){const i=n[t],s=mr.get(i);if(!I(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=wr(e,t,s),c=s.dynamic.length>0;k.call(o,(()=>{n.connect(),ue.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),k.call(r,(()=>{n.disconnect(),l()}))}}}(u),u}function tr(e,t){var n;let o;return o=Ce?0===e.renderMode?0:ve&&ue.ENABLE_MIXED_SHADOW_MODE?"any"===e.shadowSupportMode?0:null!==(n=null==t?void 0:t.nearestShadowMode)&&void 0!==n?n:1:1:0,o}function nr(e,t){zo.set(e,t)}function or(e){return zo.get(e)}function rr(e){return zo.get(e)}function ir(e){if(W(e.isDirty)){!function(e,t){const{renderRoot:n,children:o}=e;e.children=t,(t.length>0||o.length>0)&&o!==t&&pr(e,e,(()=>{Mo(2,e)}),(()=>{Vn(o,t,n)}),(()=>{ko(2,e)}));1===e.state&&sr(e)}(e,Io(e))}}function sr(e){const{def:{renderedCallback:t}}=e;if(W(be))return;const{rendered:n}=Bo;n&&Ko(e,n),I(t)||(Mo(4,e),Ro(e,t),ko(4,e))}let lr=[];function cr(){To(8);const e=lr.sort(((e,t)=>e.idx-t.idx));lr=[];for(let t=0,n=e.length;t<n;t+=1){const o=e[t];try{ir(o)}catch(o){throw t+1<n&&(0===lr.length&&me(cr),P.apply(lr,O.call(e,t+1))),So(8),o}}So(8)}function ar(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Bo;n&&Ko(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:o}=e.def;I(o)||(Mo(3,e),Ro(e,o),ko(3,e))}function ur(e){return c(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(!I(n)){const e=rr(n);I(e)||Zo(e)}}}function fr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!F(n)&&!I(n.elm))switch(n.type){case 2:fr(n.children);break;case 3:Zo(or(n.elm));break}}}function hr(e){const{children:t,renderRoot:n}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];F(o)||I(o.elm)||ke(o.elm,n)}e.children=he,dr(e),e.velements=he}function pr(e,t,n,o,r){let i;n();try{o()}catch(e){i=Object(e)}finally{if(r(),!I(i)){ut(e,i);const n=F(t)?void 0:function(e){let t=e;for(;!F(t);){if(!I(t.def.errorCallback))return t;t=t.owner}}(t);if(I(n))throw i;hr(e),Mo(6,e);Ro(n,n.def.errorCallback,[i,i.wcStack]),ko(6,e)}}}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:o,adapter:r,configCallback:s,dynamic:l}=n,c=I(o)?function(e,t){const{cmpFields:n}=e;return o=>{o!==e.cmpFields[t]&&(n[t]=o,lt(e,t))}}(e,t):function(e,t){return n=>{pr(e,e.owner,G,(()=>{t.call(e.component,n)}),G)}}(e,o);let a,u;i(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),i(c,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),pr(e,e,G,(()=>{u=new r(c)}),G);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let o=!1;const r=new st((()=>{!1===o&&(o=!0,Promise.resolve().then((()=>{o=!1,r.reset(),i()})))})),i=()=>{let o;r.observe((()=>o=t(e))),n(o)};return{computeConfigAndUpdate:i,ro:r}}(e.component,s,(t=>{pr(e,e,G,(()=>{u.update(t,a)}),G)}));return I(r.contextSchema)||function(e,t,n){const{adapter:o}=t,r=br(o);if(I(r))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l}}=e;k.call(s,(()=>{const e=new gr(r,{setNewContext(e){n(e)},setDisconnectedCallback(e){k.call(l,e)}});Ie(i,e)}))}(e,n,(t=>{a!==t&&(a=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,o){t.adapter&&(t=t.adapter);const r={adapter:t,method:e.value,configCallback:n,dynamic:o};mr.set(e,r)}function Cr(e,t,n,o){t.adapter&&(t=t.adapter);const r={adapter:t,configCallback:n,dynamic:o};mr.set(e,r)}let Er=!1;function Mr(e){Er=!1,ar(e),kr(e),Er&&function(e,t){dt("error",e,t)}("Hydration completed with errors.",e)}function kr(e){const t=Io(e);e.children=t;const n=e.renderRoot;Sr(qe(n),t,n),sr(e)}function Tr(e,t){let n;switch(t.type){case 0:n=function(e,t){var n;if(!Nr(t,e,3))return xr(e,t);return $e(e,null!==(n=t.text)&&void 0!==n?n:null),t.elm=e,e}(e,t);break;case 1:n=function(e,t){var n;if(!Nr(t,e,8))return xr(e,t);return Pe(e,"nodeValue",null!==(n=t.text)&&void 0!==n?n:null),t.elm=e,e}(e,t);break;case 2:n=function(e,t){if(!Nr(t,e,1)||!Ar(t,e))return xr(e,t);t.elm=e;const{context:n}=t.data,o=Boolean(!I(n)&&!I(n.lwc)&&"manual"===n.lwc.dom);if(o){const{props:n}=t.data;I(n)||I(n.innerHTML)||Ae(e,"innerHTML")===n.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:ye(n,"innerHTML")}))}Or(t),o||Sr(qe(e),t.children,e,t.owner);return e}(e,t);break;case 3:n=function(e,t){if(!Nr(t,e,1)||!Ar(t,e))return xr(e,t);const{sel:n,mode:o,ctor:r,owner:i}=t,s=er(e,r,{mode:o,owner:i,tagName:n,hydrated:!0});t.elm=e,t.vm=s,oo(t,s),Or(t),ar(s),0!==s.renderMode&&Sr(qe(e),t.children,e);return kr(s),e}(e,t)}return Oe(n)}function Sr(e,t,n,o){let r=e,i=null;for(let e=0;e<t.length;e++){const o=t[e];F(o)||(r?(r=Tr(r,o),i=o.elm):(Er=!0,Gn(o,n,i),i=o.elm))}if(r){Er=!0;do{const e=r;r=Oe(r),to(e,n)}while(r)}}function xr(e,t,n){Er=!0;const o=Ae(e,"parentNode");return Gn(t,o,e),to(e,o),t.elm}function Or(e){Bn(e),Fn(null,e)}function Nr(e,t,n){return Ae(t,"nodeType")===n}function Ar(e,t){if(e.sel.toLowerCase()!==Ae(t,"tagName").toLowerCase())return!1;const n=function(e,t){const{data:{attrs:n={}}}=e;let o=!0;for(const[e,r]of Object.entries(n)){const n=_e(t,e);String(r)!==n&&(o=!1)}return o}(e,t),o=function(e,t){const{data:{className:n,classMap:o}}=e;let r=!0;if(I(n)||String(n)===Ae(t,"className")){if(!I(o)){const e=Fe(t);let n="";for(const t in o)n+=" "+t,e.contains(t)||(r=!1);n.trim(),e.length>f(o).length&&(r=!1)}}else r=!1;return r}(e,t),r=function(e,t){const{data:{style:n,styleDecls:o}}=e,r=_e(t,"style")||"";let i=!0;if(I(n)||n===r){if(!I(o)){const e=function(e){const t={},n=e.split(ge);for(const e of n)if(e){const[n,o]=e.split(we);void 0!==n&&void 0!==o&&(t[n.trim()]=o.trim())}return t}(r),t=[];for(let n=0,r=o.length;n<r;n++){const[r,s,l]=o[n];t.push(`${r}: ${s+(l?" important!":"")}`);const c=e[r];I(c)?i=!1:c.startsWith(s)?l&&!c.endsWith("!important")&&(i=!1):i=!1}f(e).length>o.length&&(i=!1),C.call(t,";")}}else i=!1;return i}(e,t);return n&&o&&r}let Pr=!1;const $r=B(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),_r=$r&&l(document.adoptedStyleSheets,"length").writable,Rr=!I(document.documentMode),Lr=new Map;function Dr(e){const t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function Hr(e){const t=new CSSStyleSheet;return t.replaceSync(e),t}function Ir(e,t,n){const o=function(e,t){const{stylesheet:n,used:o}=t;return o?Rr?Dr(e):n.cloneNode(!0):(t.used=!0,n)}(e,n);(function(e){return!I(e.head)}(t)?t.head:t).appendChild(o)}function Fr(e,t,n){$r?function(e,t,n){const{adoptedStyleSheets:o}=t,{stylesheet:r}=n;_r?o.push(r):t.adoptedStyleSheets=[...o,r]}(0,t,n):Ir(e,t,n)}function Wr(e){let t=Lr.get(e);return I(t)&&(t={stylesheet:$r?Hr(e):Dr(e),roots:void 0,global:!1,used:!1},Lr.set(e,t)),t}let jr,Br,Vr;if(function(){if("undefined"==typeof customElements)return!1;try{const e=HTMLElement;class t extends e{}return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),t),new t,!0}catch(e){return!1}}())jr=customElements.get.bind(customElements),Br=customElements.define.bind(customElements),Vr=HTMLElement;else{const e=o(null),t=new WeakMap;Br=function(n,o){if(n!==H.call(n)||e[n])throw new TypeError("Invalid Registration");e[n]=o,t.set(o,n)},jr=function(t){return e[t]},Vr=function e(){if(!(this instanceof e))throw new TypeError("Invalid Invocation");const{constructor:n}=this,o=t.get(n);if(!o)throw new TypeError("Invalid Construction");const r=document.createElement(o);return p(r,n.prototype),r},Vr.prototype=HTMLElement.prototype}let Kr=!1;function Gr(e){Kr=e}const zr=Q.$isNativeShadowRootDefined$,Ur=u.call(Element.prototype,"$shadowToken$");function qr(e,t,n){const o=er(e,t,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0});for(const[t,o]of Object.entries(n))e[t]=o;return o}function Xr(e,t,n={}){if(!(e instanceof Element))throw new TypeError(`"hydrateComponent" expects a valid DOM element as the first parameter but instead received ${e}.`);if(!B(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!V(n)||F(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);if(rr(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{Gr(!0);Mr(qr(e,t,n)),Gr(!1)}catch(o){console.error("Recovering from error while hydrating: ",o),function(e,t){if(e.shadowRoot){const t=e.shadowRoot;for(;!F(t.firstChild);)t.removeChild(t.firstChild)}if("light"===t.renderMode)for(;!F(e.firstChild);)e.removeChild(e.firstChild)}(e,t),qr(e,t,n),Gr(!1),Jo(e)}finally{Gr(!1)}}Ne=function(e,t){return Kr?e.shadowRoot:e.attachShadow(t)},xe=function(e){return document.createComment(e)},Te=function(e,t){return I(t)?document.createElement(e):document.createElementNS(t,e)},Se=function(e){return document.createTextNode(e)},et=Br,Ie=function(e,t){return e.dispatchEvent(t)},_e=function(e,t,n){return I(n)?e.getAttribute(t):e.getAttributeNS(n,t)},je=function(e){return e.getBoundingClientRect()},Ue=function(e){return e.childNodes},ze=function(e){return e.children},Fe=function(e){return e.classList},tt=jr,Ge=function(e,t){return e.getElementsByClassName(t)},Ke=function(e,t){return e.getElementsByTagName(t)},qe=function(e){return e.firstChild},Xe=function(e){return e.firstElementChild},Ye=function(e){return e.lastChild},Je=function(e){return e.lastElementChild},Ae=function(e,t){return e[t]},Ee=Vr,Me=function(e,t,n){t.insertBefore(e,n)},Qe=function(e){return e.isConnected},ve=zr,Ce=Ur,Oe=function(e){return e.nextSibling},Be=function(e,t){return e.querySelector(t)},Ve=function(e,t){return e.querySelectorAll(t)},ke=function(e,t){t.removeChild(e)},Le=function(e,t,n){I(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)},He=function(e,t,n,o){e.removeEventListener(t,n,o)},Re=function(e,t,n,o){return I(o)?e.setAttribute(t,n):e.setAttributeNS(o,t,n)},We=function(e,t,n,o){e.style.setProperty(t,n,o?"important":"")},Pe=function(e,t,n){e[t]=n},$e=function(e,t){e.nodeValue=t},be=!1,De=function(e,t,n,o){e.addEventListener(t,n,o)},Ze=function(e,t){I(t)?function(e){const t=Wr(e);t.global||(t.global=!0,Fr(e,document,t))}(e):function(e,t){const n=Wr(e);let{roots:o}=n;if(I(o))o=n.roots=new WeakSet;else if(o.has(t))return;o.add(t),Fr(e,t,n)}(e,t)};const Yr=new WeakSet;function Jr(e){const t=function(e){return _n(e).bridge}(e);return class extends t{constructor(){super(),this.isConnected?(Xr(this,e,{}),Yr.add(this)):er(this,e,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){Yr.has(this)?Yr.delete(this):Jo(this)}disconnectedCallback(){Qo(this)}}}const Qr=Node,Zr=new WeakMap,ei=new WeakMap;function ti(e,t){const n=t.get(e);return I(n)||n(e),e}const{appendChild:ni,insertBefore:oi,removeChild:ri,replaceChild:ii}=Qr.prototype;n(Qr.prototype,{appendChild(e){return ti(ni.call(this,e),Zr)},insertBefore(e,t){return ti(oi.call(this,e,t),Zr)},removeChild(e){return ti(ri.call(this,e),ei)},replaceChild(e,t){const n=ii.call(this,e,t);return ti(n,ei),ti(e,Zr),n}});const si=Node;const li=new Map;i(on,"CustomElementConstructor",{get(){return function(e){if(e===on)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=li.get(e);return I(t)&&(t=Jr(e),li.set(e,t)),t}(this)}}),s(on),h(on.prototype),e.LightningElement=on,e.__unstable__ProfilerControl=Eo,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=br(e);if(!I(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,o)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:r,consumerDisconnectedCallback:i}=o;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,o={provide(e){t(e)}};n((()=>{I(i)||i(o)})),r(o),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!V(t)||F(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${U(t)}".`);const n=t.is;if(!B(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const o=Ln(e);let r=!1;const i=new o((o=>{er(o,n,{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null}),Zr.set(o,Jo),ei.set(o,Qo),r=!0}));return r||console.error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`),i},e.freezeTemplate=function(e){},e.getComponentConstructor=function(e){let t=null;if(!I(e)){const n=rr(e);I(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=_n(e),{ctor:n,name:o,props:r,propsConfig:i,methods:s}=t,l={};for(const e in r)l[e]={config:i[e]||0,type:"any",attr:te(e)};const c={};for(const e in s)c[e]=s[e].value;return{ctor:n,name:o,props:l,methods:c}},e.hydrateComponent=Xr,e.isComponentConstructor=$n,e.isNodeFromTemplate=function(e){if(j(e instanceof si))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&j(u.call(a(t),"synthetic")))||Ur&&!I(e.$shadowResolver$)},e.readonly=function(e){return tn.getReadOnlyProxy(e)},e.register=function(e){for(let t=0;t<Vo.length;++t){const n=Vo[t];if(n in e){let t=Bo[n];I(t)&&(Bo[n]=t=[]),k.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return B(e)&&Do.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:r,publicMethods:s,wire:c,track:a,fields:u}=t,d=o(null),f=o(null),h=o(null),p=o(null),m=o(null),g=o(null);let w;if(!I(r))for(const e in r){const t=r[e];if(g[e]=t.config,w=l(n,e),t.config>0){if(I(w))throw new Error;w=mn(e,w)}else w=I(w)||I(w.get)?hn(e):mn(e,w);f[e]=w,i(n,e,w)}if(I(s)||$.call(s,(e=>{if(w=l(n,e),I(w))throw new Error;d[e]=w})),!I(c))for(const e in c){const{adapter:t,method:o,config:r,dynamic:s=[]}=c[e];if(w=l(n,e),1===o){if(I(w))throw new Error;h[e]=w,vr(w,t,r,s)}else w=wn(e),p[e]=w,Cr(w,t,r,s),i(n,e,w)}if(!I(a))for(const e in a)w=l(n,e),w=gn(e),i(n,e,w);if(!I(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(n,t);const o=!I(r)&&t in r,i=!I(a)&&t in a;o||i||(m[t]=fn(t))}return function(e,t){yn.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return vn.add(e),i(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return I(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=I(e)?void 0:e.shadowAttribute}}),e},e.sanitizeAttribute=function(e,t,n,o){return o},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(I(ae[e])){const n=f(ae).map((e=>`"${e}"`)).join(", ");console.warn(`Failed to set the value "${t}" for the runtime feature flag "${e}" because it is undefined. Available flags: ${n}.`)}else{const n=ue[e];if(!I(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}".`);i(ue,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){var n;t.isFalse(Pr,"Hooks are already overridden, only one definition is allowed."),Pr=!0,n=e.sanitizeHtmlContent,ho=n},e.swapComponent=function(e,t){if(!ue.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapStyle=function(e,t){if(!ue.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapTemplate=function(e,t){if(!ue.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.track=function(e){if(1===arguments.length)return tn.getProxy(e);throw new Error},e.unwrap=function(e){return tn.unwrapProxy(e)},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).LWC={})}(this,(function(e){"use strict";var t=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:n,create:o,defineProperties:r,defineProperty:i,freeze:s,getOwnPropertyDescriptor:l,getOwnPropertyNames:c,getPrototypeOf:a,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{copyWithin:g,fill:w,filter:y,find:b,indexOf:v,join:C,map:E,pop:M,push:k,reduce:T,reverse:S,shift:x,slice:O,sort:N,splice:A,unshift:P,forEach:$}=Array.prototype,{fromCharCode:_}=String,{charCodeAt:R,replace:L,slice:D,toLowerCase:H}=String.prototype;function I(e){return void 0===e}function F(e){return null===e}function W(e){return!0===e}function j(e){return!1===e}function B(e){return"function"==typeof e}function V(e){return"object"==typeof e}function K(e){return"string"==typeof e}function G(){}const z={}.toString;function U(e){return e&&e.toString?m(e)?C.call(E.call(e,U),","):e.toString():"object"==typeof e?z.call(e):e+""}function q(e,t){do{const n=l(e,t);if(!I(n))return n;e=a(e)}while(null!==e)}const X=["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:Y,AriaPropNameToAttrNameMap:J}=(()=>{const e=o(null),t=o(null);return $.call(X,(n=>{const o=H.call(L.call(n,/^aria/,(()=>"aria-")));e[o]=n,t[n]=o})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),Q=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}(),Z=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"]]),ee=new Map;function te(e){const t=J[e];if(!I(t))return t;const n=Z.get(e);if(!I(n))return n;const o=ee.get(e);if(!I(o))return o;let r="";for(let t=0,n=e.length;t<n;t++){const n=R.call(e,t);r+=n>=65&&n<=90?"-"+_(n+32):_(n)}return ee.set(e,r),r}const ne="http://www.w3.org/2000/svg";function oe(e){return void 0===Object.getOwnPropertyDescriptor(Element.prototype,e)}const re=new WeakMap;function ie(e){let t=re.get(e);return void 0===t&&(t={},re.set(e,t)),t}function se(e,t){return{get(){const n=ie(this);return u.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set(n){const o=null==(r=n)?null:String(r);var r;ie(this)[e]=o,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function le(e){const t=se(e,J[e]);Object.defineProperty(Element.prototype,e,t)}const ce=f(J);for(let e=0,t=ce.length;e<t;e+=1){const t=ce[e];oe(t)&&le(t)}const ae={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HMR:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null};Q.lwcRuntimeFlags||Object.defineProperty(Q,"lwcRuntimeFlags",{value:o(null)});const ue=Q.lwcRuntimeFlags;let de=[];const fe=h(o(null)),he=h([]);function pe(){const e=de;de=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function me(e){0===de.length&&Promise.resolve().then(pe),k.call(de,e)}const ge=/;(?![^(]*\))/g,we=/:(.+)/;function ye(e,t){const n={};for(const o of Object.keys(e))o!==t&&(n[o]=e[o]);return n}let be,ve,Ce,Ee,Me,ke,Te,Se,xe,Oe,Ne,Ae,Pe,$e,_e,Re,Le,De,He,Ie,Fe,We,je,Be,Ve,Ke,Ge,ze,Ue,qe,Xe,Ye,Je,Qe,Ze,et,tt;const nt=new WeakMap;let ot=null;function rt(e,t){const n=nt.get(e);if(!I(n)){const e=n[t];if(!I(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function it(e,t){if(null===ot)return;const n=ot,r=function(e){let t=nt.get(e);if(I(t)){const n=o(null);t=n,nt.set(e,n)}return t}(e);let i=r[t];if(I(i))i=[],r[t]=i;else if(i[0]===n)return;-1===v.call(i,n)&&n.link(i)}class st{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=ot;let n;ot=this;try{e()}catch(e){n=Object(e)}finally{if(ot=t,void 0!==n)throw n}}reset(){const{listeners:e}=this,t=e.length;if(t>0){for(let n=0;n<t;n+=1){const t=e[n],o=v.call(e[n],this);A.call(t,o,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){k.call(e,this),k.call(this.listeners,e)}}function lt(e,t){rt(e.component,t)}function ct(e,t){it(e.component,t)}function at(e){return`<${H.call(e.tagName)}>`}function ut(e,t){if(!d(t)&&I(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!F(n);)k.call(t,at(n)),n=n.owner;return t.reverse().join("\n\t")}(e);i(t,"wcStack",{get:()=>n})}}function dt(e,t,n){let o=`[LWC ${e}]: ${t}`;I(n)||(o=`${o}\n${function(e){const t=[];let n="";for(;!F(e.owner);)k.call(t,n+at(e)),e=e.owner,n+="\t";return C.call(t,"\n")}(n)}`);try{throw new Error(o)}catch(t){console[e](t)}}function ft(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function ht(e){return B(e)&&u.call(e,"__circular__")}const pt="undefined"!=typeof HTMLElement?HTMLElement:function(){},mt=pt.prototype;function gt(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.`}n(o(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:gt("offsetHeight")},offsetLeft:{readOnly:!0,error:gt("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:gt("offsetTop")},offsetWidth:{readOnly:!0,error:gt("offsetWidth")},role:{attribute:"role"}});let wt,yt=null;function bt(e,t){return e!==yt||t!==wt}function vt(e,t){yt=null,wt=void 0}function Ct(e,t){yt=e,wt=t}const Et=o(null);$.call(f(J),(e=>{const t=q(mt,e);I(t)||(Et[e]=t)})),$.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=q(mt,e);I(t)||(Et[e]=t)}));const{isArray:Mt}=Array,{prototype:kt,getPrototypeOf:Tt,create:St,defineProperty:xt,isExtensible:Ot,getOwnPropertyDescriptor:Nt,getOwnPropertyNames:At,getOwnPropertySymbols:Pt,preventExtensions:$t,hasOwnProperty:_t}=Object,{push:Rt,concat:Lt}=Array.prototype;function Dt(e){return void 0===e}function Ht(e){return"function"==typeof e}const It=new WeakMap;function Ft(e,t){It.set(e,t)}const Wt=e=>It.get(e)||e;class jt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(_t.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;Dt(n)||(e.get=this.wrapGetter(n)),Dt(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,o=Nt(n,t);if(!Dt(o)){const n=this.wrapDescriptor(o);xt(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;Lt.call(At(t),Pt(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;Dt(n)||_t.call(e,n)||xt(e,n,St(null)),$t(e)}apply(e,t,n){}construct(e,t,n){}get(e,t){const{originalTarget:n,membrane:{valueObserved:o}}=this,r=n[t];return o(n,t),this.wrapValue(r)}has(e,t){const{originalTarget:n,membrane:{tagPropertyKey:o,valueObserved:r}}=this;return r(n,t),t in n||t===o}ownKeys(e){const{originalTarget:t,membrane:{tagPropertyKey:n}}=this,o=Dt(n)||_t.call(t,n)?[]:[n];return Rt.apply(o,At(t)),Rt.apply(o,Pt(t)),o}isExtensible(e){const{originalTarget:t}=this;return!!Ot(e)&&(!!Ot(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return Tt(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:o,tagPropertyKey:r}}=this;o(n,t);let i=Nt(n,t);if(Dt(i)){if(t!==r)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},xt(e,r,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const Bt=new WeakMap,Vt=new WeakMap,Kt=new WeakMap,Gt=new WeakMap;class zt extends jt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Bt.get(e);if(!Dt(t))return t;const n=this,o=function(){return n.wrapValue(e.call(Wt(this)))};return Bt.set(e,o),Kt.set(o,e),o}wrapSetter(e){const t=Vt.get(e);if(!Dt(t))return t;const n=function(t){e.call(Wt(this),Wt(t))};return Vt.set(e,n),Gt.set(n,e),n}unwrapDescriptor(e){if(_t.call(e,"value"))e.value=Wt(e.value);else{const{set:t,get:n}=e;Dt(n)||(e.get=this.unwrapGetter(n)),Dt(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=Kt.get(e);if(!Dt(t))return t;const n=this,o=function(){return Wt(e.call(n.wrapValue(this)))};return Bt.set(o,e),Kt.set(e,o),o}unwrapSetter(e){const t=Gt.get(e);if(!Dt(t))return t;const n=this,o=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Vt.set(o,e),Gt.set(e,o),o}set(e,t,n){const{originalTarget:o,membrane:{valueMutated:r}}=this;return o[t]!==n?(o[t]=n,r(o,t)):"length"===t&&Mt(o)&&r(o,t),!0}deleteProperty(e,t){const{originalTarget:n,membrane:{valueMutated:o}}=this;return delete n[t],o(n,t),!0}setPrototypeOf(e,t){}preventExtensions(e){if(Ot(e)){const{originalTarget:t}=this;if($t(t),Ot(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:o,membrane:{valueMutated:r,tagPropertyKey:i}}=this;return t===i&&!_t.call(o,t)||(xt(o,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),r(o,t),!0)}}const Ut=new WeakMap,qt=new WeakMap;class Xt extends jt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=Ut.get(e);if(!Dt(t))return t;const n=this,o=function(){return n.wrapValue(e.call(Wt(this)))};return Ut.set(e,o),o}wrapSetter(e){const t=qt.get(e);if(!Dt(t))return t;const n=function(e){};return qt.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 Yt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(Mt(e))return!0;const t=Tt(e);return t===kt||null===t||null===Tt(t)}const Jt=(e,t)=>{},Qt=(e,t)=>{};function Zt(e){return Mt(e)?[]:{}}const en=Symbol.for("@@lockerLiveValue"),tn=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:o,tagPropertyKey:r}=e;this.valueMutated=Ht(t)?t:Qt,this.valueObserved=Ht(n)?n:Jt,this.valueIsObservable=Ht(o)?o:Yt,this.tagPropertyKey=r}getProxy(e){const t=Wt(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=Wt(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return Wt(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(Dt(t)){const n=new zt(this,e);t=new Proxy(Zt(e),n),Ft(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(Dt(t)){const n=new Xt(this,e);t=new Proxy(Zt(e),n),Ft(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:it,valueMutated:rt,tagPropertyKey:en});function nn(e,t){const{get:n,set:o,enumerable:r,configurable:i}=t;if(!B(n))throw new TypeError;if(!B(o))throw new TypeError;return{enumerable:r,configurable:i,get(){const t=nr(this);if(!_o(t))return ct(t,e),n.call(t.elm)},set(t){const n=nr(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,lt(n,e)),o.call(n.elm,t)}}}const on=function(){if(F($o))throw new ReferenceError("Illegal constructor");const e=$o,{def:t,elm:n}=e,{bridge:o}=t,r=this;if(p(n,o.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:o}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=o}return this[en]=void 0,tr(r,e),tr(n,e),1===e.renderMode?e.renderRoot=rn(e):e.renderRoot=n,this};function rn(e){const{elm:t,mode:n,shadowMode:o,def:{ctor:r}}=e,i=Ne(t,{"$$lwc-synthetic-mode":1===o,delegatesFocus:Boolean(r.delegatesFocus),mode:n});return e.shadowRoot=i,tr(i,e),i}on.prototype={constructor:on,dispatchEvent(e){const{elm:t}=nr(this);return Ie(t,e)},addEventListener(e,t,n){const o=nr(this),{elm:r}=o,i=jo(o,t);De(r,e,i,n)},removeEventListener(e,t,n){const o=nr(this),{elm:r}=o,i=jo(o,t);He(r,e,i,n)},hasAttribute(e){const{elm:t}=nr(this);return!F(_e(t,e))},hasAttributeNS(e,t){const{elm:n}=nr(this);return!F(_e(n,t,e))},removeAttribute(e){const{elm:t}=nr(this);Ct(t,e),Le(t,e),vt()},removeAttributeNS(e,t){const{elm:n}=nr(this);Ct(n,t),Le(n,t,e),vt()},getAttribute(e){const{elm:t}=nr(this);return _e(t,e)},getAttributeNS(e,t){const{elm:n}=nr(this);return _e(n,t,e)},setAttribute(e,t){const n=nr(this),{elm:o}=n;Ct(o,e),Re(o,e,t),vt()},setAttributeNS(e,t,n){const o=nr(this),{elm:r}=o;Ct(r,t),Re(r,t,n,e),vt()},getBoundingClientRect(){const e=nr(this),{elm:t}=e;return je(t)},get isConnected(){const{elm:e}=nr(this);return Qe(e)},get classList(){const e=nr(this),{elm:t}=e;return Fe(t)},get template(){return nr(this).shadowRoot},get shadowRoot(){return null},render(){return nr(this).def.template},toString(){return`[object ${nr(this).def.name}]`}};const sn=o(null),ln=["children","childNodes","firstChild","firstElementChild","lastChild","lastElementChild"];function cn(e){switch(e){case"children":return ze;case"childNodes":return Ue;case"firstChild":return qe;case"firstElementChild":return Xe;case"lastChild":return Ye;case"lastElementChild":return Je}}for(const e of ln)sn[e]={get(){const t=nr(this),{elm:n}=t;return cn(e)(n)},configurable:!0,enumerable:!0};const an=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];function un(e){switch(e){case"getElementsByClassName":return Ge;case"getElementsByTagName":return Ke;case"querySelector":return Be;case"querySelectorAll":return Ve}}for(const e of an)sn[e]={value(t){const n=nr(this),{elm:o}=n;return un(e)(o,t)},configurable:!0,enumerable:!0,writable:!0};r(on.prototype,sn);const dn=o(null);for(const e in Et)dn[e]=nn(e,Et[e]);function fn(e){return{get(){const t=nr(this);return ct(t,e),t.cmpFields[e]},set(t){const n=nr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,lt(n,e))},enumerable:!0,configurable:!0}}function hn(e){return{get(){const t=nr(this);if(!_o(t))return ct(t,e),t.cmpProps[e]},set(t){const n=nr(this);n.cmpProps[e]=t,lt(n,e)},enumerable:!0,configurable:!0}}r(on.prototype,dn),i(on,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class pn extends st{constructor(e,t){super((()=>{j(this.debouncing)&&(this.debouncing=!0,me((()=>{if(W(this.debouncing)){const{value:n}=this,{isDirty:o,component:r,idx:i}=e;t.call(r,n),this.debouncing=!1,W(e.isDirty)&&j(o)&&i>0&&Yo(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function mn(e,t){const{get:n,set:o,enumerable:r,configurable:i}=t;if(!B(n))throw new Error;return{get(){return n.call(this)},set(t){const n=nr(this);if(o)if(ue.ENABLE_REACTIVE_SETTER){let r=n.oar[e];I(r)&&(r=n.oar[e]=new pn(n,o)),r.reset(t),r.observe((()=>{o.call(this,t)}))}else o.call(this,t)},enumerable:r,configurable:i}}function gn(e){return{get(){const t=nr(this);return ct(t,e),t.cmpFields[e]},set(t){const n=nr(this),o=tn.getProxy(t);o!==n.cmpFields[e]&&(n.cmpFields[e]=o,lt(n,e))},enumerable:!0,configurable:!0}}function wn(e){return{get(){const t=nr(this);return ct(t,e),t.cmpFields[e]},set(t){const n=nr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,lt(n,e))},enumerable:!0,configurable:!0}}const yn=new Map;const bn={apiMethods:fe,apiFields:fe,apiFieldsConfig:fe,wiredMethods:fe,wiredFields:fe,observedFields:fe};const vn=new Set;function Cn(){return[]}vn.add(Cn);const En=o(null),Mn=o(null);function kn(e){let t=En[e];return I(t)&&(t=En[e]=function(){const t=nr(this),{getHook:n}=t;return n(t.component,e)}),t}function Tn(e){let t=Mn[e];return I(t)&&(t=Mn[e]=function(t){const n=nr(this),{setHook:o}=n;t=tn.getReadOnlyProxy(t),o(n.component,e,t)}),t}function Sn(e){return function(){const t=nr(this),{callHook:n,component:o}=t,r=o[e];return n(t.component,r,O.call(arguments))}}function xn(e,t){return function(n,o,r){if(o===r)return;const i=e[n];I(i)?I(t)||t.apply(this,arguments):bt(this,n)&&(this[i]=r)}}function On(e,t,n){let s;B(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),i(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const l=o(null),{attributeChangedCallback:c}=e.prototype,{observedAttributes:a=[]}=e,u=o(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[te(n)]=n,u[n]={get:kn(n),set:Tn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:Sn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:xn(l,c)},i(s,"observedAttributes",{get:()=>[...a,...f(l)]}),r(s.prototype,u),s}const Nn=On(pt,c(Et),[]);s(Nn),h(Nn.prototype);const An=new WeakMap;function Pn(e){const{shadowSupportMode:t,renderMode:i}=e,s=function(e){const t=yn.get(e);return I(t)?bn:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const C=function(e){let t=a(e);if(F(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(ht(t)){const e=ft(t);t=e===t?on:e}return t}(e),E=C!==on?_n(C):Rn,M=On(E.bridge,f(l),f(u)),k=n(o(null),E.props,l),T=n(o(null),E.propsConfig,c),S=n(o(null),E.methods,u),x=n(o(null),E.wire,d,h);g=g||E.connectedCallback,w=w||E.disconnectedCallback,y=y||E.renderedCallback,b=b||E.errorCallback,v=v||E.render;let O=E.shadowSupportMode;I(t)||(O=t);let N=E.renderMode;I(i)||(N="light"===i?0:1);const A=function(e){return Do.get(e)}(e)||E.template,P=e.name||E.name;r(m,p);return{ctor:e,name:P,wire:x,props:k,propsConfig:T,methods:S,bridge:M,template:A,renderMode:N,shadowSupportMode:O,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function $n(e){if(!B(e))return!1;if(e.prototype instanceof on)return!0;let t=e;do{if(ht(t)){const e=ft(t);if(e===t)return!0;t=e}if(t===on)return!0}while(!F(t)&&(t=a(t)));return!1}function _n(e){let t=An.get(e);if(I(t)){if(ht(e)){return t=_n(ft(e)),An.set(e,t),t}if(!$n(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=Pn(e),An.set(e,t)}return t}const Rn={ctor:on,name:on.name,props:dn,propsConfig:fe,methods:fe,renderMode:1,shadowSupportMode:"reset",wire:fe,bridge:Nn,template:Cn,render:on.prototype.render};function Ln(e){e=e.toLowerCase();let t=tt(e);return I(t)?(t=class extends Ee{constructor(e){super(),B(e)&&e(this)}},et(e,t),t):t}function Dn(e){const{type:t}=e;return 2===t||3===t}function Hn(e,t){return e.key===t.key&&e.sel===t.sel}function In(e,t){return"input"===e&&("value"===t||"checked"===t)}function Fn(e,t){const{props:n}=t.data;if(I(n))return;const o=F(e)?fe:e.data.props;if(o===n)return;const r=F(e),{elm:i,sel:s}=t;for(const e in n){const t=n[e];(r||t!==(In(s,e)?Ae(i,e):o[e]))&&Pe(i,e,t)}}const Wn=o(null);function jn(e){if(null==e)return fe;e=K(e)?e:e+"";let t=Wn[e];if(t)return t;t=o(null);let n,r=0;const i=e.length;for(n=0;n<i;n++)32===R.call(e,n)&&(n>r&&(t[D.call(e,r,n)]=!0),r=n+1);return n>r&&(t[D.call(e,r,n)]=!0),Wn[e]=t,t}function Bn(e){const{elm:t,data:{on:n}}=e;if(!I(n))for(const e in n){const o=n[e];De(t,e,o)}}function Vn(e,t,n){var o;o=t,ro.has(o)?function(e,t,n){let o=0,r=0,i=e.length-1,s=e[0],l=e[i];const c=t.length-1;let a,u,d,f,h=c,p=t[0],m=t[h],g=!1;for(;o<=i&&r<=h;)Xn(s)?Xn(l)?Xn(p)?Xn(m)?Hn(s,p)?(Kn(s,p),s=e[++o],p=t[++r]):Hn(l,m)?(Kn(l,m),l=e[--i],m=t[--h]):Hn(s,m)?(Kn(s,m),eo(s.elm,n,Oe(l.elm)),s=e[++o],m=t[--h]):Hn(l,p)?(Kn(l,p),eo(p.elm,n,s.elm),l=e[--i],p=t[++r]):(void 0===a&&(a=io(e,o,i)),u=a[p.key],I(u)?(Gn(p,n,s.elm),p=t[++r]):(d=e[u],Xn(d)&&(d.sel!==p.sel?Gn(p,n,s.elm):(Kn(d,p),g||(g=!0,e=[...e]),e[u]=void 0,eo(d.elm,n,s.elm))),p=t[++r])):m=t[--h]:p=t[++r]:l=e[--i]:s=e[++o];if(o<=i||r<=h)if(o>i){let e,o=h;do{e=t[++o]}while(!Xn(e)&&o<c);f=Xn(e)?e.elm:null,zn(t,n,f,r,h+1)}else qn(e,n,!0,o,i+1)}(e,t,n):function(e,t,n){const o=e.length,r=t.length;if(0===o)return void zn(t,n,null);if(0===r)return void qn(e,n,!0);let i=null;for(let o=r-1;o>=0;o-=1){const r=e[o],s=t[o];s!==r&&(Xn(r)?Xn(s)?(Kn(r,s),i=s.elm):Un(r,n,!0):Xn(s)&&(Gn(s,n,i),i=s.elm))}}(e,t,n)}function Kn(e,t){if(e!==t)switch(t.type){case 0:case 1:!function(e,t){t.elm=e.elm,t.text!==e.text&&Zn(t)}(e,t);break;case 2:!function(e,t){const n=t.elm=e.elm;no(e,t),Vn(e.children,t.children,n)}(e,t);break;case 3:!function(e,t){const n=t.elm=e.elm,o=t.vm=e.vm;no(e,t),I(o)||oo(t,o);Vn(e.children,t.children,n),I(o)||Yo(o)}(e,t)}}function Gn(e,t,n){switch(e.type){case 0:!function(e,t,n){const{owner:o}=e,r=e.elm=Se(e.text);Qn(r,o),eo(r,t,n)}(e,t,n);break;case 1:!function(e,t,n){const{owner:o}=e,r=e.elm=xe(e.text);Qn(r,o),eo(r,t,n)}(e,t,n);break;case 2:!function(e,t,n){const{sel:o,owner:r,data:{svg:i}}=e,s=W(i)?ne:void 0,l=Te(o,s);Qn(l,r),function(e,t){const{owner:n}=t;if(Jn(e,n),1===n.shadowMode){const{data:{context:o}}=t,{stylesheetToken:r}=n.context;I(o)||I(o.lwc)||"manual"!==o.lwc.dom||function(e){e.$domManual$=!0}(e),I(r)||Yn(e,r)}}(l,e),e.elm=l,no(null,e),eo(l,t,n),zn(e.children,l,null)}(e,t,n);break;case 3:!function(e,t,n){const{sel:o,owner:r}=e,i=Ln(o);let s;const l=new i((t=>{s=function(e,t){let n=or(e);if(!I(n))return n;const{sel:o,mode:r,ctor:i,owner:s}=t;if(Jn(e,s),1===s.shadowMode){const{stylesheetToken:t}=s.context;I(t)||Yn(e,t)}return n=er(e,i,{mode:r,owner:s,tagName:o}),n}(t,e)}));if(Qn(l,r),e.elm=l,e.vm=s,s)oo(e,s);else if(e.ctor!==i)throw new TypeError("Incorrect Component Constructor");no(null,e),eo(l,t,n),s&&cr(s);zn(e.children,l,null),s&&function(e){rr(e)}(s)}(e,t,n)}}function zn(e,t,n,o=0,r=e.length){for(;o<r;++o){const r=e[o];Xn(r)&&Gn(r,t,n)}}function Un(e,t,n=!1){const{type:o,elm:r,sel:i}=e;switch(n&&to(r,t),o){case 2:{const t="slot"===i&&1===e.owner.shadowMode;qn(e.children,r,t);break}case 3:{const{vm:t}=e;I(t)||function(e){Zo(e)}(t)}}}function qn(e,t,n=!1,o=0,r=e.length){for(;o<r;++o){const r=e[o];Xn(r)&&Un(r,t,n)}}function Xn(e){return null!=e}function Yn(e,t){e.$shadowToken$=t}function Jn(e,t){const{cmpTemplate:n,context:o}=t,r=null==n?void 0:n.stylesheetToken;!I(r)&&o.hasScopedStyles&&Fe(e).add(r)}function Qn(e,t){const{renderRoot:n,renderMode:o,shadowMode:r}=t;Ce&&(1!==r&&0!==o||(e.$shadowResolver$=n.$shadowResolver$))}function Zn(e){const{elm:t,text:n}=e;$e(t,n)}function eo(e,t,n){Me(e,t,n)}function to(e,t){ke(e,t)}function no(e,t){F(e)&&(Bn(t),function(e){const{elm:t,data:{classMap:n}}=e;if(I(n))return;const o=Fe(t);for(const e in n)o.add(e)}(t),function(e){const{elm:t,data:{styleDecls:n}}=e;if(!I(n))for(let e=0;e<n.length;e++){const[o,r,i]=n[e];We(t,o,r,i)}}(t)),function(e,t){const{elm:n,data:{className:o}}=t,r=F(e)?void 0:e.data.className;if(r===o)return;const i=Fe(n),s=jn(o),l=jn(r);let c;for(c in l)I(s[c])&&i.remove(c);for(c in s)I(l[c])&&i.add(c)}(e,t),function(e,t){const{elm:n,data:{style:o}}=t;(F(e)?void 0:e.data.style)!==o&&(K(o)&&""!==o?Re(n,"style",o):Le(n,"style"))}(e,t),function(e,t){const{attrs:n}=t.data;if(I(n))return;const o=F(e)?fe:e.data.attrs;if(o===n)return;const{elm:r}=t;for(const e in n){const t=n[e];o[e]!==t&&(Ct(r,e),58===R.call(e,3)?Re(r,e,t,"http://www.w3.org/XML/1998/namespace"):58===R.call(e,5)?Re(r,e,t,"http://www.w3.org/1999/xlink"):F(t)||I(t)?Le(r,e):Re(r,e,t),vt())}}(e,t),Fn(e,t)}function oo(e,t){const n=e.aChildren||e.children;t.aChildren=n;const{renderMode:r,shadowMode:i}=t;1!==i&&0!==r||(!function(e,t){var n;const{cmpSlots:r}=e,i=e.cmpSlots=o(null);for(let e=0,o=t.length;e<o;e+=1){const o=t[e];if(F(o))continue;let r="";Dn(o)&&(r=(null===(n=o.data.attrs)||void 0===n?void 0:n.slot)||"");const s=i[r]=i[r]||[];k.call(s,o)}if(j(e.isDirty)){const t=f(r);if(t.length!==f(i).length)return void Fo(e);for(let n=0,o=t.length;n<o;n+=1){const o=t[n];if(I(i[o])||r[o].length!==i[o].length)return void Fo(e);const s=r[o],l=i[o];for(let t=0,n=i[o].length;t<n;t+=1)if(s[t]!==l[t])return void Fo(e)}}}(t,n),e.aChildren=n,e.children=he)}const ro=new WeakMap;function io(e,t,n){const o={};for(let r=t;r<=n;++r){const t=e[r];if(Xn(t)){const{key:e}=t;void 0!==e&&(o[e]=r)}}return o}const so=Symbol.iterator;function lo(e,t,n=he){const o=No();const{key:r}=t;return{type:2,sel:e,data:t,children:n,elm:undefined,key:r,owner:o}}function co(e,t,n,o=he){const r=No(),{key:i}=n;const s={type:3,sel:e,data:n,children:o,elm:undefined,key:i,ctor:t,owner:r,mode:"open",aChildren:undefined,vm:undefined};return function(e){k.call(No().velements,e)}(s),s}const ao=new Map;let uo=0;function fo(e){var t;return t=e,ro.set(t,1),e}let ho=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const po=s({s:function(e,t,n,o){I(o)||I(o[e])||0===o[e].length||(n=o[e]);const r=No(),{renderMode:i,shadowMode:s}=r;return 0===i?(fo(n),n):(1===s&&fo(n),lo("slot",t,n))},h:lo,c:co,i:function(e,t){const n=[];if(fo(n),I(e)||null===e)return n;const o=e[so]();let r=o.next(),i=0,{value:s,done:l}=r;for(;!1===l;){r=o.next(),l=r.done;const e=t(s,i,0===i,!0===l);m(e)?k.apply(n,e):k.call(n,e),i+=1,s=r.value}return n},f:function(e){const t=e.length,n=[];fo(n);for(let o=0;o<t;o+=1){const t=e[o];m(t)?k.apply(n,t):k.call(n,t)}return n},t:function(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:No()}},d:function(e){return null==e?"":String(e)},b:function(e){const t=No();if(F(t))throw new Error;const n=t;return function(t){Lo(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:undefined,owner:No()}},dc:function(e,t,n,o=he){if(null==t)return null;if(!$n(t))throw new Error(`Invalid LWC Constructor ${U(t)} for custom element <${e}>.`);let r=ao.get(t);return I(r)&&(r=uo++,ao.set(t,r)),co(e,t,Object.assign(Object.assign({},n),{key:`dc:${r}:${n.key}`}),o)},ti:function(e){return e>0&&!(W(e)||j(e))?0:e},gid:function(e){const t=No();if(I(e)||""===e)return e;if(F(e))return null;const{idx:n,shadowMode:o}=t;return 1===o?L.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=No();if(I(e)||""===e)return e;if(F(e))return null;const{idx:n,shadowMode:o}=t;return 1===o&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return ho(e)}});function mo(e){return`${e}-host`}function go(e,t,n){const o=[];let r;for(let i=0;i<e.length;i++){let s=e[i];if(m(s))k.apply(o,go(s,t,n));else{const e=s.$scoped$,i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let c;1===n.renderMode?c=0===n.shadowMode:(I(r)&&(r=yo(n)),c=F(r)||0===r.shadowMode),k.call(o,s(i,l,c))}}return o}function wo(e,t){const{stylesheets:n,stylesheetToken:o}=t;let r=[];return I(n)||0===n.length||(r=go(n,o,e)),r}function yo(e){let t=e;for(;!F(t);){if(1===t.renderMode)return t;t=t.owner}return t}function bo(e,t){const{renderMode:n,shadowMode:o}=e;if(1===n&&1===o)for(let e=0;e<t.length;e++)Ze(t[e]);else{if(be||e.hydrated){const e=C.call(t,"\n");return r=e,po.h("style",{key:"style",attrs:{type:"text/css"}},[po.t(r)])}{const n=function(e){const t=yo(e);return F(t)||1!==t.shadowMode?t:null}(e),o=F(n)?void 0:n.shadowRoot;for(let e=0;e<t.length;e++)Ze(t[e],o)}}var r;return null}let vo=!1,Co=G;const Eo={enableProfiler(){vo=!0},disableProfiler(){vo=!1},attachDispatcher(e){Co=e,this.enableProfiler()},detachDispatcher(){const e=Co;return Co=G,this.disableProfiler(),e}};function Mo(e,t){vo&&Co(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function ko(e,t){vo&&Co(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function To(e,t){vo&&Co(e,0,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}function So(e,t){vo&&Co(e,1,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}let xo=!1,Oo=null;function No(){return Oo}function Ao(e){Oo=e}function Po(e,t){const n=xo,r=Oo;let i=[];return hr(e,e.owner,(()=>{Oo=e,Mo(1,e)}),(()=>{const{component:n,context:r,cmpSlots:s,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(F(l)||fr(e),c=t,!vn.has(c))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${U(t)}.`);e.cmpTemplate=t,r.tplCache=o(null),r.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!I(t))for(let e=0;e<t.length;e++)if(W(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:o,renderMode:r,shadowMode:i}=e,{stylesheets:s,stylesheetToken:l}=t,c=1===r&&1===i,{hasScopedStyles:a}=o;let u,d,f;const{stylesheetToken:h,hasTokenInClass:p,hasTokenInAttribute:m}=o;I(h)||(p&&Fe(n).remove(mo(h)),m&&Le(n,mo(h))),I(s)||0===s.length||(u=l),I(u)||(a&&(Fe(n).add(mo(u)),d=!0),c&&(Re(n,mo(u),""),f=!0)),o.stylesheetToken=u,o.hasTokenInClass=d,o.hasTokenInAttribute=f}(e,t);const n=wo(e,t);r.styleVNode=0===n.length?null:bo(e,n)}var c;e.velements=[],xo=!0,i=t.call(void 0,po,n,s,r.tplCache);const{styleVNode:a}=r;F(a)||P.call(i,a)}))}),(()=>{xo=n,Oo=r,ko(1,e)})),i}let $o=null;function _o(e){return $o===e}function Ro(e,t,n){const{component:o,callHook:r,owner:i}=e;hr(e,i,G,(()=>{r(o,t,n)}),G)}function Lo(e,t,n,o){const{callHook:r,owner:i}=e;hr(e,i,G,(()=>{r(n,t,[o])}),G)}const Do=new Map;function Ho(e){return new st((()=>{const{isDirty:t}=e;j(t)&&(Fo(e),function(e){if(W(be)||W(e.isScheduled))return;e.isScheduled=!0,0===sr.length&&me(lr);k.call(sr,e)}(e))}))}function Io(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:o,owner:r}=e,i=No();let s,l=!1;return hr(e,r,(()=>{Ao(e)}),(()=>{e.tro.observe((()=>{s=n(o,t),l=!0}))}),(()=>{Ao(i)})),l?Po(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Fo(e){e.isDirty=!0}const Wo=new WeakMap;function jo(e,t){if(!B(t))throw new TypeError;let n=Wo.get(t);return I(n)&&(n=function(n){Lo(e,t,void 0,n)},Wo.set(t,n)),n}const Bo=o(null),Vo=["rendered","connected","disconnected"];function Ko(e,t){const{component:n,def:o,context:r}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},o,r)}let Go=0;const zo=new WeakMap;function Uo(e,t,n=[]){return t.apply(e,n)}function qo(e,t,n){e[t]=n}function Xo(e,t){return e[t]}function Yo(e){rr(e)}function Jo(e){const t=nr(e);To(7,t),1===t.state&&Qo(e),cr(t),rr(t),So(7,t)}function Qo(e){Zo(nr(e))}function Zo(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}=Bo;t&&Ko(e,t);ar(e)&&function(e){const{wiredDisconnecting:t}=e.context;hr(e,e,G,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),G)}(e);const{disconnectedCallback:n}=e.def;I(n)||(Mo(5,e),Ro(e,n),ko(5,e))}(e),ur(e),function(e){const{aChildren:t}=e;dr(t)}(e)}}function er(e,t,n){const{mode:r,owner:i,tagName:s,hydrated:l}=n,c=_n(t),a={elm:e,def:c,idx:Go++,state:0,isScheduled:!1,isDirty:!0,tagName:s,mode:r,owner:i,children:he,aChildren:he,velements:he,cmpProps:o(null),cmpFields:o(null),cmpSlots:o(null),oar:o(null),cmpTemplate:null,hydrated:Boolean(l),renderMode:c.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:fe,wiredConnecting:he,wiredDisconnecting:he},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:Uo,setHook:qo,getHook:Xo};return a.shadowMode=function(e){const{def:t}=e;let n;if(Ce)if(0===t.renderMode)n=0;else if(ve)if(ue.ENABLE_MIXED_SHADOW_MODE)if("any"===t.shadowSupportMode)n=0;else{const t=function(e){let t=e.owner;for(;!F(t)&&0===t.renderMode;)t=t.owner;return t}(e);n=F(t)||0!==t.shadowMode?1:0}else n=1;else n=1;else n=0;return n}(a),a.tro=Ho(a),function(e,t){const n=$o;let o;Mo(0,e),$o=e;try{const r=new t;if($o.component!==r)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){o=Object(e)}finally{if(ko(0,e),$o=n,!I(o))throw ut(e,o),o}}(a,c.ctor),ar(a)&&function(e){const{context:t,def:{wire:n}}=e,o=t.wiredConnecting=[],r=t.wiredDisconnecting=[];for(const t in n){const i=n[t],s=pr.get(i);if(!I(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=gr(e,t,s),c=s.dynamic.length>0;k.call(o,(()=>{n.connect(),ue.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),k.call(r,(()=>{n.disconnect(),l()}))}}}(a),a}function tr(e,t){zo.set(e,t)}function nr(e){return zo.get(e)}function or(e){return zo.get(e)}function rr(e){if(W(e.isDirty)){!function(e,t){const{renderRoot:n,children:o}=e;e.children=t,(t.length>0||o.length>0)&&o!==t&&hr(e,e,(()=>{Mo(2,e)}),(()=>{Vn(o,t,n)}),(()=>{ko(2,e)}));1===e.state&&ir(e)}(e,Io(e))}}function ir(e){const{def:{renderedCallback:t}}=e;if(W(be))return;const{rendered:n}=Bo;n&&Ko(e,n),I(t)||(Mo(4,e),Ro(e,t),ko(4,e))}let sr=[];function lr(){To(8);const e=sr.sort(((e,t)=>e.idx-t.idx));sr=[];for(let t=0,n=e.length;t<n;t+=1){const o=e[t];try{rr(o)}catch(o){throw t+1<n&&(0===sr.length&&me(lr),P.apply(sr,O.call(e,t+1))),So(8),o}}So(8)}function cr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Bo;n&&Ko(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:o}=e.def;I(o)||(Mo(3,e),Ro(e,o),ko(3,e))}function ar(e){return c(e.def.wire).length>0}function ur(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!I(n)){const e=or(n);I(e)||Zo(e)}}}function dr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!F(n)&&!I(n.elm))switch(n.type){case 2:dr(n.children);break;case 3:Zo(nr(n.elm));break}}}function fr(e){const{children:t,renderRoot:n}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];F(o)||I(o.elm)||ke(o.elm,n)}e.children=he,ur(e),e.velements=he}function hr(e,t,n,o,r){let i;n();try{o()}catch(e){i=Object(e)}finally{if(r(),!I(i)){ut(e,i);const n=F(t)?void 0:function(e){let t=e;for(;!F(t);){if(!I(t.def.errorCallback))return t;t=t.owner}}(t);if(I(n))throw i;fr(e),Mo(6,e);Ro(n,n.def.errorCallback,[i,i.wcStack]),ko(6,e)}}}const pr=new Map;class mr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function gr(e,t,n){const{method:o,adapter:r,configCallback:s,dynamic:l}=n,c=I(o)?function(e,t){const{cmpFields:n}=e;return o=>{o!==e.cmpFields[t]&&(n[t]=o,lt(e,t))}}(e,t):function(e,t){return n=>{hr(e,e.owner,G,(()=>{t.call(e.component,n)}),G)}}(e,o);let a,u;i(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),i(c,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),hr(e,e,G,(()=>{u=new r(c)}),G);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let o=!1;const r=new st((()=>{!1===o&&(o=!0,Promise.resolve().then((()=>{o=!1,r.reset(),i()})))})),i=()=>{let o;r.observe((()=>o=t(e))),n(o)};return{computeConfigAndUpdate:i,ro:r}}(e.component,s,(t=>{hr(e,e,G,(()=>{u.update(t,a)}),G)}));return I(r.contextSchema)||function(e,t,n){const{adapter:o}=t,r=yr(o);if(I(r))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l}}=e;k.call(s,(()=>{const e=new mr(r,{setNewContext(e){n(e)},setDisconnectedCallback(e){k.call(l,e)}});Ie(i,e)}))}(e,n,(t=>{a!==t&&(a=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const wr=new Map;function yr(e){return wr.get(e)}function br(e,t,n,o){t.adapter&&(t=t.adapter);const r={adapter:t,method:e.value,configCallback:n,dynamic:o};pr.set(e,r)}function vr(e,t,n,o){t.adapter&&(t=t.adapter);const r={adapter:t,configCallback:n,dynamic:o};pr.set(e,r)}let Cr=!1;function Er(e){Cr=!1,cr(e),Mr(e),Cr&&function(e,t){dt("error",e,t)}("Hydration completed with errors.",e)}function Mr(e){const t=Io(e);e.children=t;const n=e.renderRoot;Tr(qe(n),t,n),ir(e)}function kr(e,t){let n;switch(t.type){case 0:n=function(e,t){var n;if(!Or(t,e,3))return Sr(e,t);return $e(e,null!==(n=t.text)&&void 0!==n?n:null),t.elm=e,e}(e,t);break;case 1:n=function(e,t){var n;if(!Or(t,e,8))return Sr(e,t);return Pe(e,"nodeValue",null!==(n=t.text)&&void 0!==n?n:null),t.elm=e,e}(e,t);break;case 2:n=function(e,t){if(!Or(t,e,1)||!Nr(t,e))return Sr(e,t);t.elm=e;const{context:n}=t.data,o=Boolean(!I(n)&&!I(n.lwc)&&"manual"===n.lwc.dom);if(o){const{props:n}=t.data;I(n)||I(n.innerHTML)||Ae(e,"innerHTML")===n.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:ye(n,"innerHTML")}))}xr(t),o||Tr(qe(e),t.children,e,t.owner);return e}(e,t);break;case 3:n=function(e,t){if(!Or(t,e,1)||!Nr(t,e))return Sr(e,t);const{sel:n,mode:o,ctor:r,owner:i}=t,s=er(e,r,{mode:o,owner:i,tagName:n,hydrated:!0});t.elm=e,t.vm=s,oo(t,s),xr(t),cr(s),0!==s.renderMode&&Tr(qe(e),t.children,e);return Mr(s),e}(e,t)}return Oe(n)}function Tr(e,t,n,o){let r=e,i=null;for(let e=0;e<t.length;e++){const o=t[e];F(o)||(r?(r=kr(r,o),i=o.elm):(Cr=!0,Gn(o,n,i),i=o.elm))}if(r){Cr=!0;do{const e=r;r=Oe(r),to(e,n)}while(r)}}function Sr(e,t,n){Cr=!0;const o=Ae(e,"parentNode");return Gn(t,o,e),to(e,o),t.elm}function xr(e){Bn(e),Fn(null,e)}function Or(e,t,n){return Ae(t,"nodeType")===n}function Nr(e,t){if(e.sel.toLowerCase()!==Ae(t,"tagName").toLowerCase())return!1;const n=function(e,t){const{data:{attrs:n={}}}=e;let o=!0;for(const[e,r]of Object.entries(n)){const n=_e(t,e);String(r)!==n&&(o=!1)}return o}(e,t),o=function(e,t){const{data:{className:n,classMap:o}}=e;let r=!0;if(I(n)||String(n)===Ae(t,"className")){if(!I(o)){const e=Fe(t);let n="";for(const t in o)n+=" "+t,e.contains(t)||(r=!1);n.trim(),e.length>f(o).length&&(r=!1)}}else r=!1;return r}(e,t),r=function(e,t){const{data:{style:n,styleDecls:o}}=e,r=_e(t,"style")||"";let i=!0;if(I(n)||n===r){if(!I(o)){const e=function(e){const t={},n=e.split(ge);for(const e of n)if(e){const[n,o]=e.split(we);void 0!==n&&void 0!==o&&(t[n.trim()]=o.trim())}return t}(r),t=[];for(let n=0,r=o.length;n<r;n++){const[r,s,l]=o[n];t.push(`${r}: ${s+(l?" important!":"")}`);const c=e[r];I(c)?i=!1:c.startsWith(s)?l&&!c.endsWith("!important")&&(i=!1):i=!1}f(e).length>o.length&&(i=!1),C.call(t,";")}}else i=!1;return i}(e,t);return n&&o&&r}let Ar=!1;const Pr=B(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),$r=Pr&&l(document.adoptedStyleSheets,"length").writable,_r=!I(document.documentMode),Rr=new Map;function Lr(e){const t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function Dr(e){const t=new CSSStyleSheet;return t.replaceSync(e),t}function Hr(e,t,n){const o=function(e,t){const{stylesheet:n,used:o}=t;return o?_r?Lr(e):n.cloneNode(!0):(t.used=!0,n)}(e,n);(function(e){return!I(e.head)}(t)?t.head:t).appendChild(o)}function Ir(e,t,n){Pr?function(e,t,n){const{adoptedStyleSheets:o}=t,{stylesheet:r}=n;$r?o.push(r):t.adoptedStyleSheets=[...o,r]}(0,t,n):Hr(e,t,n)}function Fr(e){let t=Rr.get(e);return I(t)&&(t={stylesheet:Pr?Dr(e):Lr(e),roots:void 0,global:!1,used:!1},Rr.set(e,t)),t}let Wr,jr,Br;if(function(){if("undefined"==typeof customElements)return!1;try{const e=HTMLElement;class t extends e{}return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),t),new t,!0}catch(e){return!1}}())Wr=customElements.get.bind(customElements),jr=customElements.define.bind(customElements),Br=HTMLElement;else{const e=o(null),t=new WeakMap;jr=function(n,o){if(n!==H.call(n)||e[n])throw new TypeError("Invalid Registration");e[n]=o,t.set(o,n)},Wr=function(t){return e[t]},Br=function e(){if(!(this instanceof e))throw new TypeError("Invalid Invocation");const{constructor:n}=this,o=t.get(n);if(!o)throw new TypeError("Invalid Construction");const r=document.createElement(o);return p(r,n.prototype),r},Br.prototype=HTMLElement.prototype}let Vr=!1;function Kr(e){Vr=e}const Gr=Q.$isNativeShadowRootDefined$,zr=u.call(Element.prototype,"$shadowToken$");function Ur(e,t,n){const o=er(e,t,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0});for(const[t,o]of Object.entries(n))e[t]=o;return o}function qr(e,t,n={}){if(!(e instanceof Element))throw new TypeError(`"hydrateComponent" expects a valid DOM element as the first parameter but instead received ${e}.`);if(!B(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!V(n)||F(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);if(or(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{Kr(!0);Er(Ur(e,t,n)),Kr(!1)}catch(o){console.error("Recovering from error while hydrating: ",o),function(e,t){if(e.shadowRoot){const t=e.shadowRoot;for(;!F(t.firstChild);)t.removeChild(t.firstChild)}if("light"===t.renderMode)for(;!F(e.firstChild);)e.removeChild(e.firstChild)}(e,t),Ur(e,t,n),Kr(!1),Jo(e)}finally{Kr(!1)}}Ne=function(e,t){return Vr?e.shadowRoot:e.attachShadow(t)},xe=function(e){return document.createComment(e)},Te=function(e,t){return I(t)?document.createElement(e):document.createElementNS(t,e)},Se=function(e){return document.createTextNode(e)},et=jr,Ie=function(e,t){return e.dispatchEvent(t)},_e=function(e,t,n){return I(n)?e.getAttribute(t):e.getAttributeNS(n,t)},je=function(e){return e.getBoundingClientRect()},Ue=function(e){return e.childNodes},ze=function(e){return e.children},Fe=function(e){return e.classList},tt=Wr,Ge=function(e,t){return e.getElementsByClassName(t)},Ke=function(e,t){return e.getElementsByTagName(t)},qe=function(e){return e.firstChild},Xe=function(e){return e.firstElementChild},Ye=function(e){return e.lastChild},Je=function(e){return e.lastElementChild},Ae=function(e,t){return e[t]},Ee=Br,Me=function(e,t,n){t.insertBefore(e,n)},Qe=function(e){return e.isConnected},ve=Gr,Ce=zr,Oe=function(e){return e.nextSibling},Be=function(e,t){return e.querySelector(t)},Ve=function(e,t){return e.querySelectorAll(t)},ke=function(e,t){t.removeChild(e)},Le=function(e,t,n){I(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)},He=function(e,t,n,o){e.removeEventListener(t,n,o)},Re=function(e,t,n,o){return I(o)?e.setAttribute(t,n):e.setAttributeNS(o,t,n)},We=function(e,t,n,o){e.style.setProperty(t,n,o?"important":"")},Pe=function(e,t,n){e[t]=n},$e=function(e,t){e.nodeValue=t},be=!1,De=function(e,t,n,o){e.addEventListener(t,n,o)},Ze=function(e,t){I(t)?function(e){const t=Fr(e);t.global||(t.global=!0,Ir(e,document,t))}(e):function(e,t){const n=Fr(e);let{roots:o}=n;if(I(o))o=n.roots=new WeakSet;else if(o.has(t))return;o.add(t),Ir(e,t,n)}(e,t)};const Xr=new WeakSet;function Yr(e){const t=function(e){return _n(e).bridge}(e);return class extends t{constructor(){super(),this.isConnected?(qr(this,e,{}),Xr.add(this)):er(this,e,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){Xr.has(this)?Xr.delete(this):Jo(this)}disconnectedCallback(){Qo(this)}}}const Jr=Node,Qr=new WeakMap,Zr=new WeakMap;function ei(e,t){const n=t.get(e);return I(n)||n(e),e}const{appendChild:ti,insertBefore:ni,removeChild:oi,replaceChild:ri}=Jr.prototype;n(Jr.prototype,{appendChild(e){return ei(ti.call(this,e),Qr)},insertBefore(e,t){return ei(ni.call(this,e,t),Qr)},removeChild(e){return ei(oi.call(this,e),Zr)},replaceChild(e,t){const n=ri.call(this,e,t);return ei(n,Zr),ei(e,Qr),n}});const ii=Node;const si=new Map;i(on,"CustomElementConstructor",{get(){return function(e){if(e===on)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=si.get(e);return I(t)&&(t=Yr(e),si.set(e,t)),t}(this)}}),s(on),h(on.prototype),e.LightningElement=on,e.__unstable__ProfilerControl=Eo,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=yr(e);if(!I(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){wr.set(e,t)}(e,t);const n=new WeakSet;return(e,o)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:r,consumerDisconnectedCallback:i}=o;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,o={provide(e){t(e)}};n((()=>{I(i)||i(o)})),r(o),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!V(t)||F(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${U(t)}".`);const n=t.is;if(!B(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const o=Ln(e);let r=!1;const i=new o((o=>{er(o,n,{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null}),Qr.set(o,Jo),Zr.set(o,Qo),r=!0}));return r||console.error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`),i},e.freezeTemplate=function(e){},e.getComponentConstructor=function(e){let t=null;if(!I(e)){const n=or(e);I(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=_n(e),{ctor:n,name:o,props:r,propsConfig:i,methods:s}=t,l={};for(const e in r)l[e]={config:i[e]||0,type:"any",attr:te(e)};const c={};for(const e in s)c[e]=s[e].value;return{ctor:n,name:o,props:l,methods:c}},e.hydrateComponent=qr,e.isComponentConstructor=$n,e.isNodeFromTemplate=function(e){if(j(e instanceof ii))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&j(u.call(a(t),"synthetic")))||zr&&!I(e.$shadowResolver$)},e.readonly=function(e){return tn.getReadOnlyProxy(e)},e.register=function(e){for(let t=0;t<Vo.length;++t){const n=Vo[t];if(n in e){let t=Bo[n];I(t)&&(Bo[n]=t=[]),k.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return B(e)&&Do.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:r,publicMethods:s,wire:c,track:a,fields:u}=t,d=o(null),f=o(null),h=o(null),p=o(null),m=o(null),g=o(null);let w;if(!I(r))for(const e in r){const t=r[e];if(g[e]=t.config,w=l(n,e),t.config>0){if(I(w))throw new Error;w=mn(e,w)}else w=I(w)||I(w.get)?hn(e):mn(e,w);f[e]=w,i(n,e,w)}if(I(s)||$.call(s,(e=>{if(w=l(n,e),I(w))throw new Error;d[e]=w})),!I(c))for(const e in c){const{adapter:t,method:o,config:r,dynamic:s=[]}=c[e];if(w=l(n,e),1===o){if(I(w))throw new Error;h[e]=w,br(w,t,r,s)}else w=wn(e),p[e]=w,vr(w,t,r,s),i(n,e,w)}if(!I(a))for(const e in a)w=l(n,e),w=gn(e),i(n,e,w);if(!I(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(n,t);const o=!I(r)&&t in r,i=!I(a)&&t in a;o||i||(m[t]=fn(t))}return function(e,t){yn.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return vn.add(e),i(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return I(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=I(e)?void 0:e.shadowAttribute}}),e},e.sanitizeAttribute=function(e,t,n,o){return o},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(I(ae[e])){const n=f(ae).map((e=>`"${e}"`)).join(", ");console.warn(`Failed to set the value "${t}" for the runtime feature flag "${e}" because it is undefined. Available flags: ${n}.`)}else{const n=ue[e];if(!I(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}".`);i(ue,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){var n;t.isFalse(Ar,"Hooks are already overridden, only one definition is allowed."),Ar=!0,n=e.sanitizeHtmlContent,ho=n},e.swapComponent=function(e,t){if(!ue.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapStyle=function(e,t){if(!ue.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapTemplate=function(e,t){if(!ue.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.track=function(e){if(1===arguments.length)return tn.getProxy(e);throw new Error},e.unwrap=function(e){return tn.unwrapProxy(e)},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0})}));
|