lwc 2.36.0 → 2.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +26 -576
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +26 -576
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +18 -568
  5. package/dist/engine-dom/iife/es5/engine-dom.js +38 -654
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +30 -646
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +26 -576
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +18 -568
  11. package/dist/engine-dom/umd/es5/engine-dom.js +38 -654
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +30 -646
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +38 -24
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
  16. package/dist/engine-server/esm/es2017/engine-server.js +38 -25
  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
@@ -442,9 +442,9 @@ function htmlEscape(str, attrMode = false) {
442
442
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
443
443
  */
444
444
  // Increment whenever the LWC template compiler changes
445
- const LWC_VERSION = "2.36.0";
445
+ const LWC_VERSION = "2.37.0";
446
446
  const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
447
- /** version: 2.36.0 */
447
+ /** version: 2.37.0 */
448
448
 
449
449
  /*
450
450
  * Copyright (c) 2020, salesforce.com, inc.
@@ -496,10 +496,8 @@ const features = {
496
496
  ENABLE_WIRE_SYNC_EMIT: null,
497
497
  ENABLE_LIGHT_GET_ROOT_NODE_PATCH: null,
498
498
  DISABLE_LIGHT_DOM_UNSCOPED_CSS: null,
499
- ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY: null,
500
499
  ENABLE_FROZEN_TEMPLATE: null,
501
500
  DISABLE_ARIA_REFLECTION_POLYFILL: null,
502
- ENABLE_PROGRAMMATIC_STYLESHEETS: null,
503
501
  };
504
502
  if (!_globalThis.lwcRuntimeFlags) {
505
503
  Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
@@ -555,7 +553,7 @@ function setFeatureFlagForTest(name, value) {
555
553
  setFeatureFlag(name, value);
556
554
  }
557
555
  }
558
- /** version: 2.36.0 */
556
+ /** version: 2.37.0 */
559
557
 
560
558
  /**
561
559
  * Copyright (C) 2018 salesforce.com, inc.
@@ -619,7 +617,7 @@ function applyAriaReflection(prototype = Element.prototype) {
619
617
  }
620
618
  }
621
619
  }
622
- /** version: 2.36.0 */
620
+ /** version: 2.37.0 */
623
621
 
624
622
  /* proxy-compat-disable */
625
623
 
@@ -5911,18 +5909,16 @@ function validateComponentStylesheets(vm, stylesheets) {
5911
5909
  }
5912
5910
  // Validate and flatten any stylesheets defined as `static stylesheets`
5913
5911
  function computeStylesheets(vm, ctor) {
5914
- if (lwcRuntimeFlags.ENABLE_PROGRAMMATIC_STYLESHEETS) {
5915
- warnOnStylesheetsMutation(ctor);
5916
- const {
5917
- stylesheets
5918
- } = ctor;
5919
- if (!isUndefined$1(stylesheets)) {
5920
- const valid = validateComponentStylesheets(vm, stylesheets);
5921
- if (valid) {
5922
- return flattenStylesheets(stylesheets);
5923
- } else if (process.env.NODE_ENV !== 'production') {
5924
- logError(`static stylesheets must be an array of CSS stylesheets. Found invalid stylesheets on <${vm.tagName}>`, vm);
5925
- }
5912
+ warnOnStylesheetsMutation(ctor);
5913
+ const {
5914
+ stylesheets
5915
+ } = ctor;
5916
+ if (!isUndefined$1(stylesheets)) {
5917
+ const valid = validateComponentStylesheets(vm, stylesheets);
5918
+ if (valid) {
5919
+ return flattenStylesheets(stylesheets);
5920
+ } else if (process.env.NODE_ENV !== 'production') {
5921
+ logError(`static stylesheets must be an array of CSS stylesheets. Found invalid stylesheets on <${vm.tagName}>`, vm);
5926
5922
  }
5927
5923
  }
5928
5924
  return null;
@@ -6339,7 +6335,7 @@ function getOriginalArrayMethod(prop) {
6339
6335
  }
6340
6336
  function reportViolation(type, eventId, prop) {
6341
6337
  if (process.env.NODE_ENV !== 'production') {
6342
- logWarnOnce(`Mutating the "${prop}" property on a ${type} ` + `is deprecated and will be removed in a future version of LWC. ` + `See: https://lwc.dev/guide/css#deprecated-template-mutation`);
6338
+ logWarnOnce(`Mutating the "${prop}" property on a ${type} ` + `is deprecated and will be removed in a future version of LWC. ` + `See: https://sfdc.co/template-mutation`);
6343
6339
  }
6344
6340
  }
6345
6341
  function reportTemplateViolation(prop) {
@@ -6488,7 +6484,7 @@ function freezeTemplate(tmpl) {
6488
6484
  }
6489
6485
  }
6490
6486
  }
6491
- /* version: 2.36.0 */
6487
+ /* version: 2.37.0 */
6492
6488
 
6493
6489
  /*
6494
6490
  * Copyright (c) 2020, salesforce.com, inc.
@@ -6540,7 +6536,7 @@ function unsupportedMethod(name) {
6540
6536
  throw new TypeError(`"${name}" is not supported in this environment`);
6541
6537
  };
6542
6538
  }
6543
- function createElement(tagName, namespace) {
6539
+ function createElement$1(tagName, namespace) {
6544
6540
  return {
6545
6541
  [HostTypeKey]: HostNodeType.Element,
6546
6542
  tagName,
@@ -6791,7 +6787,7 @@ const assertInstanceOfHTMLElement = noop;
6791
6787
  const localRegistryRecord = new Map();
6792
6788
  function createUpgradableElementConstructor(tagName) {
6793
6789
  return function Ctor(upgradeCallback) {
6794
- const elm = createElement(tagName);
6790
+ const elm = createElement$1(tagName);
6795
6791
  if (isFunction$1(upgradeCallback)) {
6796
6792
  upgradeCallback(elm); // nothing to do with the result for now
6797
6793
  }
@@ -6818,7 +6814,7 @@ const renderer = {
6818
6814
  remove,
6819
6815
  cloneNode,
6820
6816
  createFragment,
6821
- createElement,
6817
+ createElement: createElement$1,
6822
6818
  createText,
6823
6819
  createComment,
6824
6820
  createCustomElement,
@@ -6959,11 +6955,29 @@ function renderComponent(tagName, Ctor, props = {}) {
6959
6955
  */
6960
6956
  freeze(LightningElement);
6961
6957
  seal(LightningElement.prototype);
6962
- /* version: 2.36.0 */
6958
+
6959
+ /*
6960
+ * Copyright (c) 2018, salesforce.com, inc.
6961
+ * All rights reserved.
6962
+ * SPDX-License-Identifier: MIT
6963
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6964
+ */
6965
+ /**
6966
+ * This API is equivalent to the createElement function exposed by @lwc/engine-dom. It doesn't do anything on
6967
+ * the server side, however, you may import it.
6968
+ *
6969
+ * The whole point of defining this and exporting it is so that you can import it in isomorphic code without
6970
+ * an error being thrown by the import itself.
6971
+ */
6972
+ function createElement() {
6973
+ throw new Error('createElement is not supported in @lwc/engine-server, only @lwc/engine-dom.');
6974
+ }
6975
+ /* version: 2.37.0 */
6963
6976
 
6964
6977
  exports.LightningElement = LightningElement;
6965
6978
  exports.api = api$1;
6966
6979
  exports.createContextProvider = createContextProvider;
6980
+ exports.createElement = createElement;
6967
6981
  exports.freezeTemplate = freezeTemplate;
6968
6982
  exports.getComponentDef = getComponentDef;
6969
6983
  exports.isComponentConstructor = isComponentConstructor;
@@ -1 +1 @@
1
- "use strict";var e=Object.freeze({__proto__:null,fail:function(e){throw new Error(e)},invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)}});const{assign:t,create:n,defineProperties:r,defineProperty:o,freeze:s,getOwnPropertyDescriptor:i,getOwnPropertyNames:l,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:d,seal:f,setPrototypeOf:p}=Object,{isArray:h}=Array,{concat:m,copyWithin:g,fill:w,filter:y,find:b,indexOf:v,join:E,map:C,pop:S,push:k,reduce:M,reverse:T,shift:A,slice:x,some:N,sort:O,splice:P,unshift:L,forEach:_}=Array.prototype,{fromCharCode:R}=String,{charCodeAt:D,replace:$,split:I,slice:F,toLowerCase:H}=String.prototype;function B(e){return void 0===e}function W(e){return null===e}function V(e){return!0===e}function j(e){return!1===e}function G(e){return"function"==typeof e}function U(e){return"string"==typeof e}function Y(){}const K={}.toString;function z(e){return e&&e.toString?h(e)?E.call(C.call(e,z),","):e.toString():"object"==typeof e?K.call(e):e+""}function q(e,t){do{const n=i(e,t);if(!B(n))return n;e=a(e)}while(null!==e)}const X=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],{AriaAttrNameToPropNameMap:Z,AriaPropNameToAttrNameMap:J}=(()=>{const e=n(null),t=n(null);return _.call(X,(n=>{const r=H.call($.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})();function Q(e){return e in Z}const ee="object"==typeof globalThis?globalThis:window,te="$shadowResolver$",ne="$shadowStaticNode$",re="$scoped$",oe="http://www.w3.org/1999/xhtml",se="http://www.w3.org/XML/1998/namespace",ie="http://www.w3.org/2000/svg",le="http://www.w3.org/1999/xlink",ae=new Set(["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr","param","keygen","menuitem"]);const ce=/-([a-z])/g,ue=new Map([["autofocus",new Set(["button","input","keygen","select","textarea"])],["autoplay",new Set(["audio","video"])],["checked",new Set(["command","input"])],["disabled",new Set(["button","command","fieldset","input","keygen","optgroup","select","textarea"])],["formnovalidate",new Set(["button"])],["hidden",new Set],["loop",new Set(["audio","bgsound","marquee","video"])],["multiple",new Set(["input","select"])],["muted",new Set(["audio","video"])],["novalidate",new Set(["form"])],["open",new Set(["details"])],["readonly",new Set(["input","textarea"])],["required",new Set(["input","select","textarea"])],["reversed",new Set(["ol"])],["selected",new Set(["option"])]]);function de(e,t){const n=ue.get(e);return void 0!==n&&(0===n.size||n.has(t))}const fe=new Set(["accesskey","autocapitalize","autofocus","class","contenteditable","contextmenu","dir","draggable","enterkeyhint","exportparts","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","part","slot","spellcheck","style","tabindex","title","translate"]);function pe(e){return fe.has(e)}const{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:he,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:me}=(()=>{const e=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"]]),t=new Map;return e.forEach(((e,n)=>t.set(e,n))),{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:t,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:e}})(),ge=new Map,we=new Map;function ye(e){const t=J[e];if(!B(t))return t;const n=me.get(e);if(!B(n))return n;const r=ge.get(e);if(!B(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=D.call(e,t);o+=n>=65&&n<=90?"-"+R(n+32):R(n)}return ge.set(e,o),o}function be(e){const t=Z[e];if(!B(t))return t;const n=he.get(e);if(!B(n))return n;const r=we.get(e);if(!B(r))return r;const o=$.call(e,ce,(e=>e[1].toUpperCase()));return we.set(e,o),o}const ve={'"':"&quot;","'":"&#x27;","<":"&lt;",">":"&gt;","&":"&amp;"};function Ee(e,t=!1){const n=t?/["&]/g:/["'<>&]/g;return e.replace(n,(e=>ve[e]))}if("function"!=typeof Event){class e{}o(ee,"Event",{value:e,configurable:!0,writable:!0})}if("function"!=typeof CustomEvent){class e extends Event{}o(ee,"CustomEvent",{value:e,configurable:!0,writable:!0})}const Ce={DUMMY_TEST_FLAG:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_WIRE_SYNC_EMIT:null,ENABLE_LIGHT_GET_ROOT_NODE_PATCH:null,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null,ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY:null,ENABLE_FROZEN_TEMPLATE:null,DISABLE_ARIA_REFLECTION_POLYFILL:null,ENABLE_PROGRAMMATIC_STYLESHEETS:null};ee.lwcRuntimeFlags||Object.defineProperty(ee,"lwcRuntimeFlags",{value:n(null)});const Se=ee.lwcRuntimeFlags;function ke(e,t){return B(i(t,e))}function Me(e,t){const n=function(e){return{get(){return this.hasAttribute(e)?this.getAttribute(e):null},set(t){W(t)?this.removeAttribute(e):this.setAttribute(e,t)},configurable:!0,enumerable:!0}}(J[e]);o(t,e,n)}function Te(e){return`<${H.call(e.tagName)}>`}function Ae(e,t){if(!u(t)&&B(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!W(n);)k.call(t,Te(n)),n=n.owner;return t.reverse().join("\n\t")}(e);o(t,"wcStack",{get:()=>n})}}const xe=new Set;function Ne(e,t,n,r){let o=`[LWC ${e}]: ${t}`;if(B(n)||(o=`${o}\n${function(e){const t=[];let n="";for(;!W(e.owner);)k.call(t,n+Te(e)),e=e.owner,n+="\t";return E.call(t,"\n")}(n)}`),r){if(xe.has(o))return;xe.add(o)}try{throw new Error(o)}catch(t){console[e](t)}}function Oe(e,t){Ne("error",e,t,!1)}const Pe=new WeakMap;const Le={observe(e){e()},reset(){},link(){}};function _e(e){return Le}const Re=f(n(null)),De=f([]);function $e(e){const t=[];for(const n of e)h(n)?t.push(...$e(n)):t.push(n);return t}function Ie(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}function Fe(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function He(e){return G(e)&&c.call(e,"__circular__")}const Be="undefined"!=typeof HTMLElement?HTMLElement:function(){},We=Be.prototype;let Ve,je=null;function Ge(e,t){return e!==je||t!==Ve}function Ue(e,t){je=null,Ve=void 0}function Ye(e,t){je=e,Ve=t}const Ke=n(null);function ze(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n)}_.call(d(J),(e=>{const t=q(We,e);B(t)||(Ke[e]=t)})),_.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=q(We,e);B(t)||(Ke[e]=t)}));const{isArray:qe}=Array,{prototype:Xe,getPrototypeOf:Ze,create:Je,defineProperty:Qe,isExtensible:et,getOwnPropertyDescriptor:tt,getOwnPropertyNames:nt,getOwnPropertySymbols:rt,preventExtensions:ot,hasOwnProperty:st}=Object,{push:it,concat:lt}=Array.prototype;function at(e){return void 0===e}function ct(e){return"function"==typeof e}const ut=new WeakMap;function dt(e,t){ut.set(e,t)}const ft=e=>ut.get(e)||e;class pt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(st.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;at(n)||(e.get=this.wrapGetter(n)),at(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=tt(n,t);if(!at(r)){const n=this.wrapDescriptor(r);Qe(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;lt.call(nt(t),rt(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;at(n)||st.call(e,n)||Qe(e,n,Je(null)),ot(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=at(n)||st.call(t,n)?[]:[n];return it.apply(r,nt(t)),it.apply(r,rt(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!et(e)&&(!!et(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return Ze(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let s=tt(n,t);if(at(s)){if(t!==o)return;return s={value:void 0,writable:!1,configurable:!1,enumerable:!1},Qe(e,o,s),s}return!1===s.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(s)}}const ht=new WeakMap,mt=new WeakMap,gt=new WeakMap,wt=new WeakMap;class yt extends pt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=ht.get(e);if(!at(t))return t;const n=this,r=function(){return n.wrapValue(e.call(ft(this)))};return ht.set(e,r),gt.set(r,e),r}wrapSetter(e){const t=mt.get(e);if(!at(t))return t;const n=function(t){e.call(ft(this),ft(t))};return mt.set(e,n),wt.set(n,e),n}unwrapDescriptor(e){if(st.call(e,"value"))e.value=ft(e.value);else{const{set:t,get:n}=e;at(n)||(e.get=this.unwrapGetter(n)),at(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=gt.get(e);if(!at(t))return t;const n=this,r=function(){return ft(e.call(n.wrapValue(this)))};return ht.set(r,e),gt.set(e,r),r}unwrapSetter(e){const t=wt.get(e);if(!at(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return mt.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&&qe(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(et(e)){const{originalTarget:t}=this;if(ot(t),et(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:s}}=this;return t===s&&!st.call(r,t)||(Qe(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const bt=new WeakMap,vt=new WeakMap;class Et extends pt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=bt.get(e);if(!at(t))return t;const n=this,r=function(){return n.wrapValue(e.call(ft(this)))};return bt.set(e,r),r}wrapSetter(e){const t=vt.get(e);if(!at(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 Ct(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(qe(e))return!0;const t=Ze(e);return t===Xe||null===t||null===Ze(t)}const St=(e,t)=>{},kt=(e,t)=>{};function Mt(e){return qe(e)?[]:{}}const Tt=Symbol.for("@@lockerLiveValue"),At=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=ct(t)?t:kt,this.valueObserved=ct(n)?n:St,this.valueIsObservable=ct(r)?r:Ct,this.tagPropertyKey=o}getProxy(e){const t=ft(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=ft(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return ft(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(at(t)){const n=new yt(this,e);t=new Proxy(Mt(e),n),dt(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(at(t)){const n=new Et(this,e);t=new Proxy(Mt(e),n),dt(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:function(e,t){},valueMutated:function(e,t){const n=Pe.get(e);if(!B(n)){const e=n[t];if(!B(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}},tagPropertyKey:Tt});function xt(e){return At.getReadOnlyProxy(e)}function Nt(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!G(n))throw new TypeError;if(!G(r))throw new TypeError;return{enumerable:o,configurable:s,get(){const e=xr(this);if(!lr(e))return n.call(e.elm)},set(t){const n=xr(this);return ze(n,e,t),r.call(n.elm,t)}}}const Ot=new WeakMap,Pt=function(){if(W(ir))throw new TypeError("Illegal constructor");const e=ir,{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 Ar(o,e),Ar(n,e),1===e.renderMode?e.renderRoot=Lt(e):e.renderRoot=n,this};function Lt(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:s}}=e,i=s(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=i,Ar(i,e),i}Pt.prototype={constructor:Pt,dispatchEvent(e){const t=xr(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=xr(this),{elm:o,renderer:{addEventListener:s}}=r;s(o,e,hr(r,t),n)},removeEventListener(e,t,n){const r=xr(this),{elm:o,renderer:{removeEventListener:s}}=r;s(o,e,hr(r,t),n)},hasAttribute(e){const t=xr(this),{elm:n,renderer:{getAttribute:r}}=t;return!W(r(n,e))},hasAttributeNS(e,t){const n=xr(this),{elm:r,renderer:{getAttribute:o}}=n;return!W(o(r,t,e))},removeAttribute(e){const t=xr(this),{elm:n,renderer:{removeAttribute:r}}=t;Ye(n,e),r(n,e),Ue()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=xr(this);Ye(n,t),r(n,t,e),Ue()},getAttribute(e){const t=xr(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=xr(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=xr(this),{elm:r,renderer:{setAttribute:o}}=n;Ye(r,e),o(r,e,t),Ue()},setAttributeNS(e,t,n){const r=xr(this),{elm:o,renderer:{setAttribute:s}}=r;Ye(o,t),s(o,t,n,e),Ue()},getBoundingClientRect(){const e=xr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=xr(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=xr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return xr(this).shadowRoot},get refs(){const e=xr(this);if(Zn)return;const{refVNodes:t,cmpTemplate:r}=e;if(W(t))return;let o=Ot.get(t);if(B(o)){o=n(null);for(const e of d(t))o[e]=t[e].elm;s(o),Ot.set(t,o)}return o},set refs(e){o(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=xr(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=xr(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=xr(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=xr(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=xr(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=xr(this);return e.renderer.getLastElementChild(e.elm)},render(){return xr(this).def.template},toString(){return`[object ${xr(this).def.name}]`}};const _t=n(null),Rt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of Rt)_t[e]={value(t){const n=xr(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};r(Pt.prototype,_t);const Dt=n(null);for(const e in Ke)Dt[e]=Nt(e,Ke[e]);function $t(){!function(e=Element.prototype){const t=d(J);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];ke(r,e)&&Me(r,e)}}(Pt.prototype)}function It(e){return{get(){return xr(this).cmpFields[e]},set(t){ze(xr(this),e,t)},enumerable:!0,configurable:!0}}r(Pt.prototype,Dt),Se.DISABLE_ARIA_REFLECTION_POLYFILL,$t(),o(Pt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const Ft=new Map;class Ht extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function Bt(e,t,n){const{method:r,adapter:s,configCallback:i,dynamic:l}=n;const a=B(r)?function(e,t){return n=>{ze(e,t,n)}}(e,t):function(e,t){return n=>{$r(e,e.owner,Y,(()=>{t.call(e.component,n)}),Y)}}(e,r),c=e=>{a(e)};let u,d;o(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),o(c,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),$r(e,e,Y,(()=>{d=new s(c)}),Y);const{computeConfigAndUpdate:f,ro:p}=function(e,t,n){const r=_e();return{computeConfigAndUpdate:()=>{let o;r.observe((()=>o=t(e))),n(o)},ro:r}}(e.component,i,(t=>{$r(e,e,Y,(()=>{d.update(t,u)}),Y)}));return B(s.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Vt(r);if(B(o))return;const{elm:s,context:{wiredConnecting:i,wiredDisconnecting:l},renderer:{dispatchEvent:a}}=e;k.call(i,(()=>{const e=new Ht(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){k.call(l,e)}});a(s,e)}))}(e,n,(t=>{u!==t&&(u=t,1===e.state&&f())})),{connector:d,computeConfigAndUpdate:f,resetConfigWatcher:()=>p.reset()}}const Wt=new Map;function Vt(e){return Wt.get(e)}function jt(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Ft.set(e,o)}function Gt(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Ft.set(e,o)}function Ut(e){return{get(){const t=xr(this);if(!lr(t))return t.cmpProps[e]},set(t){xr(this).cmpProps[e]=t},enumerable:!0,configurable:!0}}function Yt(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!G(n))throw new Error;return{get(){return n.call(this)},set(e){xr(this),r&&r.call(this,e)},enumerable:o,configurable:s}}function Kt(e){return{get(){return xr(this).cmpFields[e]},set(t){ze(xr(this),e,t)},enumerable:!0,configurable:!0}}function zt(e){return{get(){return xr(this).cmpFields[e]},set(t){ze(xr(this),e,t)},enumerable:!0,configurable:!0}}const qt=new Map;const Xt={apiMethods:Re,apiFields:Re,apiFieldsConfig:Re,wiredMethods:Re,wiredFields:Re,observedFields:Re};const Zt=new Set;function Jt(){return[]}Zt.add(Jt);const Qt=n(null),en=n(null);function tn(e){let t=Qt[e];return B(t)&&(t=Qt[e]=function(){const t=xr(this),{getHook:n}=t;return n(t.component,e)}),t}function nn(e){let t=en[e];return B(t)&&(t=en[e]=function(t){const n=xr(this),{setHook:r}=n;t=xt(t),r(n.component,e,t)}),t}function rn(e){return function(){const t=xr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,x.call(arguments))}}function on(e,t){return function(n,r,o){if(r===o)return;const s=e[n];B(s)?B(t)||t.apply(this,arguments):Ge(this,n)&&(this[s]=o)}}function sn(e,t,s){let i;G(e)?i=class extends e{}:(i=function(){throw new TypeError("Illegal constructor")},p(i,e),p(i.prototype,e.prototype),o(i.prototype,"constructor",{writable:!0,configurable:!0,value:i}));const l=n(null),{attributeChangedCallback:a}=e.prototype,{observedAttributes:c=[]}=e,u=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[ye(n)]=n,u[n]={get:tn(n),set:nn(n),enumerable:!0,configurable:!0}}for(let e=0,t=s.length;e<t;e+=1){const t=s[e];u[t]={value:rn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:on(l,a)},o(i,"observedAttributes",{get:()=>[...c,...d(l)]}),r(i.prototype,u),i}const ln=sn(Be,l(Ke),[]);s(ln),f(ln.prototype);new WeakMap,new WeakMap,new WeakMap,new WeakMap;const an=new WeakMap;function cn(e){const{shadowSupportMode:o,renderMode:s}=e,i=function(e){const t=qt.get(e);return B(t)?Xt:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:f,wiredMethods:p,observedFields:h}=i,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=a(e);if(W(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(He(t)){const e=Fe(t);t=e===t?Pt:e}return t}(e),C=E!==Pt?dn(E):fn,S=sn(C.bridge,d(l),d(u)),k=t(n(null),C.props,l),M=t(n(null),C.propsConfig,c),T=t(n(null),C.methods,u),A=t(n(null),C.wire,f,p);g=g||C.connectedCallback,w=w||C.disconnectedCallback,y=y||C.renderedCallback,b=b||C.errorCallback,v=v||C.render;let x=C.shadowSupportMode;B(o)||(x=o);let N=C.renderMode;B(s)||(N="light"===s?0:1);const O=function(e){return ur.get(e)}(e)||C.template,P=e.name||C.name;r(m,h);return{ctor:e,name:P,wire:A,props:k,propsConfig:M,methods:T,bridge:S,template:O,renderMode:N,shadowSupportMode:x,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function un(e){if(!G(e))return!1;if(e.prototype instanceof Pt)return!0;let t=e;do{if(He(t)){const e=Fe(t);if(e===t)return!0;t=e}if(t===Pt)return!0}while(!W(t)&&(t=a(t)));return!1}function dn(e){let t=an.get(e);if(B(t)){if(He(e)){return t=dn(Fe(e)),an.set(e,t),t}if(!un(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=cn(e),an.set(e,t)}return t}const fn={ctor:Pt,name:Pt.name,props:Dt,propsConfig:Re,methods:Re,renderMode:1,shadowSupportMode:"reset",wire:Re,bridge:ln,template:Jt,render:Pt.prototype.render};function pn(e){return`${e}-host`}function hn(e){return Xn.h("style",{key:"style",attrs:{type:"text/css"}},[Xn.t(e)])}function mn(e,t,n){const r=[];let o;for(let s=0;s<e.length;s++){let i=e[s];if(h(i))k.apply(r,mn(i,t,n));else{const e=i[re];if(Se.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){Oe("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}const s=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let a;1===n.renderMode?a=0===n.shadowMode:(B(o)&&(o=gn(n)),a=W(o)||0===o.shadowMode),k.call(r,i(s,l,a))}}return r}function gn(e){let t=e;for(;!W(t);){if(1===t.renderMode)return t;t=t.owner}return t}function wn(e){const{type:t}=e;return 2===t||3===t}function yn(e,t){return e.key===t.key&&e.sel===t.sel}function bn(e){return 5===e.type}function vn(e){return 6===e.type}function En(e,t){return"input"===e&&("value"===t||"checked"===t)}const Cn=n(null);function Sn(e){if(null==e)return Re;e=U(e)?e:e+"";let t=Cn[e];if(t)return t;t=n(null);let r,o=0;const s=e.length;for(r=0;r<s;r++)32===D.call(e,r)&&(r>o&&(t[F.call(e,o,r)]=!0),o=r+1);return r>o&&(t[F.call(e,o,r)]=!0),Cn[e]=t,t}function kn(e,t,n,r){Bn(t)?Vn(e,t,n,r):jn(e,t,n,r)}function Mn(e,t,n,r){var o,s;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&_n(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:s}=t;s?jn(e.children,o,n,r):Vn(e.children,o,n,r);t.elm=o[o.length-1].elm}(e,t,n,r);break;case 2:!function(e,t,n){const r=t.elm=e.elm;Dn(e,t,n),kn(e.children,t.children,r,n)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:r);break;case 3:!function(e,t,n,r){if(e.ctor!==t.ctor){const o=r.nextSibling(e.elm);Nn(e,n,r,!0),An(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;if(Dn(e,t,r),!B(o)){In(t,o);const{shadowMode:n,renderMode:r}=o;0==n&&0!==r&&Bn(e.children)&&Hn(t.children)}kn(e.children,t.children,n,r),B(o)||function(e){Or(e)}(o)}}(e,t,n,null!==(s=t.data.renderer)&&void 0!==s?s:r)}}function Tn(e,t,n,r){var o,s;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:s}=r,i=e.elm=s(e.text);Ln(i,o,r),Rn(i,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:s}=r,i=e.elm=s(e.text);Ln(i,o,r),Rn(i,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:s,isSyntheticShadowDefined:i}=r,l=e.elm=s(e.fragment,!0);Ln(l,o,r);const{renderMode:a,shadowMode:c}=o;i&&(1!==c&&0!==a||(l[ne]=!0));Rn(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;xn(o,t,r,n),e.elm=o[o.length-1].elm}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:s,data:{svg:i}}=e,{createElement:l}=r,a=V(i)?ie:void 0,c=e.elm=l(o,a);Ln(c,s,r),$n(c,s,r),function(e,t){var n;const{owner:r,data:{context:o}}=t;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(c,e),Dn(null,e,r),Rn(c,t,n,r),xn(e.children,c,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:An(e,t,r,null!==(s=e.data.renderer)&&void 0!==s?s:n)}}function An(e,t,n,r){const{sel:o,owner:s}=e,{createCustomElement:i}=r;let l;let a,c;Se.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(a=e=>{Sr(e)},c=e=>{kr(e)});const u=i(o.toLowerCase(),(t=>{l=function(e,t,n){let r=Nr(e);if(!B(r))return r;const{sel:o,mode:s,ctor:i,owner:l}=t;return r=Tr(e,i,n,{mode:s,owner:l,tagName:o}),r}(t,e,r)}),a,c);e.elm=u,e.vm=l,Ln(u,s,r),$n(u,s,r),l&&In(e,l),Dn(null,e,r),Rn(u,t,n,r),l&&Pr(l),xn(e.children,u,r,null),l&&function(e){Or(e)}(l)}function xn(e,t,n,r,o=0,s=e.length){for(;o<s;++o){const s=e[o];Pn(s)&&Tn(s,t,n,r)}}function Nn(e,t,n,r=!1){const{type:o,elm:s,sel:i}=e;switch(r&&(5===o?On(e.children,t,n,r):function(e,t,n){n.remove(e,t)}(s,t,n)),o){case 2:{const t="slot"===i&&1===e.owner.shadowMode;On(e.children,s,n,t);break}case 3:{const{vm:t}=e;B(t)||function(e){Mr(e)}(t)}}}function On(e,t,n,r=!1,o=0,s=e.length){for(;o<s;++o){const s=e[o];Pn(s)&&Nn(s,t,n,r)}}function Pn(e){return null!=e}function Ln(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:s}=t,{isSyntheticShadowDefined:i}=n;i&&(1!==s&&0!==o||(e[te]=r[te]))}function _n(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function Rn(e,t,n,r){r.insert(e,t,n)}function Dn(e,n,r){W(e)&&(function(e,t){const{elm:n,data:{on:r}}=e;if(B(r))return;const{addEventListener:o}=t;for(const e in r)o(n,e,r[e])}(n,r),function(e,t){const{elm:n,data:{classMap:r}}=e;if(B(r))return;const{getClassList:o}=t,s=o(n);for(const e in r)s.add(e)}(n,r),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(B(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,s,i]=r[e];o(n,t,s,i)}}(n,r)),function(e,t,n){const{elm:r,data:{className:o}}=t,s=W(e)?void 0:e.data.className;if(s===o)return;const{getClassList:i}=n,l=i(r),a=Sn(o),c=Sn(s);let u;for(u in c)B(a[u])&&l.remove(u);for(u in a)B(c[u])&&l.add(u)}(e,n,r),function(e,t,n){const{elm:r,data:{style:o}}=t;if((W(e)?void 0:e.data.style)===o)return;const{setAttribute:s,removeAttribute:i}=n;U(o)&&""!==o?s(r,"style",o):i(r,"style")}(e,n,r),n.data.external?function(e,t,n){const{data:{attrs:r},elm:o}=t;if(B(r))return;const{removeAttribute:s,setAttribute:i,setProperty:l}=n,a=W(e)?Re:e.data.attrs;for(const e in r){const t=r[e];a[e]!==t&&(be(e)in o?l(o,e,t):58===D.call(e,3)?i(o,e,t,se):58===D.call(e,5)?i(o,e,t,le):W(t)||B(t)?s(o,e):i(o,e,t))}}(e,n,r):function(e,t,n){const{attrs:r}=t.data;if(B(r))return;const o=W(e)?Re:e.data.attrs;if(o===r)return;const{elm:s}=t,{setAttribute:i,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(Ye(s,e),58===D.call(e,3)?i(s,e,t,se):58===D.call(e,5)?i(s,e,t,le):W(t)||B(t)?l(s,e):i(s,e,t),Ue())}}(e,n,r),function(e,n,r){let{props:o}=n.data;const{spread:s}=n.data;if(B(o)&&B(s))return;let i;if(!W(e)){i=e.data.props;const n=e.data.spread;if(i===o&&n===s)return;B(i)&&(i=Re),B(n)||(i=t({},i,n))}B(s)||(o=t({},o,s));const l=W(e),{elm:a,sel:c}=n,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(En(c,e)?u(a,e):i[e])&&e in i||d(a,e,t)}}(e,n,r)}function $n(e,t,n){const r=function(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}(t);if(!W(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||B(o)||(e.$shadowToken$=o)}function In(e,t){const r=e.aChildren||e.children,{renderMode:o,shadowMode:s}=t,i=function(e){const t=[],n=[];let r,o=!1;for(let t=e.length-1;t>-1;t-=1){const r=e[t];k.call(n,r),o=o||!(!r||!bn(r))}if(!o)return e;for(;!B(r=S.call(n));)if(!W(r)&&bn(r)){const e=r.children;for(let t=e.length-2;t>0;t-=1)k.call(n,e[t])}else k.call(t,r);return Hn(t),t}(r);e.children=i,t.aChildren=i,1!==s&&0!==o||(!function(e,t,r){var o,s;const{cmpSlots:{slotAssignments:i}}=e,l=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(W(n))continue;let r="";wn(n)?r=null!==(s=null===(o=n.data.attrs)||void 0===o?void 0:o.slot)&&void 0!==s?s:"":vn(n)&&(r=n.slotName);const i=""+r,a=l[i]=l[i]||[];k.call(a,n)}if(e.cmpSlots={owner:r,slotAssignments:l},j(e.isDirty)){const t=d(i);if(t.length!==d(l).length)return void fr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(B(l[r])||i[r].length!==l[r].length)return void fr(e);const o=i[r],s=l[r];for(let t=0,n=l[r].length;t<n;t+=1)if(o[t]!==s[t])return void fr(e)}}}(t,i,e.owner),e.aChildren=i,e.children=De)}const Fn=new WeakMap;function Hn(e){Fn.set(e,1)}function Bn(e){return Fn.has(e)}function Wn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(Pn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function Vn(e,t,n,r){let o=0,s=0,i=e.length-1,l=e[0],a=e[i];const c=t.length-1;let u,d,f,p,h=c,m=t[0],g=t[h],w=!1;for(;o<=i&&s<=h;)Pn(l)?Pn(a)?Pn(m)?Pn(g)?yn(l,m)?(Mn(l,m,n,r),l=e[++o],m=t[++s]):yn(a,g)?(Mn(a,g,n,r),a=e[--i],g=t[--h]):yn(l,g)?(Mn(l,g,n,r),Rn(l.elm,n,r.nextSibling(a.elm),r),l=e[++o],g=t[--h]):yn(a,m)?(Mn(a,m,n,r),Rn(m.elm,n,l.elm,r),a=e[--i],m=t[++s]):(void 0===u&&(u=Wn(e,o,i)),d=u[m.key],B(d)?(Tn(m,n,r,l.elm),m=t[++s]):(f=e[d],Pn(f)&&(f.sel!==m.sel?Tn(m,n,r,l.elm):(Mn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,Rn(f.elm,n,l.elm,r))),m=t[++s])):g=t[--h]:m=t[++s]:a=e[--i]:l=e[++o];if(o<=i||s<=h)if(o>i){let e,o=h;do{e=t[++o]}while(!Pn(e)&&o<c);p=Pn(e)?e.elm:null,xn(t,n,r,p,s,h+1)}else On(e,n,r,!0,o,i+1)}function jn(e,t,n,r){const o=e.length,s=t.length;if(0===o)return void xn(t,n,r,null);if(0===s)return void On(e,n,r,!0);let i=null;for(let o=s-1;o>=0;o-=1){const s=e[o],l=t[o];l!==s&&(Pn(s)?Pn(l)?(Mn(s,l,n,r),i=l.elm):Nn(s,n,r,!0):Pn(l)&&(Tn(l,n,r,i),i=l.elm))}}const Gn=Symbol.iterator;function Un(e,t,n=De){const r=Qn(),{key:o,ref:s}=t,i={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return B(s)||Ie(r,s,i),i}function Yn(e,t,n,r=De){const o=Qn(),{key:s,ref:i}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:s,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){k.call(Qn().velements,e)}(l),B(i)||Ie(o,i,l),l}function Kn(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:Qn()}}function zn(e){return Hn(e),e}let qn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const Xn=s({s:function(e,t,n,r){if(!B(r)&&!B(r.slotAssignments)&&!B(r.slotAssignments[e])&&0!==r.slotAssignments[e].length){const o=[],s=r.slotAssignments[e];for(let e=0;e<s.length;e++){const n=s[e];if(!W(n)){const e=vn(n);if(e!==!B(t.slotData))continue;if(e){const e=Qn();er(r.owner);try{k.call(o,n.factory(t.slotData,t.key))}finally{er(e)}}else k.call(o,n)}}n=o}const o=Qn(),{renderMode:s,shadowMode:i}=o;return 0===s?(zn(n),n):(1===i&&zn(n),Un("slot",t,n))},h:Un,c:Yn,i:function(e,t){const n=[];if(zn(n),B(e)||null===e)return n;const r=e[Gn]();let o=r.next(),s=0,{value:i,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(i,s,0===s,!0===l);h(e)?k.apply(n,e):k.call(n,e),s+=1,i=o.value}return n},f:function(e){const t=e.length,n=[];zn(n);for(let r=0;r<t;r+=1){const t=e[r];h(t)?k.apply(n,t):k.call(n,t)}return n},t:Kn,d:function(e){return null==e?"":String(e)},b:function(e){const t=Qn();if(W(t))throw new Error;const n=t;return function(t){cr(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:"c",owner:Qn()}},dc:function(e,t,n,r=De){if(null==t)return null;if(!un(t))throw new Error(`Invalid LWC Constructor ${z(t)} for custom element <${e}>.`);return Yn(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[Kn(""),...t,Kn("")],stable:n,owner:Qn()}},ti:function(e){return e>0&&!(V(e)||j(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:Qn()}},gid:function(e){const t=Qn();if(B(e)||""===e)return e;if(W(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?$.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=Qn();if(B(e)||""===e)return e;if(W(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return qn(e)},ssf:function(e,t){return{type:6,factory:t,owner:Qn(),elm:void 0,sel:void 0,key:void 0,slotName:e}}});let Zn=!1,Jn=null;function Qn(){return Jn}function er(e){Jn=e}const tr=(nr=(e,t)=>{const{createFragment:n}=t;return n(e)},(e,...t)=>{const r=n(null);return function(){const{context:{hasScopedStyles:n,stylesheetToken:o},shadowMode:s,renderer:i}=Qn(),l=!B(o),a=1===s;let c=0;if(l&&n&&(c|=1),l&&a&&(c|=2),!B(r[c]))return r[c];const u=n&&l?" "+o:"",d=n&&l?` class="${o}"`:"",f=l&&a?" "+o:"";let p="";for(let n=0,r=t.length;n<r;n++)switch(t[n]){case 0:p+=e[n]+u;break;case 1:p+=e[n]+d;break;case 2:p+=e[n]+f;break;case 3:p+=e[n]+d+f}return p+=e[e.length-1],r[c]=nr(p,i),r[c]}});var nr;function rr(e,t){const r=Zn,o=Jn;let s=[];return $r(e,e.owner,(()=>{Jn=e}),(()=>{const{component:r,context:o,cmpSlots:i,cmpTemplate:l,tro:a}=e;a.observe((()=>{if(t!==l){if(W(l)||Dr(e),a=t,!Zt.has(a))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${z(t)}.`);e.cmpTemplate=t,o.tplCache=n(null),o.hasScopedStyles=function(e,t){const{stylesheets:n}=e,r=B(t)?null:t.stylesheets;return or(n)||or(r)}(t,e),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:s,renderer:{getClassList:i,removeAttribute:l,setAttribute:a}}=e,{stylesheets:c,stylesheetToken:u}=t,{stylesheets:d}=e,f=1===o&&1===s,{hasScopedStyles:p}=r;let h,m,g;const{stylesheetToken:w,hasTokenInClass:y,hasTokenInAttribute:b}=r;B(w)||(y&&i(n).remove(pn(w)),b&&l(n,pn(w)));const v=sr(c),E=sr(d);(v||E)&&(h=u),B(h)||(p&&(i(n).add(pn(h)),m=!0),f&&(a(n,pn(h),""),g=!0)),r.stylesheetToken=h,r.hasTokenInClass=m,r.hasTokenInAttribute=g}(e,t);const r=function(e,t){const{stylesheets:n,stylesheetToken:r}=t,{stylesheets:o}=e;let s=[];return sr(n)&&(s=mn(n,r,e)),sr(o)&&k.apply(s,mn(o,r,e)),s}(e,t);o.styleVNodes=0===r.length?null:function(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1!==n||1!==r)return C.call(t,hn);for(let e=0;e<t.length;e++)o(t[e]);return null}(e,r)}var a;e.refVNodes=t.hasRefs?n(null):null,e.velements=[],Zn=!0,s=t.call(void 0,Xn,r,i,o.tplCache);const{styleVNodes:c}=o;W(c)||L.apply(s,c)}))}),(()=>{Zn=r,Jn=o})),s}function or(e){if(sr(e))for(let t=0;t<e.length;t++)if(V(e[t][re]))return!0;return!1}function sr(e){return!B(e)&&!W(e)&&e.length>0}let ir=null;function lr(e){return ir===e}function ar(e,t,n){const{component:r,callHook:o,owner:s}=e;$r(e,s,Y,(()=>{o(r,t,n)}),Y)}function cr(e,t,n,r){const{callHook:o,owner:s}=e;$r(e,s,Y,(()=>{o(n,t,[r])}),Y)}const ur=new Map;function dr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,s=Qn();let i,l=!1;return $r(e,o,(()=>{er(e)}),(()=>{e.tro.observe((()=>{i=n(r,t),l=!0}))}),(()=>{er(s)})),l?rr(e,i):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function fr(e){e.isDirty=!0}const pr=new WeakMap;function hr(e,t){if(!G(t))throw new TypeError("Expected an EventListener but received "+typeof t);let n=pr.get(t);return B(n)&&(n=function(n){cr(e,t,void 0,n)},pr.set(t,n)),n}const mr=n(null),gr=["rendered","connected","disconnected"];function wr(e,t){const{component:n,def:r,context:o}=e;for(let e=0,s=t.length;e<s;++e)t[e].call(void 0,n,{},r,o)}let yr=0;const br=new WeakMap;function vr(e,t,n=[]){return t.apply(e,n)}function Er(e,t,n){e[t]=n}function Cr(e,t){return e[t]}function Sr(e){const t=xr(e);1===t.state&&kr(e),Pr(t),Or(t)}function kr(e){Mr(xr(e))}function Mr(e){const{state:t}=e;if(2!==t){const{tro:t}=e;t.reset(),function(e){j(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=mr;t&&wr(e,t);Lr(e)&&function(e){const{wiredDisconnecting:t}=e.context;$r(e,e,Y,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),Y)}(e);const{disconnectedCallback:n}=e.def;B(n)||ar(e,n)}(e),_r(e),function(e){const{aChildren:t}=e;Rr(t)}(e)}}function Tr(e,t,r,o){const{mode:s,owner:i,tagName:l,hydrated:a}=o,c=dn(t),u={elm:e,def:c,idx:yr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:s,owner:i,refVNodes:null,children:De,aChildren:De,velements:De,cmpProps:n(null),cmpFields:n(null),cmpSlots:{slotAssignments:n(null)},cmpTemplate:null,hydrated:Boolean(a),renderMode:c.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:Re,wiredConnecting:De,wiredDisconnecting:De},tro:null,shadowMode:null,stylesheets:null,component:null,shadowRoot:null,renderRoot:null,callHook:vr,setHook:Er,getHook:Cr,renderer:r};return u.stylesheets=function(e,t){if(Se.ENABLE_PROGRAMMATIC_STYLESHEETS){const{stylesheets:e}=t;if(!B(e)){const t=function(e,t){let n=!0;const r=e=>{if(h(e))for(let t=0;t<e.length;t++)r(e[t]);else G(e)||(n=!1)};h(t)?r(t):n=!1;return n}(0,e);if(t)return $e(e)}}return null}(0,c.ctor),u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let s;if(r)if(0===n.renderMode)s=0;else if(o)if(Se.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)s=0;else{const t=function(e){let t=e.owner;for(;!W(t)&&0===t.renderMode;)t=t.owner;return t}(e);s=W(t)||0!==t.shadowMode?1:0}else s=1;else s=1;else s=0;return s}(u,r),u.tro=_e(),function(e,t){const n=ir;let r;ir=e;try{const o=new t;if(ir.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(ir=n,!B(r))throw Ae(e,r),r}}(u,c.ctor),Lr(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const s=n[t],i=Ft.get(s);if(!B(i)){const{connector:n,computeConfigAndUpdate:s,resetConfigWatcher:l}=Bt(e,t,i),a=i.dynamic.length>0;k.call(r,(()=>{n.connect(),Se.ENABLE_WIRE_SYNC_EMIT||!a?s():Promise.resolve().then(s)})),k.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function Ar(e,t){br.set(e,t)}function xr(e){return br.get(e)}function Nr(e){return br.get(e)}function Or(e){if(V(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&$r(e,e,(()=>{}),(()=>{kn(r,t,n,o)}),(()=>{}));e.state}(e,dr(e))}}function Pr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=mr;n&&wr(e,n),Lr(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;B(r)||ar(e,r)}function Lr(e){return l(e.def.wire).length>0}function _r(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!B(n)){const e=Nr(n);B(e)||Mr(e)}}}function Rr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!W(n)&&!B(n.elm))switch(n.type){case 2:Rr(n.children);break;case 3:Mr(xr(n.elm));break}}}function Dr(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];W(o)||B(o.elm)||r(o.elm,n)}e.children=De,_r(e),e.velements=De}function $r(e,t,n,r,o){let s;n();try{r()}catch(e){s=Object(e)}finally{if(o(),!B(s)){Ae(e,s);const n=W(t)?void 0:function(e){let t=e;for(;!W(t);){if(!B(t.def.errorCallback))return t;t=t.owner}}(t);if(B(n))throw s;Dr(e);ar(n,n.def.errorCallback,[s,s.wcStack])}}}let Ir=!1;function Fr(e){Hr(e,(e=>{s(e)}))}function Hr(e,t){t(e);for(let n=0;n<e.length;n++){const r=e[n];h(r)?Hr(r,t):t(r)}}const Br=Symbol("namespace"),Wr=Symbol("type"),Vr=Symbol("parent"),jr=Symbol("shadow-root"),Gr=Symbol("children"),Ur=Symbol("attributes"),Yr=Symbol("event-listeners"),Kr=Symbol("value");var zr;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(zr||(zr={}));const qr=/\s+/g;function Xr(e){return new Set(e.split(qr).filter((e=>e.length)))}function Zr(e){return Array.from(e).join(" ")}function Jr(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function Qr(e,t){return{[Wr]:zr.Element,tagName:e,[Br]:null!=t?t:oe,[Vr]:null,[jr]:null,[Gr]:[],[Ur]:[],[Yr]:{}}}function eo(e,t,n=null){const r=e[Ur].find((e=>e.name===t&&e[Br]===n));return r?r.value:null}function to(e,t,n,r=null){const o=e[Ur].find((e=>e.name===t&&e[Br]===r));B(r)&&(r=null),B(o)?e[Ur].push({name:t,[Br]:r,value:String(n)}):o.value=n}function no(e,t,n){e[Ur]=e[Ur].filter((e=>e.name!==t&&e[Br]!==n))}const ro=Y,oo=Y,so=Y,io=Jr("dispatchEvent"),lo=Jr("getBoundingClientRect"),ao=Jr("querySelector"),co=Jr("querySelectorAll"),uo=Jr("getElementsByTagName"),fo=Jr("getElementsByClassName"),po=Jr("getChildren"),ho=Jr("getChildNodes"),mo=Jr("getFirstChild"),go=Jr("getFirstElementChild"),wo=Jr("getLastChild"),yo=Jr("getLastElementChild"),bo=Y,vo=new Map;function Eo(e){let t=vo.get(e);return B(t)?(t=function(e){return function(t){const n=Qr(e);return G(t)&&t(n),n}}(e),vo.set(e,t),t):t}const Co={isNativeShadowDefined:!1,isSyntheticShadowDefined:!1,insert:function(e,t,n){const r=e[Vr];if(null!==r&&r!==t){const t=r[Gr].indexOf(e);r[Gr].splice(t,1)}e[Vr]=t;const o=W(n)?-1:t[Gr].indexOf(n);-1===o?t[Gr].push(e):t[Gr].splice(o,0,e)},remove:function(e,t){const n=t[Gr].indexOf(e);t[Gr].splice(n,1)},cloneNode:function(e){return Object.assign({},e)},createFragment:function(e){return{[Wr]:zr.Raw,[Vr]:null,[Kr]:e}},createElement:Qr,createText:function(e){return{[Wr]:zr.Text,[Kr]:String(e),[Vr]:null}},createComment:function(e){return{[Wr]:zr.Comment,[Kr]:e,[Vr]:null}},createCustomElement:function(e,t){return new(Eo(e))(t)},nextSibling:function(e){const t=e[Vr];if(W(t))return null;const n=t[Gr].indexOf(e);return t[Gr][n+1]||null},attachShadow:function(e,t){return e[jr]={[Wr]:zr.ShadowRoot,[Gr]:[],mode:t.mode,delegatesFocus:!!t.delegatesFocus},e[jr]},getProperty:function(e,t){var n,r;if(t in e)return e[t];if(e[Wr]===zr.Element){const o=ye(t);if(de(o,e.tagName))return null!==(n=eo(e,o))&&void 0!==n&&n;if(pe(o)||Q(o))return eo(e,o);if("input"===e.tagName&&"value"===t)return null!==(r=eo(e,"value"))&&void 0!==r?r:""}},setProperty:function(e,t,n){if(t in e)return e[t]=n;if(e[Wr]===zr.Element){const r=ye(t);if("innerHTML"===t)return void(e[Gr]=[{[Wr]:zr.Raw,[Vr]:e,[Kr]:n}]);if(de(r,e.tagName))return!0===n?to(e,r,""):no(e,r);if(pe(r)||Q(r))return to(e,r,n);if("input"===e.tagName&&"value"===r)return W(n)||B(n)?no(e,"value"):to(e,"value",n)}},setText:function(e,t){e[Wr]===zr.Text?e[Kr]=t:e[Wr]===zr.Element&&(e[Gr]=[{[Wr]:zr.Text,[Vr]:e,[Kr]:t}])},getAttribute:eo,setAttribute:to,removeAttribute:no,addEventListener:oo,removeEventListener:so,dispatchEvent:io,getClassList:function(e){function t(){let t=e[Ur].find((e=>"class"===e.name&&W(e[Br])));return B(t)&&(t={name:"class",[Br]:null,value:""},e[Ur].push(t)),t}return{add(...e){const n=t(),r=Xr(n.value);e.forEach((e=>r.add(e))),n.value=Zr(r)},remove(...e){const n=t(),r=Xr(n.value);e.forEach((e=>r.delete(e))),n.value=Zr(r)}}},setCSSStyleProperty:function(e,t,n,r){const o=e[Ur].find((e=>"style"===e.name&&W(e[Br]))),s=`${t}: ${n}${r?" !important":""}`;B(o)?e[Ur].push({name:"style",[Br]:null,value:s}):o.value+=`; ${s}`},getBoundingClientRect:lo,querySelector:ao,querySelectorAll:co,getElementsByTagName:uo,getElementsByClassName:fo,getChildren:po,getChildNodes:ho,getFirstChild:mo,getFirstElementChild:go,getLastChild:wo,getLastElementChild:yo,isConnected:function(e){return!W(e[Vr])},insertStylesheet:ro,assertInstanceOfHTMLElement:bo};function So(e){return e.map((e=>{switch(e[Wr]){case zr.Text:return""===e[Kr]?"‍":Ee(e[Kr]);case zr.Comment:return`\x3c!--${Ee(e[Kr])}--\x3e`;case zr.Raw:return e[Kr];case zr.Element:return ko(e)}})).join("")}function ko(e){let t="";const n=e.tagName,r=e[Br],o=r!==oe,s=e[Gr].length>0;var i;return t+=`<${n}${e[Ur].length?` ${i=e[Ur],i.map((e=>e.value.length?`${e.name}="${Ee(e.value,!0)}"`:e.name)).join(" ")}`:""}`,o&&!s?(t+="/>",t):(t+=">",e[jr]&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${So(e[Gr])}</template>`}(e[jr])),t+=So(e[Gr]),function(e,t){return t===oe&&ae.has(e.toLowerCase())}(n,r)&&!s||(t+=`</${n}>`),t)}const Mo={[Wr]:zr.Element,tagName:"fake-root-element",[Br]:oe,[Vr]:null,[jr]:null,[Gr]:[],[Ur]:[],[Yr]:{}};s(Pt),f(Pt.prototype),exports.LightningElement=Pt,exports.api=function(){throw new Error},exports.createContextProvider=function(e){let t=Vt(e);if(!B(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){Wt.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:s}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{B(s)||s(r)})),o(r),e.stopImmediatePropagation()}))}},exports.freezeTemplate=function(e){Se.ENABLE_FROZEN_TEMPLATE?(s(e),B(e.stylesheets)||Fr(e.stylesheets)):function(e){o(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return B(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=B(e)?void 0:e.shadowAttribute}})}(e)},exports.getComponentDef=function(e){const t=dn(e),{ctor:n,name:r,props:o,propsConfig:s,methods:i}=t,l={};for(const e in o)l[e]={config:s[e]||0,type:"any",attr:ye(e)};const a={};for(const e in i)a[e]=i[e].value;return{ctor:n,name:r,props:l,methods:a}},exports.isComponentConstructor=un,exports.parseFragment=tr,exports.parseSVGFragment=tr,exports.readonly=function(e){return xt(e)},exports.register=function(e){for(let t=0;t<gr.length;++t){const n=gr[t];if(n in e){let t=mr[n];B(t)&&(mr[n]=t=[]),k.call(t,e[n])}}},exports.registerComponent=function(e,{tmpl:t}){return G(e)&&ur.set(e,t),e},exports.registerDecorators=function(e,t){const r=e.prototype,{publicProps:s,publicMethods:l,wire:a,track:c,fields:u}=t,d=n(null),f=n(null),p=n(null),h=n(null),m=n(null),g=n(null);let w;if(!B(s))for(const e in s){const t=s[e];if(g[e]=t.config,w=i(r,e),t.config>0){if(B(w))throw new Error;w=Yt(0,w)}else w=B(w)||B(w.get)?Ut(e):Yt(0,w);f[e]=w,o(r,e,w)}if(B(l)||_.call(l,(e=>{if(w=i(r,e),B(w))throw new Error;d[e]=w})),!B(a))for(const e in a){const{adapter:t,method:n,config:s,dynamic:l=[]}=a[e];if(w=i(r,e),1===n){if(B(w))throw new Error;p[e]=w,jt(w,t,s,l)}else w=zt(e),h[e]=w,Gt(w,t,s,l),o(r,e,w)}if(!B(c))for(const e in c)w=i(r,e),w=Kt(e),o(r,e,w);if(!B(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=i(r,t);const n=!B(s)&&t in s,o=!B(c)&&t in c;n||o||(m[t]=It(t))}return function(e,t){qt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:p,wiredFields:h,observedFields:m}),e},exports.registerTemplate=function(e){return Zt.add(e),e},exports.renderComponent=function(e,t,n={}){if(!U(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!G(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||W(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=Co.createElement(e);Tr(r,t,Co,{mode:"open",owner:null,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r[Vr]=Mo,Sr(r),ko(r)},exports.renderer=Co,exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(B(Ce[e])){const n=d(Ce).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=Se[e];if(!B(n))return void console.error(`Failed to set the value "${t}" for the runtime feature flag "${e}". "${e}" has already been set with the value "${n}".`);o(Se,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},exports.setFeatureFlagForTest=function(e,t){},exports.setHooks=function(t){var n;e.isFalse(Ir,"Hooks are already overridden, only one definition is allowed."),Ir=!0,n=t.sanitizeHtmlContent,qn=n},exports.track=function(e){if(1===arguments.length)return e;throw new Error},exports.unwrap=function(e){return e},exports.wire=function(e,t){throw new Error};
1
+ "use strict";var e=Object.freeze({__proto__:null,fail:function(e){throw new Error(e)},invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)}});const{assign:t,create:n,defineProperties:r,defineProperty:o,freeze:s,getOwnPropertyDescriptor:i,getOwnPropertyNames:l,getPrototypeOf:c,hasOwnProperty:a,isFrozen:u,keys:d,seal:f,setPrototypeOf:p}=Object,{isArray:h}=Array,{concat:m,copyWithin:g,fill:w,filter:y,find:b,indexOf:v,join:E,map:C,pop:S,push:k,reduce:M,reverse:T,shift:A,slice:x,some:N,sort:O,splice:P,unshift:L,forEach:_}=Array.prototype,{fromCharCode:D}=String,{charCodeAt:$,replace:R,split:I,slice:F,toLowerCase:H}=String.prototype;function B(e){return void 0===e}function W(e){return null===e}function V(e){return!0===e}function j(e){return!1===e}function G(e){return"function"==typeof e}function U(e){return"string"==typeof e}function K(){}const Y={}.toString;function z(e){return e&&e.toString?h(e)?E.call(C.call(e,z),","):e.toString():"object"==typeof e?Y.call(e):e+""}function q(e,t){do{const n=i(e,t);if(!B(n))return n;e=c(e)}while(null!==e)}const X=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],{AriaAttrNameToPropNameMap:Z,AriaPropNameToAttrNameMap:J}=(()=>{const e=n(null),t=n(null);return _.call(X,(n=>{const r=H.call(R.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})();function Q(e){return e in Z}const ee="object"==typeof globalThis?globalThis:window,te="$shadowResolver$",ne="$shadowStaticNode$",re="$scoped$",oe="http://www.w3.org/1999/xhtml",se="http://www.w3.org/XML/1998/namespace",ie="http://www.w3.org/2000/svg",le="http://www.w3.org/1999/xlink",ce=new Set(["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr","param","keygen","menuitem"]);const ae=/-([a-z])/g,ue=new Map([["autofocus",new Set(["button","input","keygen","select","textarea"])],["autoplay",new Set(["audio","video"])],["checked",new Set(["command","input"])],["disabled",new Set(["button","command","fieldset","input","keygen","optgroup","select","textarea"])],["formnovalidate",new Set(["button"])],["hidden",new Set],["loop",new Set(["audio","bgsound","marquee","video"])],["multiple",new Set(["input","select"])],["muted",new Set(["audio","video"])],["novalidate",new Set(["form"])],["open",new Set(["details"])],["readonly",new Set(["input","textarea"])],["required",new Set(["input","select","textarea"])],["reversed",new Set(["ol"])],["selected",new Set(["option"])]]);function de(e,t){const n=ue.get(e);return void 0!==n&&(0===n.size||n.has(t))}const fe=new Set(["accesskey","autocapitalize","autofocus","class","contenteditable","contextmenu","dir","draggable","enterkeyhint","exportparts","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","part","slot","spellcheck","style","tabindex","title","translate"]);function pe(e){return fe.has(e)}const{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:he,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:me}=(()=>{const e=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"]]),t=new Map;return e.forEach(((e,n)=>t.set(e,n))),{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:t,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:e}})(),ge=new Map,we=new Map;function ye(e){const t=J[e];if(!B(t))return t;const n=me.get(e);if(!B(n))return n;const r=ge.get(e);if(!B(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=$.call(e,t);o+=n>=65&&n<=90?"-"+D(n+32):D(n)}return ge.set(e,o),o}function be(e){const t=Z[e];if(!B(t))return t;const n=he.get(e);if(!B(n))return n;const r=we.get(e);if(!B(r))return r;const o=R.call(e,ae,(e=>e[1].toUpperCase()));return we.set(e,o),o}const ve={'"':"&quot;","'":"&#x27;","<":"&lt;",">":"&gt;","&":"&amp;"};function Ee(e,t=!1){const n=t?/["&]/g:/["'<>&]/g;return e.replace(n,(e=>ve[e]))}if("function"!=typeof Event){class e{}o(ee,"Event",{value:e,configurable:!0,writable:!0})}if("function"!=typeof CustomEvent){class e extends Event{}o(ee,"CustomEvent",{value:e,configurable:!0,writable:!0})}const Ce={DUMMY_TEST_FLAG:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_WIRE_SYNC_EMIT:null,ENABLE_LIGHT_GET_ROOT_NODE_PATCH:null,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null,ENABLE_FROZEN_TEMPLATE:null,DISABLE_ARIA_REFLECTION_POLYFILL:null};ee.lwcRuntimeFlags||Object.defineProperty(ee,"lwcRuntimeFlags",{value:n(null)});const Se=ee.lwcRuntimeFlags;function ke(e,t){return B(i(t,e))}function Me(e,t){const n=function(e){return{get(){return this.hasAttribute(e)?this.getAttribute(e):null},set(t){W(t)?this.removeAttribute(e):this.setAttribute(e,t)},configurable:!0,enumerable:!0}}(J[e]);o(t,e,n)}function Te(e){return`<${H.call(e.tagName)}>`}function Ae(e,t){if(!u(t)&&B(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!W(n);)k.call(t,Te(n)),n=n.owner;return t.reverse().join("\n\t")}(e);o(t,"wcStack",{get:()=>n})}}const xe=new Set;function Ne(e,t,n,r){let o=`[LWC ${e}]: ${t}`;if(B(n)||(o=`${o}\n${function(e){const t=[];let n="";for(;!W(e.owner);)k.call(t,n+Te(e)),e=e.owner,n+="\t";return E.call(t,"\n")}(n)}`),r){if(xe.has(o))return;xe.add(o)}try{throw new Error(o)}catch(t){console[e](t)}}function Oe(e,t){Ne("error",e,t,!1)}const Pe=new WeakMap;const Le={observe(e){e()},reset(){},link(){}};function _e(e){return Le}const De=f(n(null)),$e=f([]);function Re(e){const t=[];for(const n of e)h(n)?t.push(...Re(n)):t.push(n);return t}function Ie(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}function Fe(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function He(e){return G(e)&&a.call(e,"__circular__")}const Be="undefined"!=typeof HTMLElement?HTMLElement:function(){},We=Be.prototype;let Ve,je=null;function Ge(e,t){return e!==je||t!==Ve}function Ue(e,t){je=null,Ve=void 0}function Ke(e,t){je=e,Ve=t}const Ye=n(null);function ze(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n)}_.call(d(J),(e=>{const t=q(We,e);B(t)||(Ye[e]=t)})),_.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=q(We,e);B(t)||(Ye[e]=t)}));const{isArray:qe}=Array,{prototype:Xe,getPrototypeOf:Ze,create:Je,defineProperty:Qe,isExtensible:et,getOwnPropertyDescriptor:tt,getOwnPropertyNames:nt,getOwnPropertySymbols:rt,preventExtensions:ot,hasOwnProperty:st}=Object,{push:it,concat:lt}=Array.prototype;function ct(e){return void 0===e}function at(e){return"function"==typeof e}const ut=new WeakMap;function dt(e,t){ut.set(e,t)}const ft=e=>ut.get(e)||e;class pt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(st.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;ct(n)||(e.get=this.wrapGetter(n)),ct(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=tt(n,t);if(!ct(r)){const n=this.wrapDescriptor(r);Qe(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;lt.call(nt(t),rt(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;ct(n)||st.call(e,n)||Qe(e,n,Je(null)),ot(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=ct(n)||st.call(t,n)?[]:[n];return it.apply(r,nt(t)),it.apply(r,rt(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!et(e)&&(!!et(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return Ze(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let s=tt(n,t);if(ct(s)){if(t!==o)return;return s={value:void 0,writable:!1,configurable:!1,enumerable:!1},Qe(e,o,s),s}return!1===s.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(s)}}const ht=new WeakMap,mt=new WeakMap,gt=new WeakMap,wt=new WeakMap;class yt extends pt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=ht.get(e);if(!ct(t))return t;const n=this,r=function(){return n.wrapValue(e.call(ft(this)))};return ht.set(e,r),gt.set(r,e),r}wrapSetter(e){const t=mt.get(e);if(!ct(t))return t;const n=function(t){e.call(ft(this),ft(t))};return mt.set(e,n),wt.set(n,e),n}unwrapDescriptor(e){if(st.call(e,"value"))e.value=ft(e.value);else{const{set:t,get:n}=e;ct(n)||(e.get=this.unwrapGetter(n)),ct(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=gt.get(e);if(!ct(t))return t;const n=this,r=function(){return ft(e.call(n.wrapValue(this)))};return ht.set(r,e),gt.set(e,r),r}unwrapSetter(e){const t=wt.get(e);if(!ct(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return mt.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&&qe(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(et(e)){const{originalTarget:t}=this;if(ot(t),et(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:s}}=this;return t===s&&!st.call(r,t)||(Qe(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const bt=new WeakMap,vt=new WeakMap;class Et extends pt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=bt.get(e);if(!ct(t))return t;const n=this,r=function(){return n.wrapValue(e.call(ft(this)))};return bt.set(e,r),r}wrapSetter(e){const t=vt.get(e);if(!ct(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 Ct(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(qe(e))return!0;const t=Ze(e);return t===Xe||null===t||null===Ze(t)}const St=(e,t)=>{},kt=(e,t)=>{};function Mt(e){return qe(e)?[]:{}}const Tt=Symbol.for("@@lockerLiveValue"),At=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=at(t)?t:kt,this.valueObserved=at(n)?n:St,this.valueIsObservable=at(r)?r:Ct,this.tagPropertyKey=o}getProxy(e){const t=ft(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=ft(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return ft(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(ct(t)){const n=new yt(this,e);t=new Proxy(Mt(e),n),dt(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(ct(t)){const n=new Et(this,e);t=new Proxy(Mt(e),n),dt(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:function(e,t){},valueMutated:function(e,t){const n=Pe.get(e);if(!B(n)){const e=n[t];if(!B(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}},tagPropertyKey:Tt});function xt(e){return At.getReadOnlyProxy(e)}function Nt(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!G(n))throw new TypeError;if(!G(r))throw new TypeError;return{enumerable:o,configurable:s,get(){const e=xr(this);if(!lr(e))return n.call(e.elm)},set(t){const n=xr(this);return ze(n,e,t),r.call(n.elm,t)}}}const Ot=new WeakMap,Pt=function(){if(W(ir))throw new TypeError("Illegal constructor");const e=ir,{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 Ar(o,e),Ar(n,e),1===e.renderMode?e.renderRoot=Lt(e):e.renderRoot=n,this};function Lt(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:s}}=e,i=s(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=i,Ar(i,e),i}Pt.prototype={constructor:Pt,dispatchEvent(e){const t=xr(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=xr(this),{elm:o,renderer:{addEventListener:s}}=r;s(o,e,hr(r,t),n)},removeEventListener(e,t,n){const r=xr(this),{elm:o,renderer:{removeEventListener:s}}=r;s(o,e,hr(r,t),n)},hasAttribute(e){const t=xr(this),{elm:n,renderer:{getAttribute:r}}=t;return!W(r(n,e))},hasAttributeNS(e,t){const n=xr(this),{elm:r,renderer:{getAttribute:o}}=n;return!W(o(r,t,e))},removeAttribute(e){const t=xr(this),{elm:n,renderer:{removeAttribute:r}}=t;Ke(n,e),r(n,e),Ue()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=xr(this);Ke(n,t),r(n,t,e),Ue()},getAttribute(e){const t=xr(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=xr(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=xr(this),{elm:r,renderer:{setAttribute:o}}=n;Ke(r,e),o(r,e,t),Ue()},setAttributeNS(e,t,n){const r=xr(this),{elm:o,renderer:{setAttribute:s}}=r;Ke(o,t),s(o,t,n,e),Ue()},getBoundingClientRect(){const e=xr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=xr(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=xr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return xr(this).shadowRoot},get refs(){const e=xr(this);if(Zn)return;const{refVNodes:t,cmpTemplate:r}=e;if(W(t))return;let o=Ot.get(t);if(B(o)){o=n(null);for(const e of d(t))o[e]=t[e].elm;s(o),Ot.set(t,o)}return o},set refs(e){o(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=xr(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=xr(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=xr(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=xr(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=xr(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=xr(this);return e.renderer.getLastElementChild(e.elm)},render(){return xr(this).def.template},toString(){return`[object ${xr(this).def.name}]`}};const _t=n(null),Dt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of Dt)_t[e]={value(t){const n=xr(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};r(Pt.prototype,_t);const $t=n(null);for(const e in Ye)$t[e]=Nt(e,Ye[e]);function Rt(){!function(e=Element.prototype){const t=d(J);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];ke(r,e)&&Me(r,e)}}(Pt.prototype)}function It(e){return{get(){return xr(this).cmpFields[e]},set(t){ze(xr(this),e,t)},enumerable:!0,configurable:!0}}r(Pt.prototype,$t),Se.DISABLE_ARIA_REFLECTION_POLYFILL,Rt(),o(Pt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const Ft=new Map;class Ht extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function Bt(e,t,n){const{method:r,adapter:s,configCallback:i,dynamic:l}=n;const c=B(r)?function(e,t){return n=>{ze(e,t,n)}}(e,t):function(e,t){return n=>{Rr(e,e.owner,K,(()=>{t.call(e.component,n)}),K)}}(e,r),a=e=>{c(e)};let u,d;o(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),o(a,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),Rr(e,e,K,(()=>{d=new s(a)}),K);const{computeConfigAndUpdate:f,ro:p}=function(e,t,n){const r=_e();return{computeConfigAndUpdate:()=>{let o;r.observe((()=>o=t(e))),n(o)},ro:r}}(e.component,i,(t=>{Rr(e,e,K,(()=>{d.update(t,u)}),K)}));return B(s.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Vt(r);if(B(o))return;const{elm:s,context:{wiredConnecting:i,wiredDisconnecting:l},renderer:{dispatchEvent:c}}=e;k.call(i,(()=>{const e=new Ht(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){k.call(l,e)}});c(s,e)}))}(e,n,(t=>{u!==t&&(u=t,1===e.state&&f())})),{connector:d,computeConfigAndUpdate:f,resetConfigWatcher:()=>p.reset()}}const Wt=new Map;function Vt(e){return Wt.get(e)}function jt(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Ft.set(e,o)}function Gt(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Ft.set(e,o)}function Ut(e){return{get(){const t=xr(this);if(!lr(t))return t.cmpProps[e]},set(t){xr(this).cmpProps[e]=t},enumerable:!0,configurable:!0}}function Kt(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!G(n))throw new Error;return{get(){return n.call(this)},set(e){xr(this),r&&r.call(this,e)},enumerable:o,configurable:s}}function Yt(e){return{get(){return xr(this).cmpFields[e]},set(t){ze(xr(this),e,t)},enumerable:!0,configurable:!0}}function zt(e){return{get(){return xr(this).cmpFields[e]},set(t){ze(xr(this),e,t)},enumerable:!0,configurable:!0}}const qt=new Map;const Xt={apiMethods:De,apiFields:De,apiFieldsConfig:De,wiredMethods:De,wiredFields:De,observedFields:De};const Zt=new Set;function Jt(){return[]}Zt.add(Jt);const Qt=n(null),en=n(null);function tn(e){let t=Qt[e];return B(t)&&(t=Qt[e]=function(){const t=xr(this),{getHook:n}=t;return n(t.component,e)}),t}function nn(e){let t=en[e];return B(t)&&(t=en[e]=function(t){const n=xr(this),{setHook:r}=n;t=xt(t),r(n.component,e,t)}),t}function rn(e){return function(){const t=xr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,x.call(arguments))}}function on(e,t){return function(n,r,o){if(r===o)return;const s=e[n];B(s)?B(t)||t.apply(this,arguments):Ge(this,n)&&(this[s]=o)}}function sn(e,t,s){let i;G(e)?i=class extends e{}:(i=function(){throw new TypeError("Illegal constructor")},p(i,e),p(i.prototype,e.prototype),o(i.prototype,"constructor",{writable:!0,configurable:!0,value:i}));const l=n(null),{attributeChangedCallback:c}=e.prototype,{observedAttributes:a=[]}=e,u=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[ye(n)]=n,u[n]={get:tn(n),set:nn(n),enumerable:!0,configurable:!0}}for(let e=0,t=s.length;e<t;e+=1){const t=s[e];u[t]={value:rn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:on(l,c)},o(i,"observedAttributes",{get:()=>[...a,...d(l)]}),r(i.prototype,u),i}const ln=sn(Be,l(Ye),[]);s(ln),f(ln.prototype);new WeakMap,new WeakMap,new WeakMap,new WeakMap;const cn=new WeakMap;function an(e){const{shadowSupportMode:o,renderMode:s}=e,i=function(e){const t=qt.get(e);return B(t)?Xt:t}(e),{apiFields:l,apiFieldsConfig:a,apiMethods:u,wiredFields:f,wiredMethods:p,observedFields:h}=i,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=c(e);if(W(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(He(t)){const e=Fe(t);t=e===t?Pt:e}return t}(e),C=E!==Pt?dn(E):fn,S=sn(C.bridge,d(l),d(u)),k=t(n(null),C.props,l),M=t(n(null),C.propsConfig,a),T=t(n(null),C.methods,u),A=t(n(null),C.wire,f,p);g=g||C.connectedCallback,w=w||C.disconnectedCallback,y=y||C.renderedCallback,b=b||C.errorCallback,v=v||C.render;let x=C.shadowSupportMode;B(o)||(x=o);let N=C.renderMode;B(s)||(N="light"===s?0:1);const O=function(e){return ur.get(e)}(e)||C.template,P=e.name||C.name;r(m,h);return{ctor:e,name:P,wire:A,props:k,propsConfig:M,methods:T,bridge:S,template:O,renderMode:N,shadowSupportMode:x,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function un(e){if(!G(e))return!1;if(e.prototype instanceof Pt)return!0;let t=e;do{if(He(t)){const e=Fe(t);if(e===t)return!0;t=e}if(t===Pt)return!0}while(!W(t)&&(t=c(t)));return!1}function dn(e){let t=cn.get(e);if(B(t)){if(He(e)){return t=dn(Fe(e)),cn.set(e,t),t}if(!un(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=an(e),cn.set(e,t)}return t}const fn={ctor:Pt,name:Pt.name,props:$t,propsConfig:De,methods:De,renderMode:1,shadowSupportMode:"reset",wire:De,bridge:ln,template:Jt,render:Pt.prototype.render};function pn(e){return`${e}-host`}function hn(e){return Xn.h("style",{key:"style",attrs:{type:"text/css"}},[Xn.t(e)])}function mn(e,t,n){const r=[];let o;for(let s=0;s<e.length;s++){let i=e[s];if(h(i))k.apply(r,mn(i,t,n));else{const e=i[re];if(Se.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){Oe("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}const s=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:(B(o)&&(o=gn(n)),c=W(o)||0===o.shadowMode),k.call(r,i(s,l,c))}}return r}function gn(e){let t=e;for(;!W(t);){if(1===t.renderMode)return t;t=t.owner}return t}function wn(e){const{type:t}=e;return 2===t||3===t}function yn(e,t){return e.key===t.key&&e.sel===t.sel}function bn(e){return 5===e.type}function vn(e){return 6===e.type}function En(e,t){return"input"===e&&("value"===t||"checked"===t)}const Cn=n(null);function Sn(e){if(null==e)return De;e=U(e)?e:e+"";let t=Cn[e];if(t)return t;t=n(null);let r,o=0;const s=e.length;for(r=0;r<s;r++)32===$.call(e,r)&&(r>o&&(t[F.call(e,o,r)]=!0),o=r+1);return r>o&&(t[F.call(e,o,r)]=!0),Cn[e]=t,t}function kn(e,t,n,r){Bn(t)?Vn(e,t,n,r):jn(e,t,n,r)}function Mn(e,t,n,r){var o,s;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&_n(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:s}=t;s?jn(e.children,o,n,r):Vn(e.children,o,n,r);t.elm=o[o.length-1].elm}(e,t,n,r);break;case 2:!function(e,t,n){const r=t.elm=e.elm;$n(e,t,n),kn(e.children,t.children,r,n)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:r);break;case 3:!function(e,t,n,r){if(e.ctor!==t.ctor){const o=r.nextSibling(e.elm);Nn(e,n,r,!0),An(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;if($n(e,t,r),!B(o)){In(t,o);const{shadowMode:n,renderMode:r}=o;0==n&&0!==r&&Bn(e.children)&&Hn(t.children)}kn(e.children,t.children,n,r),B(o)||function(e){Or(e)}(o)}}(e,t,n,null!==(s=t.data.renderer)&&void 0!==s?s:r)}}function Tn(e,t,n,r){var o,s;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:s}=r,i=e.elm=s(e.text);Ln(i,o,r),Dn(i,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:s}=r,i=e.elm=s(e.text);Ln(i,o,r),Dn(i,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:s,isSyntheticShadowDefined:i}=r,l=e.elm=s(e.fragment,!0);Ln(l,o,r);const{renderMode:c,shadowMode:a}=o;i&&(1!==a&&0!==c||(l[ne]=!0));Dn(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;xn(o,t,r,n),e.elm=o[o.length-1].elm}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:s,data:{svg:i}}=e,{createElement:l}=r,c=V(i)?ie:void 0,a=e.elm=l(o,c);Ln(a,s,r),Rn(a,s,r),function(e,t){var n;const{owner:r,data:{context:o}}=t;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(a,e),$n(null,e,r),Dn(a,t,n,r),xn(e.children,a,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:An(e,t,r,null!==(s=e.data.renderer)&&void 0!==s?s:n)}}function An(e,t,n,r){const{sel:o,owner:s}=e,{createCustomElement:i}=r;let l;let c,a;Se.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(c=e=>{Sr(e)},a=e=>{kr(e)});const u=i(o.toLowerCase(),(t=>{l=function(e,t,n){let r=Nr(e);if(!B(r))return r;const{sel:o,mode:s,ctor:i,owner:l}=t;return r=Tr(e,i,n,{mode:s,owner:l,tagName:o}),r}(t,e,r)}),c,a);e.elm=u,e.vm=l,Ln(u,s,r),Rn(u,s,r),l&&In(e,l),$n(null,e,r),Dn(u,t,n,r),l&&Pr(l),xn(e.children,u,r,null),l&&function(e){Or(e)}(l)}function xn(e,t,n,r,o=0,s=e.length){for(;o<s;++o){const s=e[o];Pn(s)&&Tn(s,t,n,r)}}function Nn(e,t,n,r=!1){const{type:o,elm:s,sel:i}=e;switch(r&&(5===o?On(e.children,t,n,r):function(e,t,n){n.remove(e,t)}(s,t,n)),o){case 2:{const t="slot"===i&&1===e.owner.shadowMode;On(e.children,s,n,t);break}case 3:{const{vm:t}=e;B(t)||function(e){Mr(e)}(t)}}}function On(e,t,n,r=!1,o=0,s=e.length){for(;o<s;++o){const s=e[o];Pn(s)&&Nn(s,t,n,r)}}function Pn(e){return null!=e}function Ln(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:s}=t,{isSyntheticShadowDefined:i}=n;i&&(1!==s&&0!==o||(e[te]=r[te]))}function _n(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function Dn(e,t,n,r){r.insert(e,t,n)}function $n(e,n,r){W(e)&&(function(e,t){const{elm:n,data:{on:r}}=e;if(B(r))return;const{addEventListener:o}=t;for(const e in r)o(n,e,r[e])}(n,r),function(e,t){const{elm:n,data:{classMap:r}}=e;if(B(r))return;const{getClassList:o}=t,s=o(n);for(const e in r)s.add(e)}(n,r),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(B(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,s,i]=r[e];o(n,t,s,i)}}(n,r)),function(e,t,n){const{elm:r,data:{className:o}}=t,s=W(e)?void 0:e.data.className;if(s===o)return;const{getClassList:i}=n,l=i(r),c=Sn(o),a=Sn(s);let u;for(u in a)B(c[u])&&l.remove(u);for(u in c)B(a[u])&&l.add(u)}(e,n,r),function(e,t,n){const{elm:r,data:{style:o}}=t;if((W(e)?void 0:e.data.style)===o)return;const{setAttribute:s,removeAttribute:i}=n;U(o)&&""!==o?s(r,"style",o):i(r,"style")}(e,n,r),n.data.external?function(e,t,n){const{data:{attrs:r},elm:o}=t;if(B(r))return;const{removeAttribute:s,setAttribute:i,setProperty:l}=n,c=W(e)?De:e.data.attrs;for(const e in r){const t=r[e];c[e]!==t&&(be(e)in o?l(o,e,t):58===$.call(e,3)?i(o,e,t,se):58===$.call(e,5)?i(o,e,t,le):W(t)||B(t)?s(o,e):i(o,e,t))}}(e,n,r):function(e,t,n){const{attrs:r}=t.data;if(B(r))return;const o=W(e)?De:e.data.attrs;if(o===r)return;const{elm:s}=t,{setAttribute:i,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(Ke(s,e),58===$.call(e,3)?i(s,e,t,se):58===$.call(e,5)?i(s,e,t,le):W(t)||B(t)?l(s,e):i(s,e,t),Ue())}}(e,n,r),function(e,n,r){let{props:o}=n.data;const{spread:s}=n.data;if(B(o)&&B(s))return;let i;if(!W(e)){i=e.data.props;const n=e.data.spread;if(i===o&&n===s)return;B(i)&&(i=De),B(n)||(i=t({},i,n))}B(s)||(o=t({},o,s));const l=W(e),{elm:c,sel:a}=n,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(En(a,e)?u(c,e):i[e])&&e in i||d(c,e,t)}}(e,n,r)}function Rn(e,t,n){const r=function(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}(t);if(!W(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||B(o)||(e.$shadowToken$=o)}function In(e,t){const r=e.aChildren||e.children,{renderMode:o,shadowMode:s}=t,i=function(e){const t=[],n=[];let r,o=!1;for(let t=e.length-1;t>-1;t-=1){const r=e[t];k.call(n,r),o=o||!(!r||!bn(r))}if(!o)return e;for(;!B(r=S.call(n));)if(!W(r)&&bn(r)){const e=r.children;for(let t=e.length-2;t>0;t-=1)k.call(n,e[t])}else k.call(t,r);return Hn(t),t}(r);e.children=i,t.aChildren=i,1!==s&&0!==o||(!function(e,t,r){var o,s;const{cmpSlots:{slotAssignments:i}}=e,l=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(W(n))continue;let r="";wn(n)?r=null!==(s=null===(o=n.data.attrs)||void 0===o?void 0:o.slot)&&void 0!==s?s:"":vn(n)&&(r=n.slotName);const i=""+r,c=l[i]=l[i]||[];k.call(c,n)}if(e.cmpSlots={owner:r,slotAssignments:l},j(e.isDirty)){const t=d(i);if(t.length!==d(l).length)return void fr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(B(l[r])||i[r].length!==l[r].length)return void fr(e);const o=i[r],s=l[r];for(let t=0,n=l[r].length;t<n;t+=1)if(o[t]!==s[t])return void fr(e)}}}(t,i,e.owner),e.aChildren=i,e.children=$e)}const Fn=new WeakMap;function Hn(e){Fn.set(e,1)}function Bn(e){return Fn.has(e)}function Wn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(Pn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function Vn(e,t,n,r){let o=0,s=0,i=e.length-1,l=e[0],c=e[i];const a=t.length-1;let u,d,f,p,h=a,m=t[0],g=t[h],w=!1;for(;o<=i&&s<=h;)Pn(l)?Pn(c)?Pn(m)?Pn(g)?yn(l,m)?(Mn(l,m,n,r),l=e[++o],m=t[++s]):yn(c,g)?(Mn(c,g,n,r),c=e[--i],g=t[--h]):yn(l,g)?(Mn(l,g,n,r),Dn(l.elm,n,r.nextSibling(c.elm),r),l=e[++o],g=t[--h]):yn(c,m)?(Mn(c,m,n,r),Dn(m.elm,n,l.elm,r),c=e[--i],m=t[++s]):(void 0===u&&(u=Wn(e,o,i)),d=u[m.key],B(d)?(Tn(m,n,r,l.elm),m=t[++s]):(f=e[d],Pn(f)&&(f.sel!==m.sel?Tn(m,n,r,l.elm):(Mn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,Dn(f.elm,n,l.elm,r))),m=t[++s])):g=t[--h]:m=t[++s]:c=e[--i]:l=e[++o];if(o<=i||s<=h)if(o>i){let e,o=h;do{e=t[++o]}while(!Pn(e)&&o<a);p=Pn(e)?e.elm:null,xn(t,n,r,p,s,h+1)}else On(e,n,r,!0,o,i+1)}function jn(e,t,n,r){const o=e.length,s=t.length;if(0===o)return void xn(t,n,r,null);if(0===s)return void On(e,n,r,!0);let i=null;for(let o=s-1;o>=0;o-=1){const s=e[o],l=t[o];l!==s&&(Pn(s)?Pn(l)?(Mn(s,l,n,r),i=l.elm):Nn(s,n,r,!0):Pn(l)&&(Tn(l,n,r,i),i=l.elm))}}const Gn=Symbol.iterator;function Un(e,t,n=$e){const r=Qn(),{key:o,ref:s}=t,i={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return B(s)||Ie(r,s,i),i}function Kn(e,t,n,r=$e){const o=Qn(),{key:s,ref:i}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:s,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){k.call(Qn().velements,e)}(l),B(i)||Ie(o,i,l),l}function Yn(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:Qn()}}function zn(e){return Hn(e),e}let qn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const Xn=s({s:function(e,t,n,r){if(!B(r)&&!B(r.slotAssignments)&&!B(r.slotAssignments[e])&&0!==r.slotAssignments[e].length){const o=[],s=r.slotAssignments[e];for(let e=0;e<s.length;e++){const n=s[e];if(!W(n)){const e=vn(n);if(e!==!B(t.slotData))continue;if(e){const e=Qn();er(r.owner);try{k.call(o,n.factory(t.slotData,t.key))}finally{er(e)}}else k.call(o,n)}}n=o}const o=Qn(),{renderMode:s,shadowMode:i}=o;return 0===s?(zn(n),n):(1===i&&zn(n),Un("slot",t,n))},h:Un,c:Kn,i:function(e,t){const n=[];if(zn(n),B(e)||null===e)return n;const r=e[Gn]();let o=r.next(),s=0,{value:i,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(i,s,0===s,!0===l);h(e)?k.apply(n,e):k.call(n,e),s+=1,i=o.value}return n},f:function(e){const t=e.length,n=[];zn(n);for(let r=0;r<t;r+=1){const t=e[r];h(t)?k.apply(n,t):k.call(n,t)}return n},t:Yn,d:function(e){return null==e?"":String(e)},b:function(e){const t=Qn();if(W(t))throw new Error;const n=t;return function(t){ar(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:"c",owner:Qn()}},dc:function(e,t,n,r=$e){if(null==t)return null;if(!un(t))throw new Error(`Invalid LWC Constructor ${z(t)} for custom element <${e}>.`);return Kn(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[Yn(""),...t,Yn("")],stable:n,owner:Qn()}},ti:function(e){return e>0&&!(V(e)||j(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:Qn()}},gid:function(e){const t=Qn();if(B(e)||""===e)return e;if(W(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?R.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=Qn();if(B(e)||""===e)return e;if(W(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return qn(e)},ssf:function(e,t){return{type:6,factory:t,owner:Qn(),elm:void 0,sel:void 0,key:void 0,slotName:e}}});let Zn=!1,Jn=null;function Qn(){return Jn}function er(e){Jn=e}const tr=(nr=(e,t)=>{const{createFragment:n}=t;return n(e)},(e,...t)=>{const r=n(null);return function(){const{context:{hasScopedStyles:n,stylesheetToken:o},shadowMode:s,renderer:i}=Qn(),l=!B(o),c=1===s;let a=0;if(l&&n&&(a|=1),l&&c&&(a|=2),!B(r[a]))return r[a];const u=n&&l?" "+o:"",d=n&&l?` class="${o}"`:"",f=l&&c?" "+o:"";let p="";for(let n=0,r=t.length;n<r;n++)switch(t[n]){case 0:p+=e[n]+u;break;case 1:p+=e[n]+d;break;case 2:p+=e[n]+f;break;case 3:p+=e[n]+d+f}return p+=e[e.length-1],r[a]=nr(p,i),r[a]}});var nr;function rr(e,t){const r=Zn,o=Jn;let s=[];return Rr(e,e.owner,(()=>{Jn=e}),(()=>{const{component:r,context:o,cmpSlots:i,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(W(l)||$r(e),c=t,!Zt.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: ${z(t)}.`);e.cmpTemplate=t,o.tplCache=n(null),o.hasScopedStyles=function(e,t){const{stylesheets:n}=e,r=B(t)?null:t.stylesheets;return or(n)||or(r)}(t,e),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:s,renderer:{getClassList:i,removeAttribute:l,setAttribute:c}}=e,{stylesheets:a,stylesheetToken:u}=t,{stylesheets:d}=e,f=1===o&&1===s,{hasScopedStyles:p}=r;let h,m,g;const{stylesheetToken:w,hasTokenInClass:y,hasTokenInAttribute:b}=r;B(w)||(y&&i(n).remove(pn(w)),b&&l(n,pn(w)));const v=sr(a),E=sr(d);(v||E)&&(h=u),B(h)||(p&&(i(n).add(pn(h)),m=!0),f&&(c(n,pn(h),""),g=!0)),r.stylesheetToken=h,r.hasTokenInClass=m,r.hasTokenInAttribute=g}(e,t);const r=function(e,t){const{stylesheets:n,stylesheetToken:r}=t,{stylesheets:o}=e;let s=[];return sr(n)&&(s=mn(n,r,e)),sr(o)&&k.apply(s,mn(o,r,e)),s}(e,t);o.styleVNodes=0===r.length?null:function(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1!==n||1!==r)return C.call(t,hn);for(let e=0;e<t.length;e++)o(t[e]);return null}(e,r)}var c;e.refVNodes=t.hasRefs?n(null):null,e.velements=[],Zn=!0,s=t.call(void 0,Xn,r,i,o.tplCache);const{styleVNodes:a}=o;W(a)||L.apply(s,a)}))}),(()=>{Zn=r,Jn=o})),s}function or(e){if(sr(e))for(let t=0;t<e.length;t++)if(V(e[t][re]))return!0;return!1}function sr(e){return!B(e)&&!W(e)&&e.length>0}let ir=null;function lr(e){return ir===e}function cr(e,t,n){const{component:r,callHook:o,owner:s}=e;Rr(e,s,K,(()=>{o(r,t,n)}),K)}function ar(e,t,n,r){const{callHook:o,owner:s}=e;Rr(e,s,K,(()=>{o(n,t,[r])}),K)}const ur=new Map;function dr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,s=Qn();let i,l=!1;return Rr(e,o,(()=>{er(e)}),(()=>{e.tro.observe((()=>{i=n(r,t),l=!0}))}),(()=>{er(s)})),l?rr(e,i):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function fr(e){e.isDirty=!0}const pr=new WeakMap;function hr(e,t){if(!G(t))throw new TypeError("Expected an EventListener but received "+typeof t);let n=pr.get(t);return B(n)&&(n=function(n){ar(e,t,void 0,n)},pr.set(t,n)),n}const mr=n(null),gr=["rendered","connected","disconnected"];function wr(e,t){const{component:n,def:r,context:o}=e;for(let e=0,s=t.length;e<s;++e)t[e].call(void 0,n,{},r,o)}let yr=0;const br=new WeakMap;function vr(e,t,n=[]){return t.apply(e,n)}function Er(e,t,n){e[t]=n}function Cr(e,t){return e[t]}function Sr(e){const t=xr(e);1===t.state&&kr(e),Pr(t),Or(t)}function kr(e){Mr(xr(e))}function Mr(e){const{state:t}=e;if(2!==t){const{tro:t}=e;t.reset(),function(e){j(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=mr;t&&wr(e,t);Lr(e)&&function(e){const{wiredDisconnecting:t}=e.context;Rr(e,e,K,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),K)}(e);const{disconnectedCallback:n}=e.def;B(n)||cr(e,n)}(e),_r(e),function(e){const{aChildren:t}=e;Dr(t)}(e)}}function Tr(e,t,r,o){const{mode:s,owner:i,tagName:l,hydrated:c}=o,a=dn(t),u={elm:e,def:a,idx:yr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:s,owner:i,refVNodes:null,children:$e,aChildren:$e,velements:$e,cmpProps:n(null),cmpFields:n(null),cmpSlots:{slotAssignments:n(null)},cmpTemplate:null,hydrated:Boolean(c),renderMode:a.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:De,wiredConnecting:$e,wiredDisconnecting:$e},tro:null,shadowMode:null,stylesheets:null,component:null,shadowRoot:null,renderRoot:null,callHook:vr,setHook:Er,getHook:Cr,renderer:r};return u.stylesheets=function(e,t){const{stylesheets:n}=t;if(!B(n)){const e=function(e,t){let n=!0;const r=e=>{if(h(e))for(let t=0;t<e.length;t++)r(e[t]);else G(e)||(n=!1)};h(t)?r(t):n=!1;return n}(0,n);if(e)return Re(n)}return null}(0,a.ctor),u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let s;if(r)if(0===n.renderMode)s=0;else if(o)if(Se.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)s=0;else{const t=function(e){let t=e.owner;for(;!W(t)&&0===t.renderMode;)t=t.owner;return t}(e);s=W(t)||0!==t.shadowMode?1:0}else s=1;else s=1;else s=0;return s}(u,r),u.tro=_e(),function(e,t){const n=ir;let r;ir=e;try{const o=new t;if(ir.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(ir=n,!B(r))throw Ae(e,r),r}}(u,a.ctor),Lr(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const s=n[t],i=Ft.get(s);if(!B(i)){const{connector:n,computeConfigAndUpdate:s,resetConfigWatcher:l}=Bt(e,t,i),c=i.dynamic.length>0;k.call(r,(()=>{n.connect(),Se.ENABLE_WIRE_SYNC_EMIT||!c?s():Promise.resolve().then(s)})),k.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function Ar(e,t){br.set(e,t)}function xr(e){return br.get(e)}function Nr(e){return br.get(e)}function Or(e){if(V(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&Rr(e,e,(()=>{}),(()=>{kn(r,t,n,o)}),(()=>{}));e.state}(e,dr(e))}}function Pr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=mr;n&&wr(e,n),Lr(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;B(r)||cr(e,r)}function Lr(e){return l(e.def.wire).length>0}function _r(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!B(n)){const e=Nr(n);B(e)||Mr(e)}}}function Dr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!W(n)&&!B(n.elm))switch(n.type){case 2:Dr(n.children);break;case 3:Mr(xr(n.elm));break}}}function $r(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];W(o)||B(o.elm)||r(o.elm,n)}e.children=$e,_r(e),e.velements=$e}function Rr(e,t,n,r,o){let s;n();try{r()}catch(e){s=Object(e)}finally{if(o(),!B(s)){Ae(e,s);const n=W(t)?void 0:function(e){let t=e;for(;!W(t);){if(!B(t.def.errorCallback))return t;t=t.owner}}(t);if(B(n))throw s;$r(e);cr(n,n.def.errorCallback,[s,s.wcStack])}}}let Ir=!1;function Fr(e){Hr(e,(e=>{s(e)}))}function Hr(e,t){t(e);for(let n=0;n<e.length;n++){const r=e[n];h(r)?Hr(r,t):t(r)}}const Br=Symbol("namespace"),Wr=Symbol("type"),Vr=Symbol("parent"),jr=Symbol("shadow-root"),Gr=Symbol("children"),Ur=Symbol("attributes"),Kr=Symbol("event-listeners"),Yr=Symbol("value");var zr;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(zr||(zr={}));const qr=/\s+/g;function Xr(e){return new Set(e.split(qr).filter((e=>e.length)))}function Zr(e){return Array.from(e).join(" ")}function Jr(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function Qr(e,t){return{[Wr]:zr.Element,tagName:e,[Br]:null!=t?t:oe,[Vr]:null,[jr]:null,[Gr]:[],[Ur]:[],[Kr]:{}}}function eo(e,t,n=null){const r=e[Ur].find((e=>e.name===t&&e[Br]===n));return r?r.value:null}function to(e,t,n,r=null){const o=e[Ur].find((e=>e.name===t&&e[Br]===r));B(r)&&(r=null),B(o)?e[Ur].push({name:t,[Br]:r,value:String(n)}):o.value=n}function no(e,t,n){e[Ur]=e[Ur].filter((e=>e.name!==t&&e[Br]!==n))}const ro=K,oo=K,so=K,io=Jr("dispatchEvent"),lo=Jr("getBoundingClientRect"),co=Jr("querySelector"),ao=Jr("querySelectorAll"),uo=Jr("getElementsByTagName"),fo=Jr("getElementsByClassName"),po=Jr("getChildren"),ho=Jr("getChildNodes"),mo=Jr("getFirstChild"),go=Jr("getFirstElementChild"),wo=Jr("getLastChild"),yo=Jr("getLastElementChild"),bo=K,vo=new Map;function Eo(e){let t=vo.get(e);return B(t)?(t=function(e){return function(t){const n=Qr(e);return G(t)&&t(n),n}}(e),vo.set(e,t),t):t}const Co={isNativeShadowDefined:!1,isSyntheticShadowDefined:!1,insert:function(e,t,n){const r=e[Vr];if(null!==r&&r!==t){const t=r[Gr].indexOf(e);r[Gr].splice(t,1)}e[Vr]=t;const o=W(n)?-1:t[Gr].indexOf(n);-1===o?t[Gr].push(e):t[Gr].splice(o,0,e)},remove:function(e,t){const n=t[Gr].indexOf(e);t[Gr].splice(n,1)},cloneNode:function(e){return Object.assign({},e)},createFragment:function(e){return{[Wr]:zr.Raw,[Vr]:null,[Yr]:e}},createElement:Qr,createText:function(e){return{[Wr]:zr.Text,[Yr]:String(e),[Vr]:null}},createComment:function(e){return{[Wr]:zr.Comment,[Yr]:e,[Vr]:null}},createCustomElement:function(e,t){return new(Eo(e))(t)},nextSibling:function(e){const t=e[Vr];if(W(t))return null;const n=t[Gr].indexOf(e);return t[Gr][n+1]||null},attachShadow:function(e,t){return e[jr]={[Wr]:zr.ShadowRoot,[Gr]:[],mode:t.mode,delegatesFocus:!!t.delegatesFocus},e[jr]},getProperty:function(e,t){var n,r;if(t in e)return e[t];if(e[Wr]===zr.Element){const o=ye(t);if(de(o,e.tagName))return null!==(n=eo(e,o))&&void 0!==n&&n;if(pe(o)||Q(o))return eo(e,o);if("input"===e.tagName&&"value"===t)return null!==(r=eo(e,"value"))&&void 0!==r?r:""}},setProperty:function(e,t,n){if(t in e)return e[t]=n;if(e[Wr]===zr.Element){const r=ye(t);if("innerHTML"===t)return void(e[Gr]=[{[Wr]:zr.Raw,[Vr]:e,[Yr]:n}]);if(de(r,e.tagName))return!0===n?to(e,r,""):no(e,r);if(pe(r)||Q(r))return to(e,r,n);if("input"===e.tagName&&"value"===r)return W(n)||B(n)?no(e,"value"):to(e,"value",n)}},setText:function(e,t){e[Wr]===zr.Text?e[Yr]=t:e[Wr]===zr.Element&&(e[Gr]=[{[Wr]:zr.Text,[Vr]:e,[Yr]:t}])},getAttribute:eo,setAttribute:to,removeAttribute:no,addEventListener:oo,removeEventListener:so,dispatchEvent:io,getClassList:function(e){function t(){let t=e[Ur].find((e=>"class"===e.name&&W(e[Br])));return B(t)&&(t={name:"class",[Br]:null,value:""},e[Ur].push(t)),t}return{add(...e){const n=t(),r=Xr(n.value);e.forEach((e=>r.add(e))),n.value=Zr(r)},remove(...e){const n=t(),r=Xr(n.value);e.forEach((e=>r.delete(e))),n.value=Zr(r)}}},setCSSStyleProperty:function(e,t,n,r){const o=e[Ur].find((e=>"style"===e.name&&W(e[Br]))),s=`${t}: ${n}${r?" !important":""}`;B(o)?e[Ur].push({name:"style",[Br]:null,value:s}):o.value+=`; ${s}`},getBoundingClientRect:lo,querySelector:co,querySelectorAll:ao,getElementsByTagName:uo,getElementsByClassName:fo,getChildren:po,getChildNodes:ho,getFirstChild:mo,getFirstElementChild:go,getLastChild:wo,getLastElementChild:yo,isConnected:function(e){return!W(e[Vr])},insertStylesheet:ro,assertInstanceOfHTMLElement:bo};function So(e){return e.map((e=>{switch(e[Wr]){case zr.Text:return""===e[Yr]?"‍":Ee(e[Yr]);case zr.Comment:return`\x3c!--${Ee(e[Yr])}--\x3e`;case zr.Raw:return e[Yr];case zr.Element:return ko(e)}})).join("")}function ko(e){let t="";const n=e.tagName,r=e[Br],o=r!==oe,s=e[Gr].length>0;var i;return t+=`<${n}${e[Ur].length?` ${i=e[Ur],i.map((e=>e.value.length?`${e.name}="${Ee(e.value,!0)}"`:e.name)).join(" ")}`:""}`,o&&!s?(t+="/>",t):(t+=">",e[jr]&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${So(e[Gr])}</template>`}(e[jr])),t+=So(e[Gr]),function(e,t){return t===oe&&ce.has(e.toLowerCase())}(n,r)&&!s||(t+=`</${n}>`),t)}const Mo={[Wr]:zr.Element,tagName:"fake-root-element",[Br]:oe,[Vr]:null,[jr]:null,[Gr]:[],[Ur]:[],[Kr]:{}};s(Pt),f(Pt.prototype),exports.LightningElement=Pt,exports.api=function(){throw new Error},exports.createContextProvider=function(e){let t=Vt(e);if(!B(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){Wt.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:s}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{B(s)||s(r)})),o(r),e.stopImmediatePropagation()}))}},exports.createElement=function(){throw new Error("createElement is not supported in @lwc/engine-server, only @lwc/engine-dom.")},exports.freezeTemplate=function(e){Se.ENABLE_FROZEN_TEMPLATE?(s(e),B(e.stylesheets)||Fr(e.stylesheets)):function(e){o(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return B(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=B(e)?void 0:e.shadowAttribute}})}(e)},exports.getComponentDef=function(e){const t=dn(e),{ctor:n,name:r,props:o,propsConfig:s,methods:i}=t,l={};for(const e in o)l[e]={config:s[e]||0,type:"any",attr:ye(e)};const c={};for(const e in i)c[e]=i[e].value;return{ctor:n,name:r,props:l,methods:c}},exports.isComponentConstructor=un,exports.parseFragment=tr,exports.parseSVGFragment=tr,exports.readonly=function(e){return xt(e)},exports.register=function(e){for(let t=0;t<gr.length;++t){const n=gr[t];if(n in e){let t=mr[n];B(t)&&(mr[n]=t=[]),k.call(t,e[n])}}},exports.registerComponent=function(e,{tmpl:t}){return G(e)&&ur.set(e,t),e},exports.registerDecorators=function(e,t){const r=e.prototype,{publicProps:s,publicMethods:l,wire:c,track:a,fields:u}=t,d=n(null),f=n(null),p=n(null),h=n(null),m=n(null),g=n(null);let w;if(!B(s))for(const e in s){const t=s[e];if(g[e]=t.config,w=i(r,e),t.config>0){if(B(w))throw new Error;w=Kt(0,w)}else w=B(w)||B(w.get)?Ut(e):Kt(0,w);f[e]=w,o(r,e,w)}if(B(l)||_.call(l,(e=>{if(w=i(r,e),B(w))throw new Error;d[e]=w})),!B(c))for(const e in c){const{adapter:t,method:n,config:s,dynamic:l=[]}=c[e];if(w=i(r,e),1===n){if(B(w))throw new Error;p[e]=w,jt(w,t,s,l)}else w=zt(e),h[e]=w,Gt(w,t,s,l),o(r,e,w)}if(!B(a))for(const e in a)w=i(r,e),w=Yt(e),o(r,e,w);if(!B(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=i(r,t);const n=!B(s)&&t in s,o=!B(a)&&t in a;n||o||(m[t]=It(t))}return function(e,t){qt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:p,wiredFields:h,observedFields:m}),e},exports.registerTemplate=function(e){return Zt.add(e),e},exports.renderComponent=function(e,t,n={}){if(!U(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!G(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||W(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=Co.createElement(e);Tr(r,t,Co,{mode:"open",owner:null,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r[Vr]=Mo,Sr(r),ko(r)},exports.renderer=Co,exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(B(Ce[e])){const n=d(Ce).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=Se[e];if(!B(n))return void console.error(`Failed to set the value "${t}" for the runtime feature flag "${e}". "${e}" has already been set with the value "${n}".`);o(Se,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},exports.setFeatureFlagForTest=function(e,t){},exports.setHooks=function(t){var n;e.isFalse(Ir,"Hooks are already overridden, only one definition is allowed."),Ir=!0,n=t.sanitizeHtmlContent,qn=n},exports.track=function(e){if(1===arguments.length)return e;throw new Error},exports.unwrap=function(e){return e},exports.wire=function(e,t){throw new Error};
@@ -440,9 +440,9 @@ function htmlEscape(str, attrMode = false) {
440
440
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
441
441
  */
442
442
  // Increment whenever the LWC template compiler changes
443
- const LWC_VERSION = "2.36.0";
443
+ const LWC_VERSION = "2.37.0";
444
444
  const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
445
- /** version: 2.36.0 */
445
+ /** version: 2.37.0 */
446
446
 
447
447
  /*
448
448
  * Copyright (c) 2020, salesforce.com, inc.
@@ -494,10 +494,8 @@ const features = {
494
494
  ENABLE_WIRE_SYNC_EMIT: null,
495
495
  ENABLE_LIGHT_GET_ROOT_NODE_PATCH: null,
496
496
  DISABLE_LIGHT_DOM_UNSCOPED_CSS: null,
497
- ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY: null,
498
497
  ENABLE_FROZEN_TEMPLATE: null,
499
498
  DISABLE_ARIA_REFLECTION_POLYFILL: null,
500
- ENABLE_PROGRAMMATIC_STYLESHEETS: null,
501
499
  };
502
500
  if (!_globalThis.lwcRuntimeFlags) {
503
501
  Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
@@ -553,7 +551,7 @@ function setFeatureFlagForTest(name, value) {
553
551
  setFeatureFlag(name, value);
554
552
  }
555
553
  }
556
- /** version: 2.36.0 */
554
+ /** version: 2.37.0 */
557
555
 
558
556
  /**
559
557
  * Copyright (C) 2018 salesforce.com, inc.
@@ -617,7 +615,7 @@ function applyAriaReflection(prototype = Element.prototype) {
617
615
  }
618
616
  }
619
617
  }
620
- /** version: 2.36.0 */
618
+ /** version: 2.37.0 */
621
619
 
622
620
  /* proxy-compat-disable */
623
621
 
@@ -5909,18 +5907,16 @@ function validateComponentStylesheets(vm, stylesheets) {
5909
5907
  }
5910
5908
  // Validate and flatten any stylesheets defined as `static stylesheets`
5911
5909
  function computeStylesheets(vm, ctor) {
5912
- if (lwcRuntimeFlags.ENABLE_PROGRAMMATIC_STYLESHEETS) {
5913
- warnOnStylesheetsMutation(ctor);
5914
- const {
5915
- stylesheets
5916
- } = ctor;
5917
- if (!isUndefined$1(stylesheets)) {
5918
- const valid = validateComponentStylesheets(vm, stylesheets);
5919
- if (valid) {
5920
- return flattenStylesheets(stylesheets);
5921
- } else if (process.env.NODE_ENV !== 'production') {
5922
- logError(`static stylesheets must be an array of CSS stylesheets. Found invalid stylesheets on <${vm.tagName}>`, vm);
5923
- }
5910
+ warnOnStylesheetsMutation(ctor);
5911
+ const {
5912
+ stylesheets
5913
+ } = ctor;
5914
+ if (!isUndefined$1(stylesheets)) {
5915
+ const valid = validateComponentStylesheets(vm, stylesheets);
5916
+ if (valid) {
5917
+ return flattenStylesheets(stylesheets);
5918
+ } else if (process.env.NODE_ENV !== 'production') {
5919
+ logError(`static stylesheets must be an array of CSS stylesheets. Found invalid stylesheets on <${vm.tagName}>`, vm);
5924
5920
  }
5925
5921
  }
5926
5922
  return null;
@@ -6337,7 +6333,7 @@ function getOriginalArrayMethod(prop) {
6337
6333
  }
6338
6334
  function reportViolation(type, eventId, prop) {
6339
6335
  if (process.env.NODE_ENV !== 'production') {
6340
- logWarnOnce(`Mutating the "${prop}" property on a ${type} ` + `is deprecated and will be removed in a future version of LWC. ` + `See: https://lwc.dev/guide/css#deprecated-template-mutation`);
6336
+ logWarnOnce(`Mutating the "${prop}" property on a ${type} ` + `is deprecated and will be removed in a future version of LWC. ` + `See: https://sfdc.co/template-mutation`);
6341
6337
  }
6342
6338
  }
6343
6339
  function reportTemplateViolation(prop) {
@@ -6486,7 +6482,7 @@ function freezeTemplate(tmpl) {
6486
6482
  }
6487
6483
  }
6488
6484
  }
6489
- /* version: 2.36.0 */
6485
+ /* version: 2.37.0 */
6490
6486
 
6491
6487
  /*
6492
6488
  * Copyright (c) 2020, salesforce.com, inc.
@@ -6538,7 +6534,7 @@ function unsupportedMethod(name) {
6538
6534
  throw new TypeError(`"${name}" is not supported in this environment`);
6539
6535
  };
6540
6536
  }
6541
- function createElement(tagName, namespace) {
6537
+ function createElement$1(tagName, namespace) {
6542
6538
  return {
6543
6539
  [HostTypeKey]: HostNodeType.Element,
6544
6540
  tagName,
@@ -6789,7 +6785,7 @@ const assertInstanceOfHTMLElement = noop;
6789
6785
  const localRegistryRecord = new Map();
6790
6786
  function createUpgradableElementConstructor(tagName) {
6791
6787
  return function Ctor(upgradeCallback) {
6792
- const elm = createElement(tagName);
6788
+ const elm = createElement$1(tagName);
6793
6789
  if (isFunction$1(upgradeCallback)) {
6794
6790
  upgradeCallback(elm); // nothing to do with the result for now
6795
6791
  }
@@ -6816,7 +6812,7 @@ const renderer = {
6816
6812
  remove,
6817
6813
  cloneNode,
6818
6814
  createFragment,
6819
- createElement,
6815
+ createElement: createElement$1,
6820
6816
  createText,
6821
6817
  createComment,
6822
6818
  createCustomElement,
@@ -6957,6 +6953,23 @@ function renderComponent(tagName, Ctor, props = {}) {
6957
6953
  */
6958
6954
  freeze(LightningElement);
6959
6955
  seal(LightningElement.prototype);
6960
- /* version: 2.36.0 */
6961
6956
 
6962
- export { LightningElement, api$1 as api, createContextProvider, freezeTemplate, getComponentDef, isComponentConstructor, parseFragment, parseFragment as parseSVGFragment, readonly, register, registerComponent, registerDecorators, registerTemplate, renderComponent, renderer, sanitizeAttribute, setFeatureFlag, setFeatureFlagForTest, setHooks, track, unwrap, wire };
6957
+ /*
6958
+ * Copyright (c) 2018, salesforce.com, inc.
6959
+ * All rights reserved.
6960
+ * SPDX-License-Identifier: MIT
6961
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6962
+ */
6963
+ /**
6964
+ * This API is equivalent to the createElement function exposed by @lwc/engine-dom. It doesn't do anything on
6965
+ * the server side, however, you may import it.
6966
+ *
6967
+ * The whole point of defining this and exporting it is so that you can import it in isomorphic code without
6968
+ * an error being thrown by the import itself.
6969
+ */
6970
+ function createElement() {
6971
+ throw new Error('createElement is not supported in @lwc/engine-server, only @lwc/engine-dom.');
6972
+ }
6973
+ /* version: 2.37.0 */
6974
+
6975
+ export { LightningElement, api$1 as api, createContextProvider, createElement, freezeTemplate, getComponentDef, isComponentConstructor, parseFragment, parseFragment as parseSVGFragment, readonly, register, registerComponent, registerDecorators, registerTemplate, renderComponent, renderer, sanitizeAttribute, setFeatureFlag, setFeatureFlagForTest, setHooks, track, unwrap, wire };
@@ -120,7 +120,7 @@ const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
120
120
  // We use this to detect symbol support in order to avoid the expensive symbol polyfill. Note that
121
121
  // we can't use typeof since it will fail when transpiling.
122
122
  const hasNativeSymbolSupport = /*@__PURE__*/ (() => Symbol('x').toString() === 'Symbol(x)')();
123
- /** version: 2.36.0 */
123
+ /** version: 2.37.0 */
124
124
 
125
125
  /*
126
126
  * Copyright (c) 2018, salesforce.com, inc.
@@ -435,7 +435,7 @@ if (!_globalThis.lwcRuntimeFlags) {
435
435
  Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
436
436
  }
437
437
  const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
438
- /** version: 2.36.0 */
438
+ /** version: 2.37.0 */
439
439
 
440
440
  /*
441
441
  * Copyright (c) 2018, salesforce.com, inc.
@@ -4696,4 +4696,4 @@ if (process.env.NODE_ENV === 'test-karma-lwc') {
4696
4696
  }));
4697
4697
  });
4698
4698
  }
4699
- /** version: 2.36.0 */
4699
+ /** version: 2.37.0 */
@@ -123,7 +123,7 @@
123
123
  // We use this to detect symbol support in order to avoid the expensive symbol polyfill. Note that
124
124
  // we can't use typeof since it will fail when transpiling.
125
125
  const hasNativeSymbolSupport = /*@__PURE__*/ (() => Symbol('x').toString() === 'Symbol(x)')();
126
- /** version: 2.36.0 */
126
+ /** version: 2.37.0 */
127
127
 
128
128
  /*
129
129
  * Copyright (c) 2018, salesforce.com, inc.
@@ -438,7 +438,7 @@
438
438
  Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
439
439
  }
440
440
  const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
441
- /** version: 2.36.0 */
441
+ /** version: 2.37.0 */
442
442
 
443
443
  /*
444
444
  * Copyright (c) 2018, salesforce.com, inc.
@@ -4699,6 +4699,6 @@
4699
4699
  }));
4700
4700
  });
4701
4701
  }
4702
- /** version: 2.36.0 */
4702
+ /** version: 2.37.0 */
4703
4703
 
4704
4704
  })();
@@ -59,7 +59,7 @@
59
59
  const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
60
60
  const KEY__NATIVE_GET_ELEMENT_BY_ID = '$nativeGetElementById$';
61
61
  const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
62
- /** version: 2.36.0 */
62
+ /** version: 2.37.0 */
63
63
 
64
64
  /*
65
65
  * Copyright (c) 2018, salesforce.com, inc.
@@ -374,7 +374,7 @@
374
374
  Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
375
375
  }
376
376
  const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
377
- /** version: 2.36.0 */
377
+ /** version: 2.37.0 */
378
378
 
379
379
  /*
380
380
  * Copyright (c) 2018, salesforce.com, inc.
@@ -4499,6 +4499,6 @@
4499
4499
  },
4500
4500
  configurable: true,
4501
4501
  });
4502
- /** version: 2.36.0 */
4502
+ /** version: 2.37.0 */
4503
4503
 
4504
4504
  })();
@@ -150,7 +150,7 @@
150
150
  var hasNativeSymbolSupport = /*@__PURE__*/function () {
151
151
  return Symbol('x').toString() === 'Symbol(x)';
152
152
  }();
153
- /** version: 2.36.0 */
153
+ /** version: 2.37.0 */
154
154
 
155
155
  /*
156
156
  * Copyright (c) 2018, salesforce.com, inc.
@@ -466,7 +466,7 @@
466
466
  });
467
467
  }
468
468
  var lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
469
- /** version: 2.36.0 */
469
+ /** version: 2.37.0 */
470
470
 
471
471
  /*
472
472
  * Copyright (c) 2018, salesforce.com, inc.
@@ -4676,6 +4676,6 @@
4676
4676
  }));
4677
4677
  });
4678
4678
  }
4679
- /** version: 2.36.0 */
4679
+ /** version: 2.37.0 */
4680
4680
 
4681
4681
  })();