lwc 2.11.3 → 2.11.6

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.
Files changed (35) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +35 -5
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +35 -5
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +34 -4
  5. package/dist/engine-dom/iife/es5/engine-dom.js +39 -6
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +38 -5
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +35 -5
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +34 -4
  11. package/dist/engine-dom/umd/es5/engine-dom.js +39 -6
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +38 -5
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +35 -5
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
  16. package/dist/engine-server/esm/es2017/engine-server.js +35 -5
  17. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +3 -3
  18. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +3 -3
  19. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +3 -3
  20. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +3 -3
  21. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
  22. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +3 -3
  23. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +3 -3
  24. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3 -3
  25. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3 -3
  26. package/dist/wire-service/esm/es2017/wire-service.js +2 -2
  27. package/dist/wire-service/iife/es2017/wire-service.js +2 -2
  28. package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
  29. package/dist/wire-service/iife/es5/wire-service.js +2 -2
  30. package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
  31. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  32. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  33. package/dist/wire-service/umd/es5/wire-service.js +2 -2
  34. package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
  35. package/package.json +7 -7
@@ -298,9 +298,9 @@ const XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';
298
298
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
299
299
  */
300
300
  // Increment whenever the LWC template compiler changes
301
- const LWC_VERSION = "2.11.3";
301
+ const LWC_VERSION = "2.11.6";
302
302
  const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
303
- /** version: 2.11.3 */
303
+ /** version: 2.11.6 */
304
304
 
305
305
  /*
306
306
  * Copyright (c) 2018, salesforce.com, inc.
@@ -453,7 +453,7 @@ function setFeatureFlagForTest(name, value) {
453
453
  setFeatureFlag(name, value);
454
454
  }
455
455
  }
456
- /** version: 2.11.3 */
456
+ /** version: 2.11.6 */
457
457
 
458
458
  /* proxy-compat-disable */
459
459
 
@@ -2758,6 +2758,12 @@ function checkVersionMismatch(func, type) {
2758
2758
  }
2759
2759
  }
2760
2760
 
2761
+ /*
2762
+ * Copyright (c) 2018, salesforce.com, inc.
2763
+ * All rights reserved.
2764
+ * SPDX-License-Identifier: MIT
2765
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
2766
+ */
2761
2767
  const signedTemplateSet = new Set();
2762
2768
  function defaultEmptyTemplate() {
2763
2769
  return [];
@@ -2775,6 +2781,30 @@ function registerTemplate(tpl) {
2775
2781
  checkVersionMismatch(tpl, 'template');
2776
2782
  }
2777
2783
  signedTemplateSet.add(tpl);
2784
+ // FIXME[@W-10950976]: the template object should be frozen, and it should not be possible to set
2785
+ // the stylesheets or stylesheetToken(s). For backwards compat, though, we shim stylesheetTokens
2786
+ // on top of stylesheetToken for anyone who is accessing the old internal API.
2787
+ // Details: https://salesforce.quip.com/v1rmAFu2cKAr
2788
+ defineProperty(tpl, 'stylesheetTokens', {
2789
+ get() {
2790
+ const { stylesheetToken } = this;
2791
+ if (isUndefined$1(stylesheetToken)) {
2792
+ return stylesheetToken;
2793
+ }
2794
+ // Shim for the old `stylesheetTokens` property
2795
+ // See https://github.com/salesforce/lwc/pull/2332/files#diff-7901555acef29969adaa6583185b3e9bce475cdc6f23e799a54e0018cb18abaa
2796
+ return {
2797
+ hostAttribute: `${stylesheetToken}-host`,
2798
+ shadowAttribute: stylesheetToken,
2799
+ };
2800
+ },
2801
+ set(value) {
2802
+ // If the value is null or some other exotic object, you would be broken anyway in the past
2803
+ // because the engine would try to access hostAttribute/shadowAttribute, which would throw an error.
2804
+ // However it may be undefined in newer versions of LWC, so we need to guard against that case.
2805
+ this.stylesheetToken = isUndefined$1(value) ? undefined : value.shadowAttribute;
2806
+ },
2807
+ });
2778
2808
  // chaining this method as a way to wrap existing
2779
2809
  // assignment of templates easily, without too much transformation
2780
2810
  return tpl;
@@ -6568,7 +6598,7 @@ function setHooks(hooks) {
6568
6598
  hooksAreSet = true;
6569
6599
  setSanitizeHtmlContentHook(hooks.sanitizeHtmlContent);
6570
6600
  }
6571
- /* version: 2.11.3 */
6601
+ /* version: 2.11.6 */
6572
6602
 
6573
6603
  /*
6574
6604
  * Copyright (c) 2018, salesforce.com, inc.
@@ -7208,6 +7238,6 @@ defineProperty(LightningElement, 'CustomElementConstructor', {
7208
7238
  });
7209
7239
  freeze(LightningElement);
7210
7240
  seal(LightningElement.prototype);
7211
- /* version: 2.11.3 */
7241
+ /* version: 2.11.6 */
7212
7242
 
7213
7243
  export { LightningElement, profilerControl as __unstable__ProfilerControl, api$1 as api, deprecatedBuildCustomElementConstructor as buildCustomElementConstructor, createContextProvider, createElement, getComponentConstructor, getComponentDef, hydrateComponent, isComponentConstructor, isNodeShadowed as isNodeFromTemplate, readonly, register, registerComponent, registerDecorators, registerTemplate, sanitizeAttribute, setFeatureFlag, setFeatureFlagForTest, setHooks, swapComponent, swapStyle, swapTemplate, track, unwrap, wire };
@@ -301,9 +301,9 @@ var LWC = (function (exports) {
301
301
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
302
302
  */
303
303
  // Increment whenever the LWC template compiler changes
304
- const LWC_VERSION = "2.11.3";
304
+ const LWC_VERSION = "2.11.6";
305
305
  const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
306
- /** version: 2.11.3 */
306
+ /** version: 2.11.6 */
307
307
 
308
308
  /*
309
309
  * Copyright (c) 2018, salesforce.com, inc.
@@ -456,7 +456,7 @@ var LWC = (function (exports) {
456
456
  setFeatureFlag(name, value);
457
457
  }
458
458
  }
459
- /** version: 2.11.3 */
459
+ /** version: 2.11.6 */
460
460
 
461
461
  /* proxy-compat-disable */
462
462
 
@@ -2761,6 +2761,12 @@ var LWC = (function (exports) {
2761
2761
  }
2762
2762
  }
2763
2763
 
2764
+ /*
2765
+ * Copyright (c) 2018, salesforce.com, inc.
2766
+ * All rights reserved.
2767
+ * SPDX-License-Identifier: MIT
2768
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
2769
+ */
2764
2770
  const signedTemplateSet = new Set();
2765
2771
  function defaultEmptyTemplate() {
2766
2772
  return [];
@@ -2778,6 +2784,30 @@ var LWC = (function (exports) {
2778
2784
  checkVersionMismatch(tpl, 'template');
2779
2785
  }
2780
2786
  signedTemplateSet.add(tpl);
2787
+ // FIXME[@W-10950976]: the template object should be frozen, and it should not be possible to set
2788
+ // the stylesheets or stylesheetToken(s). For backwards compat, though, we shim stylesheetTokens
2789
+ // on top of stylesheetToken for anyone who is accessing the old internal API.
2790
+ // Details: https://salesforce.quip.com/v1rmAFu2cKAr
2791
+ defineProperty(tpl, 'stylesheetTokens', {
2792
+ get() {
2793
+ const { stylesheetToken } = this;
2794
+ if (isUndefined$1(stylesheetToken)) {
2795
+ return stylesheetToken;
2796
+ }
2797
+ // Shim for the old `stylesheetTokens` property
2798
+ // See https://github.com/salesforce/lwc/pull/2332/files#diff-7901555acef29969adaa6583185b3e9bce475cdc6f23e799a54e0018cb18abaa
2799
+ return {
2800
+ hostAttribute: `${stylesheetToken}-host`,
2801
+ shadowAttribute: stylesheetToken,
2802
+ };
2803
+ },
2804
+ set(value) {
2805
+ // If the value is null or some other exotic object, you would be broken anyway in the past
2806
+ // because the engine would try to access hostAttribute/shadowAttribute, which would throw an error.
2807
+ // However it may be undefined in newer versions of LWC, so we need to guard against that case.
2808
+ this.stylesheetToken = isUndefined$1(value) ? undefined : value.shadowAttribute;
2809
+ },
2810
+ });
2781
2811
  // chaining this method as a way to wrap existing
2782
2812
  // assignment of templates easily, without too much transformation
2783
2813
  return tpl;
@@ -6571,7 +6601,7 @@ var LWC = (function (exports) {
6571
6601
  hooksAreSet = true;
6572
6602
  setSanitizeHtmlContentHook(hooks.sanitizeHtmlContent);
6573
6603
  }
6574
- /* version: 2.11.3 */
6604
+ /* version: 2.11.6 */
6575
6605
 
6576
6606
  /*
6577
6607
  * Copyright (c) 2018, salesforce.com, inc.
@@ -7211,7 +7241,7 @@ var LWC = (function (exports) {
7211
7241
  });
7212
7242
  freeze(LightningElement);
7213
7243
  seal(LightningElement.prototype);
7214
- /* version: 2.11.3 */
7244
+ /* version: 2.11.6 */
7215
7245
 
7216
7246
  exports.LightningElement = LightningElement;
7217
7247
  exports.__unstable__ProfilerControl = profilerControl;
@@ -1 +1 @@
1
- var LWC=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:l,getOwnPropertyDescriptor:s,getOwnPropertyNames:c,getPrototypeOf:a,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{filter:g,find:w,indexOf:y,join:b,map:v,push:C,reduce:E,reverse:M,slice:k,splice:S,unshift:T,forEach:x}=Array.prototype,{fromCharCode:O}=String,{charCodeAt:N,replace:A,slice:P,toLowerCase:$}=String.prototype;function _(e){return void 0===e}function R(e){return null===e}function L(e){return!0===e}function D(e){return!1===e}function H(e){return"function"==typeof e}function I(e){return"object"==typeof e}function F(e){return"string"==typeof e}function W(){}const j={}.toString;function B(e){return e&&e.toString?m(e)?b.call(v.call(e,B),","):e.toString():"object"==typeof e?j.call(e):e+""}function V(e,t){do{const n=s(e,t);if(!_(n))return n;e=a(e)}while(null!==e)}const K=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],{AriaAttrNameToPropNameMap:G,AriaPropNameToAttrNameMap:z}=(()=>{const e=r(null),t=r(null);return x.call(K,(n=>{const r=$.call(A.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),U=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),q=new Map([["accessKey","accesskey"],["readOnly","readonly"],["tabIndex","tabindex"],["bgColor","bgcolor"],["colSpan","colspan"],["rowSpan","rowspan"],["contentEditable","contenteditable"],["crossOrigin","crossorigin"],["dateTime","datetime"],["formAction","formaction"],["isMap","ismap"],["maxLength","maxlength"],["minLength","minlength"],["noValidate","novalidate"],["useMap","usemap"],["htmlFor","for"]]),X=new Map;function Y(e){const t=z[e];if(!_(t))return t;const n=q.get(e);if(!_(n))return n;const r=X.get(e);if(!_(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=N.call(e,t);o+=n>=65&&n<=90?"-"+O(n+32):O(n)}return X.set(e,o),o}const J="http://www.w3.org/2000/svg";function Q(e){return void 0===Object.getOwnPropertyDescriptor(Element.prototype,e)}const Z=new WeakMap;function ee(e){let t=Z.get(e);return void 0===t&&(t={},Z.set(e,t)),t}function te(e,t){return{get(){const n=ee(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;ee(this)[e]=r,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function ne(e){const t=te(e,z[e]);Object.defineProperty(Element.prototype,e,t)}const re=f(z);for(let e=0,t=re.length;e<t;e+=1){const t=re[e];Q(t)&&ne(t)}const oe={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};U.lwcRuntimeFlags||Object.defineProperty(U,"lwcRuntimeFlags",{value:r(null)});const ie=U.lwcRuntimeFlags;let le=[];const se=h(r(null)),ce=h([]);function ae(){const e=le;le=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function ue(e){0===le.length&&Promise.resolve().then(ae),C.call(le,e)}const de=/;(?![^(]*\))/g,fe=/:(.+)/;function he(e,t){const n={};for(const r of Object.keys(e))r!==t&&(n[r]=e[r]);return n}let pe,me,ge,we,ye,be,ve,Ce,Ee,Me,ke,Se,Te,xe,Oe,Ne,Ae,Pe,$e,_e,Re,Le,De,He,Ie,Fe,We,je,Be,Ve,Ke,Ge,ze,Ue,qe,Xe,Ye,Je,Qe;const Ze=new WeakMap;let et=null;function tt(e,t){const n=Ze.get(e);if(!_(n)){const e=n[t];if(!_(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function nt(e,t){if(null===et)return;const n=et,o=function(e){let t=Ze.get(e);if(_(t)){const n=r(null);t=n,Ze.set(e,n)}return t}(e);let i=o[t];if(_(i))i=[],o[t]=i;else if(i[0]===n)return;-1===y.call(i,n)&&n.link(i)}class rt{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=et;let n;et=this;try{e()}catch(e){n=Object(e)}finally{if(et=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=y.call(e[n],this);S.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){C.call(e,this),C.call(this.listeners,e)}}function ot(e,t){tt(e.component,t)}function it(e,t){nt(e.component,t)}function lt(e){return`<${$.call(e.tagName)}>`}function st(e,t){if(!d(t)&&_(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!R(n);)C.call(t,lt(n)),n=n.owner;return t.reverse().join("\n\t")}(e);i(t,"wcStack",{get:()=>n})}}function ct(e,t,n){let r=`[LWC ${e}]: ${t}`;_(n)||(r=`${r}\n${function(e){const t=[];let n="";for(;!R(e.owner);)C.call(t,n+lt(e)),e=e.owner,n+="\t";return b.call(t,"\n")}(n)}`);try{throw new Error(r)}catch(t){console[e](t)}}const at="undefined"!=typeof HTMLElement?HTMLElement:function(){},ut=at.prototype;function dt(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:dt("offsetHeight")},offsetLeft:{readOnly:!0,error:dt("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:dt("offsetTop")},offsetWidth:{readOnly:!0,error:dt("offsetWidth")},role:{attribute:"role"}});let ft,ht=null;function pt(e,t){return e!==ht||t!==ft}function mt(e,t){ht=null,ft=void 0}function gt(e,t){ht=e,ft=t}const wt=r(null);x.call(f(z),(e=>{const t=V(ut,e);_(t)||(wt[e]=t)})),x.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=V(ut,e);_(t)||(wt[e]=t)}));const{isArray:yt}=Array,{prototype:bt,getPrototypeOf:vt,create:Ct,defineProperty:Et,isExtensible:Mt,getOwnPropertyDescriptor:kt,getOwnPropertyNames:St,getOwnPropertySymbols:Tt,preventExtensions:xt,hasOwnProperty:Ot}=Object,{push:Nt,concat:At}=Array.prototype;function Pt(e){return void 0===e}function $t(e){return"function"==typeof e}const _t=new WeakMap;function Rt(e,t){_t.set(e,t)}const Lt=e=>_t.get(e)||e;class Dt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(Ot.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;Pt(n)||(e.get=this.wrapGetter(n)),Pt(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=kt(n,t);if(!Pt(r)){const n=this.wrapDescriptor(r);Et(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;At.call(St(t),Tt(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;Pt(n)||Ot.call(e,n)||Et(e,n,Ct(null)),xt(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=Pt(n)||Ot.call(t,n)?[]:[n];return Nt.apply(r,St(t)),Nt.apply(r,Tt(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!Mt(e)&&(!!Mt(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return vt(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=kt(n,t);if(Pt(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},Et(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const Ht=new WeakMap,It=new WeakMap,Ft=new WeakMap,Wt=new WeakMap;class jt extends Dt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Ht.get(e);if(!Pt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Lt(this)))};return Ht.set(e,r),Ft.set(r,e),r}wrapSetter(e){const t=It.get(e);if(!Pt(t))return t;const n=function(t){e.call(Lt(this),Lt(t))};return It.set(e,n),Wt.set(n,e),n}unwrapDescriptor(e){if(Ot.call(e,"value"))e.value=Lt(e.value);else{const{set:t,get:n}=e;Pt(n)||(e.get=this.unwrapGetter(n)),Pt(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=Ft.get(e);if(!Pt(t))return t;const n=this,r=function(){return Lt(e.call(n.wrapValue(this)))};return Ht.set(r,e),Ft.set(e,r),r}unwrapSetter(e){const t=Wt.get(e);if(!Pt(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return It.set(r,e),Wt.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&&yt(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(Mt(e)){const{originalTarget:t}=this;if(xt(t),Mt(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!Ot.call(r,t)||(Et(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const Bt=new WeakMap,Vt=new WeakMap;class Kt extends Dt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=Bt.get(e);if(!Pt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Lt(this)))};return Bt.set(e,r),r}wrapSetter(e){const t=Vt.get(e);if(!Pt(t))return t;const n=function(e){};return Vt.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 Gt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(yt(e))return!0;const t=vt(e);return t===bt||null===t||null===vt(t)}const zt=(e,t)=>{},Ut=(e,t)=>{};function qt(e){return yt(e)?[]:{}}const Xt=Symbol.for("@@lockerLiveValue"),Yt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=$t(t)?t:Ut,this.valueObserved=$t(n)?n:zt,this.valueIsObservable=$t(r)?r:Gt,this.tagPropertyKey=o}getProxy(e){const t=Lt(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=Lt(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return Lt(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(Pt(t)){const n=new jt(this,e);t=new Proxy(qt(e),n),Rt(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(Pt(t)){const n=new Kt(this,e);t=new Proxy(qt(e),n),Rt(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:nt,valueMutated:tt,tagPropertyKey:Xt});function Jt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!H(n))throw new TypeError;if(!H(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const t=Qr(this);if(!Nr(t))return it(t,e),n.call(t.elm)},set(t){const n=Qr(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,ot(n,e)),r.call(n.elm,t)}}}const Qt=function(){if(R(Or))throw new ReferenceError("Illegal constructor");const e=Or,{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[Xt]=void 0,Jr(o,e),Jr(n,e),1===e.renderMode?e.renderRoot=Zt(e):e.renderRoot=n,this};function Zt(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o}}=e,i=Se(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=i,Jr(i,e),i}Qt.prototype={constructor:Qt,dispatchEvent(e){const{elm:t}=Qr(this);return Re(t,e)},addEventListener(e,t,n){const r=Qr(this),{elm:o}=r,i=Hr(r,t);$e(o,e,i,n)},removeEventListener(e,t,n){const r=Qr(this),{elm:o}=r,i=Hr(r,t);_e(o,e,i,n)},hasAttribute(e){const{elm:t}=Qr(this);return!R(Ne(t,e))},hasAttributeNS(e,t){const{elm:n}=Qr(this);return!R(Ne(n,t,e))},removeAttribute(e){const{elm:t}=Qr(this);gt(t,e),Pe(t,e),mt()},removeAttributeNS(e,t){const{elm:n}=Qr(this);gt(n,t),Pe(n,t,e),mt()},getAttribute(e){const{elm:t}=Qr(this);return Ne(t,e)},getAttributeNS(e,t){const{elm:n}=Qr(this);return Ne(n,t,e)},setAttribute(e,t){const n=Qr(this),{elm:r}=n;gt(r,e),Ae(r,e,t),mt()},setAttributeNS(e,t,n){const r=Qr(this),{elm:o}=r;gt(o,t),Ae(o,t,n,e),mt()},getBoundingClientRect(){const e=Qr(this),{elm:t}=e;return He(t)},get isConnected(){const{elm:e}=Qr(this);return qe(e)},get classList(){const e=Qr(this),{elm:t}=e;return Le(t)},get template(){return Qr(this).shadowRoot},get shadowRoot(){return null},render(){return Qr(this).def.template},toString(){return`[object ${Qr(this).def.name}]`}};const en=r(null),tn=["children","childNodes","firstChild","firstElementChild","lastChild","lastElementChild"];function nn(e){switch(e){case"children":return Be;case"childNodes":return Ve;case"firstChild":return Ke;case"firstElementChild":return Ge;case"lastChild":return ze;case"lastElementChild":return Ue}}for(const e of tn)en[e]={get(){const t=Qr(this),{elm:n}=t;return nn(e)(n)},configurable:!0,enumerable:!0};const rn=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];function on(e){switch(e){case"getElementsByClassName":return je;case"getElementsByTagName":return We;case"querySelector":return Ie;case"querySelectorAll":return Fe}}for(const e of rn)en[e]={value(t){const n=Qr(this),{elm:r}=n;return on(e)(r,t)},configurable:!0,enumerable:!0,writable:!0};o(Qt.prototype,en);const ln=r(null);for(const e in wt)ln[e]=Jt(e,wt[e]);function sn(e){return{get(){const t=Qr(this);return it(t,e),t.cmpFields[e]},set(t){const n=Qr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,ot(n,e))},enumerable:!0,configurable:!0}}function cn(e){return{get(){const t=Qr(this);return it(t,e),t.cmpFields[e]},set(t){const n=Qr(this),r=Yt.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,ot(n,e))},enumerable:!0,configurable:!0}}function an(e){return{get(){const t=Qr(this);if(!Nr(t))return it(t,e),t.cmpProps[e]},set(t){const n=Qr(this);n.cmpProps[e]=t,ot(n,e)},enumerable:!0,configurable:!0}}o(Qt.prototype,ln),i(Qt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class un extends rt{constructor(e,t){super((()=>{D(this.debouncing)&&(this.debouncing=!0,ue((()=>{if(L(this.debouncing)){const{value:n}=this,{isDirty:r,component:o,idx:i}=e;t.call(o,n),this.debouncing=!1,L(e.isDirty)&&D(r)&&i>0&&zr(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function dn(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!H(n))throw new Error;return{get(){return n.call(this)},set(t){const n=Qr(this);if(r)if(ie.ENABLE_REACTIVE_SETTER){let o=n.oar[e];_(o)&&(o=n.oar[e]=new un(n,r)),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function fn(e){return{get(){const t=Qr(this);return it(t,e),t.cmpFields[e]},set(t){const n=Qr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,ot(n,e))},enumerable:!0,configurable:!0}}const hn=new Map;const pn={apiMethods:se,apiFields:se,apiFieldsConfig:se,wiredMethods:se,wiredFields:se,observedFields:se};const mn=new Set;function gn(){return[]}mn.add(gn);const wn=r(null),yn=r(null);function bn(e){let t=wn[e];return _(t)&&(t=wn[e]=function(){const t=Qr(this),{getHook:n}=t;return n(t.component,e)}),t}function vn(e){let t=yn[e];return _(t)&&(t=yn[e]=function(t){const n=Qr(this),{setHook:r}=n;t=Yt.getReadOnlyProxy(t),r(n.component,e,t)}),t}function Cn(e){return function(){const t=Qr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,k.call(arguments))}}function En(e,t){return function(n,r,o){if(r===o)return;const i=e[n];_(i)?_(t)||t.apply(this,arguments):pt(this,n)&&(this[i]=o)}}function Mn(e,t,n){let l;H(e)?l=class extends e{}:(l=function(){throw new TypeError("Illegal constructor")},p(l,e),p(l.prototype,e.prototype),i(l.prototype,"constructor",{writable:!0,configurable:!0,value:l}));const s=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];s[Y(n)]=n,u[n]={get:bn(n),set:vn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:Cn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:En(s,c)},i(l,"observedAttributes",{get:()=>[...a,...f(s)]}),o(l.prototype,u),l}const kn=Mn(at,c(wt),[]);function Sn(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function Tn(e){return H(e)&&u.call(e,"__circular__")}l(kn),h(kn.prototype);const xn=new WeakMap;function On(e){const{shadowSupportMode:t,renderMode:i}=e,l=function(e){const t=hn.get(e);return _(t)?pn:t}(e),{apiFields:s,apiFieldsConfig:c,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=l,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const C=function(e){let t=a(e);if(R(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(Tn(t)){const e=Sn(t);t=e===t?Qt:e}return t}(e),E=C!==Qt?An(C):Pn,M=Mn(E.bridge,f(s),f(u)),k=n(r(null),E.props,s),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 O=E.shadowSupportMode;_(t)||(O=t);let N=E.renderMode;_(i)||(N="light"===i?0:1);const A=function(e){return $r.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:A,renderMode:N,shadowSupportMode:O,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function Nn(e){if(!H(e))return!1;if(e.prototype instanceof Qt)return!0;let t=e;do{if(Tn(t)){const e=Sn(t);if(e===t)return!0;t=e}if(t===Qt)return!0}while(!R(t)&&(t=a(t)));return!1}function An(e){let t=xn.get(e);if(_(t)){if(Tn(e)){return t=An(Sn(e)),xn.set(e,t),t}if(!Nn(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=On(e),xn.set(e,t)}return t}const Pn={ctor:Qt,name:Qt.name,props:ln,propsConfig:se,methods:se,renderMode:1,shadowSupportMode:"reset",wire:se,bridge:kn,template:gn,render:Qt.prototype.render};function $n(e){e=e.toLowerCase();let t=Qe(e);return _(t)?(t=class extends we{constructor(e){super(),H(e)&&e(this)}},Je(e,t),t):t}function _n(e){const{type:t}=e;return 2===t||3===t}function Rn(e,t){return e.key===t.key&&e.sel===t.sel}function Ln(e,t){return"input"===e&&("value"===t||"checked"===t)}function Dn(e,t){const{props:n}=t.data;if(_(n))return;const r=R(e)?se:e.data.props;if(r===n)return;const o=R(e),{elm:i,sel:l}=t;for(const e in n){const t=n[e];(o||t!==(Ln(l,e)?Te(i,e):r[e]))&&xe(i,e,t)}}const Hn=r(null);function In(e){if(null==e)return se;e=F(e)?e:e+"";let t=Hn[e];if(t)return t;t=r(null);let n,o=0;const i=e.length;for(n=0;n<i;n++)32===N.call(e,n)&&(n>o&&(t[P.call(e,o,n)]=!0),o=n+1);return n>o&&(t[P.call(e,o,n)]=!0),Hn[e]=t,t}function Fn(e){const{elm:t,data:{on:n}}=e;if(!_(n))for(const e in n){const r=n[e];$e(t,e,r)}}function Wn(e,t,n){var r;r=t,tr.has(r)?function(e,t,n){let r=0,o=0,i=e.length-1,l=e[0],s=e[i];const c=t.length-1;let a,u,d,f,h=c,p=t[0],m=t[h],g=!1;for(;r<=i&&o<=h;)zn(l)?zn(s)?zn(p)?zn(m)?Rn(l,p)?(jn(l,p),l=e[++r],p=t[++o]):Rn(s,m)?(jn(s,m),s=e[--i],m=t[--h]):Rn(l,m)?(jn(l,m),Jn(l.elm,n,ke(s.elm)),l=e[++r],m=t[--h]):Rn(s,p)?(jn(s,p),Jn(p.elm,n,l.elm),s=e[--i],p=t[++o]):(void 0===a&&(a=nr(e,r,i)),u=a[p.key],_(u)?(Bn(p,n,l.elm),p=t[++o]):(d=e[u],zn(d)&&(d.sel!==p.sel?Bn(p,n,l.elm):(jn(d,p),g||(g=!0,e=[...e]),e[u]=void 0,Jn(d.elm,n,l.elm))),p=t[++o])):m=t[--h]:p=t[++o]:s=e[--i]:l=e[++r];if(r<=i||o<=h)if(r>i){let e,r=h;do{e=t[++r]}while(!zn(e)&&r<c);f=zn(e)?e.elm:null,Vn(t,n,f,o,h+1)}else Gn(e,n,!0,r,i+1)}(e,t,n):function(e,t,n){const r=e.length,o=t.length;if(0===r)return void Vn(t,n,null);if(0===o)return void Gn(e,n,!0);let i=null;for(let r=o-1;r>=0;r-=1){const o=e[r],l=t[r];l!==o&&(zn(o)?zn(l)?(jn(o,l),i=l.elm):Kn(o,n,!0):zn(l)&&(Bn(l,n,i),i=l.elm))}}(e,t,n)}function jn(e,t){if(e!==t)switch(t.type){case 0:case 1:!function(e,t){t.elm=e.elm,t.text!==e.text&&Yn(t)}(e,t);break;case 2:!function(e,t){const n=t.elm=e.elm;Zn(e,t),Wn(e.children,t.children,n)}(e,t);break;case 3:!function(e,t){const n=t.elm=e.elm,r=t.vm=e.vm;Zn(e,t),_(r)||er(t,r);Wn(e.children,t.children,n),_(r)||zr(r)}(e,t)}}function Bn(e,t,n){switch(e.type){case 0:!function(e,t,n){const{owner:r}=e,o=e.elm=Ee(e.text);Xn(o,r),Jn(o,t,n)}(e,t,n);break;case 1:!function(e,t,n){const{owner:r}=e,o=e.elm=Me(e.text);Xn(o,r),Jn(o,t,n)}(e,t,n);break;case 2:!function(e,t,n){const{sel:r,owner:o,data:{svg:i}}=e,l=L(i)?J:void 0,s=Ce(r,l);Xn(s,o),function(e,t){const{owner:n}=t;if(qn(e,n),1===n.shadowMode){const{data:{context:r}}=t,{stylesheetToken:o}=n.context;_(r)||_(r.lwc)||"manual"!==r.lwc.dom||function(e){e.$domManual$=!0}(e),_(o)||Un(e,o)}}(s,e),e.elm=s,Zn(null,e),Jn(s,t,n),Vn(e.children,s,null)}(e,t,n);break;case 3:!function(e,t,n){const{sel:r,owner:o}=e,i=$n(r);let l;const s=new i((t=>{l=function(e,t){let n=Zr(e);if(!_(n))return n;const{sel:r,mode:o,ctor:i,owner:l}=t;if(qn(e,l),1===l.shadowMode){const{stylesheetToken:t}=l.context;_(t)||Un(e,t)}return n=Yr(e,i,{mode:o,owner:l,tagName:r}),n}(t,e)}));if(Xn(s,o),e.elm=s,e.vm=l,l)er(e,l);else if(e.ctor!==i)throw new TypeError("Incorrect Component Constructor");Zn(null,e),Jn(s,t,n),l&&oo(l);Vn(e.children,s,null),l&&function(e){eo(e)}(l)}(e,t,n)}}function Vn(e,t,n,r=0,o=e.length){for(;r<o;++r){const o=e[r];zn(o)&&Bn(o,t,n)}}function Kn(e,t,n=!1){const{type:r,elm:o}=e;switch(n&&Qn(o,t),r){case 2:Gn(e.children,o);break;case 3:{const{vm:t}=e;_(t)||function(e){Xr(e)}(t)}}}function Gn(e,t,n=!1,r=0,o=e.length){for(;r<o;++r){const o=e[r];zn(o)&&Kn(o,t,n)}}function zn(e){return null!=e}function Un(e,t){e.$shadowToken$=t}function qn(e,t){const{cmpTemplate:n,context:r}=t,o=null==n?void 0:n.stylesheetToken;!_(o)&&r.hasScopedStyles&&Le(e).add(o)}function Xn(e,t){const{renderRoot:n,renderMode:r,shadowMode:o}=t;ge&&(1!==o&&0!==r||(e.$shadowResolver$=n.$shadowResolver$))}function Yn(e){const{elm:t,text:n}=e;Oe(t,n)}function Jn(e,t,n){be(e,t,n)}function Qn(e,t){ve(e,t)}function Zn(e,t){R(e)&&(Fn(t),function(e){const{elm:t,data:{classMap:n}}=e;if(_(n))return;const r=Le(t);for(const e in n)r.add(e)}(t),function(e){const{elm:t,data:{styleDecls:n}}=e;if(!_(n))for(let e=0;e<n.length;e++){const[r,o,i]=n[e];De(t,r,o,i)}}(t)),function(e,t){const{elm:n,data:{className:r}}=t,o=R(e)?void 0:e.data.className;if(o===r)return;const i=Le(n),l=In(r),s=In(o);let c;for(c in s)_(l[c])&&i.remove(c);for(c in l)_(s[c])&&i.add(c)}(e,t),function(e,t){const{elm:n,data:{style:r}}=t;(R(e)?void 0:e.data.style)!==r&&(F(r)&&""!==r?Ae(n,"style",r):Pe(n,"style"))}(e,t),function(e,t){const{attrs:n}=t.data;if(_(n))return;const r=R(e)?se:e.data.attrs;if(r===n)return;const{elm:o}=t;for(const e in n){const t=n[e];r[e]!==t&&(gt(o,e),58===N.call(e,3)?Ae(o,e,t,"http://www.w3.org/XML/1998/namespace"):58===N.call(e,5)?Ae(o,e,t,"http://www.w3.org/1999/xlink"):R(t)||_(t)?Pe(o,e):Ae(o,e,t),mt())}}(e,t),Dn(e,t)}function er(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(R(r))continue;let o="";_n(r)&&(o=(null===(n=r.data.attrs)||void 0===n?void 0:n.slot)||"");const l=i[o]=i[o]||[];_(r.key)||(r.key=`@${o}:${r.key}`),C.call(l,r)}if(D(e.isDirty)){const t=f(o);if(t.length!==f(i).length)return void Lr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(_(i[r])||o[r].length!==i[r].length)return void Lr(e);const l=o[r],s=i[r];for(let t=0,n=i[r].length;t<n;t+=1)if(l[t]!==s[t])return void Lr(e)}}}(t,n),e.aChildren=n,e.children=ce)}const tr=new WeakMap;function nr(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(zn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}const rr=Symbol.iterator;function or(e,t,n=ce){const r=Sr();const{key:o}=t;return{type:2,sel:e,data:t,children:n,elm:undefined,key:o,owner:r}}function ir(e,t,n,r=ce){const o=Sr(),{key:i}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:i,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){C.call(Sr().velements,e)}(l),l}const lr=new Map;let sr=0;function cr(e){var t;return t=e,tr.set(t,1),e}let ar=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const ur=l({s:function(e,t,n,r){_(r)||_(r[e])||0===r[e].length||(n=r[e]);const o=Sr(),{renderMode:i,shadowMode:l}=o;return 0===i?(cr(n),n):(1===l&&cr(n),or("slot",t,n))},h:or,c:ir,i:function(e,t){const n=[];if(cr(n),_(e)||null===e)return n;const r=e[rr]();let o=r.next(),i=0,{value:l,done:s}=o;for(;!1===s;){o=r.next(),s=o.done;const e=t(l,i,0===i,!0===s);m(e)?C.apply(n,e):C.call(n,e),i+=1,l=o.value}return n},f:function(e){const t=e.length,n=[];cr(n);for(let r=0;r<t;r+=1){const t=e[r];m(t)?C.apply(n,t):C.call(n,t)}return n},t:function(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:Sr()}},d:function(e){return null==e?"":String(e)},b:function(e){const t=Sr();if(R(t))throw new Error;const n=t;return function(t){Pr(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:Sr()}},dc:function(e,t,n,r=ce){if(null==t)return null;if(!Nn(t))throw new Error(`Invalid LWC Constructor ${B(t)} for custom element <${e}>.`);let o=lr.get(t);return _(o)&&(o=sr++,lr.set(t,o)),ir(e,t,Object.assign(Object.assign({},n),{key:`dc:${o}:${n.key}`}),r)},ti:function(e){return e>0&&!(L(e)||D(e))?0:e},gid:function(e){const t=Sr();if(_(e)||""===e)return e;if(R(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?A.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=Sr();if(_(e)||""===e)return e;if(R(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return ar(e)}});function dr(e){return`${e}-host`}function fr(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let l=e[i];if(m(l))C.apply(r,fr(l,t,n));else{const e=l.$scoped$,i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,s=0===n.renderMode?!e:0===n.shadowMode;let c;1===n.renderMode?c=0===n.shadowMode:(_(o)&&(o=pr(n)),c=R(o)||0===o.shadowMode),C.call(r,l(i,s,c))}}return r}function hr(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return _(n)||0===n.length||(o=fr(n,r,e)),o}function pr(e){let t=e;for(;!R(t);){if(1===t.renderMode)return t;t=t.owner}return t}function mr(e,t){const{renderMode:n,shadowMode:r}=e;if(1===n&&1===r)for(let e=0;e<t.length;e++)Xe(t[e]);else{if(pe||ye()){const e=b.call(t,"\n");return o=e,ur.h("style",{key:"style",attrs:{type:"text/css"}},[ur.t(o)])}{const n=function(e){const t=pr(e);return R(t)||1!==t.shadowMode?t:null}(e),r=R(n);for(let e=0;e<t.length;e++)r?Xe(t[e]):Ye(t[e],n.shadowRoot)}}var o;return null}let gr=!1,wr=W;const yr={enableProfiler(){gr=!0},disableProfiler(){gr=!1},attachDispatcher(e){wr=e,this.enableProfiler()},detachDispatcher(){const e=wr;return wr=W,this.disableProfiler(),e}};function br(e,t){gr&&wr(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function vr(e,t){gr&&wr(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Cr(e,t){gr&&wr(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 Er(e,t){gr&&wr(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 Mr=!1,kr=null;function Sr(){return kr}function Tr(e){kr=e}function xr(e,t){const n=Mr,o=kr;let i=[];return ao(e,e.owner,(()=>{kr=e,br(1,e)}),(()=>{const{component:n,context:o,cmpSlots:l,cmpTemplate:s,tro:c}=e;c.observe((()=>{if(t!==s){if(R(s)||co(e),c=t,!mn.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: ${B(t)}.`);e.cmpTemplate=t,o.tplCache=r(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!_(t))for(let e=0;e<t.length;e++)if(L(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i}=e,{stylesheets:l,stylesheetToken:s}=t,c=1===o&&1===i,{hasScopedStyles:a}=r;let u,d,f;const{stylesheetToken:h,hasTokenInClass:p,hasTokenInAttribute:m}=r;_(h)||(p&&Le(n).remove(dr(h)),m&&Pe(n,dr(h))),_(l)||0===l.length||(u=s),_(u)||(a&&(Le(n).add(dr(u)),d=!0),c&&(Ae(n,dr(u),""),f=!0)),r.stylesheetToken=u,r.hasTokenInClass=d,r.hasTokenInAttribute=f}(e,t);const n=hr(e,t);o.styleVNode=0===n.length?null:mr(e,n)}var c;e.velements=[],Mr=!0,i=t.call(void 0,ur,n,l,o.tplCache);const{styleVNode:a}=o;R(a)||T.call(i,a)}))}),(()=>{Mr=n,kr=o,vr(1,e)})),i}let Or=null;function Nr(e){return Or===e}function Ar(e,t,n){const{component:r,callHook:o,owner:i}=e;ao(e,i,W,(()=>{o(r,t,n)}),W)}function Pr(e,t,n,r){const{callHook:o,owner:i}=e;ao(e,i,W,(()=>{o(n,t,[r])}),W)}const $r=new Map;function _r(e){return new rt((()=>{const{isDirty:t}=e;D(t)&&(Lr(e),function(e){if(L(pe)||L(e.isScheduled))return;e.isScheduled=!0,0===no.length&&ue(ro);C.call(no,e)}(e))}))}function Rr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=Sr();let l,s=!1;return ao(e,o,(()=>{Tr(e)}),(()=>{e.tro.observe((()=>{l=n(r,t),s=!0}))}),(()=>{Tr(i)})),s?xr(e,l):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Lr(e){e.isDirty=!0}const Dr=new WeakMap;function Hr(e,t){if(!H(t))throw new TypeError;let n=Dr.get(t);return _(n)&&(n=function(n){Pr(e,t,void 0,n)},Dr.set(t,n)),n}const Ir=r(null),Fr=["rendered","connected","disconnected"];function Wr(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 jr=0;const Br=new WeakMap;function Vr(e,t,n=[]){return t.apply(e,n)}function Kr(e,t,n){e[t]=n}function Gr(e,t){return e[t]}function zr(e){eo(e)}function Ur(e){const t=Qr(e);Cr(7,t),1===t.state&&qr(e),oo(t),eo(t),Er(7,t)}function qr(e){Xr(Qr(e))}function Xr(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){D(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=Ir;t&&Wr(e,t);io(e)&&function(e){const{wiredDisconnecting:t}=e.context;ao(e,e,W,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),W)}(e);const{disconnectedCallback:n}=e.def;_(n)||(br(5,e),Ar(e,n),vr(5,e))}(e),lo(e),function(e){const{aChildren:t}=e;so(t)}(e)}}function Yr(e,t,n){const{mode:o,owner:i,tagName:l}=n,s=An(t),c={elm:e,def:s,idx:jr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:o,owner:i,children:ce,aChildren:ce,velements:ce,cmpProps:r(null),cmpFields:r(null),cmpSlots:r(null),oar:r(null),cmpTemplate:null,renderMode:s.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:se,wiredConnecting:ce,wiredDisconnecting:ce},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:Vr,setHook:Kr,getHook:Gr};return c.shadowMode=function(e){const{def:t}=e;let n;if(ge)if(0===t.renderMode)n=0;else if(me)if(ie.ENABLE_MIXED_SHADOW_MODE)if("any"===t.shadowSupportMode)n=0;else{const t=function(e){let t=e.owner;for(;!R(t)&&0===t.renderMode;)t=t.owner;return t}(e);n=R(t)||0!==t.shadowMode?1:0}else n=1;else n=1;else n=0;return n}(c),c.tro=_r(c),function(e,t){const n=Or;let r;br(0,e),Or=e;try{const o=new t;if(Or.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(vr(0,e),Or=n,!_(r))throw st(e,r),r}}(c,s.ctor),io(c)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],l=uo.get(i);if(!_(l)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:s}=ho(e,t,l),c=l.dynamic.length>0;C.call(r,(()=>{n.connect(),ie.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),C.call(o,(()=>{n.disconnect(),s()}))}}}(c),c}function Jr(e,t){Br.set(e,t)}function Qr(e){return Br.get(e)}function Zr(e){return Br.get(e)}function eo(e){if(L(e.isDirty)){!function(e,t){const{renderRoot:n,children:r}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&ao(e,e,(()=>{br(2,e)}),(()=>{Wn(r,t,n)}),(()=>{vr(2,e)}));1===e.state&&to(e)}(e,Rr(e))}}function to(e){const{def:{renderedCallback:t}}=e;if(L(pe))return;const{rendered:n}=Ir;n&&Wr(e,n),_(t)||(br(4,e),Ar(e,t),vr(4,e))}let no=[];function ro(){Cr(8);const e=no.sort(((e,t)=>e.idx-t.idx));no=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{eo(r)}catch(r){throw t+1<n&&(0===no.length&&ue(ro),T.apply(no,k.call(e,t+1))),Er(8),r}}Er(8)}function oo(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Ir;n&&Wr(e,n),io(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;_(r)||(br(3,e),Ar(e,r),vr(3,e))}function io(e){return c(e.def.wire).length>0}function lo(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!_(n)){const e=Zr(n);_(e)||Xr(e)}}}function so(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!R(n)&&!_(n.elm))switch(n.type){case 2:so(n.children);break;case 3:Xr(Qr(n.elm));break}}}function co(e){const{children:t,renderRoot:n}=e;for(let e=0,r=t.length;e<r;e++){const r=t[e];R(r)||_(r.elm)||ve(r.elm,n)}e.children=ce,lo(e),e.velements=ce}function ao(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!_(i)){st(e,i);const n=R(t)?void 0:function(e){let t=e;for(;!R(t);){if(!_(t.def.errorCallback))return t;t=t.owner}}(t);if(_(n))throw i;co(e),br(6,e);Ar(n,n.def.errorCallback,[i,i.wcStack]),vr(6,e)}}}const uo=new Map;class fo extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),o(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function ho(e,t,n){const{method:r,adapter:o,configCallback:l,dynamic:s}=n,c=_(r)?function(e,t){const{cmpFields:n}=e;return r=>{r!==e.cmpFields[t]&&(n[t]=r,ot(e,t))}}(e,t):function(e,t){return n=>{ao(e,e.owner,W,(()=>{t.call(e.component,n)}),W)}}(e,r);let a,u;i(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),i(c,"$$DeprecatedWiredParamsMetaKey$$",{value:s}),ao(e,e,W,(()=>{u=new o(c)}),W);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let r=!1;const o=new rt((()=>{!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,l,(t=>{ao(e,e,W,(()=>{u.update(t,a)}),W)}));return _(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=mo(r);if(_(o))return;const{elm:i,context:{wiredConnecting:l,wiredDisconnecting:s}}=e;C.call(l,(()=>{const e=new fo(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){C.call(s,e)}});Re(i,e)}))}(e,n,(t=>{a!==t&&(a=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const po=new Map;function mo(e){return po.get(e)}function go(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};uo.set(e,o)}function wo(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};uo.set(e,o)}let yo=!1;function bo(e){yo=!1,oo(e),vo(e),yo&&function(e,t){ct("error",e,t)}("Hydration completed with errors.",e)}function vo(e){const t=Rr(e);e.children=t;const n=e.renderRoot;Eo(Ke(n),t,n),to(e)}function Co(e,t){let n;switch(t.type){case 0:n=function(e,t){var n;if(!So(t,e,3))return Mo(e,t);return Oe(e,null!==(n=t.text)&&void 0!==n?n:null),t.elm=e,e}(e,t);break;case 1:n=function(e,t){var n;if(!So(t,e,8))return Mo(e,t);return xe(e,"nodeValue",null!==(n=t.text)&&void 0!==n?n:null),t.elm=e,e}(e,t);break;case 2:n=function(e,t){if(!So(t,e,1)||!To(t,e))return Mo(e,t);t.elm=e;const{context:n}=t.data,r=Boolean(!_(n)&&!_(n.lwc)&&"manual"===n.lwc.dom);if(r){const{props:n}=t.data;_(n)||_(n.innerHTML)||Te(e,"innerHTML")===n.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:he(n,"innerHTML")}))}ko(t),r||Eo(Ke(e),t.children,e,t.owner);return e}(e,t);break;case 3:n=function(e,t){if(!So(t,e,1)||!To(t,e))return Mo(e,t);const{sel:n,mode:r,ctor:o,owner:i}=t,l=Yr(e,o,{mode:r,owner:i,tagName:n});t.elm=e,t.vm=l,er(t,l),ko(t),oo(l),0!==l.renderMode&&Eo(Ke(e),t.children,e);return vo(l),e}(e,t)}return ke(n)}function Eo(e,t,n,r){let o=e,i=null;for(let e=0;e<t.length;e++){const r=t[e];R(r)||(o?(o=Co(o,r),i=r.elm):(yo=!0,Bn(r,n,i),i=r.elm))}if(o){yo=!0;do{const e=o;o=ke(o),Qn(e,n)}while(o)}}function Mo(e,t,n){yo=!0;const r=Te(e,"parentNode");return Bn(t,r,e),Qn(e,r),t.elm}function ko(e){Fn(e),Dn(null,e)}function So(e,t,n){return Te(t,"nodeType")===n}function To(e,t){if(e.sel.toLowerCase()!==Te(t,"tagName").toLowerCase())return!1;const n=function(e,t){const{data:{attrs:n={}}}=e;let r=!0;for(const[e,o]of Object.entries(n)){const n=Ne(t,e);String(o)!==n&&(r=!1)}return r}(e,t),r=function(e,t){const{data:{className:n,classMap:r}}=e;let o=!0;if(_(n)||String(n)===Te(t,"className")){if(!_(r)){const e=Le(t);let n="";for(const t in r)n+=" "+t,e.contains(t)||(o=!1);n.trim(),e.length>f(r).length&&(o=!1)}}else o=!1;return o}(e,t),o=function(e,t){const{data:{style:n,styleDecls:r}}=e,o=Ne(t,"style")||"";let i=!0;if(_(n)||n===o){if(!_(r)){const e=function(e){const t={},n=e.split(de);for(const e of n)if(e){const[n,r]=e.split(fe);void 0!==n&&void 0!==r&&(t[n.trim()]=r.trim())}return t}(o),t=[];for(let n=0,o=r.length;n<o;n++){const[o,l,s]=r[n];t.push(`${o}: ${l+(s?" important!":"")}`);const c=e[o];_(c)?i=!1:c.startsWith(l)?s&&!c.endsWith("!important")&&(i=!1):i=!1}f(e).length>r.length&&(i=!1),b.call(t,";")}}else i=!1;return i}(e,t);return n&&r&&o}let xo=!1;const Oo=r(null),No=document.head||document.body||document,Ao=H(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),Po=Ao&&s(document.adoptedStyleSheets,"length").writable,$o=r(null),_o=r(null),Ro=new WeakMap;let Lo,Do,Ho;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}}())Lo=customElements.get.bind(customElements),Do=customElements.define.bind(customElements),Ho=HTMLElement;else{const e=r(null),t=new WeakMap;Do=function(n,r){if(n!==$.call(n)||e[n])throw new TypeError("Invalid Registration");e[n]=r,t.set(r,n)},Lo=function(t){return e[t]},Ho=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},Ho.prototype=HTMLElement.prototype}let Io=!1;function Fo(e){Io=e}const Wo=U.$isNativeShadowRootDefined$,jo=u.call(Element.prototype,"$shadowToken$");function Bo(e,t,n){const r=Yr(e,t,{mode:"open",owner:null,tagName:e.tagName.toLowerCase()});for(const[t,r]of Object.entries(n))e[t]=r;return r}function Vo(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(!H(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!I(n)||R(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);if(Zr(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{Fo(!0);bo(Bo(e,t,n)),Fo(!1)}catch(r){console.error("Recovering from error while hydrating: ",r),function(e,t){if(e.shadowRoot){const t=e.shadowRoot;for(;!R(t.firstChild);)t.removeChild(t.firstChild)}if("light"===t.renderMode)for(;!R(e.firstChild);)e.removeChild(e.firstChild)}(e,t),Bo(e,t,n),Fo(!1),Ur(e)}finally{Fo(!1)}}Se=function(e,t){return Io?e.shadowRoot:e.attachShadow(t)},Me=function(e){return document.createComment(e)},Ce=function(e,t){return _(t)?document.createElement(e):document.createElementNS(t,e)},Ee=function(e){return document.createTextNode(e)},Je=Do,Re=function(e,t){return e.dispatchEvent(t)},Ne=function(e,t,n){return _(n)?e.getAttribute(t):e.getAttributeNS(n,t)},He=function(e){return e.getBoundingClientRect()},Ve=function(e){return e.childNodes},Be=function(e){return e.children},Le=function(e){return e.classList},Qe=Lo,je=function(e,t){return e.getElementsByClassName(t)},We=function(e,t){return e.getElementsByTagName(t)},Ke=function(e){return e.firstChild},Ge=function(e){return e.firstElementChild},ze=function(e){return e.lastChild},Ue=function(e){return e.lastElementChild},Te=function(e,t){return e[t]},we=Ho,be=function(e,t,n){t.insertBefore(e,n)},Xe=function(e){if(!_(Oo[e]))return;Oo[e]=!0;const t=document.createElement("style");t.type="text/css",t.textContent=e,No.appendChild(t)},Ye=function(e,t){Ao?function(e,t){let n=_o[e];_(n)&&(n=new CSSStyleSheet,n.replaceSync(e),_o[e]=n);const{adoptedStyleSheets:r}=t;r.includes(n)||(Po?r.push(n):t.adoptedStyleSheets=[...r,n])}(e,t):function(e,t){let n=Ro.get(t);if(_(n)&&(n=r(null),Ro.set(t,n)),n[e])return;n[e]=!0;let o=$o[e];_(o)?(o=document.createElement("style"),o.type="text/css",o.textContent=e,$o[e]=o):o=o.cloneNode(!0),t.appendChild(o)}(e,t)},qe=function(e){return e.isConnected},ye=function(){return Io},me=Wo,ge=jo,ke=function(e){return e.nextSibling},Ie=function(e,t){return e.querySelector(t)},Fe=function(e,t){return e.querySelectorAll(t)},ve=function(e,t){t.removeChild(e)},Pe=function(e,t,n){_(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)},_e=function(e,t,n,r){e.removeEventListener(t,n,r)},Ae=function(e,t,n,r){return _(r)?e.setAttribute(t,n):e.setAttributeNS(r,t,n)},De=function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},xe=function(e,t,n){e[t]=n},Oe=function(e,t){e.nodeValue=t},pe=!1,$e=function(e,t,n,r){e.addEventListener(t,n,r)};const Ko=new WeakSet;function Go(e){const t=function(e){return An(e).bridge}(e);return class extends t{constructor(){super(),this.isConnected?(Vo(this,e,{}),Ko.add(this)):Yr(this,e,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){Ko.has(this)?Ko.delete(this):Ur(this)}disconnectedCallback(){qr(this)}}}const zo=Node,Uo=new WeakMap,qo=new WeakMap;function Xo(e,t){const n=t.get(e);return _(n)||n(e),e}const{appendChild:Yo,insertBefore:Jo,removeChild:Qo,replaceChild:Zo}=zo.prototype;n(zo.prototype,{appendChild(e){return Xo(Yo.call(this,e),Uo)},insertBefore(e,t){return Xo(Jo.call(this,e,t),Uo)},removeChild(e){return Xo(Qo.call(this,e),qo)},replaceChild(e,t){const n=Zo.call(this,e,t);return Xo(n,qo),Xo(e,Uo),n}});const ei=Node;const ti=new Map;return i(Qt,"CustomElementConstructor",{get(){return function(e){if(e===Qt)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=ti.get(e);return _(t)&&(t=Go(e),ti.set(e,t)),t}(this)}}),l(Qt),h(Qt.prototype),e.LightningElement=Qt,e.__unstable__ProfilerControl=yr,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=mo(e);if(!_(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){po.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((()=>{_(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!I(t)||R(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${B(t)}".`);const n=t.is;if(!H(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const r=$n(e);let o=!1;const i=new r((r=>{Yr(r,n,{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null}),Uo.set(r,Ur),qo.set(r,qr),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.getComponentConstructor=function(e){let t=null;if(e instanceof HTMLElement){const n=Zr(e);_(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=An(e),{ctor:n,name:r,props:o,propsConfig:i,methods:l}=t,s={};for(const e in o)s[e]={config:i[e]||0,type:"any",attr:Y(e)};const c={};for(const e in l)c[e]=l[e].value;return{ctor:n,name:r,props:s,methods:c}},e.hydrateComponent=Vo,e.isComponentConstructor=Nn,e.isNodeFromTemplate=function(e){if(D(e instanceof ei))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&D(u.call(a(t),"synthetic")))||jo&&!_(e.$shadowResolver$)},e.readonly=function(e){return Yt.getReadOnlyProxy(e)},e.register=function(e){for(let t=0;t<Fr.length;++t){const n=Fr[t];if(n in e){let t=Ir[n];_(t)&&(Ir[n]=t=[]),C.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return H(e)&&$r.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:o,publicMethods:l,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(!_(o))for(const e in o){const t=o[e];if(g[e]=t.config,w=s(n,e),t.config>0){if(_(w))throw new Error;w=dn(e,w)}else w=_(w)||_(w.get)?an(e):dn(e,w);f[e]=w,i(n,e,w)}if(_(l)||x.call(l,(e=>{if(w=s(n,e),_(w))throw new Error;d[e]=w})),!_(c))for(const e in c){const{adapter:t,method:r,config:o,dynamic:l=[]}=c[e];if(w=s(n,e),1===r){if(_(w))throw new Error;h[e]=w,go(w,t,o,l)}else w=sn(e),p[e]=w,wo(w,t,o,l),i(n,e,w)}if(!_(a))for(const e in a)w=s(n,e),w=cn(e),i(n,e,w);if(!_(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=s(n,t);const r=!_(o)&&t in o,i=!_(a)&&t in a;r||i||(m[t]=fn(t))}return function(e,t){hn.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return mn.add(e),e},e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(_(oe[e])){const n=f(oe).map((e=>`"${e}"`)).join(", ");console.warn(`Failed to set the value "${t}" for the runtime feature flag "${e}" because it is undefined. Available flags: ${n}.`)}else{const n=ie[e];if(!_(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(ie,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(xo,"Hooks are already overridden, only one definition is allowed."),xo=!0,n=e.sanitizeHtmlContent,ar=n},e.swapComponent=function(e,t){if(!ie.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapStyle=function(e,t){if(!ie.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapTemplate=function(e,t){if(!ie.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.track=function(e){if(1===arguments.length)return Yt.getProxy(e);throw new Error},e.unwrap=function(e){return Yt.unwrapProxy(e)},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0}),e}({});
1
+ var LWC=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,{filter:g,find:w,indexOf:y,join:b,map:v,push:C,reduce:E,reverse:M,slice:k,splice:T,unshift:S,forEach:x}=Array.prototype,{fromCharCode:O}=String,{charCodeAt:N,replace:A,slice:P,toLowerCase:$}=String.prototype;function _(e){return void 0===e}function R(e){return null===e}function L(e){return!0===e}function D(e){return!1===e}function H(e){return"function"==typeof e}function I(e){return"object"==typeof e}function F(e){return"string"==typeof e}function W(){}const j={}.toString;function B(e){return e&&e.toString?m(e)?b.call(v.call(e,B),","):e.toString():"object"==typeof e?j.call(e):e+""}function V(e,t){do{const n=l(e,t);if(!_(n))return n;e=a(e)}while(null!==e)}const K=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],{AriaAttrNameToPropNameMap:G,AriaPropNameToAttrNameMap:z}=(()=>{const e=r(null),t=r(null);return x.call(K,(n=>{const r=$.call(A.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),U=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),q=new Map([["accessKey","accesskey"],["readOnly","readonly"],["tabIndex","tabindex"],["bgColor","bgcolor"],["colSpan","colspan"],["rowSpan","rowspan"],["contentEditable","contenteditable"],["crossOrigin","crossorigin"],["dateTime","datetime"],["formAction","formaction"],["isMap","ismap"],["maxLength","maxlength"],["minLength","minlength"],["noValidate","novalidate"],["useMap","usemap"],["htmlFor","for"]]),X=new Map;function Y(e){const t=z[e];if(!_(t))return t;const n=q.get(e);if(!_(n))return n;const r=X.get(e);if(!_(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=N.call(e,t);o+=n>=65&&n<=90?"-"+O(n+32):O(n)}return X.set(e,o),o}const J="http://www.w3.org/2000/svg";function Q(e){return void 0===Object.getOwnPropertyDescriptor(Element.prototype,e)}const Z=new WeakMap;function ee(e){let t=Z.get(e);return void 0===t&&(t={},Z.set(e,t)),t}function te(e,t){return{get(){const n=ee(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;ee(this)[e]=r,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function ne(e){const t=te(e,z[e]);Object.defineProperty(Element.prototype,e,t)}const re=f(z);for(let e=0,t=re.length;e<t;e+=1){const t=re[e];Q(t)&&ne(t)}const oe={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};U.lwcRuntimeFlags||Object.defineProperty(U,"lwcRuntimeFlags",{value:r(null)});const ie=U.lwcRuntimeFlags;let se=[];const le=h(r(null)),ce=h([]);function ae(){const e=se;se=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function ue(e){0===se.length&&Promise.resolve().then(ae),C.call(se,e)}const de=/;(?![^(]*\))/g,fe=/:(.+)/;function he(e,t){const n={};for(const r of Object.keys(e))r!==t&&(n[r]=e[r]);return n}let pe,me,ge,we,ye,be,ve,Ce,Ee,Me,ke,Te,Se,xe,Oe,Ne,Ae,Pe,$e,_e,Re,Le,De,He,Ie,Fe,We,je,Be,Ve,Ke,Ge,ze,Ue,qe,Xe,Ye,Je,Qe;const Ze=new WeakMap;let et=null;function tt(e,t){const n=Ze.get(e);if(!_(n)){const e=n[t];if(!_(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function nt(e,t){if(null===et)return;const n=et,o=function(e){let t=Ze.get(e);if(_(t)){const n=r(null);t=n,Ze.set(e,n)}return t}(e);let i=o[t];if(_(i))i=[],o[t]=i;else if(i[0]===n)return;-1===y.call(i,n)&&n.link(i)}class rt{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=et;let n;et=this;try{e()}catch(e){n=Object(e)}finally{if(et=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=y.call(e[n],this);T.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){C.call(e,this),C.call(this.listeners,e)}}function ot(e,t){tt(e.component,t)}function it(e,t){nt(e.component,t)}function st(e){return`<${$.call(e.tagName)}>`}function lt(e,t){if(!d(t)&&_(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!R(n);)C.call(t,st(n)),n=n.owner;return t.reverse().join("\n\t")}(e);i(t,"wcStack",{get:()=>n})}}function ct(e,t,n){let r=`[LWC ${e}]: ${t}`;_(n)||(r=`${r}\n${function(e){const t=[];let n="";for(;!R(e.owner);)C.call(t,n+st(e)),e=e.owner,n+="\t";return b.call(t,"\n")}(n)}`);try{throw new Error(r)}catch(t){console[e](t)}}const at="undefined"!=typeof HTMLElement?HTMLElement:function(){},ut=at.prototype;function dt(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:dt("offsetHeight")},offsetLeft:{readOnly:!0,error:dt("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:dt("offsetTop")},offsetWidth:{readOnly:!0,error:dt("offsetWidth")},role:{attribute:"role"}});let ft,ht=null;function pt(e,t){return e!==ht||t!==ft}function mt(e,t){ht=null,ft=void 0}function gt(e,t){ht=e,ft=t}const wt=r(null);x.call(f(z),(e=>{const t=V(ut,e);_(t)||(wt[e]=t)})),x.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=V(ut,e);_(t)||(wt[e]=t)}));const{isArray:yt}=Array,{prototype:bt,getPrototypeOf:vt,create:Ct,defineProperty:Et,isExtensible:Mt,getOwnPropertyDescriptor:kt,getOwnPropertyNames:Tt,getOwnPropertySymbols:St,preventExtensions:xt,hasOwnProperty:Ot}=Object,{push:Nt,concat:At}=Array.prototype;function Pt(e){return void 0===e}function $t(e){return"function"==typeof e}const _t=new WeakMap;function Rt(e,t){_t.set(e,t)}const Lt=e=>_t.get(e)||e;class Dt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(Ot.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;Pt(n)||(e.get=this.wrapGetter(n)),Pt(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=kt(n,t);if(!Pt(r)){const n=this.wrapDescriptor(r);Et(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;At.call(Tt(t),St(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;Pt(n)||Ot.call(e,n)||Et(e,n,Ct(null)),xt(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=Pt(n)||Ot.call(t,n)?[]:[n];return Nt.apply(r,Tt(t)),Nt.apply(r,St(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!Mt(e)&&(!!Mt(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return vt(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=kt(n,t);if(Pt(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},Et(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const Ht=new WeakMap,It=new WeakMap,Ft=new WeakMap,Wt=new WeakMap;class jt extends Dt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Ht.get(e);if(!Pt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Lt(this)))};return Ht.set(e,r),Ft.set(r,e),r}wrapSetter(e){const t=It.get(e);if(!Pt(t))return t;const n=function(t){e.call(Lt(this),Lt(t))};return It.set(e,n),Wt.set(n,e),n}unwrapDescriptor(e){if(Ot.call(e,"value"))e.value=Lt(e.value);else{const{set:t,get:n}=e;Pt(n)||(e.get=this.unwrapGetter(n)),Pt(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=Ft.get(e);if(!Pt(t))return t;const n=this,r=function(){return Lt(e.call(n.wrapValue(this)))};return Ht.set(r,e),Ft.set(e,r),r}unwrapSetter(e){const t=Wt.get(e);if(!Pt(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return It.set(r,e),Wt.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&&yt(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(Mt(e)){const{originalTarget:t}=this;if(xt(t),Mt(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!Ot.call(r,t)||(Et(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const Bt=new WeakMap,Vt=new WeakMap;class Kt extends Dt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=Bt.get(e);if(!Pt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Lt(this)))};return Bt.set(e,r),r}wrapSetter(e){const t=Vt.get(e);if(!Pt(t))return t;const n=function(e){};return Vt.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 Gt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(yt(e))return!0;const t=vt(e);return t===bt||null===t||null===vt(t)}const zt=(e,t)=>{},Ut=(e,t)=>{};function qt(e){return yt(e)?[]:{}}const Xt=Symbol.for("@@lockerLiveValue"),Yt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=$t(t)?t:Ut,this.valueObserved=$t(n)?n:zt,this.valueIsObservable=$t(r)?r:Gt,this.tagPropertyKey=o}getProxy(e){const t=Lt(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=Lt(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return Lt(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(Pt(t)){const n=new jt(this,e);t=new Proxy(qt(e),n),Rt(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(Pt(t)){const n=new Kt(this,e);t=new Proxy(qt(e),n),Rt(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:nt,valueMutated:tt,tagPropertyKey:Xt});function Jt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!H(n))throw new TypeError;if(!H(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const t=Qr(this);if(!Nr(t))return it(t,e),n.call(t.elm)},set(t){const n=Qr(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,ot(n,e)),r.call(n.elm,t)}}}const Qt=function(){if(R(Or))throw new ReferenceError("Illegal constructor");const e=Or,{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[Xt]=void 0,Jr(o,e),Jr(n,e),1===e.renderMode?e.renderRoot=Zt(e):e.renderRoot=n,this};function Zt(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o}}=e,i=Te(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=i,Jr(i,e),i}Qt.prototype={constructor:Qt,dispatchEvent(e){const{elm:t}=Qr(this);return Re(t,e)},addEventListener(e,t,n){const r=Qr(this),{elm:o}=r,i=Hr(r,t);$e(o,e,i,n)},removeEventListener(e,t,n){const r=Qr(this),{elm:o}=r,i=Hr(r,t);_e(o,e,i,n)},hasAttribute(e){const{elm:t}=Qr(this);return!R(Ne(t,e))},hasAttributeNS(e,t){const{elm:n}=Qr(this);return!R(Ne(n,t,e))},removeAttribute(e){const{elm:t}=Qr(this);gt(t,e),Pe(t,e),mt()},removeAttributeNS(e,t){const{elm:n}=Qr(this);gt(n,t),Pe(n,t,e),mt()},getAttribute(e){const{elm:t}=Qr(this);return Ne(t,e)},getAttributeNS(e,t){const{elm:n}=Qr(this);return Ne(n,t,e)},setAttribute(e,t){const n=Qr(this),{elm:r}=n;gt(r,e),Ae(r,e,t),mt()},setAttributeNS(e,t,n){const r=Qr(this),{elm:o}=r;gt(o,t),Ae(o,t,n,e),mt()},getBoundingClientRect(){const e=Qr(this),{elm:t}=e;return He(t)},get isConnected(){const{elm:e}=Qr(this);return qe(e)},get classList(){const e=Qr(this),{elm:t}=e;return Le(t)},get template(){return Qr(this).shadowRoot},get shadowRoot(){return null},render(){return Qr(this).def.template},toString(){return`[object ${Qr(this).def.name}]`}};const en=r(null),tn=["children","childNodes","firstChild","firstElementChild","lastChild","lastElementChild"];function nn(e){switch(e){case"children":return Be;case"childNodes":return Ve;case"firstChild":return Ke;case"firstElementChild":return Ge;case"lastChild":return ze;case"lastElementChild":return Ue}}for(const e of tn)en[e]={get(){const t=Qr(this),{elm:n}=t;return nn(e)(n)},configurable:!0,enumerable:!0};const rn=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];function on(e){switch(e){case"getElementsByClassName":return je;case"getElementsByTagName":return We;case"querySelector":return Ie;case"querySelectorAll":return Fe}}for(const e of rn)en[e]={value(t){const n=Qr(this),{elm:r}=n;return on(e)(r,t)},configurable:!0,enumerable:!0,writable:!0};o(Qt.prototype,en);const sn=r(null);for(const e in wt)sn[e]=Jt(e,wt[e]);function ln(e){return{get(){const t=Qr(this);return it(t,e),t.cmpFields[e]},set(t){const n=Qr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,ot(n,e))},enumerable:!0,configurable:!0}}function cn(e){return{get(){const t=Qr(this);return it(t,e),t.cmpFields[e]},set(t){const n=Qr(this),r=Yt.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,ot(n,e))},enumerable:!0,configurable:!0}}function an(e){return{get(){const t=Qr(this);if(!Nr(t))return it(t,e),t.cmpProps[e]},set(t){const n=Qr(this);n.cmpProps[e]=t,ot(n,e)},enumerable:!0,configurable:!0}}o(Qt.prototype,sn),i(Qt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class un extends rt{constructor(e,t){super((()=>{D(this.debouncing)&&(this.debouncing=!0,ue((()=>{if(L(this.debouncing)){const{value:n}=this,{isDirty:r,component:o,idx:i}=e;t.call(o,n),this.debouncing=!1,L(e.isDirty)&&D(r)&&i>0&&zr(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function dn(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!H(n))throw new Error;return{get(){return n.call(this)},set(t){const n=Qr(this);if(r)if(ie.ENABLE_REACTIVE_SETTER){let o=n.oar[e];_(o)&&(o=n.oar[e]=new un(n,r)),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function fn(e){return{get(){const t=Qr(this);return it(t,e),t.cmpFields[e]},set(t){const n=Qr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,ot(n,e))},enumerable:!0,configurable:!0}}const hn=new Map;const pn={apiMethods:le,apiFields:le,apiFieldsConfig:le,wiredMethods:le,wiredFields:le,observedFields:le};const mn=new Set;function gn(){return[]}mn.add(gn);const wn=r(null),yn=r(null);function bn(e){let t=wn[e];return _(t)&&(t=wn[e]=function(){const t=Qr(this),{getHook:n}=t;return n(t.component,e)}),t}function vn(e){let t=yn[e];return _(t)&&(t=yn[e]=function(t){const n=Qr(this),{setHook:r}=n;t=Yt.getReadOnlyProxy(t),r(n.component,e,t)}),t}function Cn(e){return function(){const t=Qr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,k.call(arguments))}}function En(e,t){return function(n,r,o){if(r===o)return;const i=e[n];_(i)?_(t)||t.apply(this,arguments):pt(this,n)&&(this[i]=o)}}function Mn(e,t,n){let s;H(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[Y(n)]=n,u[n]={get:bn(n),set:vn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:Cn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:En(l,c)},i(s,"observedAttributes",{get:()=>[...a,...f(l)]}),o(s.prototype,u),s}const kn=Mn(at,c(wt),[]);function Tn(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function Sn(e){return H(e)&&u.call(e,"__circular__")}s(kn),h(kn.prototype);const xn=new WeakMap;function On(e){const{shadowSupportMode:t,renderMode:i}=e,s=function(e){const t=hn.get(e);return _(t)?pn: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(R(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(Sn(t)){const e=Tn(t);t=e===t?Qt:e}return t}(e),E=C!==Qt?An(C):Pn,M=Mn(E.bridge,f(l),f(u)),k=n(r(null),E.props,l),T=n(r(null),E.propsConfig,c),S=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 O=E.shadowSupportMode;_(t)||(O=t);let N=E.renderMode;_(i)||(N="light"===i?0:1);const A=function(e){return $r.get(e)}(e)||E.template,P=e.name||E.name;o(m,p);return{ctor:e,name:P,wire:x,props:k,propsConfig:T,methods:S,bridge:M,template:A,renderMode:N,shadowSupportMode:O,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function Nn(e){if(!H(e))return!1;if(e.prototype instanceof Qt)return!0;let t=e;do{if(Sn(t)){const e=Tn(t);if(e===t)return!0;t=e}if(t===Qt)return!0}while(!R(t)&&(t=a(t)));return!1}function An(e){let t=xn.get(e);if(_(t)){if(Sn(e)){return t=An(Tn(e)),xn.set(e,t),t}if(!Nn(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=On(e),xn.set(e,t)}return t}const Pn={ctor:Qt,name:Qt.name,props:sn,propsConfig:le,methods:le,renderMode:1,shadowSupportMode:"reset",wire:le,bridge:kn,template:gn,render:Qt.prototype.render};function $n(e){e=e.toLowerCase();let t=Qe(e);return _(t)?(t=class extends we{constructor(e){super(),H(e)&&e(this)}},Je(e,t),t):t}function _n(e){const{type:t}=e;return 2===t||3===t}function Rn(e,t){return e.key===t.key&&e.sel===t.sel}function Ln(e,t){return"input"===e&&("value"===t||"checked"===t)}function Dn(e,t){const{props:n}=t.data;if(_(n))return;const r=R(e)?le:e.data.props;if(r===n)return;const o=R(e),{elm:i,sel:s}=t;for(const e in n){const t=n[e];(o||t!==(Ln(s,e)?Se(i,e):r[e]))&&xe(i,e,t)}}const Hn=r(null);function In(e){if(null==e)return le;e=F(e)?e:e+"";let t=Hn[e];if(t)return t;t=r(null);let n,o=0;const i=e.length;for(n=0;n<i;n++)32===N.call(e,n)&&(n>o&&(t[P.call(e,o,n)]=!0),o=n+1);return n>o&&(t[P.call(e,o,n)]=!0),Hn[e]=t,t}function Fn(e){const{elm:t,data:{on:n}}=e;if(!_(n))for(const e in n){const r=n[e];$e(t,e,r)}}function Wn(e,t,n){var r;r=t,tr.has(r)?function(e,t,n){let r=0,o=0,i=e.length-1,s=e[0],l=e[i];const c=t.length-1;let a,u,d,f,h=c,p=t[0],m=t[h],g=!1;for(;r<=i&&o<=h;)zn(s)?zn(l)?zn(p)?zn(m)?Rn(s,p)?(jn(s,p),s=e[++r],p=t[++o]):Rn(l,m)?(jn(l,m),l=e[--i],m=t[--h]):Rn(s,m)?(jn(s,m),Jn(s.elm,n,ke(l.elm)),s=e[++r],m=t[--h]):Rn(l,p)?(jn(l,p),Jn(p.elm,n,s.elm),l=e[--i],p=t[++o]):(void 0===a&&(a=nr(e,r,i)),u=a[p.key],_(u)?(Bn(p,n,s.elm),p=t[++o]):(d=e[u],zn(d)&&(d.sel!==p.sel?Bn(p,n,s.elm):(jn(d,p),g||(g=!0,e=[...e]),e[u]=void 0,Jn(d.elm,n,s.elm))),p=t[++o])):m=t[--h]:p=t[++o]:l=e[--i]:s=e[++r];if(r<=i||o<=h)if(r>i){let e,r=h;do{e=t[++r]}while(!zn(e)&&r<c);f=zn(e)?e.elm:null,Vn(t,n,f,o,h+1)}else Gn(e,n,!0,r,i+1)}(e,t,n):function(e,t,n){const r=e.length,o=t.length;if(0===r)return void Vn(t,n,null);if(0===o)return void Gn(e,n,!0);let i=null;for(let r=o-1;r>=0;r-=1){const o=e[r],s=t[r];s!==o&&(zn(o)?zn(s)?(jn(o,s),i=s.elm):Kn(o,n,!0):zn(s)&&(Bn(s,n,i),i=s.elm))}}(e,t,n)}function jn(e,t){if(e!==t)switch(t.type){case 0:case 1:!function(e,t){t.elm=e.elm,t.text!==e.text&&Yn(t)}(e,t);break;case 2:!function(e,t){const n=t.elm=e.elm;Zn(e,t),Wn(e.children,t.children,n)}(e,t);break;case 3:!function(e,t){const n=t.elm=e.elm,r=t.vm=e.vm;Zn(e,t),_(r)||er(t,r);Wn(e.children,t.children,n),_(r)||zr(r)}(e,t)}}function Bn(e,t,n){switch(e.type){case 0:!function(e,t,n){const{owner:r}=e,o=e.elm=Ee(e.text);Xn(o,r),Jn(o,t,n)}(e,t,n);break;case 1:!function(e,t,n){const{owner:r}=e,o=e.elm=Me(e.text);Xn(o,r),Jn(o,t,n)}(e,t,n);break;case 2:!function(e,t,n){const{sel:r,owner:o,data:{svg:i}}=e,s=L(i)?J:void 0,l=Ce(r,s);Xn(l,o),function(e,t){const{owner:n}=t;if(qn(e,n),1===n.shadowMode){const{data:{context:r}}=t,{stylesheetToken:o}=n.context;_(r)||_(r.lwc)||"manual"!==r.lwc.dom||function(e){e.$domManual$=!0}(e),_(o)||Un(e,o)}}(l,e),e.elm=l,Zn(null,e),Jn(l,t,n),Vn(e.children,l,null)}(e,t,n);break;case 3:!function(e,t,n){const{sel:r,owner:o}=e,i=$n(r);let s;const l=new i((t=>{s=function(e,t){let n=Zr(e);if(!_(n))return n;const{sel:r,mode:o,ctor:i,owner:s}=t;if(qn(e,s),1===s.shadowMode){const{stylesheetToken:t}=s.context;_(t)||Un(e,t)}return n=Yr(e,i,{mode:o,owner:s,tagName:r}),n}(t,e)}));if(Xn(l,o),e.elm=l,e.vm=s,s)er(e,s);else if(e.ctor!==i)throw new TypeError("Incorrect Component Constructor");Zn(null,e),Jn(l,t,n),s&&oo(s);Vn(e.children,l,null),s&&function(e){eo(e)}(s)}(e,t,n)}}function Vn(e,t,n,r=0,o=e.length){for(;r<o;++r){const o=e[r];zn(o)&&Bn(o,t,n)}}function Kn(e,t,n=!1){const{type:r,elm:o}=e;switch(n&&Qn(o,t),r){case 2:Gn(e.children,o);break;case 3:{const{vm:t}=e;_(t)||function(e){Xr(e)}(t)}}}function Gn(e,t,n=!1,r=0,o=e.length){for(;r<o;++r){const o=e[r];zn(o)&&Kn(o,t,n)}}function zn(e){return null!=e}function Un(e,t){e.$shadowToken$=t}function qn(e,t){const{cmpTemplate:n,context:r}=t,o=null==n?void 0:n.stylesheetToken;!_(o)&&r.hasScopedStyles&&Le(e).add(o)}function Xn(e,t){const{renderRoot:n,renderMode:r,shadowMode:o}=t;ge&&(1!==o&&0!==r||(e.$shadowResolver$=n.$shadowResolver$))}function Yn(e){const{elm:t,text:n}=e;Oe(t,n)}function Jn(e,t,n){be(e,t,n)}function Qn(e,t){ve(e,t)}function Zn(e,t){R(e)&&(Fn(t),function(e){const{elm:t,data:{classMap:n}}=e;if(_(n))return;const r=Le(t);for(const e in n)r.add(e)}(t),function(e){const{elm:t,data:{styleDecls:n}}=e;if(!_(n))for(let e=0;e<n.length;e++){const[r,o,i]=n[e];De(t,r,o,i)}}(t)),function(e,t){const{elm:n,data:{className:r}}=t,o=R(e)?void 0:e.data.className;if(o===r)return;const i=Le(n),s=In(r),l=In(o);let c;for(c in l)_(s[c])&&i.remove(c);for(c in s)_(l[c])&&i.add(c)}(e,t),function(e,t){const{elm:n,data:{style:r}}=t;(R(e)?void 0:e.data.style)!==r&&(F(r)&&""!==r?Ae(n,"style",r):Pe(n,"style"))}(e,t),function(e,t){const{attrs:n}=t.data;if(_(n))return;const r=R(e)?le:e.data.attrs;if(r===n)return;const{elm:o}=t;for(const e in n){const t=n[e];r[e]!==t&&(gt(o,e),58===N.call(e,3)?Ae(o,e,t,"http://www.w3.org/XML/1998/namespace"):58===N.call(e,5)?Ae(o,e,t,"http://www.w3.org/1999/xlink"):R(t)||_(t)?Pe(o,e):Ae(o,e,t),mt())}}(e,t),Dn(e,t)}function er(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(R(r))continue;let o="";_n(r)&&(o=(null===(n=r.data.attrs)||void 0===n?void 0:n.slot)||"");const s=i[o]=i[o]||[];_(r.key)||(r.key=`@${o}:${r.key}`),C.call(s,r)}if(D(e.isDirty)){const t=f(o);if(t.length!==f(i).length)return void Lr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(_(i[r])||o[r].length!==i[r].length)return void Lr(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 Lr(e)}}}(t,n),e.aChildren=n,e.children=ce)}const tr=new WeakMap;function nr(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(zn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}const rr=Symbol.iterator;function or(e,t,n=ce){const r=Tr();const{key:o}=t;return{type:2,sel:e,data:t,children:n,elm:undefined,key:o,owner:r}}function ir(e,t,n,r=ce){const o=Tr(),{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){C.call(Tr().velements,e)}(s),s}const sr=new Map;let lr=0;function cr(e){var t;return t=e,tr.set(t,1),e}let ar=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const ur=s({s:function(e,t,n,r){_(r)||_(r[e])||0===r[e].length||(n=r[e]);const o=Tr(),{renderMode:i,shadowMode:s}=o;return 0===i?(cr(n),n):(1===s&&cr(n),or("slot",t,n))},h:or,c:ir,i:function(e,t){const n=[];if(cr(n),_(e)||null===e)return n;const r=e[rr]();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)?C.apply(n,e):C.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];cr(n);for(let r=0;r<t;r+=1){const t=e[r];m(t)?C.apply(n,t):C.call(n,t)}return n},t:function(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:Tr()}},d:function(e){return null==e?"":String(e)},b:function(e){const t=Tr();if(R(t))throw new Error;const n=t;return function(t){Pr(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:Tr()}},dc:function(e,t,n,r=ce){if(null==t)return null;if(!Nn(t))throw new Error(`Invalid LWC Constructor ${B(t)} for custom element <${e}>.`);let o=sr.get(t);return _(o)&&(o=lr++,sr.set(t,o)),ir(e,t,Object.assign(Object.assign({},n),{key:`dc:${o}:${n.key}`}),r)},ti:function(e){return e>0&&!(L(e)||D(e))?0:e},gid:function(e){const t=Tr();if(_(e)||""===e)return e;if(R(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?A.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=Tr();if(_(e)||""===e)return e;if(R(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return ar(e)}});function dr(e){return`${e}-host`}function fr(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(m(s))C.apply(r,fr(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:(_(o)&&(o=pr(n)),c=R(o)||0===o.shadowMode),C.call(r,s(i,l,c))}}return r}function hr(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return _(n)||0===n.length||(o=fr(n,r,e)),o}function pr(e){let t=e;for(;!R(t);){if(1===t.renderMode)return t;t=t.owner}return t}function mr(e,t){const{renderMode:n,shadowMode:r}=e;if(1===n&&1===r)for(let e=0;e<t.length;e++)Xe(t[e]);else{if(pe||ye()){const e=b.call(t,"\n");return o=e,ur.h("style",{key:"style",attrs:{type:"text/css"}},[ur.t(o)])}{const n=function(e){const t=pr(e);return R(t)||1!==t.shadowMode?t:null}(e),r=R(n);for(let e=0;e<t.length;e++)r?Xe(t[e]):Ye(t[e],n.shadowRoot)}}var o;return null}let gr=!1,wr=W;const yr={enableProfiler(){gr=!0},disableProfiler(){gr=!1},attachDispatcher(e){wr=e,this.enableProfiler()},detachDispatcher(){const e=wr;return wr=W,this.disableProfiler(),e}};function br(e,t){gr&&wr(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function vr(e,t){gr&&wr(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Cr(e,t){gr&&wr(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 Er(e,t){gr&&wr(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 Mr=!1,kr=null;function Tr(){return kr}function Sr(e){kr=e}function xr(e,t){const n=Mr,o=kr;let i=[];return ao(e,e.owner,(()=>{kr=e,br(1,e)}),(()=>{const{component:n,context:o,cmpSlots:s,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(R(l)||co(e),c=t,!mn.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: ${B(t)}.`);e.cmpTemplate=t,o.tplCache=r(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!_(t))for(let e=0;e<t.length;e++)if(L(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i}=e,{stylesheets:s,stylesheetToken:l}=t,c=1===o&&1===i,{hasScopedStyles:a}=r;let u,d,f;const{stylesheetToken:h,hasTokenInClass:p,hasTokenInAttribute:m}=r;_(h)||(p&&Le(n).remove(dr(h)),m&&Pe(n,dr(h))),_(s)||0===s.length||(u=l),_(u)||(a&&(Le(n).add(dr(u)),d=!0),c&&(Ae(n,dr(u),""),f=!0)),r.stylesheetToken=u,r.hasTokenInClass=d,r.hasTokenInAttribute=f}(e,t);const n=hr(e,t);o.styleVNode=0===n.length?null:mr(e,n)}var c;e.velements=[],Mr=!0,i=t.call(void 0,ur,n,s,o.tplCache);const{styleVNode:a}=o;R(a)||S.call(i,a)}))}),(()=>{Mr=n,kr=o,vr(1,e)})),i}let Or=null;function Nr(e){return Or===e}function Ar(e,t,n){const{component:r,callHook:o,owner:i}=e;ao(e,i,W,(()=>{o(r,t,n)}),W)}function Pr(e,t,n,r){const{callHook:o,owner:i}=e;ao(e,i,W,(()=>{o(n,t,[r])}),W)}const $r=new Map;function _r(e){return new rt((()=>{const{isDirty:t}=e;D(t)&&(Lr(e),function(e){if(L(pe)||L(e.isScheduled))return;e.isScheduled=!0,0===no.length&&ue(ro);C.call(no,e)}(e))}))}function Rr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=Tr();let s,l=!1;return ao(e,o,(()=>{Sr(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{Sr(i)})),l?xr(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Lr(e){e.isDirty=!0}const Dr=new WeakMap;function Hr(e,t){if(!H(t))throw new TypeError;let n=Dr.get(t);return _(n)&&(n=function(n){Pr(e,t,void 0,n)},Dr.set(t,n)),n}const Ir=r(null),Fr=["rendered","connected","disconnected"];function Wr(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 jr=0;const Br=new WeakMap;function Vr(e,t,n=[]){return t.apply(e,n)}function Kr(e,t,n){e[t]=n}function Gr(e,t){return e[t]}function zr(e){eo(e)}function Ur(e){const t=Qr(e);Cr(7,t),1===t.state&&qr(e),oo(t),eo(t),Er(7,t)}function qr(e){Xr(Qr(e))}function Xr(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){D(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=Ir;t&&Wr(e,t);io(e)&&function(e){const{wiredDisconnecting:t}=e.context;ao(e,e,W,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),W)}(e);const{disconnectedCallback:n}=e.def;_(n)||(br(5,e),Ar(e,n),vr(5,e))}(e),so(e),function(e){const{aChildren:t}=e;lo(t)}(e)}}function Yr(e,t,n){const{mode:o,owner:i,tagName:s}=n,l=An(t),c={elm:e,def:l,idx:jr++,state:0,isScheduled:!1,isDirty:!0,tagName:s,mode:o,owner:i,children:ce,aChildren:ce,velements:ce,cmpProps:r(null),cmpFields:r(null),cmpSlots:r(null),oar:r(null),cmpTemplate:null,renderMode:l.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:le,wiredConnecting:ce,wiredDisconnecting:ce},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:Vr,setHook:Kr,getHook:Gr};return c.shadowMode=function(e){const{def:t}=e;let n;if(ge)if(0===t.renderMode)n=0;else if(me)if(ie.ENABLE_MIXED_SHADOW_MODE)if("any"===t.shadowSupportMode)n=0;else{const t=function(e){let t=e.owner;for(;!R(t)&&0===t.renderMode;)t=t.owner;return t}(e);n=R(t)||0!==t.shadowMode?1:0}else n=1;else n=1;else n=0;return n}(c),c.tro=_r(c),function(e,t){const n=Or;let r;br(0,e),Or=e;try{const o=new t;if(Or.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(vr(0,e),Or=n,!_(r))throw lt(e,r),r}}(c,l.ctor),io(c)&&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=uo.get(i);if(!_(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=ho(e,t,s),c=s.dynamic.length>0;C.call(r,(()=>{n.connect(),ie.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),C.call(o,(()=>{n.disconnect(),l()}))}}}(c),c}function Jr(e,t){Br.set(e,t)}function Qr(e){return Br.get(e)}function Zr(e){return Br.get(e)}function eo(e){if(L(e.isDirty)){!function(e,t){const{renderRoot:n,children:r}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&ao(e,e,(()=>{br(2,e)}),(()=>{Wn(r,t,n)}),(()=>{vr(2,e)}));1===e.state&&to(e)}(e,Rr(e))}}function to(e){const{def:{renderedCallback:t}}=e;if(L(pe))return;const{rendered:n}=Ir;n&&Wr(e,n),_(t)||(br(4,e),Ar(e,t),vr(4,e))}let no=[];function ro(){Cr(8);const e=no.sort(((e,t)=>e.idx-t.idx));no=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{eo(r)}catch(r){throw t+1<n&&(0===no.length&&ue(ro),S.apply(no,k.call(e,t+1))),Er(8),r}}Er(8)}function oo(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Ir;n&&Wr(e,n),io(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;_(r)||(br(3,e),Ar(e,r),vr(3,e))}function io(e){return c(e.def.wire).length>0}function so(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!_(n)){const e=Zr(n);_(e)||Xr(e)}}}function lo(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!R(n)&&!_(n.elm))switch(n.type){case 2:lo(n.children);break;case 3:Xr(Qr(n.elm));break}}}function co(e){const{children:t,renderRoot:n}=e;for(let e=0,r=t.length;e<r;e++){const r=t[e];R(r)||_(r.elm)||ve(r.elm,n)}e.children=ce,so(e),e.velements=ce}function ao(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!_(i)){lt(e,i);const n=R(t)?void 0:function(e){let t=e;for(;!R(t);){if(!_(t.def.errorCallback))return t;t=t.owner}}(t);if(_(n))throw i;co(e),br(6,e);Ar(n,n.def.errorCallback,[i,i.wcStack]),vr(6,e)}}}const uo=new Map;class fo extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),o(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function ho(e,t,n){const{method:r,adapter:o,configCallback:s,dynamic:l}=n,c=_(r)?function(e,t){const{cmpFields:n}=e;return r=>{r!==e.cmpFields[t]&&(n[t]=r,ot(e,t))}}(e,t):function(e,t){return n=>{ao(e,e.owner,W,(()=>{t.call(e.component,n)}),W)}}(e,r);let a,u;i(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),i(c,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),ao(e,e,W,(()=>{u=new o(c)}),W);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let r=!1;const o=new rt((()=>{!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=>{ao(e,e,W,(()=>{u.update(t,a)}),W)}));return _(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=mo(r);if(_(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l}}=e;C.call(s,(()=>{const e=new fo(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){C.call(l,e)}});Re(i,e)}))}(e,n,(t=>{a!==t&&(a=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const po=new Map;function mo(e){return po.get(e)}function go(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};uo.set(e,o)}function wo(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};uo.set(e,o)}let yo=!1;function bo(e){yo=!1,oo(e),vo(e),yo&&function(e,t){ct("error",e,t)}("Hydration completed with errors.",e)}function vo(e){const t=Rr(e);e.children=t;const n=e.renderRoot;Eo(Ke(n),t,n),to(e)}function Co(e,t){let n;switch(t.type){case 0:n=function(e,t){var n;if(!To(t,e,3))return Mo(e,t);return Oe(e,null!==(n=t.text)&&void 0!==n?n:null),t.elm=e,e}(e,t);break;case 1:n=function(e,t){var n;if(!To(t,e,8))return Mo(e,t);return xe(e,"nodeValue",null!==(n=t.text)&&void 0!==n?n:null),t.elm=e,e}(e,t);break;case 2:n=function(e,t){if(!To(t,e,1)||!So(t,e))return Mo(e,t);t.elm=e;const{context:n}=t.data,r=Boolean(!_(n)&&!_(n.lwc)&&"manual"===n.lwc.dom);if(r){const{props:n}=t.data;_(n)||_(n.innerHTML)||Se(e,"innerHTML")===n.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:he(n,"innerHTML")}))}ko(t),r||Eo(Ke(e),t.children,e,t.owner);return e}(e,t);break;case 3:n=function(e,t){if(!To(t,e,1)||!So(t,e))return Mo(e,t);const{sel:n,mode:r,ctor:o,owner:i}=t,s=Yr(e,o,{mode:r,owner:i,tagName:n});t.elm=e,t.vm=s,er(t,s),ko(t),oo(s),0!==s.renderMode&&Eo(Ke(e),t.children,e);return vo(s),e}(e,t)}return ke(n)}function Eo(e,t,n,r){let o=e,i=null;for(let e=0;e<t.length;e++){const r=t[e];R(r)||(o?(o=Co(o,r),i=r.elm):(yo=!0,Bn(r,n,i),i=r.elm))}if(o){yo=!0;do{const e=o;o=ke(o),Qn(e,n)}while(o)}}function Mo(e,t,n){yo=!0;const r=Se(e,"parentNode");return Bn(t,r,e),Qn(e,r),t.elm}function ko(e){Fn(e),Dn(null,e)}function To(e,t,n){return Se(t,"nodeType")===n}function So(e,t){if(e.sel.toLowerCase()!==Se(t,"tagName").toLowerCase())return!1;const n=function(e,t){const{data:{attrs:n={}}}=e;let r=!0;for(const[e,o]of Object.entries(n)){const n=Ne(t,e);String(o)!==n&&(r=!1)}return r}(e,t),r=function(e,t){const{data:{className:n,classMap:r}}=e;let o=!0;if(_(n)||String(n)===Se(t,"className")){if(!_(r)){const e=Le(t);let n="";for(const t in r)n+=" "+t,e.contains(t)||(o=!1);n.trim(),e.length>f(r).length&&(o=!1)}}else o=!1;return o}(e,t),o=function(e,t){const{data:{style:n,styleDecls:r}}=e,o=Ne(t,"style")||"";let i=!0;if(_(n)||n===o){if(!_(r)){const e=function(e){const t={},n=e.split(de);for(const e of n)if(e){const[n,r]=e.split(fe);void 0!==n&&void 0!==r&&(t[n.trim()]=r.trim())}return t}(o),t=[];for(let n=0,o=r.length;n<o;n++){const[o,s,l]=r[n];t.push(`${o}: ${s+(l?" important!":"")}`);const c=e[o];_(c)?i=!1:c.startsWith(s)?l&&!c.endsWith("!important")&&(i=!1):i=!1}f(e).length>r.length&&(i=!1),b.call(t,";")}}else i=!1;return i}(e,t);return n&&r&&o}let xo=!1;const Oo=r(null),No=document.head||document.body||document,Ao=H(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),Po=Ao&&l(document.adoptedStyleSheets,"length").writable,$o=r(null),_o=r(null),Ro=new WeakMap;let Lo,Do,Ho;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}}())Lo=customElements.get.bind(customElements),Do=customElements.define.bind(customElements),Ho=HTMLElement;else{const e=r(null),t=new WeakMap;Do=function(n,r){if(n!==$.call(n)||e[n])throw new TypeError("Invalid Registration");e[n]=r,t.set(r,n)},Lo=function(t){return e[t]},Ho=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},Ho.prototype=HTMLElement.prototype}let Io=!1;function Fo(e){Io=e}const Wo=U.$isNativeShadowRootDefined$,jo=u.call(Element.prototype,"$shadowToken$");function Bo(e,t,n){const r=Yr(e,t,{mode:"open",owner:null,tagName:e.tagName.toLowerCase()});for(const[t,r]of Object.entries(n))e[t]=r;return r}function Vo(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(!H(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!I(n)||R(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);if(Zr(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{Fo(!0);bo(Bo(e,t,n)),Fo(!1)}catch(r){console.error("Recovering from error while hydrating: ",r),function(e,t){if(e.shadowRoot){const t=e.shadowRoot;for(;!R(t.firstChild);)t.removeChild(t.firstChild)}if("light"===t.renderMode)for(;!R(e.firstChild);)e.removeChild(e.firstChild)}(e,t),Bo(e,t,n),Fo(!1),Ur(e)}finally{Fo(!1)}}Te=function(e,t){return Io?e.shadowRoot:e.attachShadow(t)},Me=function(e){return document.createComment(e)},Ce=function(e,t){return _(t)?document.createElement(e):document.createElementNS(t,e)},Ee=function(e){return document.createTextNode(e)},Je=Do,Re=function(e,t){return e.dispatchEvent(t)},Ne=function(e,t,n){return _(n)?e.getAttribute(t):e.getAttributeNS(n,t)},He=function(e){return e.getBoundingClientRect()},Ve=function(e){return e.childNodes},Be=function(e){return e.children},Le=function(e){return e.classList},Qe=Lo,je=function(e,t){return e.getElementsByClassName(t)},We=function(e,t){return e.getElementsByTagName(t)},Ke=function(e){return e.firstChild},Ge=function(e){return e.firstElementChild},ze=function(e){return e.lastChild},Ue=function(e){return e.lastElementChild},Se=function(e,t){return e[t]},we=Ho,be=function(e,t,n){t.insertBefore(e,n)},Xe=function(e){if(!_(Oo[e]))return;Oo[e]=!0;const t=document.createElement("style");t.type="text/css",t.textContent=e,No.appendChild(t)},Ye=function(e,t){Ao?function(e,t){let n=_o[e];_(n)&&(n=new CSSStyleSheet,n.replaceSync(e),_o[e]=n);const{adoptedStyleSheets:r}=t;r.includes(n)||(Po?r.push(n):t.adoptedStyleSheets=[...r,n])}(e,t):function(e,t){let n=Ro.get(t);if(_(n)&&(n=r(null),Ro.set(t,n)),n[e])return;n[e]=!0;let o=$o[e];_(o)?(o=document.createElement("style"),o.type="text/css",o.textContent=e,$o[e]=o):o=o.cloneNode(!0),t.appendChild(o)}(e,t)},qe=function(e){return e.isConnected},ye=function(){return Io},me=Wo,ge=jo,ke=function(e){return e.nextSibling},Ie=function(e,t){return e.querySelector(t)},Fe=function(e,t){return e.querySelectorAll(t)},ve=function(e,t){t.removeChild(e)},Pe=function(e,t,n){_(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)},_e=function(e,t,n,r){e.removeEventListener(t,n,r)},Ae=function(e,t,n,r){return _(r)?e.setAttribute(t,n):e.setAttributeNS(r,t,n)},De=function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},xe=function(e,t,n){e[t]=n},Oe=function(e,t){e.nodeValue=t},pe=!1,$e=function(e,t,n,r){e.addEventListener(t,n,r)};const Ko=new WeakSet;function Go(e){const t=function(e){return An(e).bridge}(e);return class extends t{constructor(){super(),this.isConnected?(Vo(this,e,{}),Ko.add(this)):Yr(this,e,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){Ko.has(this)?Ko.delete(this):Ur(this)}disconnectedCallback(){qr(this)}}}const zo=Node,Uo=new WeakMap,qo=new WeakMap;function Xo(e,t){const n=t.get(e);return _(n)||n(e),e}const{appendChild:Yo,insertBefore:Jo,removeChild:Qo,replaceChild:Zo}=zo.prototype;n(zo.prototype,{appendChild(e){return Xo(Yo.call(this,e),Uo)},insertBefore(e,t){return Xo(Jo.call(this,e,t),Uo)},removeChild(e){return Xo(Qo.call(this,e),qo)},replaceChild(e,t){const n=Zo.call(this,e,t);return Xo(n,qo),Xo(e,Uo),n}});const ei=Node;const ti=new Map;return i(Qt,"CustomElementConstructor",{get(){return function(e){if(e===Qt)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=ti.get(e);return _(t)&&(t=Go(e),ti.set(e,t)),t}(this)}}),s(Qt),h(Qt.prototype),e.LightningElement=Qt,e.__unstable__ProfilerControl=yr,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=mo(e);if(!_(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){po.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((()=>{_(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!I(t)||R(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${B(t)}".`);const n=t.is;if(!H(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const r=$n(e);let o=!1;const i=new r((r=>{Yr(r,n,{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null}),Uo.set(r,Ur),qo.set(r,qr),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.getComponentConstructor=function(e){let t=null;if(e instanceof HTMLElement){const n=Zr(e);_(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=An(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:Y(e)};const c={};for(const e in s)c[e]=s[e].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=Vo,e.isComponentConstructor=Nn,e.isNodeFromTemplate=function(e){if(D(e instanceof ei))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&D(u.call(a(t),"synthetic")))||jo&&!_(e.$shadowResolver$)},e.readonly=function(e){return Yt.getReadOnlyProxy(e)},e.register=function(e){for(let t=0;t<Fr.length;++t){const n=Fr[t];if(n in e){let t=Ir[n];_(t)&&(Ir[n]=t=[]),C.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return H(e)&&$r.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(!_(o))for(const e in o){const t=o[e];if(g[e]=t.config,w=l(n,e),t.config>0){if(_(w))throw new Error;w=dn(e,w)}else w=_(w)||_(w.get)?an(e):dn(e,w);f[e]=w,i(n,e,w)}if(_(s)||x.call(s,(e=>{if(w=l(n,e),_(w))throw new Error;d[e]=w})),!_(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(_(w))throw new Error;h[e]=w,go(w,t,o,s)}else w=ln(e),p[e]=w,wo(w,t,o,s),i(n,e,w)}if(!_(a))for(const e in a)w=l(n,e),w=cn(e),i(n,e,w);if(!_(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(n,t);const r=!_(o)&&t in o,i=!_(a)&&t in a;r||i||(m[t]=fn(t))}return function(e,t){hn.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return mn.add(e),i(e,"stylesheetTokens",{get(){const{stylesheetToken:e}=this;return _(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=_(e)?void 0:e.shadowAttribute}}),e},e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(_(oe[e])){const n=f(oe).map((e=>`"${e}"`)).join(", ");console.warn(`Failed to set the value "${t}" for the runtime feature flag "${e}" because it is undefined. Available flags: ${n}.`)}else{const n=ie[e];if(!_(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(ie,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(xo,"Hooks are already overridden, only one definition is allowed."),xo=!0,n=e.sanitizeHtmlContent,ar=n},e.swapComponent=function(e,t){if(!ie.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapStyle=function(e,t){if(!ie.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapTemplate=function(e,t){if(!ie.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.track=function(e){if(1===arguments.length)return Yt.getProxy(e);throw new Error},e.unwrap=function(e){return Yt.unwrapProxy(e)},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0}),e}({});
@@ -290,7 +290,7 @@ var LWC = (function (exports) {
290
290
  const XML_NAMESPACE = 'http://www.w3.org/XML/1998/namespace';
291
291
  const SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
292
292
  const XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';
293
- /** version: 2.11.3 */
293
+ /** version: 2.11.6 */
294
294
 
295
295
  /*
296
296
  * Copyright (c) 2018, salesforce.com, inc.
@@ -433,7 +433,7 @@ var LWC = (function (exports) {
433
433
  */
434
434
  function setFeatureFlagForTest(name, value) {
435
435
  }
436
- /** version: 2.11.3 */
436
+ /** version: 2.11.6 */
437
437
 
438
438
  /* proxy-compat-disable */
439
439
 
@@ -2037,6 +2037,12 @@ var LWC = (function (exports) {
2037
2037
  return isUndefined$1(meta) ? defaultMeta : meta;
2038
2038
  }
2039
2039
 
2040
+ /*
2041
+ * Copyright (c) 2018, salesforce.com, inc.
2042
+ * All rights reserved.
2043
+ * SPDX-License-Identifier: MIT
2044
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
2045
+ */
2040
2046
  const signedTemplateSet = new Set();
2041
2047
  function defaultEmptyTemplate() {
2042
2048
  return [];
@@ -2051,6 +2057,30 @@ var LWC = (function (exports) {
2051
2057
  */
2052
2058
  function registerTemplate(tpl) {
2053
2059
  signedTemplateSet.add(tpl);
2060
+ // FIXME[@W-10950976]: the template object should be frozen, and it should not be possible to set
2061
+ // the stylesheets or stylesheetToken(s). For backwards compat, though, we shim stylesheetTokens
2062
+ // on top of stylesheetToken for anyone who is accessing the old internal API.
2063
+ // Details: https://salesforce.quip.com/v1rmAFu2cKAr
2064
+ defineProperty(tpl, 'stylesheetTokens', {
2065
+ get() {
2066
+ const { stylesheetToken } = this;
2067
+ if (isUndefined$1(stylesheetToken)) {
2068
+ return stylesheetToken;
2069
+ }
2070
+ // Shim for the old `stylesheetTokens` property
2071
+ // See https://github.com/salesforce/lwc/pull/2332/files#diff-7901555acef29969adaa6583185b3e9bce475cdc6f23e799a54e0018cb18abaa
2072
+ return {
2073
+ hostAttribute: `${stylesheetToken}-host`,
2074
+ shadowAttribute: stylesheetToken,
2075
+ };
2076
+ },
2077
+ set(value) {
2078
+ // If the value is null or some other exotic object, you would be broken anyway in the past
2079
+ // because the engine would try to access hostAttribute/shadowAttribute, which would throw an error.
2080
+ // However it may be undefined in newer versions of LWC, so we need to guard against that case.
2081
+ this.stylesheetToken = isUndefined$1(value) ? undefined : value.shadowAttribute;
2082
+ },
2083
+ });
2054
2084
  // chaining this method as a way to wrap existing
2055
2085
  // assignment of templates easily, without too much transformation
2056
2086
  return tpl;
@@ -5135,7 +5165,7 @@ var LWC = (function (exports) {
5135
5165
  hooksAreSet = true;
5136
5166
  setSanitizeHtmlContentHook(hooks.sanitizeHtmlContent);
5137
5167
  }
5138
- /* version: 2.11.3 */
5168
+ /* version: 2.11.6 */
5139
5169
 
5140
5170
  /*
5141
5171
  * Copyright (c) 2018, salesforce.com, inc.
@@ -5742,7 +5772,7 @@ var LWC = (function (exports) {
5742
5772
  });
5743
5773
  freeze(LightningElement);
5744
5774
  seal(LightningElement.prototype);
5745
- /* version: 2.11.3 */
5775
+ /* version: 2.11.6 */
5746
5776
 
5747
5777
  exports.LightningElement = LightningElement;
5748
5778
  exports.__unstable__ProfilerControl = profilerControl;
@@ -359,9 +359,9 @@ var LWC = (function (exports) {
359
359
  */
360
360
  // Increment whenever the LWC template compiler changes
361
361
 
362
- var LWC_VERSION = "2.11.3";
362
+ var LWC_VERSION = "2.11.6";
363
363
  var LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
364
- /** version: 2.11.3 */
364
+ /** version: 2.11.6 */
365
365
 
366
366
  /*
367
367
  * Copyright (c) 2018, salesforce.com, inc.
@@ -539,7 +539,7 @@ var LWC = (function (exports) {
539
539
  setFeatureFlag(name, value);
540
540
  }
541
541
  }
542
- /** version: 2.11.3 */
542
+ /** version: 2.11.6 */
543
543
 
544
544
  /* proxy-compat-disable */
545
545
 
@@ -3470,6 +3470,13 @@ var LWC = (function (exports) {
3470
3470
  }
3471
3471
  }
3472
3472
  }
3473
+ /*
3474
+ * Copyright (c) 2018, salesforce.com, inc.
3475
+ * All rights reserved.
3476
+ * SPDX-License-Identifier: MIT
3477
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
3478
+ */
3479
+
3473
3480
 
3474
3481
  var signedTemplateSet = new Set();
3475
3482
 
@@ -3493,7 +3500,33 @@ var LWC = (function (exports) {
3493
3500
  checkVersionMismatch(tpl, 'template');
3494
3501
  }
3495
3502
 
3496
- signedTemplateSet.add(tpl); // chaining this method as a way to wrap existing
3503
+ signedTemplateSet.add(tpl); // FIXME[@W-10950976]: the template object should be frozen, and it should not be possible to set
3504
+ // the stylesheets or stylesheetToken(s). For backwards compat, though, we shim stylesheetTokens
3505
+ // on top of stylesheetToken for anyone who is accessing the old internal API.
3506
+ // Details: https://salesforce.quip.com/v1rmAFu2cKAr
3507
+
3508
+ defineProperty(tpl, 'stylesheetTokens', {
3509
+ get: function get() {
3510
+ var stylesheetToken = this.stylesheetToken;
3511
+
3512
+ if (isUndefined$1(stylesheetToken)) {
3513
+ return stylesheetToken;
3514
+ } // Shim for the old `stylesheetTokens` property
3515
+ // See https://github.com/salesforce/lwc/pull/2332/files#diff-7901555acef29969adaa6583185b3e9bce475cdc6f23e799a54e0018cb18abaa
3516
+
3517
+
3518
+ return {
3519
+ hostAttribute: "".concat(stylesheetToken, "-host"),
3520
+ shadowAttribute: stylesheetToken
3521
+ };
3522
+ },
3523
+ set: function set(value) {
3524
+ // If the value is null or some other exotic object, you would be broken anyway in the past
3525
+ // because the engine would try to access hostAttribute/shadowAttribute, which would throw an error.
3526
+ // However it may be undefined in newer versions of LWC, so we need to guard against that case.
3527
+ this.stylesheetToken = isUndefined$1(value) ? undefined : value.shadowAttribute;
3528
+ }
3529
+ }); // chaining this method as a way to wrap existing
3497
3530
  // assignment of templates easily, without too much transformation
3498
3531
 
3499
3532
  return tpl;
@@ -7958,7 +7991,7 @@ var LWC = (function (exports) {
7958
7991
  hooksAreSet = true;
7959
7992
  setSanitizeHtmlContentHook(hooks.sanitizeHtmlContent);
7960
7993
  }
7961
- /* version: 2.11.3 */
7994
+ /* version: 2.11.6 */
7962
7995
 
7963
7996
  /*
7964
7997
  * Copyright (c) 2018, salesforce.com, inc.
@@ -8738,7 +8771,7 @@ var LWC = (function (exports) {
8738
8771
  });
8739
8772
  freeze(LightningElement);
8740
8773
  seal(LightningElement.prototype);
8741
- /* version: 2.11.3 */
8774
+ /* version: 2.11.6 */
8742
8775
 
8743
8776
  exports.LightningElement = LightningElement;
8744
8777
  exports.__unstable__ProfilerControl = profilerControl;