lwc 2.8.0 → 2.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/engine-dom/esm/es2017/engine-dom.js +73 -34
- package/dist/engine-dom/iife/es2017/engine-dom.js +73 -34
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +73 -34
- package/dist/engine-dom/iife/es5/engine-dom.js +144 -100
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +137 -94
- package/dist/engine-dom/umd/es2017/engine-dom.js +73 -34
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +73 -34
- package/dist/engine-dom/umd/es5/engine-dom.js +144 -100
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +137 -94
- package/dist/engine-server/commonjs/es2017/engine-server.js +41 -19
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +41 -19
- 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
|
@@ -309,7 +309,7 @@
|
|
|
309
309
|
const XML_NAMESPACE = 'http://www.w3.org/XML/1998/namespace';
|
|
310
310
|
const SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
|
|
311
311
|
const XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';
|
|
312
|
-
/** version: 2.
|
|
312
|
+
/** version: 2.9.0 */
|
|
313
313
|
|
|
314
314
|
/*
|
|
315
315
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -486,7 +486,7 @@
|
|
|
486
486
|
setFeatureFlag(name, value);
|
|
487
487
|
}
|
|
488
488
|
}
|
|
489
|
-
/** version: 2.
|
|
489
|
+
/** version: 2.9.0 */
|
|
490
490
|
|
|
491
491
|
/* proxy-compat-disable */
|
|
492
492
|
|
|
@@ -560,6 +560,19 @@
|
|
|
560
560
|
}
|
|
561
561
|
|
|
562
562
|
return styleMap;
|
|
563
|
+
} // Make a shallow copy of an object but omit the given key
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
function cloneAndOmitKey(object, keyToOmit) {
|
|
567
|
+
const result = {};
|
|
568
|
+
|
|
569
|
+
for (const key of Object.keys(object)) {
|
|
570
|
+
if (key !== keyToOmit) {
|
|
571
|
+
result[key] = object[key];
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
return result;
|
|
563
576
|
} //
|
|
564
577
|
// Primitives
|
|
565
578
|
//
|
|
@@ -4798,11 +4811,13 @@
|
|
|
4798
4811
|
) {
|
|
4799
4812
|
// this element will now accept any manual content inserted into it
|
|
4800
4813
|
observeElementChildNodes(elm);
|
|
4801
|
-
}
|
|
4802
|
-
// into each element from the template, so they can be styled accordingly.
|
|
4803
|
-
|
|
4814
|
+
}
|
|
4804
4815
|
|
|
4805
|
-
|
|
4816
|
+
if (!isUndefined$1(stylesheetToken)) {
|
|
4817
|
+
// when running in synthetic shadow mode, we need to set the shadowToken value
|
|
4818
|
+
// into each element from the template, so they can be styled accordingly.
|
|
4819
|
+
setElementShadowToken(elm, stylesheetToken);
|
|
4820
|
+
}
|
|
4806
4821
|
}
|
|
4807
4822
|
|
|
4808
4823
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -4889,7 +4904,9 @@
|
|
|
4889
4904
|
} = owner.context; // when running in synthetic shadow mode, we need to set the shadowToken value
|
|
4890
4905
|
// into each element from the template, so they can be styled accordingly.
|
|
4891
4906
|
|
|
4892
|
-
|
|
4907
|
+
if (!isUndefined$1(stylesheetToken)) {
|
|
4908
|
+
setElementShadowToken(elm, stylesheetToken);
|
|
4909
|
+
}
|
|
4893
4910
|
}
|
|
4894
4911
|
|
|
4895
4912
|
vm = createVM(elm, ctor, {
|
|
@@ -5070,6 +5087,7 @@
|
|
|
5070
5087
|
let idxInOld;
|
|
5071
5088
|
let elmToMove;
|
|
5072
5089
|
let before;
|
|
5090
|
+
let clonedOldCh = false;
|
|
5073
5091
|
|
|
5074
5092
|
while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
|
|
5075
5093
|
if (!isVNode(oldStartVnode)) {
|
|
@@ -5121,7 +5139,18 @@
|
|
|
5121
5139
|
newStartVnode.hook.create(newStartVnode);
|
|
5122
5140
|
newStartVnode.hook.insert(newStartVnode, parentElm, oldStartVnode.elm);
|
|
5123
5141
|
} else {
|
|
5124
|
-
patchVnode(elmToMove, newStartVnode);
|
|
5142
|
+
patchVnode(elmToMove, newStartVnode); // Delete the old child, but copy the array since it is read-only.
|
|
5143
|
+
// The `oldCh` will be GC'ed after `updateDynamicChildren` is complete,
|
|
5144
|
+
// so we only care about the `oldCh` object inside this function.
|
|
5145
|
+
// To avoid cloning over and over again, we check `clonedOldCh`
|
|
5146
|
+
// and only clone once.
|
|
5147
|
+
|
|
5148
|
+
if (!clonedOldCh) {
|
|
5149
|
+
clonedOldCh = true;
|
|
5150
|
+
oldCh = [...oldCh];
|
|
5151
|
+
} // We've already cloned at least once, so it's no longer read-only
|
|
5152
|
+
|
|
5153
|
+
|
|
5125
5154
|
oldCh[idxInOld] = undefined;
|
|
5126
5155
|
newStartVnode.hook.move(elmToMove, parentElm, oldStartVnode.elm);
|
|
5127
5156
|
}
|
|
@@ -5218,7 +5247,7 @@
|
|
|
5218
5247
|
} // [h]tml node
|
|
5219
5248
|
|
|
5220
5249
|
|
|
5221
|
-
function h(sel, data, children) {
|
|
5250
|
+
function h(sel, data, children = EmptyArray) {
|
|
5222
5251
|
const vmBeingRendered = getVMBeingRendered();
|
|
5223
5252
|
|
|
5224
5253
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -5616,7 +5645,7 @@
|
|
|
5616
5645
|
* create a dynamic component via `<x-foo lwc:dynamic={Ctor}>`
|
|
5617
5646
|
*/
|
|
5618
5647
|
|
|
5619
|
-
function dc(sel, Ctor, data, children) {
|
|
5648
|
+
function dc(sel, Ctor, data, children = EmptyArray) {
|
|
5620
5649
|
if (process.env.NODE_ENV !== 'production') {
|
|
5621
5650
|
assert.isTrue(isString(sel), `dc() 1st argument sel must be a string.`);
|
|
5622
5651
|
assert.isTrue(isObject(data), `dc() 3nd argument data must be an object.`);
|
|
@@ -5640,10 +5669,14 @@
|
|
|
5640
5669
|
} // the new vnode key is a mix of idx and compiler key, this is required by the diffing algo
|
|
5641
5670
|
// to identify different constructors as vnodes with different keys to avoid reusing the
|
|
5642
5671
|
// element used for previous constructors.
|
|
5672
|
+
// Shallow clone is necessary here becuase VElementData may be shared across VNodes due to
|
|
5673
|
+
// hoisting optimization.
|
|
5643
5674
|
|
|
5644
5675
|
|
|
5645
|
-
|
|
5646
|
-
|
|
5676
|
+
const newData = Object.assign(Object.assign({}, data), {
|
|
5677
|
+
key: `dc:${idx}:${data.key}`
|
|
5678
|
+
});
|
|
5679
|
+
return c(sel, Ctor, newData, children);
|
|
5647
5680
|
}
|
|
5648
5681
|
/**
|
|
5649
5682
|
* slow children collection marking mechanism. this API allows the compiler to signal
|
|
@@ -5763,12 +5796,14 @@
|
|
|
5763
5796
|
hasTokenInAttribute: oldHasTokenInAttribute
|
|
5764
5797
|
} = context;
|
|
5765
5798
|
|
|
5766
|
-
if (
|
|
5767
|
-
|
|
5768
|
-
|
|
5799
|
+
if (!isUndefined$1(oldToken)) {
|
|
5800
|
+
if (oldHasTokenInClass) {
|
|
5801
|
+
getClassList$1(elm).remove(makeHostToken(oldToken));
|
|
5802
|
+
}
|
|
5769
5803
|
|
|
5770
|
-
|
|
5771
|
-
|
|
5804
|
+
if (oldHasTokenInAttribute) {
|
|
5805
|
+
removeAttribute$1(elm, makeHostToken(oldToken));
|
|
5806
|
+
}
|
|
5772
5807
|
} // Apply the new template styling token to the host element, if the new template has any
|
|
5773
5808
|
// associated stylesheets. In the case of light DOM, also ensure there is at least one scoped stylesheet.
|
|
5774
5809
|
|
|
@@ -6573,7 +6608,10 @@
|
|
|
6573
6608
|
|
|
6574
6609
|
if (!isUndefined$1(props) && !isUndefined$1(props.innerHTML)) {
|
|
6575
6610
|
if (elm.innerHTML === props.innerHTML) {
|
|
6576
|
-
|
|
6611
|
+
// Do a shallow clone since VNodeData may be shared across VNodes due to hoist optimization
|
|
6612
|
+
vnode.data = Object.assign(Object.assign({}, vnode.data), {
|
|
6613
|
+
props: cloneAndOmitKey(props, 'innerHTML')
|
|
6614
|
+
});
|
|
6577
6615
|
} else {
|
|
6578
6616
|
logWarn(`Mismatch hydrating element <${elm.tagName.toLowerCase()}>: innerHTML values do not match for element, will recover from the difference`, vnode.owner);
|
|
6579
6617
|
}
|
|
@@ -7870,7 +7908,7 @@
|
|
|
7870
7908
|
hooksAreSet = true;
|
|
7871
7909
|
setSanitizeHtmlContentHook(hooks.sanitizeHtmlContent);
|
|
7872
7910
|
}
|
|
7873
|
-
/* version: 2.
|
|
7911
|
+
/* version: 2.9.0 */
|
|
7874
7912
|
|
|
7875
7913
|
/*
|
|
7876
7914
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -8501,30 +8539,31 @@
|
|
|
8501
8539
|
|
|
8502
8540
|
const _Node = Node;
|
|
8503
8541
|
/**
|
|
8504
|
-
* EXPERIMENTAL:
|
|
8505
|
-
*
|
|
8542
|
+
* EXPERIMENTAL: The purpose of this function is to detect shadowed nodes. THIS API WILL BE REMOVED
|
|
8543
|
+
* ONCE LOCKER V1 IS NO LONGER SUPPORTED.
|
|
8506
8544
|
*/
|
|
8507
8545
|
|
|
8508
|
-
function
|
|
8546
|
+
function isNodeShadowed(node) {
|
|
8509
8547
|
if (isFalse(node instanceof _Node)) {
|
|
8510
8548
|
return false;
|
|
8511
|
-
} //
|
|
8512
|
-
// this
|
|
8549
|
+
} // It's debatable whether shadow root instances should be considered as shadowed, but we keep
|
|
8550
|
+
// this unchanged for legacy reasons (#1250).
|
|
8513
8551
|
|
|
8514
8552
|
|
|
8515
8553
|
if (node instanceof ShadowRoot) {
|
|
8516
8554
|
return false;
|
|
8517
8555
|
}
|
|
8518
8556
|
|
|
8519
|
-
|
|
8520
|
-
|
|
8521
|
-
|
|
8522
|
-
|
|
8523
|
-
return
|
|
8524
|
-
}
|
|
8557
|
+
const rootNode = node.getRootNode(); // Handle the native case. We can return early here because an invariant of LWC is that
|
|
8558
|
+
// synthetic roots cannot be descendants of native roots.
|
|
8559
|
+
|
|
8560
|
+
if (rootNode instanceof ShadowRoot && isFalse(hasOwnProperty$1.call(getPrototypeOf$1(rootNode), 'synthetic'))) {
|
|
8561
|
+
return true;
|
|
8562
|
+
} // TODO [#1252]: Old behavior that is still used by some pieces of the platform. Manually
|
|
8563
|
+
// inserted nodes without the `lwc:dom=manual` directive will be considered as global elements.
|
|
8564
|
+
|
|
8525
8565
|
|
|
8526
|
-
|
|
8527
|
-
return root instanceof ShadowRoot;
|
|
8566
|
+
return isSyntheticShadowDefined && !isUndefined$1(node[KEY__SHADOW_RESOLVER]);
|
|
8528
8567
|
}
|
|
8529
8568
|
/*
|
|
8530
8569
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -8569,7 +8608,7 @@
|
|
|
8569
8608
|
});
|
|
8570
8609
|
freeze(LightningElement);
|
|
8571
8610
|
seal(LightningElement.prototype);
|
|
8572
|
-
/* version: 2.
|
|
8611
|
+
/* version: 2.9.0 */
|
|
8573
8612
|
|
|
8574
8613
|
exports.LightningElement = LightningElement;
|
|
8575
8614
|
exports.__unstable__ProfilerControl = profilerControl;
|
|
@@ -8581,7 +8620,7 @@
|
|
|
8581
8620
|
exports.getComponentDef = getComponentDef;
|
|
8582
8621
|
exports.hydrateComponent = hydrateComponent;
|
|
8583
8622
|
exports.isComponentConstructor = isComponentConstructor;
|
|
8584
|
-
exports.isNodeFromTemplate =
|
|
8623
|
+
exports.isNodeFromTemplate = isNodeShadowed;
|
|
8585
8624
|
exports.readonly = readonly;
|
|
8586
8625
|
exports.register = register;
|
|
8587
8626
|
exports.registerComponent = registerComponent;
|
|
@@ -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:l,getOwnPropertyDescriptor:c,getOwnPropertyNames:s,getPrototypeOf:a,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{filter:g,find:w,indexOf:y,join:b,map:v,push:C,reduce:E,reverse:k,slice:M,splice:T,unshift:S,forEach:x}=Array.prototype,{fromCharCode:N}=String,{charCodeAt:O,replace:A,slice:P,toLowerCase:$}=String.prototype;function R(e){return void 0===e}function L(e){return null===e}function _(e){return!0===e}function H(e){return!1===e}function D(e){return"function"==typeof e}function I(e){return"object"==typeof e}function F(e){return"string"==typeof e}function j(){}const W={}.toString;function B(e){return e&&e.toString?m(e)?b.call(v.call(e,B),","):e.toString():"object"==typeof e?W.call(e):e+""}function V(e,t){do{const n=c(e,t);if(!R(n))return n;e=a(e)}while(null!==e)}const K=["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:G,AriaPropNameToAttrNameMap:z}=(()=>{const e=o(null),t=o(null);return x.call(K,(n=>{const o=$.call(A.call(n,/^aria/,(()=>"aria-")));e[o]=n,t[n]=o})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),U=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),q=new 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"]]),Y=new Map;function X(e){const t=z[e];if(!R(t))return t;const n=q.get(e);if(!R(n))return n;const o=Y.get(e);if(!R(o))return o;let r="";for(let t=0,n=e.length;t<n;t++){const n=O.call(e,t);r+=n>=65&&n<=90?"-"+N(n+32):N(n)}return Y.set(e,r),r}function J(e){return void 0===Object.getOwnPropertyDescriptor(Element.prototype,e)}const Q=new WeakMap;function Z(e){let t=Q.get(e);return void 0===t&&(t={},Q.set(e,t)),t}function ee(e,t){return{get(){const n=Z(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;Z(this)[e]=o,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function te(e){const t=ee(e,z[e]);Object.defineProperty(Element.prototype,e,t)}const ne=f(z);for(let e=0,t=ne.length;e<t;e+=1){const t=ne[e];J(t)&&te(t)}const oe={ENABLE_REACTIVE_SETTER:null,ENABLE_HMR:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_WIRE_SYNC_EMIT:null};U.lwcRuntimeFlags||Object.defineProperty(U,"lwcRuntimeFlags",{value:o(null)});const re=U.lwcRuntimeFlags;let ie=[];const le=h(o(null)),ce=h([]);function se(){const e=ie;ie=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function ae(e){0===ie.length&&Promise.resolve().then(se),C.call(ie,e)}let ue,de,fe,he,pe,me,ge,we,ye,be,ve,Ce,Ee,ke,Me,Te,Se,xe,Ne,Oe,Ae,Pe,$e,Re,Le,_e,He,De,Ie,Fe,je,We,Be,Ve,Ke,Ge,ze,Ue,qe;const Ye=new WeakMap;let Xe=null;function Je(e,t){const n=Ye.get(e);if(!R(n)){const e=n[t];if(!R(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function Qe(e,t){if(null===Xe)return;const n=Xe,r=function(e){let t=Ye.get(e);if(R(t)){const n=o(null);t=n,Ye.set(e,n)}return t}(e);let i=r[t];if(R(i))i=[],r[t]=i;else if(i[0]===n)return;-1===y.call(i,n)&&n.link(i)}class Ze{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=Xe;let n;Xe=this;try{e()}catch(e){n=Object(e)}finally{if(Xe=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=y.call(e[n],this);T.call(t,o,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){C.call(e,this),C.call(this.listeners,e)}}function et(e,t){Je(e.component,t)}function tt(e,t){Qe(e.component,t)}function nt(e){return`<${$.call(e.tagName)}>`}function ot(e,t){if(!d(t)&&R(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!L(n);)C.call(t,nt(n)),n=n.owner;return t.reverse().join("\n\t")}(e);i(t,"wcStack",{get:()=>n})}}function rt(e,t,n){let o=`[LWC ${e}]: ${t}`;R(n)||(o=`${o}\n${function(e){const t=[];let n="";for(;!L(e.owner);)C.call(t,n+nt(e)),e=e.owner,n+="\t";return b.call(t,"\n")}(n)}`);try{throw new Error(o)}catch(t){console[e](t)}}const it="undefined"!=typeof HTMLElement?HTMLElement:function(){},lt=it.prototype;function ct(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:ct("offsetHeight")},offsetLeft:{readOnly:!0,error:ct("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:ct("offsetTop")},offsetWidth:{readOnly:!0,error:ct("offsetWidth")},role:{attribute:"role"}});let st,at=null;function ut(e,t){return e!==at||t!==st}function dt(e,t){at=null,st=void 0}function ft(e,t){at=e,st=t}const ht=o(null);x.call(f(z),(e=>{const t=V(lt,e);R(t)||(ht[e]=t)})),x.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=V(lt,e);R(t)||(ht[e]=t)}));const{isArray:pt}=Array,{prototype:mt,getPrototypeOf:gt,create:wt,defineProperty:yt,isExtensible:bt,getOwnPropertyDescriptor:vt,getOwnPropertyNames:Ct,getOwnPropertySymbols:Et,preventExtensions:kt,hasOwnProperty:Mt}=Object,{push:Tt,concat:St}=Array.prototype;function xt(e){return void 0===e}function Nt(e){return"function"==typeof e}const Ot=new WeakMap;function At(e,t){Ot.set(e,t)}const Pt=e=>Ot.get(e)||e;class $t{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(Mt.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;xt(n)||(e.get=this.wrapGetter(n)),xt(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,o=vt(n,t);if(!xt(o)){const n=this.wrapDescriptor(o);yt(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;St.call(Ct(t),Et(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;xt(n)||Mt.call(e,n)||yt(e,n,wt(null)),kt(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=xt(n)||Mt.call(t,n)?[]:[n];return Tt.apply(o,Ct(t)),Tt.apply(o,Et(t)),o}isExtensible(e){const{originalTarget:t}=this;return!!bt(e)&&(!!bt(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return gt(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:o,tagPropertyKey:r}}=this;o(n,t);let i=vt(n,t);if(xt(i)){if(t!==r)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},yt(e,r,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const Rt=new WeakMap,Lt=new WeakMap,_t=new WeakMap,Ht=new WeakMap;class Dt extends $t{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Rt.get(e);if(!xt(t))return t;const n=this,o=function(){return n.wrapValue(e.call(Pt(this)))};return Rt.set(e,o),_t.set(o,e),o}wrapSetter(e){const t=Lt.get(e);if(!xt(t))return t;const n=function(t){e.call(Pt(this),Pt(t))};return Lt.set(e,n),Ht.set(n,e),n}unwrapDescriptor(e){if(Mt.call(e,"value"))e.value=Pt(e.value);else{const{set:t,get:n}=e;xt(n)||(e.get=this.unwrapGetter(n)),xt(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=_t.get(e);if(!xt(t))return t;const n=this,o=function(){return Pt(e.call(n.wrapValue(this)))};return Rt.set(o,e),_t.set(e,o),o}unwrapSetter(e){const t=Ht.get(e);if(!xt(t))return t;const n=this,o=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Lt.set(o,e),Ht.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&&pt(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(bt(e)){const{originalTarget:t}=this;if(kt(t),bt(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:o,membrane:{valueMutated:r,tagPropertyKey:i}}=this;return t===i&&!Mt.call(o,t)||(yt(o,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),r(o,t),!0)}}const It=new WeakMap,Ft=new WeakMap;class jt extends $t{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=It.get(e);if(!xt(t))return t;const n=this,o=function(){return n.wrapValue(e.call(Pt(this)))};return It.set(e,o),o}wrapSetter(e){const t=Ft.get(e);if(!xt(t))return t;const n=function(e){};return Ft.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 Wt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(pt(e))return!0;const t=gt(e);return t===mt||null===t||null===gt(t)}const Bt=(e,t)=>{},Vt=(e,t)=>{};function Kt(e){return pt(e)?[]:{}}const Gt=Symbol.for("@@lockerLiveValue"),zt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:o,tagPropertyKey:r}=e;this.valueMutated=Nt(t)?t:Vt,this.valueObserved=Nt(n)?n:Bt,this.valueIsObservable=Nt(o)?o:Wt,this.tagPropertyKey=r}getProxy(e){const t=Pt(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=Pt(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return Pt(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(xt(t)){const n=new Dt(this,e);t=new Proxy(Kt(e),n),At(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(xt(t)){const n=new jt(this,e);t=new Proxy(Kt(e),n),At(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:Qe,valueMutated:Je,tagPropertyKey:Gt});function Ut(e,t){const{get:n,set:o,enumerable:r,configurable:i}=t;if(!D(n))throw new TypeError;if(!D(o))throw new TypeError;return{enumerable:r,configurable:i,get(){const t=nr(this);if(!Oo(t))return tt(t,e),n.call(t.elm)},set(t){const n=nr(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,et(n,e)),o.call(n.elm,t)}}}const qt=function(){if(L(No))throw new ReferenceError("Illegal constructor");const e=No,{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[Gt]=void 0,tr(r,e),tr(n,e),1===e.renderMode?e.renderRoot=Yt(e):e.renderRoot=n,this};function Yt(e){const{elm:t,mode:n,shadowMode:o,def:{ctor:r}}=e,i=Ce(t,{"$$lwc-synthetic-mode":1===o,delegatesFocus:Boolean(r.delegatesFocus),mode:n});return e.shadowRoot=i,tr(i,e),i}qt.prototype={constructor:qt,dispatchEvent(e){const{elm:t}=nr(this);return Ae(t,e)},addEventListener(e,t,n){const o=nr(this),{elm:r}=o,i=Do(o,t);Ne(r,e,i,n)},removeEventListener(e,t,n){const o=nr(this),{elm:r}=o,i=Do(o,t);Oe(r,e,i,n)},hasAttribute(e){const{elm:t}=nr(this);return!L(Te(t,e))},hasAttributeNS(e,t){const{elm:n}=nr(this);return!L(Te(n,t,e))},removeAttribute(e){const{elm:t}=nr(this);ft(t,e),xe(t,e),dt()},removeAttributeNS(e,t){const{elm:n}=nr(this);ft(n,t),xe(n,t,e),dt()},getAttribute(e){const{elm:t}=nr(this);return Te(t,e)},getAttributeNS(e,t){const{elm:n}=nr(this);return Te(n,t,e)},setAttribute(e,t){const n=nr(this),{elm:o}=n;ft(o,e),Se(o,e,t),dt()},setAttributeNS(e,t,n){const o=nr(this),{elm:r}=o;ft(r,t),Se(r,t,n,e),dt()},getBoundingClientRect(){const e=nr(this),{elm:t}=e;return Re(t)},get isConnected(){const{elm:e}=nr(this);return Ke(e)},get classList(){const e=nr(this),{elm:t}=e;return Pe(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 Xt=o(null),Jt=["children","childNodes","firstChild","firstElementChild","lastChild","lastElementChild"];function Qt(e){switch(e){case"children":return Ie;case"childNodes":return Fe;case"firstChild":return je;case"firstElementChild":return We;case"lastChild":return Be;case"lastElementChild":return Ve}}for(const e of Jt)Xt[e]={get(){const t=nr(this),{elm:n}=t;return Qt(e)(n)},configurable:!0,enumerable:!0};const Zt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];function en(e){switch(e){case"getElementsByClassName":return De;case"getElementsByTagName":return He;case"querySelector":return Le;case"querySelectorAll":return _e}}for(const e of Zt)Xt[e]={value(t){const n=nr(this),{elm:o}=n;return en(e)(o,t)},configurable:!0,enumerable:!0,writable:!0};r(qt.prototype,Xt);const tn=o(null);for(const e in ht)tn[e]=Ut(e,ht[e]);function nn(e){return{get(){const t=nr(this);return tt(t,e),t.cmpFields[e]},set(t){const n=nr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,et(n,e))},enumerable:!0,configurable:!0}}function on(e){return{get(){const t=nr(this);return tt(t,e),t.cmpFields[e]},set(t){const n=nr(this),o=zt.getProxy(t);o!==n.cmpFields[e]&&(n.cmpFields[e]=o,et(n,e))},enumerable:!0,configurable:!0}}function rn(e){return{get(){const t=nr(this);if(!Oo(t))return tt(t,e),t.cmpProps[e]},set(t){const n=nr(this);n.cmpProps[e]=t,et(n,e)},enumerable:!0,configurable:!0}}r(qt.prototype,tn),i(qt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class ln extends Ze{constructor(e,t){super((()=>{H(this.debouncing)&&(this.debouncing=!0,ae((()=>{if(_(this.debouncing)){const{value:n}=this,{isDirty:o,component:r,idx:i}=e;t.call(r,n),this.debouncing=!1,_(e.isDirty)&&H(o)&&i>0&&Yo(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function cn(e,t){const{get:n,set:o,enumerable:r,configurable:i}=t;if(!D(n))throw new Error;return{get(){return n.call(this)},set(t){const n=nr(this);if(o)if(re.ENABLE_REACTIVE_SETTER){let r=n.oar[e];R(r)&&(r=n.oar[e]=new ln(n,o)),r.reset(t),r.observe((()=>{o.call(this,t)}))}else o.call(this,t)},enumerable:r,configurable:i}}function sn(e){return{get(){const t=nr(this);return tt(t,e),t.cmpFields[e]},set(t){const n=nr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,et(n,e))},enumerable:!0,configurable:!0}}const an=new Map;const un={apiMethods:le,apiFields:le,apiFieldsConfig:le,wiredMethods:le,wiredFields:le,observedFields:le};const dn=new Set;function fn(){return[]}dn.add(fn);const hn=o(null),pn=o(null);function mn(e){let t=hn[e];return R(t)&&(t=hn[e]=function(){const t=nr(this),{getHook:n}=t;return n(t.component,e)}),t}function gn(e){let t=pn[e];return R(t)&&(t=pn[e]=function(t){const n=nr(this),{setHook:o}=n;t=zt.getReadOnlyProxy(t),o(n.component,e,t)}),t}function wn(e){return function(){const t=nr(this),{callHook:n,component:o}=t,r=o[e];return n(t.component,r,M.call(arguments))}}function yn(e,t){return function(n,o,r){if(o===r)return;const i=e[n];R(i)?R(t)||t.apply(this,arguments):ut(this,n)&&(this[i]=r)}}function bn(e,t,n){let l;D(e)?l=class extends e{}:(l=function(){throw new TypeError("Illegal constructor")},p(l,e),p(l.prototype,e.prototype),i(l.prototype,"constructor",{writable:!0,configurable:!0,value:l}));const c=o(null),{attributeChangedCallback:s}=e.prototype,{observedAttributes:a=[]}=e,u=o(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];c[X(n)]=n,u[n]={get:mn(n),set:gn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:wn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:yn(c,s)},i(l,"observedAttributes",{get:()=>[...a,...f(c)]}),r(l.prototype,u),l}const vn=bn(it,s(ht),[]);function Cn(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function En(e){return D(e)&&u.call(e,"__circular__")}l(vn),h(vn.prototype);const kn=new WeakMap;function Mn(e){const{shadowSupportMode:t,renderMode:i}=e,l=function(e){const t=an.get(e);return R(t)?un:t}(e),{apiFields:c,apiFieldsConfig:s,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=l,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const C=function(e){let t=a(e);if(L(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(En(t)){const e=Cn(t);t=e===t?qt:e}return t}(e),E=C!==qt?Sn(C):xn,k=bn(E.bridge,f(c),f(u)),M=n(o(null),E.props,c),T=n(o(null),E.propsConfig,s),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 N=E.shadowSupportMode;R(t)||(N=t);let O=E.renderMode;R(i)||(O="light"===i?0:1);const A=function(e){return $o.get(e)}(e)||E.template,P=e.name||E.name;r(m,p);return{ctor:e,name:P,wire:x,props:M,propsConfig:T,methods:S,bridge:k,template:A,renderMode:O,shadowSupportMode:N,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function Tn(e){if(!D(e))return!1;if(e.prototype instanceof qt)return!0;let t=e;do{if(En(t)){const e=Cn(t);if(e===t)return!0;t=e}if(t===qt)return!0}while(!L(t)&&(t=a(t)));return!1}function Sn(e){let t=kn.get(e);if(R(t)){if(En(e)){return t=Sn(Cn(e)),kn.set(e,t),t}if(!Tn(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=Mn(e),kn.set(e,t)}return t}const xn={ctor:qt,name:qt.name,props:tn,propsConfig:le,methods:le,renderMode:1,shadowSupportMode:"reset",wire:le,bridge:vn,template:fn,render:qt.prototype.render};function Nn(e){e=e.toLowerCase();let t=qe(e);return R(t)?(t=class extends he{constructor(e){super(),D(e)&&e(this)}},Ue(e,t),t):t}function On(e){const{type:t}=e;return 2===t||3===t}function An(e,t){return e.key===t.key&&e.sel===t.sel}function Pn(e,t){return"input"===e&&("value"===t||"checked"===t)}function $n(e,t){const{props:n}=t.data;if(R(n))return;const o=L(e)?le:e.data.props;if(o===n)return;const r=L(e),{elm:i,sel:l}=t;for(const e in n){const t=n[e];(r||t!==(Pn(l,e)?Ee(i,e):o[e]))&&ke(i,e,t)}}const Rn=o(null);function Ln(e){if(null==e)return le;e=F(e)?e:e+"";let t=Rn[e];if(t)return t;t=o(null);let n,r=0;const i=e.length;for(n=0;n<i;n++)32===O.call(e,n)&&(n>r&&(t[P.call(e,r,n)]=!0),r=n+1);return n>r&&(t[P.call(e,r,n)]=!0),Rn[e]=t,t}function _n(e){const{elm:t,data:{on:n}}=e;if(!R(n))for(const e in n){const o=n[e];Ne(t,e,o)}}const Hn={create:e=>{const{owner:t}=e,n=ye(e.text);Vn(n,t),e.elm=n},update:Kn,insert:Gn,move:Gn,remove:zn},Dn={create:e=>{const{owner:t,text:n}=e,o=be(n);Vn(o,t),e.elm=o},update:Kn,insert:Gn,move:Gn,remove:zn},In={create:e=>{const{sel:t,owner:n,data:{svg:o}}=e,r=_(o)?"http://www.w3.org/2000/svg":void 0,i=we(t,r);Vn(i,n),function(e,t){const{owner:n}=t;if(Bn(e,n),1===n.shadowMode){const{data:{context:o}}=t,{stylesheetToken:r}=n.context;R(o)||R(o.lwc)||"manual"!==o.lwc.dom||function(e){e.$domManual$=!0}(e),Wn(e,r)}}(i,e),e.elm=i,Un(null,e)},update:(e,t)=>{Un(e,t),qn(t.elm,e.children,t.children)},insert:(e,t,n)=>{Gn(e,t,n),Xn(e)},move:Gn,remove:(e,t)=>{zn(e,t),function(e){const{children:t,elm:n}=e;for(let e=0,o=t.length;e<o;++e){const o=t[e];L(o)||o.hook.remove(o,n)}}(e)}},Fn={create:e=>{const{sel:t,owner:n}=e,o=Nn(t);let r;const i=new o((t=>{r=function(e,t){let n=or(e);if(!R(n))return n;const{sel:o,mode:r,ctor:i,owner:l}=t;if(Bn(e,l),1===l.shadowMode){const{stylesheetToken:t}=l.context;Wn(e,t)}return n=er(e,i,{mode:r,owner:l,tagName:o}),n}(t,e)}));if(Vn(i,n),e.elm=i,r)Yn(e,r);else if(e.ctor!==o)throw new TypeError("Incorrect Component Constructor");Un(null,e)},update:(e,t)=>{Un(e,t);const n=or(t.elm);n&&Yn(t,n),qn(t.elm,e.children,t.children),n&&Yo(n)},insert:(e,t,n)=>{Gn(e,t,n);const o=or(e.elm);o&&sr(o),Xn(e),o&&function(e){rr(e)}(o)},move:Gn,remove:(e,t)=>{zn(e,t);const n=or(e.elm);n&&function(e){Zo(e)}(n)}};function jn(e){return null!=e}function Wn(e,t){e.$shadowToken$=t}function Bn(e,t){const{cmpTemplate:n,context:o}=t,r=null==n?void 0:n.stylesheetToken;!R(r)&&o.hasScopedStyles&&Pe(e).add(r)}function Vn(e,t){const{renderRoot:n,renderMode:o,shadowMode:r}=t;fe&&(1!==r&&0!==o||(e.$shadowResolver$=n.$shadowResolver$))}function Kn(e,t){const{elm:n,text:o}=t;e.text!==o&&Me(n,o)}function Gn(e,t,n){me(e.elm,t,n)}function zn(e,t){ge(e.elm,t)}function Un(e,t){L(e)&&(_n(t),function(e){const{elm:t,data:{classMap:n}}=e;if(R(n))return;const o=Pe(t);for(const e in n)o.add(e)}(t),function(e){const{elm:t,data:{styleDecls:n}}=e;if(!R(n))for(let e=0;e<n.length;e++){const[o,r,i]=n[e];$e(t,o,r,i)}}(t)),function(e,t){const{elm:n,data:{className:o}}=t,r=L(e)?void 0:e.data.className;if(r===o)return;const i=Pe(n),l=Ln(o),c=Ln(r);let s;for(s in c)R(l[s])&&i.remove(s);for(s in l)R(c[s])&&i.add(s)}(e,t),function(e,t){const{elm:n,data:{style:o}}=t;(L(e)?void 0:e.data.style)!==o&&(F(o)&&""!==o?Se(n,"style",o):xe(n,"style"))}(e,t),function(e,t){const{attrs:n}=t.data;if(R(n))return;const o=L(e)?le:e.data.attrs;if(o===n)return;const{elm:r}=t;for(const e in n){const t=n[e];o[e]!==t&&(ft(r,e),58===O.call(e,3)?Se(r,e,t,"http://www.w3.org/XML/1998/namespace"):58===O.call(e,5)?Se(r,e,t,"http://www.w3.org/1999/xlink"):L(t)||R(t)?xe(r,e):Se(r,e,t),dt())}}(e,t),$n(e,t)}function qn(e,t,n){var o;o=n,Jn.has(o)?function(e,t,n){let o=0,r=0,i=t.length-1,l=t[0],c=t[i];const s=n.length-1;let a,u,d,f,h=s,p=n[0],m=n[h];for(;o<=i&&r<=h;)jn(l)?jn(c)?jn(p)?jn(m)?An(l,p)?(to(l,p),l=t[++o],p=n[++r]):An(c,m)?(to(c,m),c=t[--i],m=n[--h]):An(l,m)?(to(l,m),m.hook.move(l,e,ve(c.elm)),l=t[++o],m=n[--h]):An(c,p)?(to(c,p),p.hook.move(c,e,l.elm),c=t[--i],p=n[++r]):(void 0===a&&(a=Qn(t,o,i)),u=a[p.key],R(u)?(p.hook.create(p),p.hook.insert(p,e,l.elm),p=n[++r]):(d=t[u],jn(d)&&(d.sel!==p.sel?(p.hook.create(p),p.hook.insert(p,e,l.elm)):(to(d,p),t[u]=void 0,p.hook.move(d,e,l.elm))),p=n[++r])):m=n[--h]:p=n[++r]:c=t[--i]:l=t[++o];if(o<=i||r<=h)if(o>i){let t,o=h;do{t=n[++o]}while(!jn(t)&&o<s);f=jn(t)?t.elm:null,Zn(e,f,n,r,h)}else eo(e,t,o,i)}(e,t,n):function(e,t,n){const o=t.length,r=n.length;if(0===o)return void Zn(e,null,n,0,r);if(0===r)return void eo(e,t,0,o);let i=null;for(let o=r-1;o>=0;o-=1){const r=n[o],l=t[o];r!==l&&(jn(l)?jn(r)?(to(l,r),i=r.elm):l.hook.remove(l,e):jn(r)&&(r.hook.create(r),r.hook.insert(r,e,i),i=r.elm))}}(e,t,n)}function Yn(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(L(o))continue;let r="";On(o)&&(r=(null===(n=o.data.attrs)||void 0===n?void 0:n.slot)||"");const l=i[r]=i[r]||[];R(o.key)||(o.key=`@${r}:${o.key}`),C.call(l,o)}if(H(e.isDirty)){const t=f(r);if(t.length!==f(i).length)return void _o(e);for(let n=0,o=t.length;n<o;n+=1){const o=t[n];if(R(i[o])||r[o].length!==i[o].length)return void _o(e);const l=r[o],c=i[o];for(let t=0,n=i[o].length;t<n;t+=1)if(l[t]!==c[t])return void _o(e)}}}(t,n),e.aChildren=n,e.children=ce)}function Xn(e){const{elm:t,children:n}=e;for(let e=0;e<n.length;++e){const o=n[e];null!=o&&(o.hook.create(o),o.hook.insert(o,t,null))}}const Jn=new WeakMap;function Qn(e,t,n){const o={};for(let r=t;r<=n;++r){const t=e[r];if(jn(t)){const{key:e}=t;void 0!==e&&(o[e]=r)}}return o}function Zn(e,t,n,o,r){for(;o<=r;++o){const r=n[o];jn(r)&&(r.hook.create(r),r.hook.insert(r,e,t))}}function eo(e,t,n,o){for(;n<=o;++n){const o=t[n];jn(o)&&o.hook.remove(o,e)}}function to(e,t){e!==t&&(t.elm=e.elm,t.hook.update(e,t))}const no=Symbol.iterator;function oo(e,t,n){const o=To();const{key:r}=t;return{type:2,sel:e,data:t,children:n,elm:undefined,key:r,hook:In,owner:o}}function ro(e,t,n,o=ce){const r=To(),{key:i}=n;const l={type:3,sel:e,data:n,children:o,elm:undefined,key:i,hook:Fn,ctor:t,owner:r,mode:"open"};return function(e){C.call(To().velements,e)}(l),l}const io=new Map;let lo=0;function co(e){var t;return t=e,Jn.set(t,1),e}let so=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const ao=l({s:function(e,t,n,o){R(o)||R(o[e])||0===o[e].length||(n=o[e]);const r=To(),{renderMode:i,shadowMode:l}=r;return 0===i?(co(n),n):(1===l&&co(n),oo("slot",t,n))},h:oo,c:ro,i:function(e,t){const n=[];if(co(n),R(e)||null===e)return n;const o=e[no]();let r=o.next(),i=0,{value:l,done:c}=r;for(;!1===c;){r=o.next(),c=r.done;const e=t(l,i,0===i,!0===c);m(e)?C.apply(n,e):C.call(n,e),i+=1,l=r.value}return n},f:function(e){const t=e.length,n=[];co(n);for(let o=0;o<t;o+=1){const t=e[o];m(t)?C.apply(n,t):C.call(n,t)}return n},t:function(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,hook:Hn,owner:To()}},d:function(e){return null==e?"":String(e)},b:function(e){const t=To();if(L(t))throw new Error;const n=t;return function(t){Po(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,hook:Dn,owner:To()}},dc:function(e,t,n,o){if(null==t)return null;if(!Tn(t))throw new Error(`Invalid LWC Constructor ${B(t)} for custom element <${e}>.`);let r=io.get(t);return R(r)&&(r=lo++,io.set(t,r)),n.key=`dc:${r}:${n.key}`,ro(e,t,n,o)},ti:function(e){return e>0&&!(_(e)||H(e))?0:e},gid:function(e){const t=To();if(R(e)||""===e)return e;if(L(e))return null;const{idx:n,shadowMode:o}=t;return 1===o?A.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=To();if(R(e)||""===e)return e;if(L(e))return null;const{idx:n,shadowMode:o}=t;return 1===o&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return so(e)}});function uo(e){return`${e}-host`}function fo(e,t,n){const o=[];let r;for(let i=0;i<e.length;i++){let l=e[i];if(m(l))C.apply(o,fo(l,t,n));else{const e=l.$scoped$,i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,c=0===n.renderMode?!e:0===n.shadowMode;let s;1===n.renderMode?s=0===n.shadowMode:(R(r)&&(r=po(n)),s=L(r)||0===r.shadowMode),C.call(o,l(i,c,s))}}return o}function ho(e,t){const{stylesheets:n,stylesheetToken:o}=t;let r=[];return R(n)||0===n.length||(r=fo(n,o,e)),r}function po(e){let t=e;for(;!L(t);){if(1===t.renderMode)return t;t=t.owner}return t}function mo(e,t){const{renderMode:n,shadowMode:o}=e;if(1===n&&1===o)for(let e=0;e<t.length;e++)Ge(t[e]);else{if(ue||pe()){const e=b.call(t,"\n");return r=e,ao.h("style",{key:"style",attrs:{type:"text/css"}},[ao.t(r)])}{const n=function(e){const t=po(e);return L(t)||1!==t.shadowMode?t:null}(e),o=L(n);for(let e=0;e<t.length;e++)o?Ge(t[e]):ze(t[e],n.shadowRoot)}}var r;return null}let go=!1,wo=j;const yo={enableProfiler(){go=!0},disableProfiler(){go=!1},attachDispatcher(e){wo=e,this.enableProfiler()},detachDispatcher(){const e=wo;return wo=j,this.disableProfiler(),e}};function bo(e,t){go&&wo(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function vo(e,t){go&&wo(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Co(e,t){go&&wo(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 Eo(e,t){go&&wo(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 ko=!1,Mo=null;function To(){return Mo}function So(e){Mo=e}function xo(e,t){const n=ko,r=Mo;let i=[];return hr(e,e.owner,(()=>{Mo=e,bo(1,e)}),(()=>{const{component:n,context:r,cmpSlots:l,cmpTemplate:c,tro:s}=e;s.observe((()=>{if(t!==c){if(L(c)||fr(e),s=t,!dn.has(s))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: ${B(t)}.`);e.cmpTemplate=t,r.tplCache=o(null),r.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!R(t))for(let e=0;e<t.length;e++)if(_(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:o,renderMode:r,shadowMode:i}=e,{stylesheets:l,stylesheetToken:c}=t,s=1===r&&1===i,{hasScopedStyles:a}=o;let u,d,f;const{stylesheetToken:h,hasTokenInClass:p,hasTokenInAttribute:m}=o;p&&Pe(n).remove(uo(h)),m&&xe(n,uo(h)),R(l)||0===l.length||(u=c),R(u)||(a&&(Pe(n).add(uo(u)),d=!0),s&&(Se(n,uo(u),""),f=!0)),o.stylesheetToken=u,o.hasTokenInClass=d,o.hasTokenInAttribute=f}(e,t);const n=ho(e,t);r.styleVNode=0===n.length?null:mo(e,n)}var s;e.velements=[],ko=!0,i=t.call(void 0,ao,n,l,r.tplCache);const{styleVNode:a}=r;L(a)||S.call(i,a)}))}),(()=>{ko=n,Mo=r,vo(1,e)})),i}let No=null;function Oo(e){return No===e}function Ao(e,t,n){const{component:o,callHook:r,owner:i}=e;hr(e,i,j,(()=>{r(o,t,n)}),j)}function Po(e,t,n,o){const{callHook:r,owner:i}=e;hr(e,i,j,(()=>{r(n,t,[o])}),j)}const $o=new Map;function Ro(e){return new Ze((()=>{const{isDirty:t}=e;H(t)&&(_o(e),function(e){if(_(ue)||_(e.isScheduled))return;e.isScheduled=!0,0===lr.length&&ae(cr);C.call(lr,e)}(e))}))}function Lo(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:o,owner:r}=e,i=To();let l,c=!1;return hr(e,r,(()=>{So(e)}),(()=>{e.tro.observe((()=>{l=n(o,t),c=!0}))}),(()=>{So(i)})),c?xo(e,l):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function _o(e){e.isDirty=!0}const Ho=new WeakMap;function Do(e,t){if(!D(t))throw new TypeError;let n=Ho.get(t);return R(n)&&(n=function(n){Po(e,t,void 0,n)},Ho.set(t,n)),n}const Io=o(null),Fo=["rendered","connected","disconnected"];function jo(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)}function Wo(e,t){switch(e.type){case 0:case 1:!function(e,t){var n;t.nodeValue=null!==(n=e.text)&&void 0!==n?n:null,e.elm=t}(e,t);break;case 2:!function(e,t){const n=t;e.elm=n;const{context:o}=e.data,r=Boolean(!R(o)&&!R(o.lwc)&&"manual"===o.lwc.dom);if(r){const{props:t}=e.data;R(t)||R(t.innerHTML)||(n.innerHTML===t.innerHTML?delete t.innerHTML:(i=`Mismatch hydrating element <${n.tagName.toLowerCase()}>: innerHTML values do not match for element, will recover from the difference`,l=e.owner,rt("warn",i,l)))}var i,l;Vo(e),r||Bo(e.elm.childNodes,e.children,e.owner)}(e,t);break;case 3:!function(e,t){const n=t;e.elm=n;const{sel:o,mode:r,ctor:i,owner:l}=e,c=er(n,i,{mode:r,owner:l,tagName:o});Yn(e,c),Vo(e),sr(c),0!==c.renderMode&&Bo(e.elm.childNodes,e.children);Qo(c)}(e,t)}}function Bo(e,t,n){let o=0;for(let n=0;n<t.length;n++){const r=t[n];if(!L(r)){Wo(r,e[o]),o++}}}function Vo(e){_n(e),$n(null,e)}let Ko=0;const Go=new WeakMap;function zo(e,t,n=[]){return t.apply(e,n)}function Uo(e,t,n){e[t]=n}function qo(e,t){return e[t]}function Yo(e){rr(e)}function Xo(e){const t=nr(e);Co(7,t),1===t.state&&Jo(e),sr(t),rr(t),Eo(7,t)}function Jo(e){Zo(nr(e))}function Qo(e){!function(e){if(_(e.isDirty)){const t=Lo(e);e.children=t;Bo(0===e.renderMode?e.elm.childNodes:e.elm.shadowRoot.childNodes,t),ir(e)}}(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){H(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=Io;t&&jo(e,t);ar(e)&&function(e){const{wiredDisconnecting:t}=e.context;hr(e,e,j,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),j)}(e);const{disconnectedCallback:n}=e.def;R(n)||(bo(5,e),Ao(e,n),vo(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:l}=n,c=Sn(t),s={elm:e,def:c,idx:Ko++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:r,owner:i,children:ce,aChildren:ce,velements:ce,cmpProps:o(null),cmpFields:o(null),cmpSlots:o(null),oar:o(null),cmpTemplate:null,renderMode:c.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:le,wiredConnecting:ce,wiredDisconnecting:ce},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:zo,setHook:Uo,getHook:qo};return s.shadowMode=function(e){const{def:t}=e;let n;if(fe)if(0===t.renderMode)n=0;else if(de)if("any"===t.shadowSupportMode)n=0;else{const t=function(e){let t=e.owner;for(;!L(t)&&0===t.renderMode;)t=t.owner;return t}(e);n=L(t)||0!==t.shadowMode?1:0}else n=1;else n=0;return n}(s),s.tro=Ro(s),function(e,t){const n=No;let o;bo(0,e),No=e;try{const r=new t;if(No.component!==r)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){o=Object(e)}finally{if(vo(0,e),No=n,!R(o))throw ot(e,o),o}}(s,c.ctor),ar(s)&&function(e){const{context:t,def:{wire:n}}=e,o=t.wiredConnecting=[],r=t.wiredDisconnecting=[];for(const t in n){const i=n[t],l=pr.get(i);if(!R(l)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:c}=gr(e,t,l),s=l.dynamic.length>0;C.call(o,(()=>{n.connect(),re.ENABLE_WIRE_SYNC_EMIT||!s?i():Promise.resolve().then(i)})),C.call(r,(()=>{n.disconnect(),c()}))}}}(s),s}function tr(e,t){Go.set(e,t)}function nr(e){return Go.get(e)}function or(e){return Go.get(e)}function rr(e){if(_(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,(()=>{bo(2,e)}),(()=>{qn(n,o,t)}),(()=>{vo(2,e)}));1===e.state&&ir(e)}(e,Lo(e))}}function ir(e){const{def:{renderedCallback:t}}=e;if(_(ue))return;const{rendered:n}=Io;n&&jo(e,n),R(t)||(bo(4,e),Ao(e,t),vo(4,e))}let lr=[];function cr(){Co(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{rr(o)}catch(o){throw t+1<n&&(0===lr.length&&ae(cr),S.apply(lr,M.call(e,t+1))),Eo(8),o}}Eo(8)}function sr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Io;n&&jo(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;R(o)||(bo(3,e),Ao(e,o),vo(3,e))}function ar(e){return s(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(!R(n)){const e=or(n);R(e)||Zo(e)}}}function dr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!L(n)&&!R(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];L(o)||R(o.elm)||ge(o.elm,n)}e.children=ce,ur(e),e.velements=ce}function hr(e,t,n,o,r){let i;n();try{o()}catch(e){i=Object(e)}finally{if(r(),!R(i)){ot(e,i);const n=L(t)?void 0:function(e){let t=e;for(;!L(t);){if(!R(t.def.errorCallback))return t;t=t.owner}}(t);if(R(n))throw i;fr(e),bo(6,e);Ao(n,n.def.errorCallback,[i,i.wcStack]),vo(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:l,dynamic:c}=n,s=R(o)?function(e,t){const{cmpFields:n}=e;return o=>{o!==e.cmpFields[t]&&(n[t]=o,et(e,t))}}(e,t):function(e,t){return n=>{hr(e,e.owner,j,(()=>{t.call(e.component,n)}),j)}}(e,o);let a,u;i(s,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),i(s,"$$DeprecatedWiredParamsMetaKey$$",{value:c}),hr(e,e,j,(()=>{u=new r(s)}),j);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let o=!1;const r=new Ze((()=>{!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,l,(t=>{hr(e,e,j,(()=>{u.update(t,a)}),j)}));return R(r.contextSchema)||function(e,t,n){const{adapter:o}=t,r=yr(o);if(R(r))return;const{elm:i,context:{wiredConnecting:l,wiredDisconnecting:c}}=e;C.call(l,(()=>{const e=new mr(r,{setNewContext(e){n(e)},setDisconnectedCallback(e){C.call(c,e)}});Ae(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;const Er=o(null),kr=document.head||document.body||document,Mr=D(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),Tr=o(null),Sr=o(null),xr=new WeakMap;let Nr,Or,Ar;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}}())Nr=customElements.get.bind(customElements),Or=customElements.define.bind(customElements),Ar=HTMLElement;else{const e=o(null),t=new WeakMap;Or=function(n,o){if(n!==$.call(n)||e[n])throw new TypeError("Invalid Registration");e[n]=o,t.set(o,n)},Nr=function(t){return e[t]},Ar=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},Ar.prototype=HTMLElement.prototype}let Pr=!1;function $r(e){Pr=e}const Rr=U.$isNativeShadowRootDefined$,Lr=u.call(Element.prototype,"$shadowToken$");Ce=function(e,t){return Pr?e.shadowRoot:e.attachShadow(t)},be=function(e){return document.createComment(e)},we=function(e,t){return R(t)?document.createElement(e):document.createElementNS(t,e)},ye=function(e){return document.createTextNode(e)},Ue=Or,Ae=function(e,t){return e.dispatchEvent(t)},Te=function(e,t,n){return R(n)?e.getAttribute(t):e.getAttributeNS(n,t)},Re=function(e){return e.getBoundingClientRect()},Fe=function(e){return e.childNodes},Ie=function(e){return e.children},Pe=function(e){return e.classList},qe=Nr,De=function(e,t){return e.getElementsByClassName(t)},He=function(e,t){return e.getElementsByTagName(t)},je=function(e){return e.firstChild},We=function(e){return e.firstElementChild},Be=function(e){return e.lastChild},Ve=function(e){return e.lastElementChild},Ee=function(e,t){return e[t]},he=Ar,me=function(e,t,n){t.insertBefore(e,n)},Ge=function(e){if(!R(Er[e]))return;Er[e]=!0;const t=document.createElement("style");t.type="text/css",t.textContent=e,kr.appendChild(t)},ze=function(e,t){Mr?function(e,t){let n=Sr[e];R(n)&&(n=new CSSStyleSheet,n.replaceSync(e),Sr[e]=n),t.adoptedStyleSheets.includes(n)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,n])}(e,t):function(e,t){let n=xr.get(t);if(R(n)&&(n=o(null),xr.set(t,n)),n[e])return;n[e]=!0;let r=Tr[e];R(r)?(r=document.createElement("style"),r.type="text/css",r.textContent=e,Tr[e]=r):r=r.cloneNode(!0),t.appendChild(r)}(e,t)},Ke=function(e){return e.isConnected},pe=function(){return Pr},de=Rr,fe=Lr,ve=function(e){return e.nextSibling},Le=function(e,t){return e.querySelector(t)},_e=function(e,t){return e.querySelectorAll(t)},ge=function(e,t){t.removeChild(e)},xe=function(e,t,n){R(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)},Oe=function(e,t,n,o){e.removeEventListener(t,n,o)},Se=function(e,t,n,o){return R(o)?e.setAttribute(t,n):e.setAttributeNS(o,t,n)},$e=function(e,t,n,o){e.style.setProperty(t,n,o?"important":"")},ke=function(e,t,n){e[t]=n},Me=function(e,t){e.nodeValue=t},ue=!1,Ne=function(e,t,n,o){e.addEventListener(t,n,o)};const _r=Node,Hr=new WeakMap,Dr=new WeakMap;function Ir(e,t){const n=t.get(e);return R(n)||n(e),e}const{appendChild:Fr,insertBefore:jr,removeChild:Wr,replaceChild:Br}=_r.prototype;function Vr(e,t){if(!I(t)||L(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${B(t)}".`);const n=t.is;if(!D(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const o=Nn(e);let r=!1;const i=new o((o=>{er(o,n,{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null}),Hr.set(o,Xo),Dr.set(o,Jo),r=!0}));return r||console.error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`),i}function Kr(e){const t=function(e){return Sn(e).bridge}(e);return class extends t{constructor(){super(),er(this,e,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){Xo(this)}disconnectedCallback(){Jo(this)}}}n(_r.prototype,{appendChild(e){return Ir(Fr.call(this,e),Hr)},insertBefore(e,t){return Ir(jr.call(this,e,t),Hr)},removeChild(e){return Ir(Wr.call(this,e),Dr)},replaceChild(e,t){const n=Br.call(this,e,t);return Ir(n,Dr),Ir(e,Hr),n}});const Gr=Node;const zr=new Map;i(qt,"CustomElementConstructor",{get(){return function(e){if(e===qt)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=zr.get(e);return R(t)&&(t=Kr(e),zr.set(e,t)),t}(this)}}),l(qt),h(qt.prototype),e.LightningElement=qt,e.__unstable__ProfilerControl=yo,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=yr(e);if(!R(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((()=>{R(i)||i(o)})),r(o),e.stopImmediatePropagation()}))}},e.createElement=Vr,e.getComponentConstructor=function(e){let t=null;if(e instanceof HTMLElement){const n=or(e);R(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=Sn(e),{ctor:n,name:o,props:r,propsConfig:i,methods:l}=t,c={};for(const e in r)c[e]={config:i[e]||0,type:"any",attr:X(e)};const s={};for(const e in l)s[e]=l[e].value;return{ctor:n,name:o,props:c,methods:s}},e.hydrateComponent=function(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(!D(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!I(n)||L(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);try{$r(!0),er(e,t,{mode:"open",owner:null,tagName:e.tagName.toLowerCase()});for(const[t,o]of Object.entries(n))e[t]=o;!function(e){const t=nr(e);sr(t),Qo(t)}(e),$r(!1)}catch(o){console.error("Recovering from error while hydrating: ",o),$r(!1);const r=Vr(e.tagName,{is:t,mode:"open"});for(const[e,t]of Object.entries(n))r[e]=t;e.parentNode.replaceChild(r,e)}},e.isComponentConstructor=Tn,e.isNodeFromTemplate=function(e){return!H(e instanceof Gr)&&(!(e instanceof ShadowRoot)&&(Lr?!R(e.$shadowResolver$):e.getRootNode()instanceof ShadowRoot))},e.readonly=function(e){return zt.getReadOnlyProxy(e)},e.register=function(e){for(let t=0;t<Fo.length;++t){const n=Fo[t];if(n in e){let t=Io[n];R(t)&&(Io[n]=t=[]),C.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return $o.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:r,publicMethods:l,wire:s,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(!R(r))for(const e in r){const t=r[e];if(g[e]=t.config,w=c(n,e),t.config>0){if(R(w))throw new Error;w=cn(e,w)}else w=R(w)||R(w.get)?rn(e):cn(e,w);f[e]=w,i(n,e,w)}if(R(l)||x.call(l,(e=>{if(w=c(n,e),R(w))throw new Error;d[e]=w})),!R(s))for(const e in s){const{adapter:t,method:o,config:r,dynamic:l=[]}=s[e];if(w=c(n,e),1===o){if(R(w))throw new Error;h[e]=w,br(w,t,r,l)}else w=nn(e),p[e]=w,vr(w,t,r,l),i(n,e,w)}if(!R(a))for(const e in a)w=c(n,e),w=on(e),i(n,e,w);if(!R(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=c(n,t);const o=!R(r)&&t in r,i=!R(a)&&t in a;o||i||(m[t]=sn(t))}return function(e,t){an.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return dn.add(e),e},e.sanitizeAttribute=function(e,t,n,o){return o},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(R(oe[e])){const n=f(oe).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=re[e];if(!R(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(re,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(Cr,"Hooks are already overridden, only one definition is allowed."),Cr=!0,n=e.sanitizeHtmlContent,so=n},e.swapComponent=function(e,t){if(!re.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapStyle=function(e,t){if(!re.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapTemplate=function(e,t){if(!re.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.track=function(e){if(1===arguments.length)return zt.getProxy(e);throw new Error},e.unwrap=function(e){return zt.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:l,getOwnPropertyDescriptor:c,getOwnPropertyNames:s,getPrototypeOf:a,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{filter:g,find:w,indexOf:y,join:b,map:v,push:C,reduce:E,reverse:k,slice:M,splice:T,unshift:S,forEach:x}=Array.prototype,{fromCharCode:N}=String,{charCodeAt:O,replace:A,slice:P,toLowerCase:$}=String.prototype;function R(e){return void 0===e}function L(e){return null===e}function _(e){return!0===e}function H(e){return!1===e}function D(e){return"function"==typeof e}function I(e){return"object"==typeof e}function F(e){return"string"==typeof e}function j(){}const W={}.toString;function B(e){return e&&e.toString?m(e)?b.call(v.call(e,B),","):e.toString():"object"==typeof e?W.call(e):e+""}function V(e,t){do{const n=c(e,t);if(!R(n))return n;e=a(e)}while(null!==e)}const K=["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:G,AriaPropNameToAttrNameMap:z}=(()=>{const e=o(null),t=o(null);return x.call(K,(n=>{const o=$.call(A.call(n,/^aria/,(()=>"aria-")));e[o]=n,t[n]=o})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),U=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),q=new 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"]]),Y=new Map;function X(e){const t=z[e];if(!R(t))return t;const n=q.get(e);if(!R(n))return n;const o=Y.get(e);if(!R(o))return o;let r="";for(let t=0,n=e.length;t<n;t++){const n=O.call(e,t);r+=n>=65&&n<=90?"-"+N(n+32):N(n)}return Y.set(e,r),r}function J(e){return void 0===Object.getOwnPropertyDescriptor(Element.prototype,e)}const Q=new WeakMap;function Z(e){let t=Q.get(e);return void 0===t&&(t={},Q.set(e,t)),t}function ee(e,t){return{get(){const n=Z(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;Z(this)[e]=o,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function te(e){const t=ee(e,z[e]);Object.defineProperty(Element.prototype,e,t)}const ne=f(z);for(let e=0,t=ne.length;e<t;e+=1){const t=ne[e];J(t)&&te(t)}const oe={ENABLE_REACTIVE_SETTER:null,ENABLE_HMR:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_WIRE_SYNC_EMIT:null};U.lwcRuntimeFlags||Object.defineProperty(U,"lwcRuntimeFlags",{value:o(null)});const re=U.lwcRuntimeFlags;let ie=[];const le=h(o(null)),ce=h([]);function se(){const e=ie;ie=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function ae(e){0===ie.length&&Promise.resolve().then(se),C.call(ie,e)}function ue(e,t){const n={};for(const o of Object.keys(e))o!==t&&(n[o]=e[o]);return n}let de,fe,he,pe,me,ge,we,ye,be,ve,Ce,Ee,ke,Me,Te,Se,xe,Ne,Oe,Ae,Pe,$e,Re,Le,_e,He,De,Ie,Fe,je,We,Be,Ve,Ke,Ge,ze,Ue,qe,Ye;const Xe=new WeakMap;let Je=null;function Qe(e,t){const n=Xe.get(e);if(!R(n)){const e=n[t];if(!R(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function Ze(e,t){if(null===Je)return;const n=Je,r=function(e){let t=Xe.get(e);if(R(t)){const n=o(null);t=n,Xe.set(e,n)}return t}(e);let i=r[t];if(R(i))i=[],r[t]=i;else if(i[0]===n)return;-1===y.call(i,n)&&n.link(i)}class et{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=Je;let n;Je=this;try{e()}catch(e){n=Object(e)}finally{if(Je=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=y.call(e[n],this);T.call(t,o,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){C.call(e,this),C.call(this.listeners,e)}}function tt(e,t){Qe(e.component,t)}function nt(e,t){Ze(e.component,t)}function ot(e){return`<${$.call(e.tagName)}>`}function rt(e,t){if(!d(t)&&R(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!L(n);)C.call(t,ot(n)),n=n.owner;return t.reverse().join("\n\t")}(e);i(t,"wcStack",{get:()=>n})}}function it(e,t,n){let o=`[LWC ${e}]: ${t}`;R(n)||(o=`${o}\n${function(e){const t=[];let n="";for(;!L(e.owner);)C.call(t,n+ot(e)),e=e.owner,n+="\t";return b.call(t,"\n")}(n)}`);try{throw new Error(o)}catch(t){console[e](t)}}const lt="undefined"!=typeof HTMLElement?HTMLElement:function(){},ct=lt.prototype;function st(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:st("offsetHeight")},offsetLeft:{readOnly:!0,error:st("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:st("offsetTop")},offsetWidth:{readOnly:!0,error:st("offsetWidth")},role:{attribute:"role"}});let at,ut=null;function dt(e,t){return e!==ut||t!==at}function ft(e,t){ut=null,at=void 0}function ht(e,t){ut=e,at=t}const pt=o(null);x.call(f(z),(e=>{const t=V(ct,e);R(t)||(pt[e]=t)})),x.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=V(ct,e);R(t)||(pt[e]=t)}));const{isArray:mt}=Array,{prototype:gt,getPrototypeOf:wt,create:yt,defineProperty:bt,isExtensible:vt,getOwnPropertyDescriptor:Ct,getOwnPropertyNames:Et,getOwnPropertySymbols:kt,preventExtensions:Mt,hasOwnProperty:Tt}=Object,{push:St,concat:xt}=Array.prototype;function Nt(e){return void 0===e}function Ot(e){return"function"==typeof e}const At=new WeakMap;function Pt(e,t){At.set(e,t)}const $t=e=>At.get(e)||e;class Rt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(Tt.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;Nt(n)||(e.get=this.wrapGetter(n)),Nt(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,o=Ct(n,t);if(!Nt(o)){const n=this.wrapDescriptor(o);bt(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;xt.call(Et(t),kt(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;Nt(n)||Tt.call(e,n)||bt(e,n,yt(null)),Mt(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=Nt(n)||Tt.call(t,n)?[]:[n];return St.apply(o,Et(t)),St.apply(o,kt(t)),o}isExtensible(e){const{originalTarget:t}=this;return!!vt(e)&&(!!vt(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return wt(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:o,tagPropertyKey:r}}=this;o(n,t);let i=Ct(n,t);if(Nt(i)){if(t!==r)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},bt(e,r,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const Lt=new WeakMap,_t=new WeakMap,Ht=new WeakMap,Dt=new WeakMap;class It extends Rt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Lt.get(e);if(!Nt(t))return t;const n=this,o=function(){return n.wrapValue(e.call($t(this)))};return Lt.set(e,o),Ht.set(o,e),o}wrapSetter(e){const t=_t.get(e);if(!Nt(t))return t;const n=function(t){e.call($t(this),$t(t))};return _t.set(e,n),Dt.set(n,e),n}unwrapDescriptor(e){if(Tt.call(e,"value"))e.value=$t(e.value);else{const{set:t,get:n}=e;Nt(n)||(e.get=this.unwrapGetter(n)),Nt(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=Ht.get(e);if(!Nt(t))return t;const n=this,o=function(){return $t(e.call(n.wrapValue(this)))};return Lt.set(o,e),Ht.set(e,o),o}unwrapSetter(e){const t=Dt.get(e);if(!Nt(t))return t;const n=this,o=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return _t.set(o,e),Dt.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(vt(e)){const{originalTarget:t}=this;if(Mt(t),vt(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:o,membrane:{valueMutated:r,tagPropertyKey:i}}=this;return t===i&&!Tt.call(o,t)||(bt(o,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),r(o,t),!0)}}const Ft=new WeakMap,jt=new WeakMap;class Wt extends Rt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=Ft.get(e);if(!Nt(t))return t;const n=this,o=function(){return n.wrapValue(e.call($t(this)))};return Ft.set(e,o),o}wrapSetter(e){const t=jt.get(e);if(!Nt(t))return t;const n=function(e){};return jt.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 Bt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(mt(e))return!0;const t=wt(e);return t===gt||null===t||null===wt(t)}const Vt=(e,t)=>{},Kt=(e,t)=>{};function Gt(e){return mt(e)?[]:{}}const zt=Symbol.for("@@lockerLiveValue"),Ut=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:o,tagPropertyKey:r}=e;this.valueMutated=Ot(t)?t:Kt,this.valueObserved=Ot(n)?n:Vt,this.valueIsObservable=Ot(o)?o:Bt,this.tagPropertyKey=r}getProxy(e){const t=$t(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=$t(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return $t(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(Nt(t)){const n=new It(this,e);t=new Proxy(Gt(e),n),Pt(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(Nt(t)){const n=new Wt(this,e);t=new Proxy(Gt(e),n),Pt(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:Ze,valueMutated:Qe,tagPropertyKey:zt});function qt(e,t){const{get:n,set:o,enumerable:r,configurable:i}=t;if(!D(n))throw new TypeError;if(!D(o))throw new TypeError;return{enumerable:r,configurable:i,get(){const t=or(this);if(!Ao(t))return nt(t,e),n.call(t.elm)},set(t){const n=or(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,tt(n,e)),o.call(n.elm,t)}}}const Yt=function(){if(L(Oo))throw new ReferenceError("Illegal constructor");const e=Oo,{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[zt]=void 0,nr(r,e),nr(n,e),1===e.renderMode?e.renderRoot=Xt(e):e.renderRoot=n,this};function Xt(e){const{elm:t,mode:n,shadowMode:o,def:{ctor:r}}=e,i=Ee(t,{"$$lwc-synthetic-mode":1===o,delegatesFocus:Boolean(r.delegatesFocus),mode:n});return e.shadowRoot=i,nr(i,e),i}Yt.prototype={constructor:Yt,dispatchEvent(e){const{elm:t}=or(this);return Pe(t,e)},addEventListener(e,t,n){const o=or(this),{elm:r}=o,i=Io(o,t);Oe(r,e,i,n)},removeEventListener(e,t,n){const o=or(this),{elm:r}=o,i=Io(o,t);Ae(r,e,i,n)},hasAttribute(e){const{elm:t}=or(this);return!L(Se(t,e))},hasAttributeNS(e,t){const{elm:n}=or(this);return!L(Se(n,t,e))},removeAttribute(e){const{elm:t}=or(this);ht(t,e),Ne(t,e),ft()},removeAttributeNS(e,t){const{elm:n}=or(this);ht(n,t),Ne(n,t,e),ft()},getAttribute(e){const{elm:t}=or(this);return Se(t,e)},getAttributeNS(e,t){const{elm:n}=or(this);return Se(n,t,e)},setAttribute(e,t){const n=or(this),{elm:o}=n;ht(o,e),xe(o,e,t),ft()},setAttributeNS(e,t,n){const o=or(this),{elm:r}=o;ht(r,t),xe(r,t,n,e),ft()},getBoundingClientRect(){const e=or(this),{elm:t}=e;return Le(t)},get isConnected(){const{elm:e}=or(this);return Ge(e)},get classList(){const e=or(this),{elm:t}=e;return $e(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 Jt=o(null),Qt=["children","childNodes","firstChild","firstElementChild","lastChild","lastElementChild"];function Zt(e){switch(e){case"children":return Fe;case"childNodes":return je;case"firstChild":return We;case"firstElementChild":return Be;case"lastChild":return Ve;case"lastElementChild":return Ke}}for(const e of Qt)Jt[e]={get(){const t=or(this),{elm:n}=t;return Zt(e)(n)},configurable:!0,enumerable:!0};const en=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];function tn(e){switch(e){case"getElementsByClassName":return Ie;case"getElementsByTagName":return De;case"querySelector":return _e;case"querySelectorAll":return He}}for(const e of en)Jt[e]={value(t){const n=or(this),{elm:o}=n;return tn(e)(o,t)},configurable:!0,enumerable:!0,writable:!0};r(Yt.prototype,Jt);const nn=o(null);for(const e in pt)nn[e]=qt(e,pt[e]);function on(e){return{get(){const t=or(this);return nt(t,e),t.cmpFields[e]},set(t){const n=or(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,tt(n,e))},enumerable:!0,configurable:!0}}function rn(e){return{get(){const t=or(this);return nt(t,e),t.cmpFields[e]},set(t){const n=or(this),o=Ut.getProxy(t);o!==n.cmpFields[e]&&(n.cmpFields[e]=o,tt(n,e))},enumerable:!0,configurable:!0}}function ln(e){return{get(){const t=or(this);if(!Ao(t))return nt(t,e),t.cmpProps[e]},set(t){const n=or(this);n.cmpProps[e]=t,tt(n,e)},enumerable:!0,configurable:!0}}r(Yt.prototype,nn),i(Yt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class cn extends et{constructor(e,t){super((()=>{H(this.debouncing)&&(this.debouncing=!0,ae((()=>{if(_(this.debouncing)){const{value:n}=this,{isDirty:o,component:r,idx:i}=e;t.call(r,n),this.debouncing=!1,_(e.isDirty)&&H(o)&&i>0&&Xo(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function sn(e,t){const{get:n,set:o,enumerable:r,configurable:i}=t;if(!D(n))throw new Error;return{get(){return n.call(this)},set(t){const n=or(this);if(o)if(re.ENABLE_REACTIVE_SETTER){let r=n.oar[e];R(r)&&(r=n.oar[e]=new cn(n,o)),r.reset(t),r.observe((()=>{o.call(this,t)}))}else o.call(this,t)},enumerable:r,configurable:i}}function an(e){return{get(){const t=or(this);return nt(t,e),t.cmpFields[e]},set(t){const n=or(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,tt(n,e))},enumerable:!0,configurable:!0}}const un=new Map;const dn={apiMethods:le,apiFields:le,apiFieldsConfig:le,wiredMethods:le,wiredFields:le,observedFields:le};const fn=new Set;function hn(){return[]}fn.add(hn);const pn=o(null),mn=o(null);function gn(e){let t=pn[e];return R(t)&&(t=pn[e]=function(){const t=or(this),{getHook:n}=t;return n(t.component,e)}),t}function wn(e){let t=mn[e];return R(t)&&(t=mn[e]=function(t){const n=or(this),{setHook:o}=n;t=Ut.getReadOnlyProxy(t),o(n.component,e,t)}),t}function yn(e){return function(){const t=or(this),{callHook:n,component:o}=t,r=o[e];return n(t.component,r,M.call(arguments))}}function bn(e,t){return function(n,o,r){if(o===r)return;const i=e[n];R(i)?R(t)||t.apply(this,arguments):dt(this,n)&&(this[i]=r)}}function vn(e,t,n){let l;D(e)?l=class extends e{}:(l=function(){throw new TypeError("Illegal constructor")},p(l,e),p(l.prototype,e.prototype),i(l.prototype,"constructor",{writable:!0,configurable:!0,value:l}));const c=o(null),{attributeChangedCallback:s}=e.prototype,{observedAttributes:a=[]}=e,u=o(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];c[X(n)]=n,u[n]={get:gn(n),set:wn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:yn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:bn(c,s)},i(l,"observedAttributes",{get:()=>[...a,...f(c)]}),r(l.prototype,u),l}const Cn=vn(lt,s(pt),[]);function En(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function kn(e){return D(e)&&u.call(e,"__circular__")}l(Cn),h(Cn.prototype);const Mn=new WeakMap;function Tn(e){const{shadowSupportMode:t,renderMode:i}=e,l=function(e){const t=un.get(e);return R(t)?dn:t}(e),{apiFields:c,apiFieldsConfig:s,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=l,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const C=function(e){let t=a(e);if(L(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(kn(t)){const e=En(t);t=e===t?Yt:e}return t}(e),E=C!==Yt?xn(C):Nn,k=vn(E.bridge,f(c),f(u)),M=n(o(null),E.props,c),T=n(o(null),E.propsConfig,s),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 N=E.shadowSupportMode;R(t)||(N=t);let O=E.renderMode;R(i)||(O="light"===i?0:1);const A=function(e){return Ro.get(e)}(e)||E.template,P=e.name||E.name;r(m,p);return{ctor:e,name:P,wire:x,props:M,propsConfig:T,methods:S,bridge:k,template:A,renderMode:O,shadowSupportMode:N,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function Sn(e){if(!D(e))return!1;if(e.prototype instanceof Yt)return!0;let t=e;do{if(kn(t)){const e=En(t);if(e===t)return!0;t=e}if(t===Yt)return!0}while(!L(t)&&(t=a(t)));return!1}function xn(e){let t=Mn.get(e);if(R(t)){if(kn(e)){return t=xn(En(e)),Mn.set(e,t),t}if(!Sn(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=Tn(e),Mn.set(e,t)}return t}const Nn={ctor:Yt,name:Yt.name,props:nn,propsConfig:le,methods:le,renderMode:1,shadowSupportMode:"reset",wire:le,bridge:Cn,template:hn,render:Yt.prototype.render};function On(e){e=e.toLowerCase();let t=Ye(e);return R(t)?(t=class extends pe{constructor(e){super(),D(e)&&e(this)}},qe(e,t),t):t}function An(e){const{type:t}=e;return 2===t||3===t}function Pn(e,t){return e.key===t.key&&e.sel===t.sel}function $n(e,t){return"input"===e&&("value"===t||"checked"===t)}function Rn(e,t){const{props:n}=t.data;if(R(n))return;const o=L(e)?le:e.data.props;if(o===n)return;const r=L(e),{elm:i,sel:l}=t;for(const e in n){const t=n[e];(r||t!==($n(l,e)?ke(i,e):o[e]))&&Me(i,e,t)}}const Ln=o(null);function _n(e){if(null==e)return le;e=F(e)?e:e+"";let t=Ln[e];if(t)return t;t=o(null);let n,r=0;const i=e.length;for(n=0;n<i;n++)32===O.call(e,n)&&(n>r&&(t[P.call(e,r,n)]=!0),r=n+1);return n>r&&(t[P.call(e,r,n)]=!0),Ln[e]=t,t}function Hn(e){const{elm:t,data:{on:n}}=e;if(!R(n))for(const e in n){const o=n[e];Oe(t,e,o)}}const Dn={create:e=>{const{owner:t}=e,n=be(e.text);Kn(n,t),e.elm=n},update:Gn,insert:zn,move:zn,remove:Un},In={create:e=>{const{owner:t,text:n}=e,o=ve(n);Kn(o,t),e.elm=o},update:Gn,insert:zn,move:zn,remove:Un},Fn={create:e=>{const{sel:t,owner:n,data:{svg:o}}=e,r=_(o)?"http://www.w3.org/2000/svg":void 0,i=ye(t,r);Kn(i,n),function(e,t){const{owner:n}=t;if(Vn(e,n),1===n.shadowMode){const{data:{context:o}}=t,{stylesheetToken:r}=n.context;R(o)||R(o.lwc)||"manual"!==o.lwc.dom||function(e){e.$domManual$=!0}(e),R(r)||Bn(e,r)}}(i,e),e.elm=i,qn(null,e)},update:(e,t)=>{qn(e,t),Yn(t.elm,e.children,t.children)},insert:(e,t,n)=>{zn(e,t,n),Jn(e)},move:zn,remove:(e,t)=>{Un(e,t),function(e){const{children:t,elm:n}=e;for(let e=0,o=t.length;e<o;++e){const o=t[e];L(o)||o.hook.remove(o,n)}}(e)}},jn={create:e=>{const{sel:t,owner:n}=e,o=On(t);let r;const i=new o((t=>{r=function(e,t){let n=rr(e);if(!R(n))return n;const{sel:o,mode:r,ctor:i,owner:l}=t;if(Vn(e,l),1===l.shadowMode){const{stylesheetToken:t}=l.context;R(t)||Bn(e,t)}return n=tr(e,i,{mode:r,owner:l,tagName:o}),n}(t,e)}));if(Kn(i,n),e.elm=i,r)Xn(e,r);else if(e.ctor!==o)throw new TypeError("Incorrect Component Constructor");qn(null,e)},update:(e,t)=>{qn(e,t);const n=rr(t.elm);n&&Xn(t,n),Yn(t.elm,e.children,t.children),n&&Xo(n)},insert:(e,t,n)=>{zn(e,t,n);const o=rr(e.elm);o&&ar(o),Jn(e),o&&function(e){ir(e)}(o)},move:zn,remove:(e,t)=>{Un(e,t);const n=rr(e.elm);n&&function(e){er(e)}(n)}};function Wn(e){return null!=e}function Bn(e,t){e.$shadowToken$=t}function Vn(e,t){const{cmpTemplate:n,context:o}=t,r=null==n?void 0:n.stylesheetToken;!R(r)&&o.hasScopedStyles&&$e(e).add(r)}function Kn(e,t){const{renderRoot:n,renderMode:o,shadowMode:r}=t;he&&(1!==r&&0!==o||(e.$shadowResolver$=n.$shadowResolver$))}function Gn(e,t){const{elm:n,text:o}=t;e.text!==o&&Te(n,o)}function zn(e,t,n){ge(e.elm,t,n)}function Un(e,t){we(e.elm,t)}function qn(e,t){L(e)&&(Hn(t),function(e){const{elm:t,data:{classMap:n}}=e;if(R(n))return;const o=$e(t);for(const e in n)o.add(e)}(t),function(e){const{elm:t,data:{styleDecls:n}}=e;if(!R(n))for(let e=0;e<n.length;e++){const[o,r,i]=n[e];Re(t,o,r,i)}}(t)),function(e,t){const{elm:n,data:{className:o}}=t,r=L(e)?void 0:e.data.className;if(r===o)return;const i=$e(n),l=_n(o),c=_n(r);let s;for(s in c)R(l[s])&&i.remove(s);for(s in l)R(c[s])&&i.add(s)}(e,t),function(e,t){const{elm:n,data:{style:o}}=t;(L(e)?void 0:e.data.style)!==o&&(F(o)&&""!==o?xe(n,"style",o):Ne(n,"style"))}(e,t),function(e,t){const{attrs:n}=t.data;if(R(n))return;const o=L(e)?le:e.data.attrs;if(o===n)return;const{elm:r}=t;for(const e in n){const t=n[e];o[e]!==t&&(ht(r,e),58===O.call(e,3)?xe(r,e,t,"http://www.w3.org/XML/1998/namespace"):58===O.call(e,5)?xe(r,e,t,"http://www.w3.org/1999/xlink"):L(t)||R(t)?Ne(r,e):xe(r,e,t),ft())}}(e,t),Rn(e,t)}function Yn(e,t,n){var o;o=n,Qn.has(o)?function(e,t,n){let o=0,r=0,i=t.length-1,l=t[0],c=t[i];const s=n.length-1;let a,u,d,f,h=s,p=n[0],m=n[h],g=!1;for(;o<=i&&r<=h;)Wn(l)?Wn(c)?Wn(p)?Wn(m)?Pn(l,p)?(no(l,p),l=t[++o],p=n[++r]):Pn(c,m)?(no(c,m),c=t[--i],m=n[--h]):Pn(l,m)?(no(l,m),m.hook.move(l,e,Ce(c.elm)),l=t[++o],m=n[--h]):Pn(c,p)?(no(c,p),p.hook.move(c,e,l.elm),c=t[--i],p=n[++r]):(void 0===a&&(a=Zn(t,o,i)),u=a[p.key],R(u)?(p.hook.create(p),p.hook.insert(p,e,l.elm),p=n[++r]):(d=t[u],Wn(d)&&(d.sel!==p.sel?(p.hook.create(p),p.hook.insert(p,e,l.elm)):(no(d,p),g||(g=!0,t=[...t]),t[u]=void 0,p.hook.move(d,e,l.elm))),p=n[++r])):m=n[--h]:p=n[++r]:c=t[--i]:l=t[++o];if(o<=i||r<=h)if(o>i){let t,o=h;do{t=n[++o]}while(!Wn(t)&&o<s);f=Wn(t)?t.elm:null,eo(e,f,n,r,h)}else to(e,t,o,i)}(e,t,n):function(e,t,n){const o=t.length,r=n.length;if(0===o)return void eo(e,null,n,0,r);if(0===r)return void to(e,t,0,o);let i=null;for(let o=r-1;o>=0;o-=1){const r=n[o],l=t[o];r!==l&&(Wn(l)?Wn(r)?(no(l,r),i=r.elm):l.hook.remove(l,e):Wn(r)&&(r.hook.create(r),r.hook.insert(r,e,i),i=r.elm))}}(e,t,n)}function Xn(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(L(o))continue;let r="";An(o)&&(r=(null===(n=o.data.attrs)||void 0===n?void 0:n.slot)||"");const l=i[r]=i[r]||[];R(o.key)||(o.key=`@${r}:${o.key}`),C.call(l,o)}if(H(e.isDirty)){const t=f(r);if(t.length!==f(i).length)return void Ho(e);for(let n=0,o=t.length;n<o;n+=1){const o=t[n];if(R(i[o])||r[o].length!==i[o].length)return void Ho(e);const l=r[o],c=i[o];for(let t=0,n=i[o].length;t<n;t+=1)if(l[t]!==c[t])return void Ho(e)}}}(t,n),e.aChildren=n,e.children=ce)}function Jn(e){const{elm:t,children:n}=e;for(let e=0;e<n.length;++e){const o=n[e];null!=o&&(o.hook.create(o),o.hook.insert(o,t,null))}}const Qn=new WeakMap;function Zn(e,t,n){const o={};for(let r=t;r<=n;++r){const t=e[r];if(Wn(t)){const{key:e}=t;void 0!==e&&(o[e]=r)}}return o}function eo(e,t,n,o,r){for(;o<=r;++o){const r=n[o];Wn(r)&&(r.hook.create(r),r.hook.insert(r,e,t))}}function to(e,t,n,o){for(;n<=o;++n){const o=t[n];Wn(o)&&o.hook.remove(o,e)}}function no(e,t){e!==t&&(t.elm=e.elm,t.hook.update(e,t))}const oo=Symbol.iterator;function ro(e,t,n=ce){const o=So();const{key:r}=t;return{type:2,sel:e,data:t,children:n,elm:undefined,key:r,hook:Fn,owner:o}}function io(e,t,n,o=ce){const r=So(),{key:i}=n;const l={type:3,sel:e,data:n,children:o,elm:undefined,key:i,hook:jn,ctor:t,owner:r,mode:"open"};return function(e){C.call(So().velements,e)}(l),l}const lo=new Map;let co=0;function so(e){var t;return t=e,Qn.set(t,1),e}let ao=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const uo=l({s:function(e,t,n,o){R(o)||R(o[e])||0===o[e].length||(n=o[e]);const r=So(),{renderMode:i,shadowMode:l}=r;return 0===i?(so(n),n):(1===l&&so(n),ro("slot",t,n))},h:ro,c:io,i:function(e,t){const n=[];if(so(n),R(e)||null===e)return n;const o=e[oo]();let r=o.next(),i=0,{value:l,done:c}=r;for(;!1===c;){r=o.next(),c=r.done;const e=t(l,i,0===i,!0===c);m(e)?C.apply(n,e):C.call(n,e),i+=1,l=r.value}return n},f:function(e){const t=e.length,n=[];so(n);for(let o=0;o<t;o+=1){const t=e[o];m(t)?C.apply(n,t):C.call(n,t)}return n},t:function(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,hook:Dn,owner:So()}},d:function(e){return null==e?"":String(e)},b:function(e){const t=So();if(L(t))throw new Error;const n=t;return function(t){$o(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,hook:In,owner:So()}},dc:function(e,t,n,o=ce){if(null==t)return null;if(!Sn(t))throw new Error(`Invalid LWC Constructor ${B(t)} for custom element <${e}>.`);let r=lo.get(t);return R(r)&&(r=co++,lo.set(t,r)),io(e,t,Object.assign(Object.assign({},n),{key:`dc:${r}:${n.key}`}),o)},ti:function(e){return e>0&&!(_(e)||H(e))?0:e},gid:function(e){const t=So();if(R(e)||""===e)return e;if(L(e))return null;const{idx:n,shadowMode:o}=t;return 1===o?A.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=So();if(R(e)||""===e)return e;if(L(e))return null;const{idx:n,shadowMode:o}=t;return 1===o&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return ao(e)}});function fo(e){return`${e}-host`}function ho(e,t,n){const o=[];let r;for(let i=0;i<e.length;i++){let l=e[i];if(m(l))C.apply(o,ho(l,t,n));else{const e=l.$scoped$,i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,c=0===n.renderMode?!e:0===n.shadowMode;let s;1===n.renderMode?s=0===n.shadowMode:(R(r)&&(r=mo(n)),s=L(r)||0===r.shadowMode),C.call(o,l(i,c,s))}}return o}function po(e,t){const{stylesheets:n,stylesheetToken:o}=t;let r=[];return R(n)||0===n.length||(r=ho(n,o,e)),r}function mo(e){let t=e;for(;!L(t);){if(1===t.renderMode)return t;t=t.owner}return t}function go(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(de||me()){const e=b.call(t,"\n");return r=e,uo.h("style",{key:"style",attrs:{type:"text/css"}},[uo.t(r)])}{const n=function(e){const t=mo(e);return L(t)||1!==t.shadowMode?t:null}(e),o=L(n);for(let e=0;e<t.length;e++)o?ze(t[e]):Ue(t[e],n.shadowRoot)}}var r;return null}let wo=!1,yo=j;const bo={enableProfiler(){wo=!0},disableProfiler(){wo=!1},attachDispatcher(e){yo=e,this.enableProfiler()},detachDispatcher(){const e=yo;return yo=j,this.disableProfiler(),e}};function vo(e,t){wo&&yo(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Co(e,t){wo&&yo(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Eo(e,t){wo&&yo(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 ko(e,t){wo&&yo(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 Mo=!1,To=null;function So(){return To}function xo(e){To=e}function No(e,t){const n=Mo,r=To;let i=[];return pr(e,e.owner,(()=>{To=e,vo(1,e)}),(()=>{const{component:n,context:r,cmpSlots:l,cmpTemplate:c,tro:s}=e;s.observe((()=>{if(t!==c){if(L(c)||hr(e),s=t,!fn.has(s))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: ${B(t)}.`);e.cmpTemplate=t,r.tplCache=o(null),r.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!R(t))for(let e=0;e<t.length;e++)if(_(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:o,renderMode:r,shadowMode:i}=e,{stylesheets:l,stylesheetToken:c}=t,s=1===r&&1===i,{hasScopedStyles:a}=o;let u,d,f;const{stylesheetToken:h,hasTokenInClass:p,hasTokenInAttribute:m}=o;R(h)||(p&&$e(n).remove(fo(h)),m&&Ne(n,fo(h))),R(l)||0===l.length||(u=c),R(u)||(a&&($e(n).add(fo(u)),d=!0),s&&(xe(n,fo(u),""),f=!0)),o.stylesheetToken=u,o.hasTokenInClass=d,o.hasTokenInAttribute=f}(e,t);const n=po(e,t);r.styleVNode=0===n.length?null:go(e,n)}var s;e.velements=[],Mo=!0,i=t.call(void 0,uo,n,l,r.tplCache);const{styleVNode:a}=r;L(a)||S.call(i,a)}))}),(()=>{Mo=n,To=r,Co(1,e)})),i}let Oo=null;function Ao(e){return Oo===e}function Po(e,t,n){const{component:o,callHook:r,owner:i}=e;pr(e,i,j,(()=>{r(o,t,n)}),j)}function $o(e,t,n,o){const{callHook:r,owner:i}=e;pr(e,i,j,(()=>{r(n,t,[o])}),j)}const Ro=new Map;function Lo(e){return new et((()=>{const{isDirty:t}=e;H(t)&&(Ho(e),function(e){if(_(de)||_(e.isScheduled))return;e.isScheduled=!0,0===cr.length&&ae(sr);C.call(cr,e)}(e))}))}function _o(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:o,owner:r}=e,i=So();let l,c=!1;return pr(e,r,(()=>{xo(e)}),(()=>{e.tro.observe((()=>{l=n(o,t),c=!0}))}),(()=>{xo(i)})),c?No(e,l):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Ho(e){e.isDirty=!0}const Do=new WeakMap;function Io(e,t){if(!D(t))throw new TypeError;let n=Do.get(t);return R(n)&&(n=function(n){$o(e,t,void 0,n)},Do.set(t,n)),n}const Fo=o(null),jo=["rendered","connected","disconnected"];function Wo(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)}function Bo(e,t){switch(e.type){case 0:case 1:!function(e,t){var n;t.nodeValue=null!==(n=e.text)&&void 0!==n?n:null,e.elm=t}(e,t);break;case 2:!function(e,t){const n=t;e.elm=n;const{context:o}=e.data,r=Boolean(!R(o)&&!R(o.lwc)&&"manual"===o.lwc.dom);if(r){const{props:t}=e.data;R(t)||R(t.innerHTML)||(n.innerHTML===t.innerHTML?e.data=Object.assign(Object.assign({},e.data),{props:ue(t,"innerHTML")}):(i=`Mismatch hydrating element <${n.tagName.toLowerCase()}>: innerHTML values do not match for element, will recover from the difference`,l=e.owner,it("warn",i,l)))}var i,l;Ko(e),r||Vo(e.elm.childNodes,e.children,e.owner)}(e,t);break;case 3:!function(e,t){const n=t;e.elm=n;const{sel:o,mode:r,ctor:i,owner:l}=e,c=tr(n,i,{mode:r,owner:l,tagName:o});Xn(e,c),Ko(e),ar(c),0!==c.renderMode&&Vo(e.elm.childNodes,e.children);Zo(c)}(e,t)}}function Vo(e,t,n){let o=0;for(let n=0;n<t.length;n++){const r=t[n];if(!L(r)){Bo(r,e[o]),o++}}}function Ko(e){Hn(e),Rn(null,e)}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 Yo(e,t){return e[t]}function Xo(e){ir(e)}function Jo(e){const t=or(e);Eo(7,t),1===t.state&&Qo(e),ar(t),ir(t),ko(7,t)}function Qo(e){er(or(e))}function Zo(e){!function(e){if(_(e.isDirty)){const t=_o(e);e.children=t;Vo(0===e.renderMode?e.elm.childNodes:e.elm.shadowRoot.childNodes,t),lr(e)}}(e)}function er(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){H(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=Fo;t&&Wo(e,t);ur(e)&&function(e){const{wiredDisconnecting:t}=e.context;pr(e,e,j,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),j)}(e);const{disconnectedCallback:n}=e.def;R(n)||(vo(5,e),Po(e,n),Co(5,e))}(e),dr(e),function(e){const{aChildren:t}=e;fr(t)}(e)}}function tr(e,t,n){const{mode:r,owner:i,tagName:l}=n,c=xn(t),s={elm:e,def:c,idx:Go++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:r,owner:i,children:ce,aChildren:ce,velements:ce,cmpProps:o(null),cmpFields:o(null),cmpSlots:o(null),oar:o(null),cmpTemplate:null,renderMode:c.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:le,wiredConnecting:ce,wiredDisconnecting:ce},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:Uo,setHook:qo,getHook:Yo};return s.shadowMode=function(e){const{def:t}=e;let n;if(he)if(0===t.renderMode)n=0;else if(fe)if("any"===t.shadowSupportMode)n=0;else{const t=function(e){let t=e.owner;for(;!L(t)&&0===t.renderMode;)t=t.owner;return t}(e);n=L(t)||0!==t.shadowMode?1:0}else n=1;else n=0;return n}(s),s.tro=Lo(s),function(e,t){const n=Oo;let o;vo(0,e),Oo=e;try{const r=new t;if(Oo.component!==r)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){o=Object(e)}finally{if(Co(0,e),Oo=n,!R(o))throw rt(e,o),o}}(s,c.ctor),ur(s)&&function(e){const{context:t,def:{wire:n}}=e,o=t.wiredConnecting=[],r=t.wiredDisconnecting=[];for(const t in n){const i=n[t],l=mr.get(i);if(!R(l)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:c}=wr(e,t,l),s=l.dynamic.length>0;C.call(o,(()=>{n.connect(),re.ENABLE_WIRE_SYNC_EMIT||!s?i():Promise.resolve().then(i)})),C.call(r,(()=>{n.disconnect(),c()}))}}}(s),s}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(_(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,(()=>{vo(2,e)}),(()=>{Yn(n,o,t)}),(()=>{Co(2,e)}));1===e.state&&lr(e)}(e,_o(e))}}function lr(e){const{def:{renderedCallback:t}}=e;if(_(de))return;const{rendered:n}=Fo;n&&Wo(e,n),R(t)||(vo(4,e),Po(e,t),Co(4,e))}let cr=[];function sr(){Eo(8);const e=cr.sort(((e,t)=>e.idx-t.idx));cr=[];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===cr.length&&ae(sr),S.apply(cr,M.call(e,t+1))),ko(8),o}}ko(8)}function ar(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Fo;n&&Wo(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;R(o)||(vo(3,e),Po(e,o),Co(3,e))}function ur(e){return s(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(!R(n)){const e=rr(n);R(e)||er(e)}}}function fr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!L(n)&&!R(n.elm))switch(n.type){case 2:fr(n.children);break;case 3:er(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];L(o)||R(o.elm)||we(o.elm,n)}e.children=ce,dr(e),e.velements=ce}function pr(e,t,n,o,r){let i;n();try{o()}catch(e){i=Object(e)}finally{if(r(),!R(i)){rt(e,i);const n=L(t)?void 0:function(e){let t=e;for(;!L(t);){if(!R(t.def.errorCallback))return t;t=t.owner}}(t);if(R(n))throw i;hr(e),vo(6,e);Po(n,n.def.errorCallback,[i,i.wcStack]),Co(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:l,dynamic:c}=n,s=R(o)?function(e,t){const{cmpFields:n}=e;return o=>{o!==e.cmpFields[t]&&(n[t]=o,tt(e,t))}}(e,t):function(e,t){return n=>{pr(e,e.owner,j,(()=>{t.call(e.component,n)}),j)}}(e,o);let a,u;i(s,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),i(s,"$$DeprecatedWiredParamsMetaKey$$",{value:c}),pr(e,e,j,(()=>{u=new r(s)}),j);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let o=!1;const r=new et((()=>{!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,l,(t=>{pr(e,e,j,(()=>{u.update(t,a)}),j)}));return R(r.contextSchema)||function(e,t,n){const{adapter:o}=t,r=br(o);if(R(r))return;const{elm:i,context:{wiredConnecting:l,wiredDisconnecting:c}}=e;C.call(l,(()=>{const e=new gr(r,{setNewContext(e){n(e)},setDisconnectedCallback(e){C.call(c,e)}});Pe(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;const kr=o(null),Mr=document.head||document.body||document,Tr=D(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),Sr=o(null),xr=o(null),Nr=new WeakMap;let Or,Ar,Pr;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}}())Or=customElements.get.bind(customElements),Ar=customElements.define.bind(customElements),Pr=HTMLElement;else{const e=o(null),t=new WeakMap;Ar=function(n,o){if(n!==$.call(n)||e[n])throw new TypeError("Invalid Registration");e[n]=o,t.set(o,n)},Or=function(t){return e[t]},Pr=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},Pr.prototype=HTMLElement.prototype}let $r=!1;function Rr(e){$r=e}const Lr=U.$isNativeShadowRootDefined$,_r=u.call(Element.prototype,"$shadowToken$");Ee=function(e,t){return $r?e.shadowRoot:e.attachShadow(t)},ve=function(e){return document.createComment(e)},ye=function(e,t){return R(t)?document.createElement(e):document.createElementNS(t,e)},be=function(e){return document.createTextNode(e)},qe=Ar,Pe=function(e,t){return e.dispatchEvent(t)},Se=function(e,t,n){return R(n)?e.getAttribute(t):e.getAttributeNS(n,t)},Le=function(e){return e.getBoundingClientRect()},je=function(e){return e.childNodes},Fe=function(e){return e.children},$e=function(e){return e.classList},Ye=Or,Ie=function(e,t){return e.getElementsByClassName(t)},De=function(e,t){return e.getElementsByTagName(t)},We=function(e){return e.firstChild},Be=function(e){return e.firstElementChild},Ve=function(e){return e.lastChild},Ke=function(e){return e.lastElementChild},ke=function(e,t){return e[t]},pe=Pr,ge=function(e,t,n){t.insertBefore(e,n)},ze=function(e){if(!R(kr[e]))return;kr[e]=!0;const t=document.createElement("style");t.type="text/css",t.textContent=e,Mr.appendChild(t)},Ue=function(e,t){Tr?function(e,t){let n=xr[e];R(n)&&(n=new CSSStyleSheet,n.replaceSync(e),xr[e]=n),t.adoptedStyleSheets.includes(n)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,n])}(e,t):function(e,t){let n=Nr.get(t);if(R(n)&&(n=o(null),Nr.set(t,n)),n[e])return;n[e]=!0;let r=Sr[e];R(r)?(r=document.createElement("style"),r.type="text/css",r.textContent=e,Sr[e]=r):r=r.cloneNode(!0),t.appendChild(r)}(e,t)},Ge=function(e){return e.isConnected},me=function(){return $r},fe=Lr,he=_r,Ce=function(e){return e.nextSibling},_e=function(e,t){return e.querySelector(t)},He=function(e,t){return e.querySelectorAll(t)},we=function(e,t){t.removeChild(e)},Ne=function(e,t,n){R(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)},Ae=function(e,t,n,o){e.removeEventListener(t,n,o)},xe=function(e,t,n,o){return R(o)?e.setAttribute(t,n):e.setAttributeNS(o,t,n)},Re=function(e,t,n,o){e.style.setProperty(t,n,o?"important":"")},Me=function(e,t,n){e[t]=n},Te=function(e,t){e.nodeValue=t},de=!1,Oe=function(e,t,n,o){e.addEventListener(t,n,o)};const Hr=Node,Dr=new WeakMap,Ir=new WeakMap;function Fr(e,t){const n=t.get(e);return R(n)||n(e),e}const{appendChild:jr,insertBefore:Wr,removeChild:Br,replaceChild:Vr}=Hr.prototype;function Kr(e,t){if(!I(t)||L(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${B(t)}".`);const n=t.is;if(!D(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const o=On(e);let r=!1;const i=new o((o=>{tr(o,n,{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null}),Dr.set(o,Jo),Ir.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}function Gr(e){const t=function(e){return xn(e).bridge}(e);return class extends t{constructor(){super(),tr(this,e,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){Jo(this)}disconnectedCallback(){Qo(this)}}}n(Hr.prototype,{appendChild(e){return Fr(jr.call(this,e),Dr)},insertBefore(e,t){return Fr(Wr.call(this,e,t),Dr)},removeChild(e){return Fr(Br.call(this,e),Ir)},replaceChild(e,t){const n=Vr.call(this,e,t);return Fr(n,Ir),Fr(e,Dr),n}});const zr=Node;const Ur=new Map;i(Yt,"CustomElementConstructor",{get(){return function(e){if(e===Yt)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=Ur.get(e);return R(t)&&(t=Gr(e),Ur.set(e,t)),t}(this)}}),l(Yt),h(Yt.prototype),e.LightningElement=Yt,e.__unstable__ProfilerControl=bo,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=br(e);if(!R(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((()=>{R(i)||i(o)})),r(o),e.stopImmediatePropagation()}))}},e.createElement=Kr,e.getComponentConstructor=function(e){let t=null;if(e instanceof HTMLElement){const n=rr(e);R(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=xn(e),{ctor:n,name:o,props:r,propsConfig:i,methods:l}=t,c={};for(const e in r)c[e]={config:i[e]||0,type:"any",attr:X(e)};const s={};for(const e in l)s[e]=l[e].value;return{ctor:n,name:o,props:c,methods:s}},e.hydrateComponent=function(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(!D(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!I(n)||L(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);try{Rr(!0),tr(e,t,{mode:"open",owner:null,tagName:e.tagName.toLowerCase()});for(const[t,o]of Object.entries(n))e[t]=o;!function(e){const t=or(e);ar(t),Zo(t)}(e),Rr(!1)}catch(o){console.error("Recovering from error while hydrating: ",o),Rr(!1);const r=Kr(e.tagName,{is:t,mode:"open"});for(const[e,t]of Object.entries(n))r[e]=t;e.parentNode.replaceChild(r,e)}},e.isComponentConstructor=Sn,e.isNodeFromTemplate=function(e){if(H(e instanceof zr))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&H(u.call(a(t),"synthetic")))||_r&&!R(e.$shadowResolver$)},e.readonly=function(e){return Ut.getReadOnlyProxy(e)},e.register=function(e){for(let t=0;t<jo.length;++t){const n=jo[t];if(n in e){let t=Fo[n];R(t)&&(Fo[n]=t=[]),C.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return Ro.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:r,publicMethods:l,wire:s,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(!R(r))for(const e in r){const t=r[e];if(g[e]=t.config,w=c(n,e),t.config>0){if(R(w))throw new Error;w=sn(e,w)}else w=R(w)||R(w.get)?ln(e):sn(e,w);f[e]=w,i(n,e,w)}if(R(l)||x.call(l,(e=>{if(w=c(n,e),R(w))throw new Error;d[e]=w})),!R(s))for(const e in s){const{adapter:t,method:o,config:r,dynamic:l=[]}=s[e];if(w=c(n,e),1===o){if(R(w))throw new Error;h[e]=w,vr(w,t,r,l)}else w=on(e),p[e]=w,Cr(w,t,r,l),i(n,e,w)}if(!R(a))for(const e in a)w=c(n,e),w=rn(e),i(n,e,w);if(!R(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=c(n,t);const o=!R(r)&&t in r,i=!R(a)&&t in a;o||i||(m[t]=an(t))}return function(e,t){un.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return fn.add(e),e},e.sanitizeAttribute=function(e,t,n,o){return o},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(R(oe[e])){const n=f(oe).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=re[e];if(!R(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(re,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(Er,"Hooks are already overridden, only one definition is allowed."),Er=!0,n=e.sanitizeHtmlContent,ao=n},e.swapComponent=function(e,t){if(!re.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapStyle=function(e,t){if(!re.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapTemplate=function(e,t){if(!re.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.track=function(e){if(1===arguments.length)return Ut.getProxy(e);throw new Error},e.unwrap=function(e){return Ut.unwrapProxy(e)},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0})}));
|