lwc 2.19.0 → 2.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/engine-dom/esm/es2017/engine-dom.js +40 -39
- package/dist/engine-dom/iife/es2017/engine-dom.js +40 -39
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +38 -37
- package/dist/engine-dom/iife/es5/engine-dom.js +41 -40
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +38 -38
- package/dist/engine-dom/umd/es2017/engine-dom.js +40 -39
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +38 -37
- package/dist/engine-dom/umd/es5/engine-dom.js +41 -40
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +38 -38
- package/dist/engine-server/commonjs/es2017/engine-server.js +39 -51
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +39 -51
- 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
|
@@ -240,6 +240,9 @@
|
|
|
240
240
|
const KEY__SHADOW_TOKEN = '$shadowToken$';
|
|
241
241
|
const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
242
242
|
const KEY__SCOPED_CSS = '$scoped$';
|
|
243
|
+
const XML_NAMESPACE = 'http://www.w3.org/XML/1998/namespace';
|
|
244
|
+
const SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
|
|
245
|
+
const XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';
|
|
243
246
|
/**
|
|
244
247
|
* Map composed of properties to attributes not following the HTML property to attribute mapping
|
|
245
248
|
* convention.
|
|
@@ -294,9 +297,6 @@
|
|
|
294
297
|
CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);
|
|
295
298
|
return attributeName;
|
|
296
299
|
}
|
|
297
|
-
const XML_NAMESPACE = 'http://www.w3.org/XML/1998/namespace';
|
|
298
|
-
const SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
|
|
299
|
-
const XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';
|
|
300
300
|
|
|
301
301
|
/*
|
|
302
302
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -305,9 +305,9 @@
|
|
|
305
305
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
306
306
|
*/
|
|
307
307
|
// Increment whenever the LWC template compiler changes
|
|
308
|
-
const LWC_VERSION = "2.
|
|
308
|
+
const LWC_VERSION = "2.20.1";
|
|
309
309
|
const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
|
|
310
|
-
/** version: 2.
|
|
310
|
+
/** version: 2.20.1 */
|
|
311
311
|
|
|
312
312
|
/*
|
|
313
313
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -461,7 +461,7 @@
|
|
|
461
461
|
setFeatureFlag(name, value);
|
|
462
462
|
}
|
|
463
463
|
}
|
|
464
|
-
/** version: 2.
|
|
464
|
+
/** version: 2.20.1 */
|
|
465
465
|
|
|
466
466
|
/*
|
|
467
467
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -6817,7 +6817,7 @@
|
|
|
6817
6817
|
}
|
|
6818
6818
|
return ctor;
|
|
6819
6819
|
}
|
|
6820
|
-
/* version: 2.
|
|
6820
|
+
/* version: 2.20.1 */
|
|
6821
6821
|
|
|
6822
6822
|
/*
|
|
6823
6823
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -6850,9 +6850,6 @@
|
|
|
6850
6850
|
stylesheetCache.clear();
|
|
6851
6851
|
};
|
|
6852
6852
|
}
|
|
6853
|
-
function isDocument(target) {
|
|
6854
|
-
return !isUndefined$1(target.head);
|
|
6855
|
-
}
|
|
6856
6853
|
function createFreshStyleElement(content) {
|
|
6857
6854
|
const elm = document.createElement('style');
|
|
6858
6855
|
elm.type = 'text/css';
|
|
@@ -6860,10 +6857,10 @@
|
|
|
6860
6857
|
return elm;
|
|
6861
6858
|
}
|
|
6862
6859
|
function createStyleElement(content, cacheData) {
|
|
6863
|
-
const {
|
|
6860
|
+
const { element, usedElement } = cacheData;
|
|
6864
6861
|
// If the <style> was already used, then we should clone it. We cannot insert
|
|
6865
6862
|
// the same <style> in two places in the DOM.
|
|
6866
|
-
if (
|
|
6863
|
+
if (usedElement) {
|
|
6867
6864
|
// For a mysterious reason, IE11 doesn't like the way we clone <style> nodes
|
|
6868
6865
|
// and will render the incorrect styles if we do things that way. It's just
|
|
6869
6866
|
// a perf optimization, so we can skip it for IE11.
|
|
@@ -6872,11 +6869,11 @@
|
|
|
6872
6869
|
}
|
|
6873
6870
|
// This `<style>` may be repeated multiple times in the DOM, so cache it. It's a bit
|
|
6874
6871
|
// faster to call `cloneNode()` on an existing node than to recreate it every time.
|
|
6875
|
-
return
|
|
6872
|
+
return element.cloneNode(true);
|
|
6876
6873
|
}
|
|
6877
6874
|
// We don't clone every time, because that would be a perf tax on the first time
|
|
6878
|
-
cacheData.
|
|
6879
|
-
return
|
|
6875
|
+
cacheData.usedElement = true;
|
|
6876
|
+
return element;
|
|
6880
6877
|
}
|
|
6881
6878
|
function createConstructableStylesheet(content) {
|
|
6882
6879
|
const stylesheet = new CSSStyleSheet();
|
|
@@ -6897,47 +6894,42 @@
|
|
|
6897
6894
|
}
|
|
6898
6895
|
function insertStyleElement(content, target, cacheData) {
|
|
6899
6896
|
const elm = createStyleElement(content, cacheData);
|
|
6900
|
-
|
|
6901
|
-
targetAnchorPoint.appendChild(elm);
|
|
6902
|
-
}
|
|
6903
|
-
function doInsertStylesheet(content, target, cacheData) {
|
|
6904
|
-
// Constructable stylesheets are only supported in certain browsers:
|
|
6905
|
-
// https://caniuse.com/mdn-api_document_adoptedstylesheets
|
|
6906
|
-
// The reason we use it is for perf: https://github.com/salesforce/lwc/pull/2460
|
|
6907
|
-
if (supportsConstructableStylesheets) {
|
|
6908
|
-
insertConstructableStylesheet(content, target, cacheData);
|
|
6909
|
-
}
|
|
6910
|
-
else {
|
|
6911
|
-
// Fall back to <style> element
|
|
6912
|
-
insertStyleElement(content, target, cacheData);
|
|
6913
|
-
}
|
|
6897
|
+
target.appendChild(elm);
|
|
6914
6898
|
}
|
|
6915
|
-
function getCacheData(content) {
|
|
6899
|
+
function getCacheData(content, useConstructableStylesheet) {
|
|
6916
6900
|
let cacheData = stylesheetCache.get(content);
|
|
6917
6901
|
if (isUndefined$1(cacheData)) {
|
|
6918
6902
|
cacheData = {
|
|
6919
|
-
stylesheet:
|
|
6920
|
-
|
|
6921
|
-
: createFreshStyleElement(content),
|
|
6903
|
+
stylesheet: undefined,
|
|
6904
|
+
element: undefined,
|
|
6922
6905
|
roots: undefined,
|
|
6923
6906
|
global: false,
|
|
6924
|
-
|
|
6907
|
+
usedElement: false,
|
|
6925
6908
|
};
|
|
6926
6909
|
stylesheetCache.set(content, cacheData);
|
|
6927
6910
|
}
|
|
6911
|
+
// Create <style> elements or CSSStyleSheets on-demand, as needed
|
|
6912
|
+
if (useConstructableStylesheet && isUndefined$1(cacheData.stylesheet)) {
|
|
6913
|
+
cacheData.stylesheet = createConstructableStylesheet(content);
|
|
6914
|
+
}
|
|
6915
|
+
else if (!useConstructableStylesheet && isUndefined$1(cacheData.element)) {
|
|
6916
|
+
cacheData.element = createFreshStyleElement(content);
|
|
6917
|
+
}
|
|
6928
6918
|
return cacheData;
|
|
6929
6919
|
}
|
|
6930
6920
|
function insertGlobalStylesheet(content) {
|
|
6931
|
-
|
|
6921
|
+
// Force a <style> element for global stylesheets. See comment below.
|
|
6922
|
+
const cacheData = getCacheData(content, false);
|
|
6932
6923
|
if (cacheData.global) {
|
|
6933
6924
|
// already inserted
|
|
6934
6925
|
return;
|
|
6935
6926
|
}
|
|
6936
6927
|
cacheData.global = true; // mark inserted
|
|
6937
|
-
|
|
6928
|
+
// TODO [#2922]: use document.adoptedStyleSheets in supported browsers. Currently we can't, due to backwards compat.
|
|
6929
|
+
insertStyleElement(content, document.head, cacheData);
|
|
6938
6930
|
}
|
|
6939
6931
|
function insertLocalStylesheet(content, target) {
|
|
6940
|
-
const cacheData = getCacheData(content);
|
|
6932
|
+
const cacheData = getCacheData(content, supportsConstructableStylesheets);
|
|
6941
6933
|
let { roots } = cacheData;
|
|
6942
6934
|
if (isUndefined$1(roots)) {
|
|
6943
6935
|
roots = cacheData.roots = new WeakSet(); // lazily initialize (not needed for global styles)
|
|
@@ -6947,7 +6939,16 @@
|
|
|
6947
6939
|
return;
|
|
6948
6940
|
}
|
|
6949
6941
|
roots.add(target); // mark inserted
|
|
6950
|
-
|
|
6942
|
+
// Constructable stylesheets are only supported in certain browsers:
|
|
6943
|
+
// https://caniuse.com/mdn-api_document_adoptedstylesheets
|
|
6944
|
+
// The reason we use it is for perf: https://github.com/salesforce/lwc/pull/2460
|
|
6945
|
+
if (supportsConstructableStylesheets) {
|
|
6946
|
+
insertConstructableStylesheet(content, target, cacheData);
|
|
6947
|
+
}
|
|
6948
|
+
else {
|
|
6949
|
+
// Fall back to <style> element
|
|
6950
|
+
insertStyleElement(content, target, cacheData);
|
|
6951
|
+
}
|
|
6951
6952
|
}
|
|
6952
6953
|
function insertStylesheet(content, target) {
|
|
6953
6954
|
if (isUndefined$1(target)) {
|
|
@@ -7496,7 +7497,7 @@
|
|
|
7496
7497
|
});
|
|
7497
7498
|
freeze(LightningElement);
|
|
7498
7499
|
seal(LightningElement.prototype);
|
|
7499
|
-
/* version: 2.
|
|
7500
|
+
/* version: 2.20.1 */
|
|
7500
7501
|
|
|
7501
7502
|
exports.LightningElement = LightningElement;
|
|
7502
7503
|
exports.__unstable__ProfilerControl = profilerControl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).LWC={})}(this,(function(e){"use strict";var t=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:n,create:r,defineProperties:o,defineProperty:i,freeze:s,getOwnPropertyDescriptor:l,getOwnPropertyNames:c,getPrototypeOf:a,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{copyWithin:g,fill:w,filter:y,find:b,indexOf:v,join:C,map:E,pop:M,push:k,reduce:S,reverse:T,shift:x,slice:A,sort:N,splice:O,unshift:P,forEach:L}=Array.prototype,{fromCharCode:$}=String,{charCodeAt:_,replace:R,slice:D,toLowerCase:F}=String.prototype;function H(e){return void 0===e}function I(e){return null===e}function W(e){return!0===e}function j(e){return!1===e}function B(e){return"function"==typeof e}function V(e){return"object"==typeof e}function K(e){return"string"==typeof e}function G(){}const z={}.toString;function U(e){return e&&e.toString?m(e)?C.call(E.call(e,U),","):e.toString():"object"==typeof e?z.call(e):e+""}function q(e,t){do{const n=l(e,t);if(!H(n))return n;e=a(e)}while(null!==e)}const X=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],{AriaAttrNameToPropNameMap:Y,AriaPropNameToAttrNameMap:J}=(()=>{const e=r(null),t=r(null);return L.call(X,(n=>{const r=F.call(R.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),Q=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),Z=new Map([["accessKey","accesskey"],["readOnly","readonly"],["tabIndex","tabindex"],["bgColor","bgcolor"],["colSpan","colspan"],["rowSpan","rowspan"],["contentEditable","contenteditable"],["crossOrigin","crossorigin"],["dateTime","datetime"],["formAction","formaction"],["isMap","ismap"],["maxLength","maxlength"],["minLength","minlength"],["noValidate","novalidate"],["useMap","usemap"],["htmlFor","for"]]),ee=new Map;function te(e){const t=J[e];if(!H(t))return t;const n=Z.get(e);if(!H(n))return n;const r=ee.get(e);if(!H(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=_.call(e,t);o+=n>=65&&n<=90?"-"+$(n+32):$(n)}return ee.set(e,o),o}const ne="http://www.w3.org/2000/svg";function re(e){return void 0===Object.getOwnPropertyDescriptor(Element.prototype,e)}const oe=new WeakMap;function ie(e){let t=oe.get(e);return void 0===t&&(t={},oe.set(e,t)),t}function se(e,t){return{get(){const n=ie(this);return u.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set(n){const r=null==(o=n)?null:String(o);var o;ie(this)[e]=r,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function le(e){const t=se(e,J[e]);Object.defineProperty(Element.prototype,e,t)}const ce=f(J);for(let e=0,t=ce.length;e<t;e+=1){const t=ce[e];re(t)&&le(t)}const ae={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HMR:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null};Q.lwcRuntimeFlags||Object.defineProperty(Q,"lwcRuntimeFlags",{value:r(null)});const ue=Q.lwcRuntimeFlags;let de=[];const fe=h(r(null)),he=h([]);function pe(){const e=de;de=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function me(e){0===de.length&&Promise.resolve().then(pe),k.call(de,e)}const ge=/;(?![^(]*\))/g,we=/:(.+)/;function ye(e,t){const n={};for(const r of Object.keys(e))r!==t&&(n[r]=e[r]);return n}const be=new WeakMap;let ve=null;function Ce(e,t){const n=be.get(e);if(!H(n)){const e=n[t];if(!H(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function Ee(e,t){if(null===ve)return;const n=ve,o=function(e){let t=be.get(e);if(H(t)){const n=r(null);t=n,be.set(e,n)}return t}(e);let i=o[t];if(H(i))i=[],o[t]=i;else if(i[0]===n)return;-1===v.call(i,n)&&n.link(i)}class Me{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=ve;let n;ve=this;try{e()}catch(e){n=Object(e)}finally{if(ve=t,void 0!==n)throw n}}reset(){const{listeners:e}=this,t=e.length;if(t>0){for(let n=0;n<t;n+=1){const t=e[n],r=v.call(e[n],this);O.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){k.call(e,this),k.call(this.listeners,e)}}function ke(e,t){Ce(e.component,t)}function Se(e,t){Ee(e.component,t)}function Te(e){return`<${F.call(e.tagName)}>`}function xe(e,t){if(!d(t)&&H(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!I(n);)k.call(t,Te(n)),n=n.owner;return t.reverse().join("\n\t")}(e);i(t,"wcStack",{get:()=>n})}}function Ae(e,t,n){let r=`[LWC ${e}]: ${t}`;H(n)||(r=`${r}\n${function(e){const t=[];let n="";for(;!I(e.owner);)k.call(t,n+Te(e)),e=e.owner,n+="\t";return C.call(t,"\n")}(n)}`);try{throw new Error(r)}catch(t){console[e](t)}}function Ne(e,t){Ae("error",e,t)}function Oe(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function Pe(e){return B(e)&&u.call(e,"__circular__")}const Le="undefined"!=typeof HTMLElement?HTMLElement:function(){},$e=Le.prototype;function _e(e){return`Using the \`${e}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}n(r(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:_e("offsetHeight")},offsetLeft:{readOnly:!0,error:_e("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:_e("offsetTop")},offsetWidth:{readOnly:!0,error:_e("offsetWidth")},role:{attribute:"role"}});let Re,De=null;function Fe(e,t){return e!==De||t!==Re}function He(e,t){De=null,Re=void 0}function Ie(e,t){De=e,Re=t}const We=r(null);L.call(f(J),(e=>{const t=q($e,e);H(t)||(We[e]=t)})),L.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=q($e,e);H(t)||(We[e]=t)}));const{isArray:je}=Array,{prototype:Be,getPrototypeOf:Ve,create:Ke,defineProperty:Ge,isExtensible:ze,getOwnPropertyDescriptor:Ue,getOwnPropertyNames:qe,getOwnPropertySymbols:Xe,preventExtensions:Ye,hasOwnProperty:Je}=Object,{push:Qe,concat:Ze}=Array.prototype;function et(e){return void 0===e}function tt(e){return"function"==typeof e}const nt=new WeakMap;function rt(e,t){nt.set(e,t)}const ot=e=>nt.get(e)||e;class it{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(Je.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;et(n)||(e.get=this.wrapGetter(n)),et(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=Ue(n,t);if(!et(r)){const n=this.wrapDescriptor(r);Ge(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;Ze.call(qe(t),Xe(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;et(n)||Je.call(e,n)||Ge(e,n,Ke(null)),Ye(e)}apply(e,t,n){}construct(e,t,n){}get(e,t){const{originalTarget:n,membrane:{valueObserved:r}}=this,o=n[t];return r(n,t),this.wrapValue(o)}has(e,t){const{originalTarget:n,membrane:{tagPropertyKey:r,valueObserved:o}}=this;return o(n,t),t in n||t===r}ownKeys(e){const{originalTarget:t,membrane:{tagPropertyKey:n}}=this,r=et(n)||Je.call(t,n)?[]:[n];return Qe.apply(r,qe(t)),Qe.apply(r,Xe(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!ze(e)&&(!!ze(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return Ve(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=Ue(n,t);if(et(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},Ge(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const st=new WeakMap,lt=new WeakMap,ct=new WeakMap,at=new WeakMap;class ut extends it{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=st.get(e);if(!et(t))return t;const n=this,r=function(){return n.wrapValue(e.call(ot(this)))};return st.set(e,r),ct.set(r,e),r}wrapSetter(e){const t=lt.get(e);if(!et(t))return t;const n=function(t){e.call(ot(this),ot(t))};return lt.set(e,n),at.set(n,e),n}unwrapDescriptor(e){if(Je.call(e,"value"))e.value=ot(e.value);else{const{set:t,get:n}=e;et(n)||(e.get=this.unwrapGetter(n)),et(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=ct.get(e);if(!et(t))return t;const n=this,r=function(){return ot(e.call(n.wrapValue(this)))};return st.set(r,e),ct.set(e,r),r}unwrapSetter(e){const t=at.get(e);if(!et(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return lt.set(r,e),at.set(e,r),r}set(e,t,n){const{originalTarget:r,membrane:{valueMutated:o}}=this;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&je(r)&&o(r,t),!0}deleteProperty(e,t){const{originalTarget:n,membrane:{valueMutated:r}}=this;return delete n[t],r(n,t),!0}setPrototypeOf(e,t){}preventExtensions(e){if(ze(e)){const{originalTarget:t}=this;if(Ye(t),ze(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!Je.call(r,t)||(Ge(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const dt=new WeakMap,ft=new WeakMap;class ht extends it{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=dt.get(e);if(!et(t))return t;const n=this,r=function(){return n.wrapValue(e.call(ot(this)))};return dt.set(e,r),r}wrapSetter(e){const t=ft.get(e);if(!et(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 pt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(je(e))return!0;const t=Ve(e);return t===Be||null===t||null===Ve(t)}const mt=(e,t)=>{},gt=(e,t)=>{};function wt(e){return je(e)?[]:{}}const yt=Symbol.for("@@lockerLiveValue"),bt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=tt(t)?t:gt,this.valueObserved=tt(n)?n:mt,this.valueIsObservable=tt(r)?r:pt,this.tagPropertyKey=o}getProxy(e){const t=ot(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=ot(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return ot(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(et(t)){const n=new ut(this,e);t=new Proxy(wt(e),n),rt(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(et(t)){const n=new ht(this,e);t=new Proxy(wt(e),n),rt(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:Ee,valueMutated:Ce,tagPropertyKey:yt});function vt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!B(n))throw new TypeError;if(!B(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const t=vr(this);if(!Jn(t))return Se(t,e),n.call(t.elm)},set(t){const n=vr(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,ke(n,e)),r.call(n.elm,t)}}}const Ct=function(){if(I(Yn))throw new ReferenceError("Illegal constructor");const e=Yn,{def:t,elm:n}=e,{bridge:r}=t,o=this;if(p(n,r.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return this[yt]=void 0,br(o,e),br(n,e),1===e.renderMode?e.renderRoot=Et(e):e.renderRoot=n,this};function Et(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:i}}=e,s=i(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=s,br(s,e),s}Ct.prototype={constructor:Ct,dispatchEvent(e){const t=vr(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=vr(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,ir(r,t),n)},removeEventListener(e,t,n){const r=vr(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,ir(r,t),n)},hasAttribute(e){const t=vr(this),{elm:n,renderer:{getAttribute:r}}=t;return!I(r(n,e))},hasAttributeNS(e,t){const n=vr(this),{elm:r,renderer:{getAttribute:o}}=n;return!I(o(r,t,e))},removeAttribute(e){const t=vr(this),{elm:n,renderer:{removeAttribute:r}}=t;Ie(n,e),r(n,e),He()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=vr(this);Ie(n,t),r(n,t,e),He()},getAttribute(e){const t=vr(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=vr(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=vr(this),{elm:r,renderer:{setAttribute:o}}=n;Ie(r,e),o(r,e,t),He()},setAttributeNS(e,t,n){const r=vr(this),{elm:o,renderer:{setAttribute:i}}=r;Ie(o,t),i(o,t,n,e),He()},getBoundingClientRect(){const e=vr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=vr(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=vr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return vr(this).shadowRoot},get shadowRoot(){return null},get children(){const e=vr(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=vr(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=vr(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=vr(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=vr(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=vr(this);return e.renderer.getLastElementChild(e.elm)},render(){return vr(this).def.template},toString(){return`[object ${vr(this).def.name}]`}};const Mt=r(null),kt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of kt)Mt[e]={value(t){const n=vr(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};o(Ct.prototype,Mt);const St=r(null);for(const e in We)St[e]=vt(e,We[e]);function Tt(e){return{get(){const t=vr(this);return Se(t,e),t.cmpFields[e]},set(t){const n=vr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,ke(n,e))},enumerable:!0,configurable:!0}}function xt(e){return{get(){const t=vr(this);if(!Jn(t))return Se(t,e),t.cmpProps[e]},set(t){const n=vr(this);n.cmpProps[e]=t,ke(n,e)},enumerable:!0,configurable:!0}}o(Ct.prototype,St),i(Ct,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class At extends Me{constructor(e,t){super((()=>{j(this.debouncing)&&(this.debouncing=!0,me((()=>{if(W(this.debouncing)){const{value:n}=this,{isDirty:r,component:o,idx:i}=e;t.call(o,n),this.debouncing=!1,W(e.isDirty)&&j(r)&&i>0&&pr(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function Nt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!B(n))throw new Error;return{get(){return n.call(this)},set(t){const n=vr(this);if(r)if(ue.ENABLE_REACTIVE_SETTER){let o=n.oar[e];H(o)&&(o=n.oar[e]=new At(n,r)),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function Ot(e){return{get(){const t=vr(this);return Se(t,e),t.cmpFields[e]},set(t){const n=vr(this),r=bt.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,ke(n,e))},enumerable:!0,configurable:!0}}function Pt(e){return{get(){const t=vr(this);return Se(t,e),t.cmpFields[e]},set(t){const n=vr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,ke(n,e))},enumerable:!0,configurable:!0}}const Lt=new Map;const $t={apiMethods:fe,apiFields:fe,apiFieldsConfig:fe,wiredMethods:fe,wiredFields:fe,observedFields:fe};const _t=new Set;function Rt(){return[]}_t.add(Rt);const Dt=r(null),Ft=r(null);function Ht(e){let t=Dt[e];return H(t)&&(t=Dt[e]=function(){const t=vr(this),{getHook:n}=t;return n(t.component,e)}),t}function It(e){let t=Ft[e];return H(t)&&(t=Ft[e]=function(t){const n=vr(this),{setHook:r}=n;t=bt.getReadOnlyProxy(t),r(n.component,e,t)}),t}function Wt(e){return function(){const t=vr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,A.call(arguments))}}function jt(e,t){return function(n,r,o){if(r===o)return;const i=e[n];H(i)?H(t)||t.apply(this,arguments):Fe(this,n)&&(this[i]=o)}}function Bt(e,t,n){let s;B(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),i(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const l=r(null),{attributeChangedCallback:c}=e.prototype,{observedAttributes:a=[]}=e,u=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[te(n)]=n,u[n]={get:Ht(n),set:It(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:Wt(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:jt(l,c)},i(s,"observedAttributes",{get:()=>[...a,...f(l)]}),o(s.prototype,u),s}const Vt=Bt(Le,c(We),[]);s(Vt),h(Vt.prototype);const Kt=new WeakMap;function Gt(e){const{shadowSupportMode:t,renderMode:i}=e,s=function(e){const t=Lt.get(e);return H(t)?$t:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const C=function(e){let t=a(e);if(I(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(Pe(t)){const e=Oe(t);t=e===t?Ct:e}return t}(e),E=C!==Ct?Ut(C):qt,M=Bt(E.bridge,f(l),f(u)),k=n(r(null),E.props,l),S=n(r(null),E.propsConfig,c),T=n(r(null),E.methods,u),x=n(r(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 A=E.shadowSupportMode;H(t)||(A=t);let N=E.renderMode;H(i)||(N="light"===i?0:1);const O=function(e){return er.get(e)}(e)||E.template,P=e.name||E.name;o(m,p);return{ctor:e,name:P,wire:x,props:k,propsConfig:S,methods:T,bridge:M,template:O,renderMode:N,shadowSupportMode:A,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function zt(e){if(!B(e))return!1;if(e.prototype instanceof Ct)return!0;let t=e;do{if(Pe(t)){const e=Oe(t);if(e===t)return!0;t=e}if(t===Ct)return!0}while(!I(t)&&(t=a(t)));return!1}function Ut(e){let t=Kt.get(e);if(H(t)){if(Pe(e)){return t=Ut(Oe(e)),Kt.set(e,t),t}if(!zt(e))throw new TypeError(`${e} is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.`);t=Gt(e),Kt.set(e,t)}return t}const qt={ctor:Ct,name:Ct.name,props:St,propsConfig:fe,methods:fe,renderMode:1,shadowSupportMode:"reset",wire:fe,bridge:Vt,template:Rt,render:Ct.prototype.render};function Xt(e,t){const{getCustomElement:n,HTMLElementExported:r,defineCustomElement:o}=t;let i=n(e=e.toLowerCase());return H(i)?(i=class extends r{constructor(e){super(),B(e)&&e(this)}},o(e,i),i):i}function Yt(e){const{type:t}=e;return 2===t||3===t}function Jt(e,t){return e.key===t.key&&e.sel===t.sel}function Qt(e,t){return"input"===e&&("value"===t||"checked"===t)}function Zt(e,t,n){const{props:r}=t.data;if(H(r))return;const o=I(e)?fe:e.data.props;if(o===r)return;const i=I(e),{elm:s,sel:l}=t,{getProperty:c,setProperty:a}=n;for(const e in r){const t=r[e];(i||t!==(Qt(l,e)?c(s,e):o[e]))&&a(s,e,t)}}const en=r(null);function tn(e){if(null==e)return fe;e=K(e)?e:e+"";let t=en[e];if(t)return t;t=r(null);let n,o=0;const i=e.length;for(n=0;n<i;n++)32===_.call(e,n)&&(n>o&&(t[D.call(e,o,n)]=!0),o=n+1);return n>o&&(t[D.call(e,o,n)]=!0),en[e]=t,t}function nn(e,t){const{elm:n,data:{on:r}}=e;if(H(r))return;const{addEventListener:o}=t;for(const e in r){o(n,e,r[e])}}function rn(e,t,n,r){var o;o=t,bn.has(o)?function(e,t,n,r){let o=0,i=0,s=e.length-1,l=e[0],c=e[s];const a=t.length-1;let u,d,f,h,p=a,m=t[0],g=t[p],w=!1;for(;o<=s&&i<=p;)un(l)?un(c)?un(m)?un(g)?Jt(l,m)?(on(l,m,r),l=e[++o],m=t[++i]):Jt(c,g)?(on(c,g,r),c=e[--s],g=t[--p]):Jt(l,g)?(on(l,g,r),mn(l.elm,n,r.nextSibling(c.elm),r),l=e[++o],g=t[--p]):Jt(c,m)?(on(c,m,r),mn(m.elm,n,l.elm,r),c=e[--s],m=t[++i]):(void 0===u&&(u=vn(e,o,s)),d=u[m.key],H(d)?(sn(m,n,r,l.elm),m=t[++i]):(f=e[d],un(f)&&(f.sel!==m.sel?sn(m,n,r,l.elm):(on(f,m,r),w||(w=!0,e=[...e]),e[d]=void 0,mn(f.elm,n,l.elm,r))),m=t[++i])):g=t[--p]:m=t[++i]:c=e[--s]:l=e[++o];if(o<=s||i<=p)if(o>s){let e,o=p;do{e=t[++o]}while(!un(e)&&o<a);h=un(e)?e.elm:null,ln(t,n,r,h,i,p+1)}else an(e,n,r,!0,o,s+1)}(e,t,n,r):function(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void ln(t,n,r,null);if(0===i)return void an(e,n,r,!0);let s=null;for(let o=i-1;o>=0;o-=1){const i=e[o],l=t[o];l!==i&&(un(i)?un(l)?(on(i,l,r),s=l.elm):cn(i,n,r,!0):un(l)&&(sn(l,n,r,s),s=l.elm))}}(e,t,n,r)}function on(e,t,n){var r,o;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&pn(t,n)}(e,t,n);break;case 4:t.elm=e.elm;break;case 2:!function(e,t,n){const r=t.elm=e.elm;wn(e,t,n),rn(e.children,t.children,r,n)}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:!function(e,t,n){const r=t.elm=e.elm,o=t.vm=e.vm;wn(e,t,n),H(o)||yn(t,o);rn(e.children,t.children,r,n),H(o)||pr(o)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}}function sn(e,t,n,r){var o,i;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:i}=r,s=e.elm=i(e.text);hn(s,o,r),mn(s,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:i}=r,s=e.elm=i(e.text);hn(s,o,r),mn(s,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:i,isSyntheticShadowDefined:s}=r,l=e.elm=i(e.fragment,!0);hn(l,o,r);const{renderMode:c,shadowMode:a}=o;s&&(1!==a&&0!==c||(l.$shadowStaticNode$=!0));mn(l,t,n,r)}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:i,data:{svg:s}}=e,{createElement:l}=r,c=W(s)?ne:void 0,a=l(o,c);hn(a,i,r),function(e,t,n){const{owner:r}=t;if(fn(e,r,n),1===r.shadowMode){const{data:{context:n}}=t,{stylesheetToken:o}=r.context;H(n)||H(n.lwc)||"manual"!==n.lwc.dom||function(e){e.$domManual$=!0}(e),H(o)||dn(e,o)}}(a,e,r),e.elm=a,wn(null,e,r),mn(a,t,n,r),ln(e.children,a,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:!function(e,t,n,r){const{sel:o,owner:i}=e,s=Xt(o,r);let l;const c=new s((t=>{l=function(e,t,n){let r=Cr(e);if(!H(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;if(fn(e,l,n),1===l.shadowMode){const{stylesheetToken:t}=l.context;H(t)||dn(e,t)}return r=yr(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}));if(hn(c,i,r),e.elm=c,e.vm=l,l)yn(e,l);else if(e.ctor!==s)throw new TypeError("Incorrect Component Constructor");wn(null,e,r),mn(c,t,n,r),l&&Tr(l);ln(e.children,c,r,null),l&&function(e){Er(e)}(l)}(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function ln(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];un(i)&&sn(i,t,n,r)}}function cn(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&gn(i,t,n),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;an(e.children,i,n,t);break}case 3:{const{vm:t}=e;H(t)||function(e){wr(e)}(t)}}}function an(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];un(i)&&cn(i,t,n,r)}}function un(e){return null!=e}function dn(e,t){e.$shadowToken$=t}function fn(e,t,n){const{cmpTemplate:r,context:o}=t,{getClassList:i}=n,s=null==r?void 0:r.stylesheetToken;!H(s)&&o.hasScopedStyles&&i(e).add(s)}function hn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function pn(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function mn(e,t,n,r){r.insert(e,t,n)}function gn(e,t,n){n.remove(e,t)}function wn(e,t,n){I(e)&&(nn(t,n),function(e,t){const{elm:n,data:{classMap:r}}=e;if(H(r))return;const{getClassList:o}=t,i=o(n);for(const e in r)i.add(e)}(t,n),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(H(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,i,s]=r[e];o(n,t,i,s)}}(t,n)),function(e,t,n){const{elm:r,data:{className:o}}=t,i=I(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),c=tn(o),a=tn(i);let u;for(u in a)H(c[u])&&l.remove(u);for(u in c)H(a[u])&&l.add(u)}(e,t,n),function(e,t,n){const{elm:r,data:{style:o}}=t;if((I(e)?void 0:e.data.style)===o)return;const{setAttribute:i,removeAttribute:s}=n;K(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,t,n),function(e,t,n){const{attrs:r}=t.data;if(H(r))return;const o=I(e)?fe:e.data.attrs;if(o===r)return;const{elm:i}=t,{setAttribute:s,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(Ie(i,e),58===_.call(e,3)?s(i,e,t,"http://www.w3.org/XML/1998/namespace"):58===_.call(e,5)?s(i,e,t,"http://www.w3.org/1999/xlink"):I(t)||H(t)?l(i,e):s(i,e,t),He())}}(e,t,n),Zt(e,t,n)}function yn(e,t){const n=e.aChildren||e.children;t.aChildren=n;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t){var n;const{cmpSlots:o}=e,i=e.cmpSlots=r(null);for(let e=0,r=t.length;e<r;e+=1){const r=t[e];if(I(r))continue;let o="";Yt(r)&&(o=(null===(n=r.data.attrs)||void 0===n?void 0:n.slot)||"");const s=i[o]=i[o]||[];k.call(s,r)}if(j(e.isDirty)){const t=f(o);if(t.length!==f(i).length)return void rr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(H(i[r])||o[r].length!==i[r].length)return void rr(e);const s=o[r],l=i[r];for(let t=0,n=i[r].length;t<n;t+=1)if(s[t]!==l[t])return void rr(e)}}}(t,n),e.aChildren=n,e.children=he)}const bn=new WeakMap;function vn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(un(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}const Cn=Symbol.iterator;function En(e,t,n=he){const r=Kn();const{key:o}=t;return{type:2,sel:e,data:t,children:n,elm:undefined,key:o,owner:r}}function Mn(e,t,n,r=he){const o=Kn(),{key:i}=n;const s={type:3,sel:e,data:n,children:r,elm:undefined,key:i,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){k.call(Kn().velements,e)}(s),s}const kn=new Map;let Sn=0;function Tn(e){var t;return t=e,bn.set(t,1),e}let xn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const An=s({s:function(e,t,n,r){H(r)||H(r[e])||0===r[e].length||(n=r[e]);const o=Kn(),{renderMode:i,shadowMode:s}=o;return 0===i?(Tn(n),n):(1===s&&Tn(n),En("slot",t,n))},h:En,c:Mn,i:function(e,t){const n=[];if(Tn(n),H(e)||null===e)return n;const r=e[Cn]();let o=r.next(),i=0,{value:s,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(s,i,0===i,!0===l);m(e)?k.apply(n,e):k.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];Tn(n);for(let r=0;r<t;r+=1){const t=e[r];m(t)?k.apply(n,t):k.call(n,t)}return n},t:function(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:Kn()}},d:function(e){return null==e?"":String(e)},b:function(e){const t=Kn();if(I(t))throw new Error;const n=t;return function(t){Zn(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:undefined,owner:Kn()}},dc:function(e,t,n,r=he){if(null==t)return null;if(!zt(t))throw new Error(`Invalid LWC Constructor ${U(t)} for custom element <${e}>.`);let o=kn.get(t);return H(o)&&(o=Sn++,kn.set(t,o)),Mn(e,t,Object.assign(Object.assign({},n),{key:`dc:${o}:${n.key}`}),r)},ti:function(e){return e>0&&!(W(e)||j(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:Kn()}},gid:function(e){const t=Kn();if(H(e)||""===e)return e;if(I(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?R.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=Kn();if(H(e)||""===e)return e;if(I(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return xn(e)}});function Nn(e){return`${e}-host`}function On(e){return An.h("style",{key:"style",attrs:{type:"text/css"}},[An.t(e)])}function Pn(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(m(s))k.apply(r,Pn(s,t,n));else{const e=s.$scoped$,i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let c;1===n.renderMode?c=0===n.shadowMode:(H(o)&&(o=$n(n)),c=I(o)||0===o.shadowMode),k.call(r,s(i,l,c))}}return r}function Ln(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return H(n)||0===n.length||(o=Pn(n,r,e)),o}function $n(e){let t=e;for(;!I(t);){if(1===t.renderMode)return t;t=t.owner}return t}function _n(e,t){const{renderMode:n,shadowMode:r,renderer:{ssr:o,insertStylesheet:i}}=e;if(1===n&&1===r)for(let e=0;e<t.length;e++)i(t[e]);else{if(o||e.hydrated)return E.call(t,On);{const n=function(e){const t=$n(e);return I(t)||1!==t.shadowMode?t:null}(e),r=I(n)?void 0:n.shadowRoot;for(let e=0;e<t.length;e++)i(t[e],r)}}return null}let Rn=!1,Dn=G;const Fn={enableProfiler(){Rn=!0},disableProfiler(){Rn=!1},attachDispatcher(e){Dn=e,this.enableProfiler()},detachDispatcher(){const e=Dn;return Dn=G,this.disableProfiler(),e}};function Hn(e,t){Rn&&Dn(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function In(e,t){Rn&&Dn(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Wn(e,t){Rn&&Dn(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 jn(e,t){Rn&&Dn(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 Bn=!1,Vn=null;function Kn(){return Vn}function Gn(e){Vn=e}function zn(e){return(t,...n)=>{const o=r(null);return function(){const{context:{hasScopedStyles:r,stylesheetToken:i},shadowMode:s,renderer:l}=Kn(),c=!H(i),a=1===s;let u=0;if(c&&r&&(u|=1),c&&a&&(u|=2),!H(o[u]))return o[u];const d=r&&c?" "+i:"",f=r&&c?` class="${i}"`:"",h=c&&a?" "+i:"";let p="";for(let e=0,r=n.length;e<r;e++)switch(n[e]){case 0:p+=t[e]+d;break;case 1:p+=t[e]+f;break;case 2:p+=t[e]+h;break;case 3:p+=t[e]+f+h}return p+=t[t.length-1],o[u]=e(p,l),o[u]}}}const Un=zn(((e,t)=>{const{createFragment:n}=t;return n(e)})),qn=zn(((e,t)=>{const{createFragment:n,getFirstChild:r}=t;return r(n("<svg>"+e+"</svg>"))}));function Xn(e,t){const n=Bn,o=Vn;let i=[];return Pr(e,e.owner,(()=>{Vn=e,Hn(1,e)}),(()=>{const{component:n,context:o,cmpSlots:s,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(I(l)||Or(e),c=t,!_t.has(c))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${U(t)}.`);e.cmpTemplate=t,o.tplCache=r(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!H(t))for(let e=0;e<t.length;e++)if(W(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i,renderer:{getClassList:s,removeAttribute:l,setAttribute:c}}=e,{stylesheets:a,stylesheetToken:u}=t,d=1===o&&1===i,{hasScopedStyles:f}=r;let h,p,m;const{stylesheetToken:g,hasTokenInClass:w,hasTokenInAttribute:y}=r;H(g)||(w&&s(n).remove(Nn(g)),y&&l(n,Nn(g))),H(a)||0===a.length||(h=u),H(h)||(f&&(s(n).add(Nn(h)),p=!0),d&&(c(n,Nn(h),""),m=!0)),r.stylesheetToken=h,r.hasTokenInClass=p,r.hasTokenInAttribute=m}(e,t);const n=Ln(e,t);o.styleVNodes=0===n.length?null:_n(e,n)}var c;e.velements=[],Bn=!0,i=t.call(void 0,An,n,s,o.tplCache);const{styleVNodes:a}=o;I(a)||P.apply(i,a)}))}),(()=>{Bn=n,Vn=o,In(1,e)})),i}let Yn=null;function Jn(e){return Yn===e}function Qn(e,t,n){const{component:r,callHook:o,owner:i}=e;Pr(e,i,G,(()=>{o(r,t,n)}),G)}function Zn(e,t,n,r){const{callHook:o,owner:i}=e;Pr(e,i,G,(()=>{o(n,t,[r])}),G)}const er=new Map;function tr(e){return new Me((()=>{const{isDirty:t}=e;j(t)&&(rr(e),function(e){const{renderer:{ssr:t}}=e;if(W(t)||W(e.isScheduled))return;e.isScheduled=!0,0===kr.length&&me(Sr);k.call(kr,e)}(e))}))}function nr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=Kn();let s,l=!1;return Pr(e,o,(()=>{Gn(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{Gn(i)})),l?Xn(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function rr(e){e.isDirty=!0}const or=new WeakMap;function ir(e,t){if(!B(t))throw new TypeError;let n=or.get(t);return H(n)&&(n=function(n){Zn(e,t,void 0,n)},or.set(t,n)),n}const sr=r(null),lr=["rendered","connected","disconnected"];function cr(e,t){const{component:n,def:r,context:o}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},r,o)}let ar=0;const ur=new WeakMap;function dr(e,t,n=[]){return t.apply(e,n)}function fr(e,t,n){e[t]=n}function hr(e,t){return e[t]}function pr(e){Er(e)}function mr(e){const t=vr(e);Wn(7,t),1===t.state&&gr(e),Tr(t),Er(t),jn(7,t)}function gr(e){wr(vr(e))}function wr(e){const{state:t}=e;if(2!==t){const{oar:t,tro:n}=e;n.reset();for(const e in t)t[e].reset();!function(e){j(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=sr;t&&cr(e,t);xr(e)&&function(e){const{wiredDisconnecting:t}=e.context;Pr(e,e,G,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),G)}(e);const{disconnectedCallback:n}=e.def;H(n)||(Hn(5,e),Qn(e,n),In(5,e))}(e),Ar(e),function(e){const{aChildren:t}=e;Nr(t)}(e)}}function yr(e,t,n,o){const{mode:i,owner:s,tagName:l,hydrated:c}=o,a=Ut(t),u={elm:e,def:a,idx:ar++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,children:he,aChildren:he,velements:he,cmpProps:r(null),cmpFields:r(null),cmpSlots:r(null),oar:r(null),cmpTemplate:null,hydrated:Boolean(c),renderMode:a.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:fe,wiredConnecting:he,wiredDisconnecting:he},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:dr,setHook:fr,getHook:hr,renderer:n};return u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let i;if(r)if(0===n.renderMode)i=0;else if(o)if(ue.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!I(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=I(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,n),u.tro=tr(u),function(e,t){const n=Yn;let r;Hn(0,e),Yn=e;try{const o=new t;if(Yn.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(In(0,e),Yn=n,!H(r))throw xe(e,r),r}}(u,a.ctor),xr(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],s=Lr.get(i);if(!H(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=_r(e,t,s),c=s.dynamic.length>0;k.call(r,(()=>{n.connect(),ue.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),k.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function br(e,t){ur.set(e,t)}function vr(e){return ur.get(e)}function Cr(e){return ur.get(e)}function Er(e){if(W(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&Pr(e,e,(()=>{Hn(2,e)}),(()=>{rn(r,t,n,o)}),(()=>{In(2,e)}));1===e.state&&Mr(e)}(e,nr(e))}}function Mr(e){const{def:{renderedCallback:t},renderer:{ssr:n}}=e;if(W(n))return;const{rendered:r}=sr;r&&cr(e,r),H(t)||(Hn(4,e),Qn(e,t),In(4,e))}let kr=[];function Sr(){Wn(8);const e=kr.sort(((e,t)=>e.idx-t.idx));kr=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{Er(r)}catch(r){throw t+1<n&&(0===kr.length&&me(Sr),P.apply(kr,A.call(e,t+1))),jn(8),r}}jn(8)}function Tr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=sr;n&&cr(e,n),xr(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;H(r)||(Hn(3,e),Qn(e,r),In(3,e))}function xr(e){return c(e.def.wire).length>0}function Ar(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!H(n)){const e=Cr(n);H(e)||wr(e)}}}function Nr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!I(n)&&!H(n.elm))switch(n.type){case 2:Nr(n.children);break;case 3:wr(vr(n.elm));break}}}function Or(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];I(o)||H(o.elm)||r(o.elm,n)}e.children=he,Ar(e),e.velements=he}function Pr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!H(i)){xe(e,i);const n=I(t)?void 0:function(e){let t=e;for(;!I(t);){if(!H(t.def.errorCallback))return t;t=t.owner}}(t);if(H(n))throw i;Or(e),Hn(6,e);Qn(n,n.def.errorCallback,[i,i.wcStack]),In(6,e)}}}const Lr=new Map;class $r extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),o(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function _r(e,t,n){const{method:r,adapter:o,configCallback:s,dynamic:l}=n,c=H(r)?function(e,t){const{cmpFields:n}=e;return r=>{r!==e.cmpFields[t]&&(n[t]=r,ke(e,t))}}(e,t):function(e,t){return n=>{Pr(e,e.owner,G,(()=>{t.call(e.component,n)}),G)}}(e,r);let a,u;i(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),i(c,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),Pr(e,e,G,(()=>{u=new o(c)}),G);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let r=!1;const o=new Me((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),i()})))})),i=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:i,ro:o}}(e.component,s,(t=>{Pr(e,e,G,(()=>{u.update(t,a)}),G)}));return H(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Dr(r);if(H(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{dispatchEvent:c}}=e;k.call(s,(()=>{const e=new $r(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){k.call(l,e)}});c(i,e)}))}(e,n,(t=>{a!==t&&(a=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const Rr=new Map;function Dr(e){return Rr.get(e)}function Fr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Lr.set(e,o)}function Hr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Lr.set(e,o)}let Ir=!1;function Wr(e){const t=nr(e);e.children=t;const{renderRoot:n,renderer:{getFirstChild:r}}=e;Br(r(n),t,n,e),Mr(e)}function jr(e,t,n){var r,o;let i;switch(t.type){case 0:i=function(e,t,n){var r;if(!Gr(t,e,3,n))return Vr(e,t,n);const{setText:o}=n;return o(e,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 1:i=function(e,t,n){var r;if(!Gr(t,e,8,n))return Vr(e,t,n);const{setProperty:o}=n;return o(e,"nodeValue",null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 4:i=function(e,t,n){if(!function(e,t,n,r){const{getProperty:o,getAttribute:i}=r;if(3===o(e,"nodeType"))return!!Gr(n,t,3,r)&&o(e,"nodeValue")===o(t,"nodeValue");if(8===o(e,"nodeType"))return!!Gr(n,t,8,r)&&o(e,"nodeValue")===o(t,"nodeValue");if(!Gr(n,t,1,r))return!1;let s=!0;if(o(e,"tagName")!==o(t,"tagName"))return!1;return o(e,"getAttributeNames").call(e).forEach((r=>{i(e,r)!==i(t,r)&&(Ne(`Mismatch hydrating element <${o(e,"tagName").toLowerCase()}>: attribute "${r}" has different values, expected "${i(e,r)}" but found "${i(t,r)}"`,n.owner),s=!1)})),s}(t.fragment,e,t,n))return Vr(e,t,n);return t.elm=e,e}(e,t,n);break;case 2:i=function(e,t,n){if(!Gr(t,e,1,n)||!zr(t,e,n))return Vr(e,t,n);t.elm=e;const{owner:r}=t,{context:o}=t.data,i=Boolean(!H(o)&&!H(o.lwc)&&"manual"===o.lwc.dom);if(i){const{data:{props:r}}=t,{getProperty:o}=n;H(r)||H(r.innerHTML)||o(e,"innerHTML")===r.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:ye(r,"innerHTML")}))}if(Kr(t,n),!i){const{getFirstChild:o}=n;Br(o(e),t.children,e,r)}return e}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:i=function(e,t,n){if(!Gr(t,e,1,n)||!zr(t,e,n))return Vr(e,t,n);const{sel:r,mode:o,ctor:i,owner:s}=t,l=yr(e,i,n,{mode:o,owner:s,tagName:r,hydrated:!0});if(t.elm=e,t.vm=l,yn(t,l),Kr(t,n),Tr(l),0!==l.renderMode){const{getFirstChild:r}=n;Br(r(e),t.children,e,l)}return Wr(l),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(i)}function Br(e,t,n,r){let o=e,i=null;const{renderer:s}=r;for(let e=0;e<t.length;e++){const r=t[e];I(r)||(o?(o=jr(o,r,s),i=r.elm):(Ir=!0,sn(r,n,s,i),i=r.elm))}if(o){Ir=!0;const{nextSibling:e}=s;do{const t=o;o=e(o),gn(t,n,s)}while(o)}}function Vr(e,t,n){Ir=!0;const{getProperty:r}=n,o=r(e,"parentNode");return sn(t,o,n,e),gn(e,o,n),t.elm}function Kr(e,t){nn(e,t),Zt(null,e,t)}function Gr(e,t,n,r){const{getProperty:o}=r;return o(t,"nodeType")===n}function zr(e,t,n){const{getProperty:r}=n;if(e.sel.toLowerCase()!==r(t,"tagName").toLowerCase())return!1;const o=function(e,t,n){const{data:{attrs:r={}}}=e;let o=!0;for(const[e,i]of Object.entries(r)){const{getAttribute:r}=n,s=r(t,e);String(i)!==s&&(o=!1)}return o}(e,t,n),i=function(e,t,n){const{data:{className:r,classMap:o}}=e,{getProperty:i,getClassList:s}=n;let l=!0;if(H(r)||String(r)===i(t,"className")){if(!H(o)){const e=s(t);let n="";for(const t in o)n+=" "+t,e.contains(t)||(l=!1);n.trim(),e.length>f(o).length&&(l=!1)}}else l=!1;return l}(e,t,n),s=function(e,t,n){const{data:{style:r,styleDecls:o}}=e,{getAttribute:i}=n,s=i(t,"style")||"";let l=!0;if(H(r)||r===s){if(!H(o)){const e=function(e){const t={},n=e.split(ge);for(const e of n)if(e){const[n,r]=e.split(we);void 0!==n&&void 0!==r&&(t[n.trim()]=r.trim())}return t}(s),t=[];for(let n=0,r=o.length;n<r;n++){const[r,i,s]=o[n];t.push(`${r}: ${i+(s?" important!":"")}`);const c=e[r];H(c)?l=!1:c.startsWith(i)?s&&!c.endsWith("!important")&&(l=!1):l=!1}f(e).length>o.length&&(l=!1),C.call(t,";")}}else l=!1;return l}(e,t,n);return o&&i&&s}let Ur=!1;const qr=B(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),Xr=qr&&l(document.adoptedStyleSheets,"length").writable,Yr=!H(document.documentMode),Jr=new Map;function Qr(e){const t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function Zr(e){const t=new CSSStyleSheet;return t.replaceSync(e),t}function eo(e,t,n){const r=function(e,t){const{stylesheet:n,used:r}=t;return r?Yr?Qr(e):n.cloneNode(!0):(t.used=!0,n)}(e,n);(function(e){return!H(e.head)}(t)?t.head:t).appendChild(r)}function to(e,t,n){qr?function(e,t,n){const{adoptedStyleSheets:r}=t,{stylesheet:o}=n;Xr?r.push(o):t.adoptedStyleSheets=[...r,o]}(0,t,n):eo(e,t,n)}function no(e){let t=Jr.get(e);return H(t)&&(t={stylesheet:qr?Zr(e):Qr(e),roots:void 0,global:!1,used:!1},Jr.set(e,t)),t}let ro,oo,io;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}}())ro=customElements.get.bind(customElements),oo=customElements.define.bind(customElements),io=HTMLElement;else{const e=r(null),t=new WeakMap;oo=function(n,r){if(n!==F.call(n)||e[n])throw new TypeError("Invalid Registration");e[n]=r,t.set(r,n)},ro=function(t){return e[t]},io=function e(){if(!(this instanceof e))throw new TypeError("Invalid Invocation");const{constructor:n}=this,r=t.get(n);if(!r)throw new TypeError("Invalid Construction");const o=document.createElement(r);return p(o,n.prototype),o},io.prototype=HTMLElement.prototype}let so=!1;function lo(e){so=e}const co=Q.$isNativeShadowRootDefined$,ao=u.call(Element.prototype,"$shadowToken$");const uo={ssr:!1,isNativeShadowDefined:co,isSyntheticShadowDefined:ao,HTMLElementExported:io,isHydrating:function(){return so},insert:function(e,t,n){t.insertBefore(e,n)},remove:function(e,t){t.removeChild(e)},cloneNode:function(e,t){return e.cloneNode(t)},createFragment:function(e){return document.createRange().createContextualFragment(e).firstChild},createElement:function(e,t){return H(t)?document.createElement(e):document.createElementNS(t,e)},createText:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},nextSibling:function(e){return e.nextSibling},attachShadow:function(e,t){return so?e.shadowRoot:e.attachShadow(t)},getProperty:function(e,t){return e[t]},setProperty:function(e,t,n){e[t]=n},setText:function(e,t){e.nodeValue=t},getAttribute:function(e,t,n){return H(n)?e.getAttribute(t):e.getAttributeNS(n,t)},setAttribute:function(e,t,n,r){return H(r)?e.setAttribute(t,n):e.setAttributeNS(r,t,n)},removeAttribute:function(e,t,n){H(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)},addEventListener:function(e,t,n,r){e.addEventListener(t,n,r)},removeEventListener:function(e,t,n,r){e.removeEventListener(t,n,r)},dispatchEvent:function(e,t){return e.dispatchEvent(t)},getClassList:function(e){return e.classList},setCSSStyleProperty:function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},getBoundingClientRect:function(e){return e.getBoundingClientRect()},querySelector:function(e,t){return e.querySelector(t)},querySelectorAll:function(e,t){return e.querySelectorAll(t)},getElementsByTagName:function(e,t){return e.getElementsByTagName(t)},getElementsByClassName:function(e,t){return e.getElementsByClassName(t)},getChildren:function(e){return e.children},getChildNodes:function(e){return e.childNodes},getFirstChild:function(e){return e.firstChild},getFirstElementChild:function(e){return e.firstElementChild},getLastChild:function(e){return e.lastChild},getLastElementChild:function(e){return e.lastElementChild},isConnected:function(e){return e.isConnected},insertStylesheet:function(e,t){H(t)?function(e){const t=no(e);t.global||(t.global=!0,to(e,document,t))}(e):function(e,t){const n=no(e);let{roots:r}=n;if(H(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),to(e,t,n)}(e,t)},assertInstanceOfHTMLElement:function(e,n){t.invariant(e instanceof HTMLElement,n)},defineCustomElement:oo,getCustomElement:ro};function fo(e,t,n){const r=yr(e,t,uo,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0});for(const[t,r]of Object.entries(n))e[t]=r;return r}function ho(e,t,n={}){if(!(e instanceof Element))throw new TypeError(`"hydrateComponent" expects a valid DOM element as the first parameter but instead received ${e}.`);if(!B(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!V(n)||I(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);if(Cr(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{lo(!0);!function(e){Ir=!1,Tr(e),Wr(e),Ir&&Ne("Hydration completed with errors.",e)}(fo(e,t,n)),lo(!1)}catch(r){console.error("Recovering from error while hydrating: ",r),function(e,t){if(e.shadowRoot){const t=e.shadowRoot;for(;!I(t.firstChild);)t.removeChild(t.firstChild)}if("light"===t.renderMode)for(;!I(e.firstChild);)e.removeChild(e.firstChild)}(e,t),fo(e,t,n),lo(!1),mr(e)}finally{lo(!1)}}const po=new WeakSet;function mo(e){const t=function(e){return Ut(e).bridge}(e);return class extends t{constructor(){super(),this.isConnected?(ho(this,e,{}),po.add(this)):yr(this,e,uo,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){po.has(this)?po.delete(this):mr(this)}disconnectedCallback(){gr(this)}}}const go=Node,wo=new WeakMap,yo=new WeakMap;function bo(e,t){const n=t.get(e);return H(n)||n(e),e}const{appendChild:vo,insertBefore:Co,removeChild:Eo,replaceChild:Mo}=go.prototype;n(go.prototype,{appendChild(e){return bo(vo.call(this,e),wo)},insertBefore(e,t){return bo(Co.call(this,e,t),wo)},removeChild(e){return bo(Eo.call(this,e),yo)},replaceChild(e,t){const n=Mo.call(this,e,t);return bo(n,yo),bo(e,wo),n}});const ko=Node;const So=new Map;i(Ct,"CustomElementConstructor",{get(){return function(e){if(e===Ct)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=So.get(e);return H(t)&&(t=mo(e),So.set(e,t)),t}(this)}}),s(Ct),h(Ct.prototype),e.LightningElement=Ct,e.__unstable__ProfilerControl=Fn,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=Dr(e);if(!H(t))throw new Error("Adapter already has a context provider.");t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),function(e,t){Rr.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:i}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{H(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!V(t)||I(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${U(t)}".`);const n=t.is;if(!B(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const r=Xt(e,uo);let o=!1;const i=new r((r=>{yr(r,n,uo,{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null}),wo.set(r,mr),yo.set(r,gr),o=!0}));return o||console.error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`),i},e.freezeTemplate=function(e){},e.getComponentConstructor=function(e){let t=null;if(!H(e)){const n=Cr(e);H(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=Ut(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,l={};for(const e in o)l[e]={config:i[e]||0,type:"any",attr:te(e)};const c={};for(const e in s)c[e]=s[e].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=ho,e.isComponentConstructor=zt,e.isNodeFromTemplate=function(e){if(j(e instanceof ko))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&j(u.call(a(t),"synthetic")))||ao&&!H(e.$shadowResolver$)},e.parseFragment=Un,e.parseSVGFragment=qn,e.readonly=function(e){return bt.getReadOnlyProxy(e)},e.register=function(e){for(let t=0;t<lr.length;++t){const n=lr[t];if(n in e){let t=sr[n];H(t)&&(sr[n]=t=[]),k.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return B(e)&&er.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:o,publicMethods:s,wire:c,track:a,fields:u}=t,d=r(null),f=r(null),h=r(null),p=r(null),m=r(null),g=r(null);let w;if(!H(o))for(const e in o){const t=o[e];if(g[e]=t.config,w=l(n,e),t.config>0){if(H(w))throw new Error;w=Nt(e,w)}else w=H(w)||H(w.get)?xt(e):Nt(e,w);f[e]=w,i(n,e,w)}if(H(s)||L.call(s,(e=>{if(w=l(n,e),H(w))throw new Error;d[e]=w})),!H(c))for(const e in c){const{adapter:t,method:r,config:o,dynamic:s=[]}=c[e];if(w=l(n,e),1===r){if(H(w))throw new Error;h[e]=w,Fr(w,t,o,s)}else w=Pt(e),p[e]=w,Hr(w,t,o,s),i(n,e,w)}if(!H(a))for(const e in a)w=l(n,e),w=Ot(e),i(n,e,w);if(!H(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(n,t);const r=!H(o)&&t in o,i=!H(a)&&t in a;r||i||(m[t]=Tt(t))}return function(e,t){Lt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return _t.add(e),i(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return H(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=H(e)?void 0:e.shadowAttribute}}),e},e.renderer=uo,e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(H(ae[e])){const n=f(ae).map((e=>`"${e}"`)).join(", ");console.warn(`Failed to set the value "${t}" for the runtime feature flag "${e}" because it is undefined. Available flags: ${n}.`)}else{const n=ue[e];if(!H(n))return void console.error(`Failed to set the value "${t}" for the runtime feature flag "${e}". "${e}" has already been set with the value "${n}".`);i(ue,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){var n;t.isFalse(Ur,"Hooks are already overridden, only one definition is allowed."),Ur=!0,n=e.sanitizeHtmlContent,xn=n},e.swapComponent=function(e,t){if(!ue.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapStyle=function(e,t){if(!ue.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapTemplate=function(e,t){if(!ue.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.track=function(e){if(1===arguments.length)return bt.getProxy(e);throw new Error},e.unwrap=function(e){return bt.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:r,defineProperties:o,defineProperty:i,freeze:s,getOwnPropertyDescriptor:l,getOwnPropertyNames:c,getPrototypeOf:a,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{copyWithin:g,fill:w,filter:y,find:b,indexOf:v,join:C,map:E,pop:M,push:k,reduce:S,reverse:T,shift:x,slice:A,sort:N,splice:O,unshift:P,forEach:L}=Array.prototype,{fromCharCode:$}=String,{charCodeAt:_,replace:R,slice:D,toLowerCase:F}=String.prototype;function H(e){return void 0===e}function I(e){return null===e}function W(e){return!0===e}function j(e){return!1===e}function B(e){return"function"==typeof e}function V(e){return"object"==typeof e}function K(e){return"string"==typeof e}function G(){}const z={}.toString;function U(e){return e&&e.toString?m(e)?C.call(E.call(e,U),","):e.toString():"object"==typeof e?z.call(e):e+""}function q(e,t){do{const n=l(e,t);if(!H(n))return n;e=a(e)}while(null!==e)}const X=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],{AriaAttrNameToPropNameMap:Y,AriaPropNameToAttrNameMap:J}=(()=>{const e=r(null),t=r(null);return L.call(X,(n=>{const r=F.call(R.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),Q=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),Z="http://www.w3.org/2000/svg",ee=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"]]),te=new Map;function ne(e){const t=J[e];if(!H(t))return t;const n=ee.get(e);if(!H(n))return n;const r=te.get(e);if(!H(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=_.call(e,t);o+=n>=65&&n<=90?"-"+$(n+32):$(n)}return te.set(e,o),o}function re(e){return void 0===Object.getOwnPropertyDescriptor(Element.prototype,e)}const oe=new WeakMap;function ie(e){let t=oe.get(e);return void 0===t&&(t={},oe.set(e,t)),t}function se(e,t){return{get(){const n=ie(this);return u.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set(n){const r=null==(o=n)?null:String(o);var o;ie(this)[e]=r,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function le(e){const t=se(e,J[e]);Object.defineProperty(Element.prototype,e,t)}const ce=f(J);for(let e=0,t=ce.length;e<t;e+=1){const t=ce[e];re(t)&&le(t)}const ae={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HMR:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null};Q.lwcRuntimeFlags||Object.defineProperty(Q,"lwcRuntimeFlags",{value:r(null)});const ue=Q.lwcRuntimeFlags;let de=[];const fe=h(r(null)),he=h([]);function pe(){const e=de;de=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function me(e){0===de.length&&Promise.resolve().then(pe),k.call(de,e)}const ge=/;(?![^(]*\))/g,we=/:(.+)/;function ye(e,t){const n={};for(const r of Object.keys(e))r!==t&&(n[r]=e[r]);return n}const be=new WeakMap;let ve=null;function Ce(e,t){const n=be.get(e);if(!H(n)){const e=n[t];if(!H(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function Ee(e,t){if(null===ve)return;const n=ve,o=function(e){let t=be.get(e);if(H(t)){const n=r(null);t=n,be.set(e,n)}return t}(e);let i=o[t];if(H(i))i=[],o[t]=i;else if(i[0]===n)return;-1===v.call(i,n)&&n.link(i)}class Me{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=ve;let n;ve=this;try{e()}catch(e){n=Object(e)}finally{if(ve=t,void 0!==n)throw n}}reset(){const{listeners:e}=this,t=e.length;if(t>0){for(let n=0;n<t;n+=1){const t=e[n],r=v.call(e[n],this);O.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){k.call(e,this),k.call(this.listeners,e)}}function ke(e,t){Ce(e.component,t)}function Se(e,t){Ee(e.component,t)}function Te(e){return`<${F.call(e.tagName)}>`}function xe(e,t){if(!d(t)&&H(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!I(n);)k.call(t,Te(n)),n=n.owner;return t.reverse().join("\n\t")}(e);i(t,"wcStack",{get:()=>n})}}function Ae(e,t,n){let r=`[LWC ${e}]: ${t}`;H(n)||(r=`${r}\n${function(e){const t=[];let n="";for(;!I(e.owner);)k.call(t,n+Te(e)),e=e.owner,n+="\t";return C.call(t,"\n")}(n)}`);try{throw new Error(r)}catch(t){console[e](t)}}function Ne(e,t){Ae("error",e,t)}function Oe(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function Pe(e){return B(e)&&u.call(e,"__circular__")}const Le="undefined"!=typeof HTMLElement?HTMLElement:function(){},$e=Le.prototype;function _e(e){return`Using the \`${e}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}n(r(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:_e("offsetHeight")},offsetLeft:{readOnly:!0,error:_e("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:_e("offsetTop")},offsetWidth:{readOnly:!0,error:_e("offsetWidth")},role:{attribute:"role"}});let Re,De=null;function Fe(e,t){return e!==De||t!==Re}function He(e,t){De=null,Re=void 0}function Ie(e,t){De=e,Re=t}const We=r(null);L.call(f(J),(e=>{const t=q($e,e);H(t)||(We[e]=t)})),L.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=q($e,e);H(t)||(We[e]=t)}));const{isArray:je}=Array,{prototype:Be,getPrototypeOf:Ve,create:Ke,defineProperty:Ge,isExtensible:ze,getOwnPropertyDescriptor:Ue,getOwnPropertyNames:qe,getOwnPropertySymbols:Xe,preventExtensions:Ye,hasOwnProperty:Je}=Object,{push:Qe,concat:Ze}=Array.prototype;function et(e){return void 0===e}function tt(e){return"function"==typeof e}const nt=new WeakMap;function rt(e,t){nt.set(e,t)}const ot=e=>nt.get(e)||e;class it{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(Je.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;et(n)||(e.get=this.wrapGetter(n)),et(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=Ue(n,t);if(!et(r)){const n=this.wrapDescriptor(r);Ge(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;Ze.call(qe(t),Xe(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;et(n)||Je.call(e,n)||Ge(e,n,Ke(null)),Ye(e)}apply(e,t,n){}construct(e,t,n){}get(e,t){const{originalTarget:n,membrane:{valueObserved:r}}=this,o=n[t];return r(n,t),this.wrapValue(o)}has(e,t){const{originalTarget:n,membrane:{tagPropertyKey:r,valueObserved:o}}=this;return o(n,t),t in n||t===r}ownKeys(e){const{originalTarget:t,membrane:{tagPropertyKey:n}}=this,r=et(n)||Je.call(t,n)?[]:[n];return Qe.apply(r,qe(t)),Qe.apply(r,Xe(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!ze(e)&&(!!ze(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return Ve(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=Ue(n,t);if(et(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},Ge(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const st=new WeakMap,lt=new WeakMap,ct=new WeakMap,at=new WeakMap;class ut extends it{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=st.get(e);if(!et(t))return t;const n=this,r=function(){return n.wrapValue(e.call(ot(this)))};return st.set(e,r),ct.set(r,e),r}wrapSetter(e){const t=lt.get(e);if(!et(t))return t;const n=function(t){e.call(ot(this),ot(t))};return lt.set(e,n),at.set(n,e),n}unwrapDescriptor(e){if(Je.call(e,"value"))e.value=ot(e.value);else{const{set:t,get:n}=e;et(n)||(e.get=this.unwrapGetter(n)),et(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=ct.get(e);if(!et(t))return t;const n=this,r=function(){return ot(e.call(n.wrapValue(this)))};return st.set(r,e),ct.set(e,r),r}unwrapSetter(e){const t=at.get(e);if(!et(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return lt.set(r,e),at.set(e,r),r}set(e,t,n){const{originalTarget:r,membrane:{valueMutated:o}}=this;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&je(r)&&o(r,t),!0}deleteProperty(e,t){const{originalTarget:n,membrane:{valueMutated:r}}=this;return delete n[t],r(n,t),!0}setPrototypeOf(e,t){}preventExtensions(e){if(ze(e)){const{originalTarget:t}=this;if(Ye(t),ze(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!Je.call(r,t)||(Ge(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const dt=new WeakMap,ft=new WeakMap;class ht extends it{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=dt.get(e);if(!et(t))return t;const n=this,r=function(){return n.wrapValue(e.call(ot(this)))};return dt.set(e,r),r}wrapSetter(e){const t=ft.get(e);if(!et(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 pt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(je(e))return!0;const t=Ve(e);return t===Be||null===t||null===Ve(t)}const mt=(e,t)=>{},gt=(e,t)=>{};function wt(e){return je(e)?[]:{}}const yt=Symbol.for("@@lockerLiveValue"),bt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=tt(t)?t:gt,this.valueObserved=tt(n)?n:mt,this.valueIsObservable=tt(r)?r:pt,this.tagPropertyKey=o}getProxy(e){const t=ot(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=ot(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return ot(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(et(t)){const n=new ut(this,e);t=new Proxy(wt(e),n),rt(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(et(t)){const n=new ht(this,e);t=new Proxy(wt(e),n),rt(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:Ee,valueMutated:Ce,tagPropertyKey:yt});function vt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!B(n))throw new TypeError;if(!B(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const t=vr(this);if(!Jn(t))return Se(t,e),n.call(t.elm)},set(t){const n=vr(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,ke(n,e)),r.call(n.elm,t)}}}const Ct=function(){if(I(Yn))throw new ReferenceError("Illegal constructor");const e=Yn,{def:t,elm:n}=e,{bridge:r}=t,o=this;if(p(n,r.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return this[yt]=void 0,br(o,e),br(n,e),1===e.renderMode?e.renderRoot=Et(e):e.renderRoot=n,this};function Et(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:i}}=e,s=i(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=s,br(s,e),s}Ct.prototype={constructor:Ct,dispatchEvent(e){const t=vr(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=vr(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,ir(r,t),n)},removeEventListener(e,t,n){const r=vr(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,ir(r,t),n)},hasAttribute(e){const t=vr(this),{elm:n,renderer:{getAttribute:r}}=t;return!I(r(n,e))},hasAttributeNS(e,t){const n=vr(this),{elm:r,renderer:{getAttribute:o}}=n;return!I(o(r,t,e))},removeAttribute(e){const t=vr(this),{elm:n,renderer:{removeAttribute:r}}=t;Ie(n,e),r(n,e),He()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=vr(this);Ie(n,t),r(n,t,e),He()},getAttribute(e){const t=vr(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=vr(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=vr(this),{elm:r,renderer:{setAttribute:o}}=n;Ie(r,e),o(r,e,t),He()},setAttributeNS(e,t,n){const r=vr(this),{elm:o,renderer:{setAttribute:i}}=r;Ie(o,t),i(o,t,n,e),He()},getBoundingClientRect(){const e=vr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=vr(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=vr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return vr(this).shadowRoot},get shadowRoot(){return null},get children(){const e=vr(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=vr(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=vr(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=vr(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=vr(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=vr(this);return e.renderer.getLastElementChild(e.elm)},render(){return vr(this).def.template},toString(){return`[object ${vr(this).def.name}]`}};const Mt=r(null),kt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of kt)Mt[e]={value(t){const n=vr(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};o(Ct.prototype,Mt);const St=r(null);for(const e in We)St[e]=vt(e,We[e]);function Tt(e){return{get(){const t=vr(this);return Se(t,e),t.cmpFields[e]},set(t){const n=vr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,ke(n,e))},enumerable:!0,configurable:!0}}function xt(e){return{get(){const t=vr(this);if(!Jn(t))return Se(t,e),t.cmpProps[e]},set(t){const n=vr(this);n.cmpProps[e]=t,ke(n,e)},enumerable:!0,configurable:!0}}o(Ct.prototype,St),i(Ct,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class At extends Me{constructor(e,t){super((()=>{j(this.debouncing)&&(this.debouncing=!0,me((()=>{if(W(this.debouncing)){const{value:n}=this,{isDirty:r,component:o,idx:i}=e;t.call(o,n),this.debouncing=!1,W(e.isDirty)&&j(r)&&i>0&&pr(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function Nt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!B(n))throw new Error;return{get(){return n.call(this)},set(t){const n=vr(this);if(r)if(ue.ENABLE_REACTIVE_SETTER){let o=n.oar[e];H(o)&&(o=n.oar[e]=new At(n,r)),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function Ot(e){return{get(){const t=vr(this);return Se(t,e),t.cmpFields[e]},set(t){const n=vr(this),r=bt.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,ke(n,e))},enumerable:!0,configurable:!0}}function Pt(e){return{get(){const t=vr(this);return Se(t,e),t.cmpFields[e]},set(t){const n=vr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,ke(n,e))},enumerable:!0,configurable:!0}}const Lt=new Map;const $t={apiMethods:fe,apiFields:fe,apiFieldsConfig:fe,wiredMethods:fe,wiredFields:fe,observedFields:fe};const _t=new Set;function Rt(){return[]}_t.add(Rt);const Dt=r(null),Ft=r(null);function Ht(e){let t=Dt[e];return H(t)&&(t=Dt[e]=function(){const t=vr(this),{getHook:n}=t;return n(t.component,e)}),t}function It(e){let t=Ft[e];return H(t)&&(t=Ft[e]=function(t){const n=vr(this),{setHook:r}=n;t=bt.getReadOnlyProxy(t),r(n.component,e,t)}),t}function Wt(e){return function(){const t=vr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,A.call(arguments))}}function jt(e,t){return function(n,r,o){if(r===o)return;const i=e[n];H(i)?H(t)||t.apply(this,arguments):Fe(this,n)&&(this[i]=o)}}function Bt(e,t,n){let s;B(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),i(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const l=r(null),{attributeChangedCallback:c}=e.prototype,{observedAttributes:a=[]}=e,u=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[ne(n)]=n,u[n]={get:Ht(n),set:It(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:Wt(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:jt(l,c)},i(s,"observedAttributes",{get:()=>[...a,...f(l)]}),o(s.prototype,u),s}const Vt=Bt(Le,c(We),[]);s(Vt),h(Vt.prototype);const Kt=new WeakMap;function Gt(e){const{shadowSupportMode:t,renderMode:i}=e,s=function(e){const t=Lt.get(e);return H(t)?$t:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const C=function(e){let t=a(e);if(I(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(Pe(t)){const e=Oe(t);t=e===t?Ct:e}return t}(e),E=C!==Ct?Ut(C):qt,M=Bt(E.bridge,f(l),f(u)),k=n(r(null),E.props,l),S=n(r(null),E.propsConfig,c),T=n(r(null),E.methods,u),x=n(r(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 A=E.shadowSupportMode;H(t)||(A=t);let N=E.renderMode;H(i)||(N="light"===i?0:1);const O=function(e){return er.get(e)}(e)||E.template,P=e.name||E.name;o(m,p);return{ctor:e,name:P,wire:x,props:k,propsConfig:S,methods:T,bridge:M,template:O,renderMode:N,shadowSupportMode:A,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function zt(e){if(!B(e))return!1;if(e.prototype instanceof Ct)return!0;let t=e;do{if(Pe(t)){const e=Oe(t);if(e===t)return!0;t=e}if(t===Ct)return!0}while(!I(t)&&(t=a(t)));return!1}function Ut(e){let t=Kt.get(e);if(H(t)){if(Pe(e)){return t=Ut(Oe(e)),Kt.set(e,t),t}if(!zt(e))throw new TypeError(`${e} is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.`);t=Gt(e),Kt.set(e,t)}return t}const qt={ctor:Ct,name:Ct.name,props:St,propsConfig:fe,methods:fe,renderMode:1,shadowSupportMode:"reset",wire:fe,bridge:Vt,template:Rt,render:Ct.prototype.render};function Xt(e,t){const{getCustomElement:n,HTMLElementExported:r,defineCustomElement:o}=t;let i=n(e=e.toLowerCase());return H(i)?(i=class extends r{constructor(e){super(),B(e)&&e(this)}},o(e,i),i):i}function Yt(e){const{type:t}=e;return 2===t||3===t}function Jt(e,t){return e.key===t.key&&e.sel===t.sel}function Qt(e,t){return"input"===e&&("value"===t||"checked"===t)}function Zt(e,t,n){const{props:r}=t.data;if(H(r))return;const o=I(e)?fe:e.data.props;if(o===r)return;const i=I(e),{elm:s,sel:l}=t,{getProperty:c,setProperty:a}=n;for(const e in r){const t=r[e];(i||t!==(Qt(l,e)?c(s,e):o[e]))&&a(s,e,t)}}const en=r(null);function tn(e){if(null==e)return fe;e=K(e)?e:e+"";let t=en[e];if(t)return t;t=r(null);let n,o=0;const i=e.length;for(n=0;n<i;n++)32===_.call(e,n)&&(n>o&&(t[D.call(e,o,n)]=!0),o=n+1);return n>o&&(t[D.call(e,o,n)]=!0),en[e]=t,t}function nn(e,t){const{elm:n,data:{on:r}}=e;if(H(r))return;const{addEventListener:o}=t;for(const e in r){o(n,e,r[e])}}function rn(e,t,n,r){var o;o=t,bn.has(o)?function(e,t,n,r){let o=0,i=0,s=e.length-1,l=e[0],c=e[s];const a=t.length-1;let u,d,f,h,p=a,m=t[0],g=t[p],w=!1;for(;o<=s&&i<=p;)un(l)?un(c)?un(m)?un(g)?Jt(l,m)?(on(l,m,r),l=e[++o],m=t[++i]):Jt(c,g)?(on(c,g,r),c=e[--s],g=t[--p]):Jt(l,g)?(on(l,g,r),mn(l.elm,n,r.nextSibling(c.elm),r),l=e[++o],g=t[--p]):Jt(c,m)?(on(c,m,r),mn(m.elm,n,l.elm,r),c=e[--s],m=t[++i]):(void 0===u&&(u=vn(e,o,s)),d=u[m.key],H(d)?(sn(m,n,r,l.elm),m=t[++i]):(f=e[d],un(f)&&(f.sel!==m.sel?sn(m,n,r,l.elm):(on(f,m,r),w||(w=!0,e=[...e]),e[d]=void 0,mn(f.elm,n,l.elm,r))),m=t[++i])):g=t[--p]:m=t[++i]:c=e[--s]:l=e[++o];if(o<=s||i<=p)if(o>s){let e,o=p;do{e=t[++o]}while(!un(e)&&o<a);h=un(e)?e.elm:null,ln(t,n,r,h,i,p+1)}else an(e,n,r,!0,o,s+1)}(e,t,n,r):function(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void ln(t,n,r,null);if(0===i)return void an(e,n,r,!0);let s=null;for(let o=i-1;o>=0;o-=1){const i=e[o],l=t[o];l!==i&&(un(i)?un(l)?(on(i,l,r),s=l.elm):cn(i,n,r,!0):un(l)&&(sn(l,n,r,s),s=l.elm))}}(e,t,n,r)}function on(e,t,n){var r,o;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&pn(t,n)}(e,t,n);break;case 4:t.elm=e.elm;break;case 2:!function(e,t,n){const r=t.elm=e.elm;wn(e,t,n),rn(e.children,t.children,r,n)}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:!function(e,t,n){const r=t.elm=e.elm,o=t.vm=e.vm;wn(e,t,n),H(o)||yn(t,o);rn(e.children,t.children,r,n),H(o)||pr(o)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}}function sn(e,t,n,r){var o,i;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:i}=r,s=e.elm=i(e.text);hn(s,o,r),mn(s,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:i}=r,s=e.elm=i(e.text);hn(s,o,r),mn(s,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:i,isSyntheticShadowDefined:s}=r,l=e.elm=i(e.fragment,!0);hn(l,o,r);const{renderMode:c,shadowMode:a}=o;s&&(1!==a&&0!==c||(l.$shadowStaticNode$=!0));mn(l,t,n,r)}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:i,data:{svg:s}}=e,{createElement:l}=r,c=W(s)?Z:void 0,a=l(o,c);hn(a,i,r),function(e,t,n){const{owner:r}=t;if(fn(e,r,n),1===r.shadowMode){const{data:{context:n}}=t,{stylesheetToken:o}=r.context;H(n)||H(n.lwc)||"manual"!==n.lwc.dom||function(e){e.$domManual$=!0}(e),H(o)||dn(e,o)}}(a,e,r),e.elm=a,wn(null,e,r),mn(a,t,n,r),ln(e.children,a,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:!function(e,t,n,r){const{sel:o,owner:i}=e,s=Xt(o,r);let l;const c=new s((t=>{l=function(e,t,n){let r=Cr(e);if(!H(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;if(fn(e,l,n),1===l.shadowMode){const{stylesheetToken:t}=l.context;H(t)||dn(e,t)}return r=yr(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}));if(hn(c,i,r),e.elm=c,e.vm=l,l)yn(e,l);else if(e.ctor!==s)throw new TypeError("Incorrect Component Constructor");wn(null,e,r),mn(c,t,n,r),l&&Tr(l);ln(e.children,c,r,null),l&&function(e){Er(e)}(l)}(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function ln(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];un(i)&&sn(i,t,n,r)}}function cn(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&gn(i,t,n),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;an(e.children,i,n,t);break}case 3:{const{vm:t}=e;H(t)||function(e){wr(e)}(t)}}}function an(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];un(i)&&cn(i,t,n,r)}}function un(e){return null!=e}function dn(e,t){e.$shadowToken$=t}function fn(e,t,n){const{cmpTemplate:r,context:o}=t,{getClassList:i}=n,s=null==r?void 0:r.stylesheetToken;!H(s)&&o.hasScopedStyles&&i(e).add(s)}function hn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function pn(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function mn(e,t,n,r){r.insert(e,t,n)}function gn(e,t,n){n.remove(e,t)}function wn(e,t,n){I(e)&&(nn(t,n),function(e,t){const{elm:n,data:{classMap:r}}=e;if(H(r))return;const{getClassList:o}=t,i=o(n);for(const e in r)i.add(e)}(t,n),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(H(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,i,s]=r[e];o(n,t,i,s)}}(t,n)),function(e,t,n){const{elm:r,data:{className:o}}=t,i=I(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),c=tn(o),a=tn(i);let u;for(u in a)H(c[u])&&l.remove(u);for(u in c)H(a[u])&&l.add(u)}(e,t,n),function(e,t,n){const{elm:r,data:{style:o}}=t;if((I(e)?void 0:e.data.style)===o)return;const{setAttribute:i,removeAttribute:s}=n;K(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,t,n),function(e,t,n){const{attrs:r}=t.data;if(H(r))return;const o=I(e)?fe:e.data.attrs;if(o===r)return;const{elm:i}=t,{setAttribute:s,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(Ie(i,e),58===_.call(e,3)?s(i,e,t,"http://www.w3.org/XML/1998/namespace"):58===_.call(e,5)?s(i,e,t,"http://www.w3.org/1999/xlink"):I(t)||H(t)?l(i,e):s(i,e,t),He())}}(e,t,n),Zt(e,t,n)}function yn(e,t){const n=e.aChildren||e.children;t.aChildren=n;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t){var n;const{cmpSlots:o}=e,i=e.cmpSlots=r(null);for(let e=0,r=t.length;e<r;e+=1){const r=t[e];if(I(r))continue;let o="";Yt(r)&&(o=(null===(n=r.data.attrs)||void 0===n?void 0:n.slot)||"");const s=i[o]=i[o]||[];k.call(s,r)}if(j(e.isDirty)){const t=f(o);if(t.length!==f(i).length)return void rr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(H(i[r])||o[r].length!==i[r].length)return void rr(e);const s=o[r],l=i[r];for(let t=0,n=i[r].length;t<n;t+=1)if(s[t]!==l[t])return void rr(e)}}}(t,n),e.aChildren=n,e.children=he)}const bn=new WeakMap;function vn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(un(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}const Cn=Symbol.iterator;function En(e,t,n=he){const r=Kn();const{key:o}=t;return{type:2,sel:e,data:t,children:n,elm:undefined,key:o,owner:r}}function Mn(e,t,n,r=he){const o=Kn(),{key:i}=n;const s={type:3,sel:e,data:n,children:r,elm:undefined,key:i,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){k.call(Kn().velements,e)}(s),s}const kn=new Map;let Sn=0;function Tn(e){var t;return t=e,bn.set(t,1),e}let xn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const An=s({s:function(e,t,n,r){H(r)||H(r[e])||0===r[e].length||(n=r[e]);const o=Kn(),{renderMode:i,shadowMode:s}=o;return 0===i?(Tn(n),n):(1===s&&Tn(n),En("slot",t,n))},h:En,c:Mn,i:function(e,t){const n=[];if(Tn(n),H(e)||null===e)return n;const r=e[Cn]();let o=r.next(),i=0,{value:s,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(s,i,0===i,!0===l);m(e)?k.apply(n,e):k.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];Tn(n);for(let r=0;r<t;r+=1){const t=e[r];m(t)?k.apply(n,t):k.call(n,t)}return n},t:function(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:Kn()}},d:function(e){return null==e?"":String(e)},b:function(e){const t=Kn();if(I(t))throw new Error;const n=t;return function(t){Zn(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:undefined,owner:Kn()}},dc:function(e,t,n,r=he){if(null==t)return null;if(!zt(t))throw new Error(`Invalid LWC Constructor ${U(t)} for custom element <${e}>.`);let o=kn.get(t);return H(o)&&(o=Sn++,kn.set(t,o)),Mn(e,t,Object.assign(Object.assign({},n),{key:`dc:${o}:${n.key}`}),r)},ti:function(e){return e>0&&!(W(e)||j(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:Kn()}},gid:function(e){const t=Kn();if(H(e)||""===e)return e;if(I(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?R.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=Kn();if(H(e)||""===e)return e;if(I(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return xn(e)}});function Nn(e){return`${e}-host`}function On(e){return An.h("style",{key:"style",attrs:{type:"text/css"}},[An.t(e)])}function Pn(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(m(s))k.apply(r,Pn(s,t,n));else{const e=s.$scoped$,i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let c;1===n.renderMode?c=0===n.shadowMode:(H(o)&&(o=$n(n)),c=I(o)||0===o.shadowMode),k.call(r,s(i,l,c))}}return r}function Ln(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return H(n)||0===n.length||(o=Pn(n,r,e)),o}function $n(e){let t=e;for(;!I(t);){if(1===t.renderMode)return t;t=t.owner}return t}function _n(e,t){const{renderMode:n,shadowMode:r,renderer:{ssr:o,insertStylesheet:i}}=e;if(1===n&&1===r)for(let e=0;e<t.length;e++)i(t[e]);else{if(o||e.hydrated)return E.call(t,On);{const n=function(e){const t=$n(e);return I(t)||1!==t.shadowMode?t:null}(e),r=I(n)?void 0:n.shadowRoot;for(let e=0;e<t.length;e++)i(t[e],r)}}return null}let Rn=!1,Dn=G;const Fn={enableProfiler(){Rn=!0},disableProfiler(){Rn=!1},attachDispatcher(e){Dn=e,this.enableProfiler()},detachDispatcher(){const e=Dn;return Dn=G,this.disableProfiler(),e}};function Hn(e,t){Rn&&Dn(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function In(e,t){Rn&&Dn(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Wn(e,t){Rn&&Dn(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 jn(e,t){Rn&&Dn(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 Bn=!1,Vn=null;function Kn(){return Vn}function Gn(e){Vn=e}function zn(e){return(t,...n)=>{const o=r(null);return function(){const{context:{hasScopedStyles:r,stylesheetToken:i},shadowMode:s,renderer:l}=Kn(),c=!H(i),a=1===s;let u=0;if(c&&r&&(u|=1),c&&a&&(u|=2),!H(o[u]))return o[u];const d=r&&c?" "+i:"",f=r&&c?` class="${i}"`:"",h=c&&a?" "+i:"";let p="";for(let e=0,r=n.length;e<r;e++)switch(n[e]){case 0:p+=t[e]+d;break;case 1:p+=t[e]+f;break;case 2:p+=t[e]+h;break;case 3:p+=t[e]+f+h}return p+=t[t.length-1],o[u]=e(p,l),o[u]}}}const Un=zn(((e,t)=>{const{createFragment:n}=t;return n(e)})),qn=zn(((e,t)=>{const{createFragment:n,getFirstChild:r}=t;return r(n("<svg>"+e+"</svg>"))}));function Xn(e,t){const n=Bn,o=Vn;let i=[];return Pr(e,e.owner,(()=>{Vn=e,Hn(1,e)}),(()=>{const{component:n,context:o,cmpSlots:s,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(I(l)||Or(e),c=t,!_t.has(c))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${U(t)}.`);e.cmpTemplate=t,o.tplCache=r(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!H(t))for(let e=0;e<t.length;e++)if(W(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i,renderer:{getClassList:s,removeAttribute:l,setAttribute:c}}=e,{stylesheets:a,stylesheetToken:u}=t,d=1===o&&1===i,{hasScopedStyles:f}=r;let h,p,m;const{stylesheetToken:g,hasTokenInClass:w,hasTokenInAttribute:y}=r;H(g)||(w&&s(n).remove(Nn(g)),y&&l(n,Nn(g))),H(a)||0===a.length||(h=u),H(h)||(f&&(s(n).add(Nn(h)),p=!0),d&&(c(n,Nn(h),""),m=!0)),r.stylesheetToken=h,r.hasTokenInClass=p,r.hasTokenInAttribute=m}(e,t);const n=Ln(e,t);o.styleVNodes=0===n.length?null:_n(e,n)}var c;e.velements=[],Bn=!0,i=t.call(void 0,An,n,s,o.tplCache);const{styleVNodes:a}=o;I(a)||P.apply(i,a)}))}),(()=>{Bn=n,Vn=o,In(1,e)})),i}let Yn=null;function Jn(e){return Yn===e}function Qn(e,t,n){const{component:r,callHook:o,owner:i}=e;Pr(e,i,G,(()=>{o(r,t,n)}),G)}function Zn(e,t,n,r){const{callHook:o,owner:i}=e;Pr(e,i,G,(()=>{o(n,t,[r])}),G)}const er=new Map;function tr(e){return new Me((()=>{const{isDirty:t}=e;j(t)&&(rr(e),function(e){const{renderer:{ssr:t}}=e;if(W(t)||W(e.isScheduled))return;e.isScheduled=!0,0===kr.length&&me(Sr);k.call(kr,e)}(e))}))}function nr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=Kn();let s,l=!1;return Pr(e,o,(()=>{Gn(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{Gn(i)})),l?Xn(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function rr(e){e.isDirty=!0}const or=new WeakMap;function ir(e,t){if(!B(t))throw new TypeError;let n=or.get(t);return H(n)&&(n=function(n){Zn(e,t,void 0,n)},or.set(t,n)),n}const sr=r(null),lr=["rendered","connected","disconnected"];function cr(e,t){const{component:n,def:r,context:o}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},r,o)}let ar=0;const ur=new WeakMap;function dr(e,t,n=[]){return t.apply(e,n)}function fr(e,t,n){e[t]=n}function hr(e,t){return e[t]}function pr(e){Er(e)}function mr(e){const t=vr(e);Wn(7,t),1===t.state&&gr(e),Tr(t),Er(t),jn(7,t)}function gr(e){wr(vr(e))}function wr(e){const{state:t}=e;if(2!==t){const{oar:t,tro:n}=e;n.reset();for(const e in t)t[e].reset();!function(e){j(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=sr;t&&cr(e,t);xr(e)&&function(e){const{wiredDisconnecting:t}=e.context;Pr(e,e,G,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),G)}(e);const{disconnectedCallback:n}=e.def;H(n)||(Hn(5,e),Qn(e,n),In(5,e))}(e),Ar(e),function(e){const{aChildren:t}=e;Nr(t)}(e)}}function yr(e,t,n,o){const{mode:i,owner:s,tagName:l,hydrated:c}=o,a=Ut(t),u={elm:e,def:a,idx:ar++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,children:he,aChildren:he,velements:he,cmpProps:r(null),cmpFields:r(null),cmpSlots:r(null),oar:r(null),cmpTemplate:null,hydrated:Boolean(c),renderMode:a.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:fe,wiredConnecting:he,wiredDisconnecting:he},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:dr,setHook:fr,getHook:hr,renderer:n};return u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let i;if(r)if(0===n.renderMode)i=0;else if(o)if(ue.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!I(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=I(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,n),u.tro=tr(u),function(e,t){const n=Yn;let r;Hn(0,e),Yn=e;try{const o=new t;if(Yn.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(In(0,e),Yn=n,!H(r))throw xe(e,r),r}}(u,a.ctor),xr(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],s=Lr.get(i);if(!H(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=_r(e,t,s),c=s.dynamic.length>0;k.call(r,(()=>{n.connect(),ue.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),k.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function br(e,t){ur.set(e,t)}function vr(e){return ur.get(e)}function Cr(e){return ur.get(e)}function Er(e){if(W(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&Pr(e,e,(()=>{Hn(2,e)}),(()=>{rn(r,t,n,o)}),(()=>{In(2,e)}));1===e.state&&Mr(e)}(e,nr(e))}}function Mr(e){const{def:{renderedCallback:t},renderer:{ssr:n}}=e;if(W(n))return;const{rendered:r}=sr;r&&cr(e,r),H(t)||(Hn(4,e),Qn(e,t),In(4,e))}let kr=[];function Sr(){Wn(8);const e=kr.sort(((e,t)=>e.idx-t.idx));kr=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{Er(r)}catch(r){throw t+1<n&&(0===kr.length&&me(Sr),P.apply(kr,A.call(e,t+1))),jn(8),r}}jn(8)}function Tr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=sr;n&&cr(e,n),xr(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;H(r)||(Hn(3,e),Qn(e,r),In(3,e))}function xr(e){return c(e.def.wire).length>0}function Ar(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!H(n)){const e=Cr(n);H(e)||wr(e)}}}function Nr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!I(n)&&!H(n.elm))switch(n.type){case 2:Nr(n.children);break;case 3:wr(vr(n.elm));break}}}function Or(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];I(o)||H(o.elm)||r(o.elm,n)}e.children=he,Ar(e),e.velements=he}function Pr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!H(i)){xe(e,i);const n=I(t)?void 0:function(e){let t=e;for(;!I(t);){if(!H(t.def.errorCallback))return t;t=t.owner}}(t);if(H(n))throw i;Or(e),Hn(6,e);Qn(n,n.def.errorCallback,[i,i.wcStack]),In(6,e)}}}const Lr=new Map;class $r extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),o(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function _r(e,t,n){const{method:r,adapter:o,configCallback:s,dynamic:l}=n,c=H(r)?function(e,t){const{cmpFields:n}=e;return r=>{r!==e.cmpFields[t]&&(n[t]=r,ke(e,t))}}(e,t):function(e,t){return n=>{Pr(e,e.owner,G,(()=>{t.call(e.component,n)}),G)}}(e,r);let a,u;i(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),i(c,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),Pr(e,e,G,(()=>{u=new o(c)}),G);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let r=!1;const o=new Me((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),i()})))})),i=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:i,ro:o}}(e.component,s,(t=>{Pr(e,e,G,(()=>{u.update(t,a)}),G)}));return H(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Dr(r);if(H(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{dispatchEvent:c}}=e;k.call(s,(()=>{const e=new $r(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){k.call(l,e)}});c(i,e)}))}(e,n,(t=>{a!==t&&(a=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const Rr=new Map;function Dr(e){return Rr.get(e)}function Fr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Lr.set(e,o)}function Hr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Lr.set(e,o)}let Ir=!1;function Wr(e){const t=nr(e);e.children=t;const{renderRoot:n,renderer:{getFirstChild:r}}=e;Br(r(n),t,n,e),Mr(e)}function jr(e,t,n){var r,o;let i;switch(t.type){case 0:i=function(e,t,n){var r;if(!Gr(t,e,3,n))return Vr(e,t,n);const{setText:o}=n;return o(e,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 1:i=function(e,t,n){var r;if(!Gr(t,e,8,n))return Vr(e,t,n);const{setProperty:o}=n;return o(e,"nodeValue",null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 4:i=function(e,t,n){if(!function(e,t,n,r){const{getProperty:o,getAttribute:i}=r;if(3===o(e,"nodeType"))return!!Gr(n,t,3,r)&&o(e,"nodeValue")===o(t,"nodeValue");if(8===o(e,"nodeType"))return!!Gr(n,t,8,r)&&o(e,"nodeValue")===o(t,"nodeValue");if(!Gr(n,t,1,r))return!1;let s=!0;if(o(e,"tagName")!==o(t,"tagName"))return!1;return o(e,"getAttributeNames").call(e).forEach((r=>{i(e,r)!==i(t,r)&&(Ne(`Mismatch hydrating element <${o(e,"tagName").toLowerCase()}>: attribute "${r}" has different values, expected "${i(e,r)}" but found "${i(t,r)}"`,n.owner),s=!1)})),s}(t.fragment,e,t,n))return Vr(e,t,n);return t.elm=e,e}(e,t,n);break;case 2:i=function(e,t,n){if(!Gr(t,e,1,n)||!zr(t,e,n))return Vr(e,t,n);t.elm=e;const{owner:r}=t,{context:o}=t.data,i=Boolean(!H(o)&&!H(o.lwc)&&"manual"===o.lwc.dom);if(i){const{data:{props:r}}=t,{getProperty:o}=n;H(r)||H(r.innerHTML)||o(e,"innerHTML")===r.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:ye(r,"innerHTML")}))}if(Kr(t,n),!i){const{getFirstChild:o}=n;Br(o(e),t.children,e,r)}return e}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:i=function(e,t,n){if(!Gr(t,e,1,n)||!zr(t,e,n))return Vr(e,t,n);const{sel:r,mode:o,ctor:i,owner:s}=t,l=yr(e,i,n,{mode:o,owner:s,tagName:r,hydrated:!0});if(t.elm=e,t.vm=l,yn(t,l),Kr(t,n),Tr(l),0!==l.renderMode){const{getFirstChild:r}=n;Br(r(e),t.children,e,l)}return Wr(l),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(i)}function Br(e,t,n,r){let o=e,i=null;const{renderer:s}=r;for(let e=0;e<t.length;e++){const r=t[e];I(r)||(o?(o=jr(o,r,s),i=r.elm):(Ir=!0,sn(r,n,s,i),i=r.elm))}if(o){Ir=!0;const{nextSibling:e}=s;do{const t=o;o=e(o),gn(t,n,s)}while(o)}}function Vr(e,t,n){Ir=!0;const{getProperty:r}=n,o=r(e,"parentNode");return sn(t,o,n,e),gn(e,o,n),t.elm}function Kr(e,t){nn(e,t),Zt(null,e,t)}function Gr(e,t,n,r){const{getProperty:o}=r;return o(t,"nodeType")===n}function zr(e,t,n){const{getProperty:r}=n;if(e.sel.toLowerCase()!==r(t,"tagName").toLowerCase())return!1;const o=function(e,t,n){const{data:{attrs:r={}}}=e;let o=!0;for(const[e,i]of Object.entries(r)){const{getAttribute:r}=n,s=r(t,e);String(i)!==s&&(o=!1)}return o}(e,t,n),i=function(e,t,n){const{data:{className:r,classMap:o}}=e,{getProperty:i,getClassList:s}=n;let l=!0;if(H(r)||String(r)===i(t,"className")){if(!H(o)){const e=s(t);let n="";for(const t in o)n+=" "+t,e.contains(t)||(l=!1);n.trim(),e.length>f(o).length&&(l=!1)}}else l=!1;return l}(e,t,n),s=function(e,t,n){const{data:{style:r,styleDecls:o}}=e,{getAttribute:i}=n,s=i(t,"style")||"";let l=!0;if(H(r)||r===s){if(!H(o)){const e=function(e){const t={},n=e.split(ge);for(const e of n)if(e){const[n,r]=e.split(we);void 0!==n&&void 0!==r&&(t[n.trim()]=r.trim())}return t}(s),t=[];for(let n=0,r=o.length;n<r;n++){const[r,i,s]=o[n];t.push(`${r}: ${i+(s?" important!":"")}`);const c=e[r];H(c)?l=!1:c.startsWith(i)?s&&!c.endsWith("!important")&&(l=!1):l=!1}f(e).length>o.length&&(l=!1),C.call(t,";")}}else l=!1;return l}(e,t,n);return o&&i&&s}let Ur=!1;const qr=B(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),Xr=qr&&l(document.adoptedStyleSheets,"length").writable,Yr=!H(document.documentMode),Jr=new Map;function Qr(e){const t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function Zr(e,t,n){const r=function(e,t){const{element:n,usedElement:r}=t;return r?Yr?Qr(e):n.cloneNode(!0):(t.usedElement=!0,n)}(e,n);t.appendChild(r)}function eo(e,t){let n=Jr.get(e);return H(n)&&(n={stylesheet:void 0,element:void 0,roots:void 0,global:!1,usedElement:!1},Jr.set(e,n)),t&&H(n.stylesheet)?n.stylesheet=function(e){const t=new CSSStyleSheet;return t.replaceSync(e),t}(e):!t&&H(n.element)&&(n.element=Qr(e)),n}function to(e,t){const n=eo(e,qr);let{roots:r}=n;if(H(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),qr?function(e,t,n){const{adoptedStyleSheets:r}=t,{stylesheet:o}=n;Xr?r.push(o):t.adoptedStyleSheets=[...r,o]}(0,t,n):Zr(e,t,n)}let no,ro,oo;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}}())no=customElements.get.bind(customElements),ro=customElements.define.bind(customElements),oo=HTMLElement;else{const e=r(null),t=new WeakMap;ro=function(n,r){if(n!==F.call(n)||e[n])throw new TypeError("Invalid Registration");e[n]=r,t.set(r,n)},no=function(t){return e[t]},oo=function e(){if(!(this instanceof e))throw new TypeError("Invalid Invocation");const{constructor:n}=this,r=t.get(n);if(!r)throw new TypeError("Invalid Construction");const o=document.createElement(r);return p(o,n.prototype),o},oo.prototype=HTMLElement.prototype}let io=!1;function so(e){io=e}const lo=Q.$isNativeShadowRootDefined$,co=u.call(Element.prototype,"$shadowToken$");const ao={ssr:!1,isNativeShadowDefined:lo,isSyntheticShadowDefined:co,HTMLElementExported:oo,isHydrating:function(){return io},insert:function(e,t,n){t.insertBefore(e,n)},remove:function(e,t){t.removeChild(e)},cloneNode:function(e,t){return e.cloneNode(t)},createFragment:function(e){return document.createRange().createContextualFragment(e).firstChild},createElement:function(e,t){return H(t)?document.createElement(e):document.createElementNS(t,e)},createText:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},nextSibling:function(e){return e.nextSibling},attachShadow:function(e,t){return io?e.shadowRoot:e.attachShadow(t)},getProperty:function(e,t){return e[t]},setProperty:function(e,t,n){e[t]=n},setText:function(e,t){e.nodeValue=t},getAttribute:function(e,t,n){return H(n)?e.getAttribute(t):e.getAttributeNS(n,t)},setAttribute:function(e,t,n,r){return H(r)?e.setAttribute(t,n):e.setAttributeNS(r,t,n)},removeAttribute:function(e,t,n){H(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)},addEventListener:function(e,t,n,r){e.addEventListener(t,n,r)},removeEventListener:function(e,t,n,r){e.removeEventListener(t,n,r)},dispatchEvent:function(e,t){return e.dispatchEvent(t)},getClassList:function(e){return e.classList},setCSSStyleProperty:function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},getBoundingClientRect:function(e){return e.getBoundingClientRect()},querySelector:function(e,t){return e.querySelector(t)},querySelectorAll:function(e,t){return e.querySelectorAll(t)},getElementsByTagName:function(e,t){return e.getElementsByTagName(t)},getElementsByClassName:function(e,t){return e.getElementsByClassName(t)},getChildren:function(e){return e.children},getChildNodes:function(e){return e.childNodes},getFirstChild:function(e){return e.firstChild},getFirstElementChild:function(e){return e.firstElementChild},getLastChild:function(e){return e.lastChild},getLastElementChild:function(e){return e.lastElementChild},isConnected:function(e){return e.isConnected},insertStylesheet:function(e,t){H(t)?function(e){const t=eo(e,!1);t.global||(t.global=!0,Zr(e,document.head,t))}(e):to(e,t)},assertInstanceOfHTMLElement:function(e,n){t.invariant(e instanceof HTMLElement,n)},defineCustomElement:ro,getCustomElement:no};function uo(e,t,n){const r=yr(e,t,ao,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0});for(const[t,r]of Object.entries(n))e[t]=r;return r}function fo(e,t,n={}){if(!(e instanceof Element))throw new TypeError(`"hydrateComponent" expects a valid DOM element as the first parameter but instead received ${e}.`);if(!B(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!V(n)||I(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);if(Cr(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{so(!0);!function(e){Ir=!1,Tr(e),Wr(e),Ir&&Ne("Hydration completed with errors.",e)}(uo(e,t,n)),so(!1)}catch(r){console.error("Recovering from error while hydrating: ",r),function(e,t){if(e.shadowRoot){const t=e.shadowRoot;for(;!I(t.firstChild);)t.removeChild(t.firstChild)}if("light"===t.renderMode)for(;!I(e.firstChild);)e.removeChild(e.firstChild)}(e,t),uo(e,t,n),so(!1),mr(e)}finally{so(!1)}}const ho=new WeakSet;function po(e){const t=function(e){return Ut(e).bridge}(e);return class extends t{constructor(){super(),this.isConnected?(fo(this,e,{}),ho.add(this)):yr(this,e,ao,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){ho.has(this)?ho.delete(this):mr(this)}disconnectedCallback(){gr(this)}}}const mo=Node,go=new WeakMap,wo=new WeakMap;function yo(e,t){const n=t.get(e);return H(n)||n(e),e}const{appendChild:bo,insertBefore:vo,removeChild:Co,replaceChild:Eo}=mo.prototype;n(mo.prototype,{appendChild(e){return yo(bo.call(this,e),go)},insertBefore(e,t){return yo(vo.call(this,e,t),go)},removeChild(e){return yo(Co.call(this,e),wo)},replaceChild(e,t){const n=Eo.call(this,e,t);return yo(n,wo),yo(e,go),n}});const Mo=Node;const ko=new Map;i(Ct,"CustomElementConstructor",{get(){return function(e){if(e===Ct)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=ko.get(e);return H(t)&&(t=po(e),ko.set(e,t)),t}(this)}}),s(Ct),h(Ct.prototype),e.LightningElement=Ct,e.__unstable__ProfilerControl=Fn,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=Dr(e);if(!H(t))throw new Error("Adapter already has a context provider.");t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),function(e,t){Rr.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:i}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{H(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!V(t)||I(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${U(t)}".`);const n=t.is;if(!B(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const r=Xt(e,ao);let o=!1;const i=new r((r=>{yr(r,n,ao,{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null}),go.set(r,mr),wo.set(r,gr),o=!0}));return o||console.error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`),i},e.freezeTemplate=function(e){},e.getComponentConstructor=function(e){let t=null;if(!H(e)){const n=Cr(e);H(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=Ut(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,l={};for(const e in o)l[e]={config:i[e]||0,type:"any",attr:ne(e)};const c={};for(const e in s)c[e]=s[e].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=fo,e.isComponentConstructor=zt,e.isNodeFromTemplate=function(e){if(j(e instanceof Mo))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&j(u.call(a(t),"synthetic")))||co&&!H(e.$shadowResolver$)},e.parseFragment=Un,e.parseSVGFragment=qn,e.readonly=function(e){return bt.getReadOnlyProxy(e)},e.register=function(e){for(let t=0;t<lr.length;++t){const n=lr[t];if(n in e){let t=sr[n];H(t)&&(sr[n]=t=[]),k.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return B(e)&&er.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:o,publicMethods:s,wire:c,track:a,fields:u}=t,d=r(null),f=r(null),h=r(null),p=r(null),m=r(null),g=r(null);let w;if(!H(o))for(const e in o){const t=o[e];if(g[e]=t.config,w=l(n,e),t.config>0){if(H(w))throw new Error;w=Nt(e,w)}else w=H(w)||H(w.get)?xt(e):Nt(e,w);f[e]=w,i(n,e,w)}if(H(s)||L.call(s,(e=>{if(w=l(n,e),H(w))throw new Error;d[e]=w})),!H(c))for(const e in c){const{adapter:t,method:r,config:o,dynamic:s=[]}=c[e];if(w=l(n,e),1===r){if(H(w))throw new Error;h[e]=w,Fr(w,t,o,s)}else w=Pt(e),p[e]=w,Hr(w,t,o,s),i(n,e,w)}if(!H(a))for(const e in a)w=l(n,e),w=Ot(e),i(n,e,w);if(!H(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(n,t);const r=!H(o)&&t in o,i=!H(a)&&t in a;r||i||(m[t]=Tt(t))}return function(e,t){Lt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return _t.add(e),i(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return H(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=H(e)?void 0:e.shadowAttribute}}),e},e.renderer=ao,e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(H(ae[e])){const n=f(ae).map((e=>`"${e}"`)).join(", ");console.warn(`Failed to set the value "${t}" for the runtime feature flag "${e}" because it is undefined. Available flags: ${n}.`)}else{const n=ue[e];if(!H(n))return void console.error(`Failed to set the value "${t}" for the runtime feature flag "${e}". "${e}" has already been set with the value "${n}".`);i(ue,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){var n;t.isFalse(Ur,"Hooks are already overridden, only one definition is allowed."),Ur=!0,n=e.sanitizeHtmlContent,xn=n},e.swapComponent=function(e,t){if(!ue.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapStyle=function(e,t){if(!ue.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapTemplate=function(e,t){if(!ue.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.track=function(e){if(1===arguments.length)return bt.getProxy(e);throw new Error},e.unwrap=function(e){return bt.unwrapProxy(e)},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
@@ -237,6 +237,9 @@
|
|
|
237
237
|
const KEY__SHADOW_TOKEN = '$shadowToken$';
|
|
238
238
|
const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
239
239
|
const KEY__SCOPED_CSS = '$scoped$';
|
|
240
|
+
const XML_NAMESPACE = 'http://www.w3.org/XML/1998/namespace';
|
|
241
|
+
const SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
|
|
242
|
+
const XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';
|
|
240
243
|
/**
|
|
241
244
|
* Map composed of properties to attributes not following the HTML property to attribute mapping
|
|
242
245
|
* convention.
|
|
@@ -291,10 +294,7 @@
|
|
|
291
294
|
CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);
|
|
292
295
|
return attributeName;
|
|
293
296
|
}
|
|
294
|
-
|
|
295
|
-
const SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
|
|
296
|
-
const XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';
|
|
297
|
-
/** version: 2.19.0 */
|
|
297
|
+
/** version: 2.20.1 */
|
|
298
298
|
|
|
299
299
|
/*
|
|
300
300
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -5213,7 +5213,7 @@
|
|
|
5213
5213
|
}
|
|
5214
5214
|
return ctor;
|
|
5215
5215
|
}
|
|
5216
|
-
/* version: 2.
|
|
5216
|
+
/* version: 2.20.1 */
|
|
5217
5217
|
|
|
5218
5218
|
/*
|
|
5219
5219
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -5237,9 +5237,6 @@
|
|
|
5237
5237
|
// Detect IE, via https://stackoverflow.com/a/9851769
|
|
5238
5238
|
const isIE11 = !isUndefined$1(document.documentMode);
|
|
5239
5239
|
const stylesheetCache = new Map();
|
|
5240
|
-
function isDocument(target) {
|
|
5241
|
-
return !isUndefined$1(target.head);
|
|
5242
|
-
}
|
|
5243
5240
|
function createFreshStyleElement(content) {
|
|
5244
5241
|
const elm = document.createElement('style');
|
|
5245
5242
|
elm.type = 'text/css';
|
|
@@ -5247,10 +5244,10 @@
|
|
|
5247
5244
|
return elm;
|
|
5248
5245
|
}
|
|
5249
5246
|
function createStyleElement(content, cacheData) {
|
|
5250
|
-
const {
|
|
5247
|
+
const { element, usedElement } = cacheData;
|
|
5251
5248
|
// If the <style> was already used, then we should clone it. We cannot insert
|
|
5252
5249
|
// the same <style> in two places in the DOM.
|
|
5253
|
-
if (
|
|
5250
|
+
if (usedElement) {
|
|
5254
5251
|
// For a mysterious reason, IE11 doesn't like the way we clone <style> nodes
|
|
5255
5252
|
// and will render the incorrect styles if we do things that way. It's just
|
|
5256
5253
|
// a perf optimization, so we can skip it for IE11.
|
|
@@ -5259,11 +5256,11 @@
|
|
|
5259
5256
|
}
|
|
5260
5257
|
// This `<style>` may be repeated multiple times in the DOM, so cache it. It's a bit
|
|
5261
5258
|
// faster to call `cloneNode()` on an existing node than to recreate it every time.
|
|
5262
|
-
return
|
|
5259
|
+
return element.cloneNode(true);
|
|
5263
5260
|
}
|
|
5264
5261
|
// We don't clone every time, because that would be a perf tax on the first time
|
|
5265
|
-
cacheData.
|
|
5266
|
-
return
|
|
5262
|
+
cacheData.usedElement = true;
|
|
5263
|
+
return element;
|
|
5267
5264
|
}
|
|
5268
5265
|
function createConstructableStylesheet(content) {
|
|
5269
5266
|
const stylesheet = new CSSStyleSheet();
|
|
@@ -5284,47 +5281,42 @@
|
|
|
5284
5281
|
}
|
|
5285
5282
|
function insertStyleElement(content, target, cacheData) {
|
|
5286
5283
|
const elm = createStyleElement(content, cacheData);
|
|
5287
|
-
|
|
5288
|
-
targetAnchorPoint.appendChild(elm);
|
|
5289
|
-
}
|
|
5290
|
-
function doInsertStylesheet(content, target, cacheData) {
|
|
5291
|
-
// Constructable stylesheets are only supported in certain browsers:
|
|
5292
|
-
// https://caniuse.com/mdn-api_document_adoptedstylesheets
|
|
5293
|
-
// The reason we use it is for perf: https://github.com/salesforce/lwc/pull/2460
|
|
5294
|
-
if (supportsConstructableStylesheets) {
|
|
5295
|
-
insertConstructableStylesheet(content, target, cacheData);
|
|
5296
|
-
}
|
|
5297
|
-
else {
|
|
5298
|
-
// Fall back to <style> element
|
|
5299
|
-
insertStyleElement(content, target, cacheData);
|
|
5300
|
-
}
|
|
5284
|
+
target.appendChild(elm);
|
|
5301
5285
|
}
|
|
5302
|
-
function getCacheData(content) {
|
|
5286
|
+
function getCacheData(content, useConstructableStylesheet) {
|
|
5303
5287
|
let cacheData = stylesheetCache.get(content);
|
|
5304
5288
|
if (isUndefined$1(cacheData)) {
|
|
5305
5289
|
cacheData = {
|
|
5306
|
-
stylesheet:
|
|
5307
|
-
|
|
5308
|
-
: createFreshStyleElement(content),
|
|
5290
|
+
stylesheet: undefined,
|
|
5291
|
+
element: undefined,
|
|
5309
5292
|
roots: undefined,
|
|
5310
5293
|
global: false,
|
|
5311
|
-
|
|
5294
|
+
usedElement: false,
|
|
5312
5295
|
};
|
|
5313
5296
|
stylesheetCache.set(content, cacheData);
|
|
5314
5297
|
}
|
|
5298
|
+
// Create <style> elements or CSSStyleSheets on-demand, as needed
|
|
5299
|
+
if (useConstructableStylesheet && isUndefined$1(cacheData.stylesheet)) {
|
|
5300
|
+
cacheData.stylesheet = createConstructableStylesheet(content);
|
|
5301
|
+
}
|
|
5302
|
+
else if (!useConstructableStylesheet && isUndefined$1(cacheData.element)) {
|
|
5303
|
+
cacheData.element = createFreshStyleElement(content);
|
|
5304
|
+
}
|
|
5315
5305
|
return cacheData;
|
|
5316
5306
|
}
|
|
5317
5307
|
function insertGlobalStylesheet(content) {
|
|
5318
|
-
|
|
5308
|
+
// Force a <style> element for global stylesheets. See comment below.
|
|
5309
|
+
const cacheData = getCacheData(content, false);
|
|
5319
5310
|
if (cacheData.global) {
|
|
5320
5311
|
// already inserted
|
|
5321
5312
|
return;
|
|
5322
5313
|
}
|
|
5323
5314
|
cacheData.global = true; // mark inserted
|
|
5324
|
-
|
|
5315
|
+
// TODO [#2922]: use document.adoptedStyleSheets in supported browsers. Currently we can't, due to backwards compat.
|
|
5316
|
+
insertStyleElement(content, document.head, cacheData);
|
|
5325
5317
|
}
|
|
5326
5318
|
function insertLocalStylesheet(content, target) {
|
|
5327
|
-
const cacheData = getCacheData(content);
|
|
5319
|
+
const cacheData = getCacheData(content, supportsConstructableStylesheets);
|
|
5328
5320
|
let { roots } = cacheData;
|
|
5329
5321
|
if (isUndefined$1(roots)) {
|
|
5330
5322
|
roots = cacheData.roots = new WeakSet(); // lazily initialize (not needed for global styles)
|
|
@@ -5334,7 +5326,16 @@
|
|
|
5334
5326
|
return;
|
|
5335
5327
|
}
|
|
5336
5328
|
roots.add(target); // mark inserted
|
|
5337
|
-
|
|
5329
|
+
// Constructable stylesheets are only supported in certain browsers:
|
|
5330
|
+
// https://caniuse.com/mdn-api_document_adoptedstylesheets
|
|
5331
|
+
// The reason we use it is for perf: https://github.com/salesforce/lwc/pull/2460
|
|
5332
|
+
if (supportsConstructableStylesheets) {
|
|
5333
|
+
insertConstructableStylesheet(content, target, cacheData);
|
|
5334
|
+
}
|
|
5335
|
+
else {
|
|
5336
|
+
// Fall back to <style> element
|
|
5337
|
+
insertStyleElement(content, target, cacheData);
|
|
5338
|
+
}
|
|
5338
5339
|
}
|
|
5339
5340
|
function insertStylesheet(content, target) {
|
|
5340
5341
|
if (isUndefined$1(target)) {
|
|
@@ -5869,7 +5870,7 @@
|
|
|
5869
5870
|
});
|
|
5870
5871
|
freeze(LightningElement);
|
|
5871
5872
|
seal(LightningElement.prototype);
|
|
5872
|
-
/* version: 2.
|
|
5873
|
+
/* version: 2.20.1 */
|
|
5873
5874
|
|
|
5874
5875
|
exports.LightningElement = LightningElement;
|
|
5875
5876
|
exports.__unstable__ProfilerControl = profilerControl;
|