lwc 2.23.5 → 2.24.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 (39) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +216 -69
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +216 -69
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +194 -67
  5. package/dist/engine-dom/iife/es5/engine-dom.js +494 -313
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +463 -299
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +216 -69
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +194 -67
  11. package/dist/engine-dom/umd/es5/engine-dom.js +494 -313
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +463 -299
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +124 -16
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
  16. package/dist/engine-server/esm/es2017/engine-server.js +124 -16
  17. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +205 -168
  18. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +205 -168
  19. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +2 -2
  20. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +195 -158
  21. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +25 -11
  22. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +2 -2
  23. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +25 -11
  24. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +205 -168
  25. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +2 -2
  26. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +195 -158
  27. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +25 -11
  28. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +2 -2
  29. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +25 -11
  30. package/dist/wire-service/esm/es2017/wire-service.js +2 -2
  31. package/dist/wire-service/iife/es2017/wire-service.js +2 -2
  32. package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
  33. package/dist/wire-service/iife/es5/wire-service.js +2 -2
  34. package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
  35. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  36. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  37. package/dist/wire-service/umd/es5/wire-service.js +2 -2
  38. package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
  39. package/package.json +7 -7
@@ -436,9 +436,9 @@ function htmlEscape(str, attrMode = false) {
436
436
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
437
437
  */
438
438
  // Increment whenever the LWC template compiler changes
439
- const LWC_VERSION = "2.23.5";
439
+ const LWC_VERSION = "2.24.0";
440
440
  const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
441
- /** version: 2.23.5 */
441
+ /** version: 2.24.0 */
442
442
 
443
443
  /*
444
444
  * Copyright (c) 2020, salesforce.com, inc.
@@ -549,7 +549,7 @@ function setFeatureFlagForTest(name, value) {
549
549
  setFeatureFlag(name, value);
550
550
  }
551
551
  }
552
- /** version: 2.23.5 */
552
+ /** version: 2.24.0 */
553
553
 
554
554
  /* proxy-compat-disable */
555
555
 
@@ -600,6 +600,20 @@ function flattenStylesheets(stylesheets) {
600
600
  }
601
601
  return list;
602
602
  }
603
+ // Set a ref (lwc:ref) on a VM, from a template API
604
+ function setRefVNode(vm, ref, vnode) {
605
+ if (process.env.NODE_ENV !== 'production' && isUndefined$1(vm.refVNodes)) {
606
+ throw new Error('refVNodes must be defined when setting a ref');
607
+ }
608
+ // If this method is called, then vm.refVNodes is set as the template has refs.
609
+ // If not, then something went wrong and we threw an error above.
610
+ const refVNodes = vm.refVNodes;
611
+ // In cases of conflict (two elements with the same ref), prefer, the last one,
612
+ // in depth-first traversal order.
613
+ if (!(ref in refVNodes) || refVNodes[ref].key < vnode.key) {
614
+ refVNodes[ref] = vnode;
615
+ }
616
+ }
603
617
 
604
618
  /*
605
619
  * Copyright (c) 2019, salesforce.com, inc.
@@ -1834,6 +1848,8 @@ function createBridgeToElementDescriptor(propName, descriptor) {
1834
1848
  },
1835
1849
  };
1836
1850
  }
1851
+ const EMPTY_REFS = freeze(create(null));
1852
+ const refsCache = new WeakMap();
1837
1853
  /**
1838
1854
  * This class is the base class for any LWC element.
1839
1855
  * Some elements directly extends this class, others implement it via inheritance.
@@ -2012,6 +2028,70 @@ LightningElement.prototype = {
2012
2028
  }
2013
2029
  return vm.shadowRoot;
2014
2030
  },
2031
+ get refs() {
2032
+ const vm = getAssociatedVM(this);
2033
+ if (isUpdatingTemplate) {
2034
+ if (process.env.NODE_ENV !== 'production') {
2035
+ logError(`this.refs should not be called while ${getComponentTag(vm)} is rendering. Use this.refs only when the DOM is stable, e.g. in renderedCallback().`);
2036
+ }
2037
+ // If the template is in the process of being updated, then we don't want to go through the normal
2038
+ // process of returning the refs and caching them, because the state of the refs is unstable.
2039
+ // This can happen if e.g. a template contains `<div class={foo}></div>` and `foo` is computed
2040
+ // based on `this.refs.bar`.
2041
+ return;
2042
+ }
2043
+ if (process.env.NODE_ENV !== 'production') {
2044
+ warnIfInvokedDuringConstruction(vm, 'refs');
2045
+ }
2046
+ const { refVNodes, hasRefVNodes, cmpTemplate } = vm;
2047
+ // If the `cmpTemplate` is null, that means that the template has not been rendered yet. Most likely this occurs
2048
+ // if `this.refs` is called during the `connectedCallback` phase. The DOM elements have not been rendered yet,
2049
+ // so log a warning. Note we also check `isBeingConstructed()` to avoid a double warning (due to
2050
+ // `warnIfInvokedDuringConstruction` above).
2051
+ if (process.env.NODE_ENV !== 'production' &&
2052
+ isNull(cmpTemplate) &&
2053
+ !isBeingConstructed(vm)) {
2054
+ logError(`this.refs is undefined for ${getComponentTag(vm)}. This is either because the attached template has no "lwc:ref" directive, or this.refs was ` +
2055
+ `invoked before renderedCallback(). Use this.refs only when the referenced HTML elements have ` +
2056
+ `been rendered to the DOM, such as within renderedCallback() or disconnectedCallback().`);
2057
+ }
2058
+ // For backwards compatibility with component written before template refs
2059
+ // were introduced, we return undefined if the template has no refs defined
2060
+ // anywhere. This fixes components that may want to add an expando called `refs`
2061
+ // and are checking if it exists with `if (this.refs)` before adding it.
2062
+ // Note it is not sufficient to just check if `refVNodes` is null or empty,
2063
+ // because a template may have `lwc:ref` defined within a falsy `if:true` block.
2064
+ if (!hasRefVNodes) {
2065
+ return;
2066
+ }
2067
+ // For templates that are using `lwc:ref`, if there are no refs currently available
2068
+ // (e.g. refs inside of a falsy `if:true` block), we return an empty object.
2069
+ if (isNull(refVNodes)) {
2070
+ return EMPTY_REFS;
2071
+ }
2072
+ // The refNodes can be cached based on the refVNodes, since the refVNodes
2073
+ // are recreated from scratch every time the template is rendered.
2074
+ // This happens with `vm.refVNodes = null` in `template.ts` in `@lwc/engine-core`.
2075
+ let refs = refsCache.get(refVNodes);
2076
+ if (isUndefined$1(refs)) {
2077
+ refs = create(null);
2078
+ for (const key of keys(refVNodes)) {
2079
+ refs[key] = refVNodes[key].elm;
2080
+ }
2081
+ freeze(refs);
2082
+ refsCache.set(refVNodes, refs);
2083
+ }
2084
+ return refs;
2085
+ },
2086
+ // For backwards compat, we allow component authors to set `refs` as an expando
2087
+ set refs(value) {
2088
+ defineProperty(this, 'refs', {
2089
+ configurable: true,
2090
+ enumerable: true,
2091
+ writable: true,
2092
+ value,
2093
+ });
2094
+ },
2015
2095
  get shadowRoot() {
2016
2096
  // From within the component instance, the shadowRoot is always reported as "closed".
2017
2097
  // Authors should rely on this.template instead.
@@ -3434,13 +3514,27 @@ function isLiveBindingProp(sel, key) {
3434
3514
  return sel === 'input' && (key === 'value' || key === 'checked');
3435
3515
  }
3436
3516
  function patchProps(oldVnode, vnode, renderer) {
3437
- const { props } = vnode.data;
3438
- if (isUndefined$1(props)) {
3517
+ let { props } = vnode.data;
3518
+ const { spread } = vnode.data;
3519
+ if (isUndefined$1(props) && isUndefined$1(spread)) {
3439
3520
  return;
3440
3521
  }
3441
- const oldProps = isNull(oldVnode) ? EmptyObject : oldVnode.data.props;
3442
- if (oldProps === props) {
3443
- return;
3522
+ let oldProps;
3523
+ if (!isNull(oldVnode)) {
3524
+ oldProps = oldVnode.data.props;
3525
+ const oldSpread = oldVnode.data.spread;
3526
+ if (oldProps === props && oldSpread === spread) {
3527
+ return;
3528
+ }
3529
+ if (isUndefined$1(oldProps)) {
3530
+ oldProps = EmptyObject;
3531
+ }
3532
+ if (!isUndefined$1(oldSpread)) {
3533
+ oldProps = assign({}, oldProps, oldSpread);
3534
+ }
3535
+ }
3536
+ if (!isUndefined$1(spread)) {
3537
+ props = assign({}, props, spread);
3444
3538
  }
3445
3539
  const isFirstPatch = isNull(oldVnode);
3446
3540
  const { elm, sel } = vnode;
@@ -3450,7 +3544,9 @@ function patchProps(oldVnode, vnode, renderer) {
3450
3544
  // Set the property if it's the first time is is patched or if the previous property is
3451
3545
  // different than the one previously set.
3452
3546
  if (isFirstPatch ||
3453
- cur !== (isLiveBindingProp(sel, key) ? getProperty(elm, key) : oldProps[key])) {
3547
+ cur !== (isLiveBindingProp(sel, key) ? getProperty(elm, key) : oldProps[key]) ||
3548
+ !(key in oldProps) // this is required because the above case will pass when `cur` is `undefined` and key is missing in `oldProps`
3549
+ ) {
3454
3550
  setProperty(elm, key, cur);
3455
3551
  }
3456
3552
  }
@@ -4494,17 +4590,20 @@ function h(sel, data, children = EmptyArray) {
4494
4590
  }
4495
4591
  });
4496
4592
  }
4497
- let elm;
4498
- const { key } = data;
4499
- return {
4593
+ const { key, ref } = data;
4594
+ const vnode = {
4500
4595
  type: 2 /* VNodeType.Element */,
4501
4596
  sel,
4502
4597
  data,
4503
4598
  children,
4504
- elm,
4599
+ elm: undefined,
4505
4600
  key,
4506
4601
  owner: vmBeingRendered,
4507
4602
  };
4603
+ if (!isUndefined$1(ref)) {
4604
+ setRefVNode(vmBeingRendered, ref, vnode);
4605
+ }
4606
+ return vnode;
4508
4607
  }
4509
4608
  // [t]ab[i]ndex function
4510
4609
  function ti(value) {
@@ -4569,7 +4668,7 @@ function c(sel, Ctor, data, children = EmptyArray) {
4569
4668
  });
4570
4669
  }
4571
4670
  }
4572
- const { key } = data;
4671
+ const { key, ref } = data;
4573
4672
  let elm, aChildren, vm;
4574
4673
  const vnode = {
4575
4674
  type: 3 /* VNodeType.CustomElement */,
@@ -4585,6 +4684,9 @@ function c(sel, Ctor, data, children = EmptyArray) {
4585
4684
  vm,
4586
4685
  };
4587
4686
  addVNodeToChildLWC(vnode);
4687
+ if (!isUndefined$1(ref)) {
4688
+ setRefVNode(vmBeingRendered, ref, vnode);
4689
+ }
4588
4690
  return vnode;
4589
4691
  }
4590
4692
  // [i]terable node
@@ -5074,6 +5176,10 @@ function evaluateTemplate(vm, html) {
5074
5176
  // add the VM to the list of host VMs that can be re-rendered if html is swapped
5075
5177
  setActiveVM(vm);
5076
5178
  }
5179
+ // reset the refs; they will be set during the tmpl() instantiation
5180
+ const hasRefVNodes = Boolean(html.hasRefs);
5181
+ vm.hasRefVNodes = hasRefVNodes;
5182
+ vm.refVNodes = hasRefVNodes ? create(null) : null;
5077
5183
  // right before producing the vnodes, we clear up all internal references
5078
5184
  // to custom elements from the template.
5079
5185
  vm.velements = [];
@@ -5426,6 +5532,8 @@ function createVM(elm, ctor, renderer, options) {
5426
5532
  tagName,
5427
5533
  mode,
5428
5534
  owner,
5535
+ refVNodes: null,
5536
+ hasRefVNodes: false,
5429
5537
  children: EmptyArray,
5430
5538
  aChildren: EmptyArray,
5431
5539
  velements: EmptyArray,
@@ -6303,7 +6411,7 @@ function freezeTemplate(tmpl) {
6303
6411
  });
6304
6412
  }
6305
6413
  }
6306
- /* version: 2.23.5 */
6414
+ /* version: 2.24.0 */
6307
6415
 
6308
6416
  /*
6309
6417
  * Copyright (c) 2020, salesforce.com, inc.
@@ -6773,7 +6881,7 @@ function renderComponent(tagName, Ctor, props = {}) {
6773
6881
  */
6774
6882
  freeze(LightningElement);
6775
6883
  seal(LightningElement.prototype);
6776
- /* version: 2.23.5 */
6884
+ /* version: 2.24.0 */
6777
6885
 
6778
6886
  exports.LightningElement = LightningElement;
6779
6887
  exports.api = api$1;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:t,create:n,defineProperties:r,defineProperty:o,freeze:i,getOwnPropertyDescriptor:s,getOwnPropertyNames:l,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:d,seal:f,setPrototypeOf:p}=Object,{isArray:h}=Array,{copyWithin:m,fill:g,filter:w,find:y,indexOf:b,join:v,map:E,pop:C,push:S,reduce:k,reverse:x,shift:T,slice:M,sort:A,splice:O,unshift:N,forEach:L}=Array.prototype,{fromCharCode:_}=String,{charCodeAt:$,replace:P,slice:R,toLowerCase:D}=String.prototype;function F(e){return void 0===e}function I(e){return null===e}function H(e){return!0===e}function B(e){return!1===e}function j(e){return"function"==typeof e}function W(e){return"string"==typeof e}function V(){}const G={}.toString;function K(e){return e&&e.toString?h(e)?v.call(E.call(e,K),","):e.toString():"object"==typeof e?G.call(e):e+""}function z(e,t){do{const n=s(e,t);if(!F(n))return n;e=a(e)}while(null!==e)}const U=["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:q,AriaPropNameToAttrNameMap:Y}=(()=>{const e=n(null),t=n(null);return L.call(U,(n=>{const r=D.call(P.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})();function X(e){return e in q}const J=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),Q="http://www.w3.org/1999/xhtml",Z=new Set(["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr","param","keygen","menuitem"]);const ee=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 te(e,t){const n=ee.get(e);return void 0!==n&&(0===n.size||n.has(t))}const ne=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 re(e){return ne.has(e)}const oe=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"]]),ie=new Map;function se(e){const t=Y[e];if(!F(t))return t;const n=oe.get(e);if(!F(n))return n;const r=ie.get(e);if(!F(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=$.call(e,t);o+=n>=65&&n<=90?"-"+_(n+32):_(n)}return ie.set(e,o),o}const le={'"':"&quot;","'":"&#x27;","<":"&lt;",">":"&gt;","&":"&amp;"};function ae(e,t=!1){const n=t?/["&]/g:/["'<>&]/g;return e.replace(n,(e=>le[e]))}if("function"!=typeof Event){class e{}o(J,"Event",{value:e,configurable:!0,writable:!0})}if("function"!=typeof CustomEvent){class e extends Event{}o(J,"CustomEvent",{value:e,configurable:!0,writable:!0})}const ce={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HMR:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null,ENABLE_LIGHT_GET_ROOT_NODE_PATCH:null};J.lwcRuntimeFlags||Object.defineProperty(J,"lwcRuntimeFlags",{value:n(null)});const ue=J.lwcRuntimeFlags;const de=f(n(null)),fe=f([]);const pe=new WeakMap;const he={observe(e){e()},reset(){},link(){}};function me(e){return he}function ge(e){return`<${D.call(e.tagName)}>`}function we(e,t){if(!u(t)&&F(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!I(n);)S.call(t,ge(n)),n=n.owner;return t.reverse().join("\n\t")}(e);o(t,"wcStack",{get:()=>n})}}function ye(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function be(e){return j(e)&&c.call(e,"__circular__")}const ve="undefined"!=typeof HTMLElement?HTMLElement:function(){},Ee=ve.prototype;function Ce(e){return`Using the \`${e}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}t(n(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:Ce("offsetHeight")},offsetLeft:{readOnly:!0,error:Ce("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Ce("offsetTop")},offsetWidth:{readOnly:!0,error:Ce("offsetWidth")},role:{attribute:"role"}});let Se,ke=null;function xe(e,t){return e!==ke||t!==Se}function Te(e,t){ke=null,Se=void 0}function Me(e,t){ke=e,Se=t}const Ae=n(null);function Oe(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n)}L.call(d(Y),(e=>{const t=z(Ee,e);F(t)||(Ae[e]=t)})),L.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=z(Ee,e);F(t)||(Ae[e]=t)}));const{isArray:Ne}=Array,{prototype:Le,getPrototypeOf:_e,create:$e,defineProperty:Pe,isExtensible:Re,getOwnPropertyDescriptor:De,getOwnPropertyNames:Fe,getOwnPropertySymbols:Ie,preventExtensions:He,hasOwnProperty:Be}=Object,{push:je,concat:We}=Array.prototype;function Ve(e){return void 0===e}function Ge(e){return"function"==typeof e}const Ke=new WeakMap;function ze(e,t){Ke.set(e,t)}const Ue=e=>Ke.get(e)||e;class qe{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(Be.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;Ve(n)||(e.get=this.wrapGetter(n)),Ve(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=De(n,t);if(!Ve(r)){const n=this.wrapDescriptor(r);Pe(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;We.call(Fe(t),Ie(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;Ve(n)||Be.call(e,n)||Pe(e,n,$e(null)),He(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=Ve(n)||Be.call(t,n)?[]:[n];return je.apply(r,Fe(t)),je.apply(r,Ie(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!Re(e)&&(!!Re(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return _e(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=De(n,t);if(Ve(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},Pe(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const Ye=new WeakMap,Xe=new WeakMap,Je=new WeakMap,Qe=new WeakMap;class Ze extends qe{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Ye.get(e);if(!Ve(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Ue(this)))};return Ye.set(e,r),Je.set(r,e),r}wrapSetter(e){const t=Xe.get(e);if(!Ve(t))return t;const n=function(t){e.call(Ue(this),Ue(t))};return Xe.set(e,n),Qe.set(n,e),n}unwrapDescriptor(e){if(Be.call(e,"value"))e.value=Ue(e.value);else{const{set:t,get:n}=e;Ve(n)||(e.get=this.unwrapGetter(n)),Ve(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=Je.get(e);if(!Ve(t))return t;const n=this,r=function(){return Ue(e.call(n.wrapValue(this)))};return Ye.set(r,e),Je.set(e,r),r}unwrapSetter(e){const t=Qe.get(e);if(!Ve(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Xe.set(r,e),Qe.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&&Ne(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(Re(e)){const{originalTarget:t}=this;if(He(t),Re(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!Be.call(r,t)||(Pe(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const et=new WeakMap,tt=new WeakMap;class nt extends qe{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=et.get(e);if(!Ve(t))return t;const n=this,r=function(){return n.wrapValue(e.call(Ue(this)))};return et.set(e,r),r}wrapSetter(e){const t=tt.get(e);if(!Ve(t))return t;const n=function(e){};return tt.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 rt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(Ne(e))return!0;const t=_e(e);return t===Le||null===t||null===_e(t)}const ot=(e,t)=>{},it=(e,t)=>{};function st(e){return Ne(e)?[]:{}}const lt=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=Ge(t)?t:it,this.valueObserved=Ge(n)?n:ot,this.valueIsObservable=Ge(r)?r:rt,this.tagPropertyKey=o}getProxy(e){const t=Ue(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=Ue(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return Ue(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(Ve(t)){const n=new Ze(this,e);t=new Proxy(st(e),n),ze(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(Ve(t)){const n=new nt(this,e);t=new Proxy(st(e),n),ze(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:function(e,t){},valueMutated:function(e,t){const n=pe.get(e);if(!F(n)){const e=n[t];if(!F(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}},tagPropertyKey:lt});function ct(e){return at.getReadOnlyProxy(e)}function ut(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!j(n))throw new TypeError;if(!j(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const e=Jn(this);if(!Nn(e))return n.call(e.elm)},set(t){const n=Jn(this);return Oe(n,e,t),r.call(n.elm,t)}}}const dt=function(){if(I(On))throw new ReferenceError("Illegal constructor");const e=On,{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 Xn(o,e),Xn(n,e),1===e.renderMode?e.renderRoot=ft(e):e.renderRoot=n,this};function ft(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:i}}=e,s=i(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=s,Xn(s,e),s}dt.prototype={constructor:dt,dispatchEvent(e){const t=Jn(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=Jn(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,Fn(r,t),n)},removeEventListener(e,t,n){const r=Jn(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,Fn(r,t),n)},hasAttribute(e){const t=Jn(this),{elm:n,renderer:{getAttribute:r}}=t;return!I(r(n,e))},hasAttributeNS(e,t){const n=Jn(this),{elm:r,renderer:{getAttribute:o}}=n;return!I(o(r,t,e))},removeAttribute(e){const t=Jn(this),{elm:n,renderer:{removeAttribute:r}}=t;Me(n,e),r(n,e),Te()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=Jn(this);Me(n,t),r(n,t,e),Te()},getAttribute(e){const t=Jn(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=Jn(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=Jn(this),{elm:r,renderer:{setAttribute:o}}=n;Me(r,e),o(r,e,t),Te()},setAttributeNS(e,t,n){const r=Jn(this),{elm:o,renderer:{setAttribute:i}}=r;Me(o,t),i(o,t,n,e),Te()},getBoundingClientRect(){const e=Jn(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=Jn(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=Jn(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return Jn(this).shadowRoot},get shadowRoot(){return null},get children(){const e=Jn(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=Jn(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=Jn(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=Jn(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=Jn(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=Jn(this);return e.renderer.getLastElementChild(e.elm)},render(){return Jn(this).def.template},toString(){return`[object ${Jn(this).def.name}]`}};const pt=n(null),ht=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of ht)pt[e]={value(t){const n=Jn(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};r(dt.prototype,pt);const mt=n(null);for(const e in Ae)mt[e]=ut(e,Ae[e]);function gt(e){return{get(){return Jn(this).cmpFields[e]},set(t){Oe(Jn(this),e,t)},enumerable:!0,configurable:!0}}r(dt.prototype,mt),o(dt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const wt={observe(e){e()},reset(){},link(){}};function yt(e){return{get(){const t=Jn(this);if(!Nn(t))return t.cmpProps[e]},set(t){Jn(this).cmpProps[e]=t},enumerable:!0,configurable:!0}}function bt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!j(n))throw new Error;return{get(){return n.call(this)},set(t){const n=Jn(this);if(r)if(ue.ENABLE_REACTIVE_SETTER){let o=n.oar[e];F(o)&&(o=n.oar[e]=wt),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function vt(e){return{get(){return Jn(this).cmpFields[e]},set(t){Oe(Jn(this),e,t)},enumerable:!0,configurable:!0}}function Et(e){return{get(){return Jn(this).cmpFields[e]},set(t){Oe(Jn(this),e,t)},enumerable:!0,configurable:!0}}const Ct=new Map;const St={apiMethods:de,apiFields:de,apiFieldsConfig:de,wiredMethods:de,wiredFields:de,observedFields:de};const kt=new Set;function xt(){return[]}kt.add(xt);const Tt=n(null),Mt=n(null);function At(e){let t=Tt[e];return F(t)&&(t=Tt[e]=function(){const t=Jn(this),{getHook:n}=t;return n(t.component,e)}),t}function Ot(e){let t=Mt[e];return F(t)&&(t=Mt[e]=function(t){const n=Jn(this),{setHook:r}=n;t=ct(t),r(n.component,e,t)}),t}function Nt(e){return function(){const t=Jn(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,M.call(arguments))}}function Lt(e,t){return function(n,r,o){if(r===o)return;const i=e[n];F(i)?F(t)||t.apply(this,arguments):xe(this,n)&&(this[i]=o)}}function _t(e,t,i){let s;j(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),o(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));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[se(n)]=n,u[n]={get:At(n),set:Ot(n),enumerable:!0,configurable:!0}}for(let e=0,t=i.length;e<t;e+=1){const t=i[e];u[t]={value:Nt(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:Lt(l,a)},o(s,"observedAttributes",{get:()=>[...c,...d(l)]}),r(s.prototype,u),s}const $t=_t(ve,l(Ae),[]);i($t),f($t.prototype);const Pt=new WeakMap;function Rt(e){const{shadowSupportMode:o,renderMode:i}=e,s=function(e){const t=Ct.get(e);return F(t)?St:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:f,wiredMethods:p,observedFields:h}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=a(e);if(I(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(be(t)){const e=ye(t);t=e===t?dt:e}return t}(e),C=E!==dt?Ft(E):It,S=_t(C.bridge,d(l),d(u)),k=t(n(null),C.props,l),x=t(n(null),C.propsConfig,c),T=t(n(null),C.methods,u),M=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 A=C.shadowSupportMode;F(o)||(A=o);let O=C.renderMode;F(i)||(O="light"===i?0:1);const N=function(e){return $n.get(e)}(e)||C.template,L=e.name||C.name;r(m,h);return{ctor:e,name:L,wire:M,props:k,propsConfig:x,methods:T,bridge:S,template:N,renderMode:O,shadowSupportMode:A,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function Dt(e){if(!j(e))return!1;if(e.prototype instanceof dt)return!0;let t=e;do{if(be(t)){const e=ye(t);if(e===t)return!0;t=e}if(t===dt)return!0}while(!I(t)&&(t=a(t)));return!1}function Ft(e){let t=Pt.get(e);if(F(t)){if(be(e)){return t=Ft(ye(e)),Pt.set(e,t),t}if(!Dt(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=Rt(e),Pt.set(e,t)}return t}const It={ctor:dt,name:dt.name,props:mt,propsConfig:de,methods:de,renderMode:1,shadowSupportMode:"reset",wire:de,bridge:$t,template:xt,render:dt.prototype.render};function Ht(e){return`${e}-host`}function Bt(e){return En.h("style",{key:"style",attrs:{type:"text/css"}},[En.t(e)])}function jt(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(h(s))S.apply(r,jt(s,t,n));else{const e=s.$scoped$,i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let a;1===n.renderMode?a=0===n.shadowMode:(F(o)&&(o=Vt(n)),a=I(o)||0===o.shadowMode),S.call(r,s(i,l,a))}}return r}function Wt(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return F(n)||0===n.length||(o=jt(n,r,e)),o}function Vt(e){let t=e;for(;!I(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Gt(e){return!F(Qn(e))}function Kt(e){const{type:t}=e;return 2===t||3===t}function zt(e,t){return e.key===t.key&&e.sel===t.sel}function Ut(e,t){return"input"===e&&("value"===t||"checked"===t)}const qt=n(null);function Yt(e){if(null==e)return de;e=W(e)?e:e+"";let t=qt[e];if(t)return t;t=n(null);let r,o=0;const i=e.length;for(r=0;r<i;r++)32===$.call(e,r)&&(r>o&&(t[R.call(e,o,r)]=!0),o=r+1);return r>o&&(t[R.call(e,o,r)]=!0),qt[e]=t,t}function Xt(e,t,n,r){var o;o=t,dn.has(o)?pn(e,t,n,r):hn(e,t,n,r)}function Jt(e,t,n,r){var o,i;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&sn(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:i}=t;i?hn(e.children,o,n,r):pn(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;an(e,t,n),Xt(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);tn(e,n,r,!0),Zt(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;an(e,t,r),F(o)||un(t,o),Xt(e.children,t.children,n,r),F(o)||function(e){Zn(e)}(o)}}(e,t,n,null!==(i=t.data.renderer)&&void 0!==i?i:r)}}function Qt(e,t,n,r){var o,i;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:i}=r,s=e.elm=i(e.text);on(s,o,r),ln(s,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:i}=r,s=e.elm=i(e.text);on(s,o,r),ln(s,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:i,isSyntheticShadowDefined:s}=r,l=e.elm=i(e.fragment,!0);on(l,o,r);const{renderMode:a,shadowMode:c}=o;s&&(1!==c&&0!==a||(l.$shadowStaticNode$=!0));ln(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;en(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:i,data:{svg:s}}=e,{createElement:l}=r,a=H(s)?"http://www.w3.org/2000/svg":void 0,c=e.elm=l(o,a);on(c,i,r),cn(c,i,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),an(null,e,r),ln(c,t,n,r),en(e.children,c,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:Zt(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function Zt(e,t,n,r){const{sel:o,owner:i}=e,s=function(e,t){const{getCustomElement:n,HTMLElementExported:r,defineCustomElement:o}=t;let i=n(e=e.toLowerCase());return F(i)?(i=class extends r{constructor(e){super(),j(e)&&e(this)}},ue.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(i.prototype.connectedCallback=function(){Gt(this)&&zn(this)},i.prototype.disconnectedCallback=function(){Gt(this)&&Un(this)}),o(e,i),i):i}(o,r);let l;const a=new s((t=>{l=function(e,t,n){let r=Qn(e);if(!F(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;return r=Yn(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}));if(e.elm=a,e.vm=l,on(a,i,r),cn(a,i,r),l)un(e,l);else if(e.ctor!==s)throw new TypeError("Incorrect Component Constructor");an(null,e,r),ln(a,t,n,r),l&&er(l),en(e.children,a,r,null),l&&function(e){Zn(e)}(l)}function en(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];rn(i)&&Qt(i,t,n,r)}}function tn(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&(5===o?nn(e.children,t,n,r):function(e,t,n){n.remove(e,t)}(i,t,n)),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;nn(e.children,i,n,t);break}case 3:{const{vm:t}=e;F(t)||function(e){qn(e)}(t)}}}function nn(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];rn(i)&&tn(i,t,n,r)}}function rn(e){return null!=e}function on(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function sn(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function ln(e,t,n,r){r.insert(e,t,n)}function an(e,t,n){I(e)&&(function(e,t){const{elm:n,data:{on:r}}=e;if(F(r))return;const{addEventListener:o}=t;for(const e in r)o(n,e,r[e])}(t,n),function(e,t){const{elm:n,data:{classMap:r}}=e;if(F(r))return;const{getClassList:o}=t,i=o(n);for(const e in r)i.add(e)}(t,n),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(F(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,i,s]=r[e];o(n,t,i,s)}}(t,n)),function(e,t,n){const{elm:r,data:{className:o}}=t,i=I(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),a=Yt(o),c=Yt(i);let u;for(u in c)F(a[u])&&l.remove(u);for(u in a)F(c[u])&&l.add(u)}(e,t,n),function(e,t,n){const{elm:r,data:{style:o}}=t;if((I(e)?void 0:e.data.style)===o)return;const{setAttribute:i,removeAttribute:s}=n;W(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,t,n),function(e,t,n){const{attrs:r}=t.data;if(F(r))return;const o=I(e)?de:e.data.attrs;if(o===r)return;const{elm:i}=t,{setAttribute:s,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(Me(i,e),58===$.call(e,3)?s(i,e,t,"http://www.w3.org/XML/1998/namespace"):58===$.call(e,5)?s(i,e,t,"http://www.w3.org/1999/xlink"):I(t)||F(t)?l(i,e):s(i,e,t),Te())}}(e,t,n),function(e,t,n){const{props:r}=t.data;if(F(r))return;const o=I(e)?de:e.data.props;if(o===r)return;const i=I(e),{elm:s,sel:l}=t,{getProperty:a,setProperty:c}=n;for(const e in r){const t=r[e];(i||t!==(Ut(l,e)?a(s,e):o[e]))&&c(s,e,t)}}(e,t,n)}function cn(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(!I(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||F(o)||(e.$shadowToken$=o)}function un(e,t){const r=e.aChildren||e.children;t.aChildren=r;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t){var r;const{cmpSlots:o}=e,i=e.cmpSlots=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(I(n))continue;let o="";Kt(n)&&(o=(null===(r=n.data.attrs)||void 0===r?void 0:r.slot)||"");const s=i[o]=i[o]||[];S.call(s,n)}if(B(e.isDirty)){const t=d(o);if(t.length!==d(i).length)return void Rn(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(F(i[r])||o[r].length!==i[r].length)return void Rn(e);const s=o[r],l=i[r];for(let t=0,n=i[r].length;t<n;t+=1)if(s[t]!==l[t])return void Rn(e)}}}(t,r),e.aChildren=r,e.children=fe)}const dn=new WeakMap;function fn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(rn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function pn(e,t,n,r){let o=0,i=0,s=e.length-1,l=e[0],a=e[s];const c=t.length-1;let u,d,f,p,h=c,m=t[0],g=t[h],w=!1;for(;o<=s&&i<=h;)rn(l)?rn(a)?rn(m)?rn(g)?zt(l,m)?(Jt(l,m,n,r),l=e[++o],m=t[++i]):zt(a,g)?(Jt(a,g,n,r),a=e[--s],g=t[--h]):zt(l,g)?(Jt(l,g,n,r),ln(l.elm,n,r.nextSibling(a.elm),r),l=e[++o],g=t[--h]):zt(a,m)?(Jt(a,m,n,r),ln(m.elm,n,l.elm,r),a=e[--s],m=t[++i]):(void 0===u&&(u=fn(e,o,s)),d=u[m.key],F(d)?(Qt(m,n,r,l.elm),m=t[++i]):(f=e[d],rn(f)&&(f.sel!==m.sel?Qt(m,n,r,l.elm):(Jt(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,ln(f.elm,n,l.elm,r))),m=t[++i])):g=t[--h]:m=t[++i]:a=e[--s]:l=e[++o];if(o<=s||i<=h)if(o>s){let e,o=h;do{e=t[++o]}while(!rn(e)&&o<c);p=rn(e)?e.elm:null,en(t,n,r,p,i,h+1)}else nn(e,n,r,!0,o,s+1)}function hn(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void en(t,n,r,null);if(0===i)return void nn(e,n,r,!0);let s=null;for(let o=i-1;o>=0;o-=1){const i=e[o],l=t[o];l!==i&&(rn(i)?rn(l)?(Jt(i,l,n,r),s=l.elm):tn(i,n,r,!0):rn(l)&&(Qt(l,n,r,s),s=l.elm))}}const mn=Symbol.iterator;function gn(e,t,n=fe){const r=kn();const{key:o}=t;return{type:2,sel:e,data:t,children:n,elm:undefined,key:o,owner:r}}function wn(e,t,n,r=fe){const o=kn(),{key:i}=n;const s={type:3,sel:e,data:n,children:r,elm:undefined,key:i,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){S.call(kn().velements,e)}(s),s}function yn(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:kn()}}function bn(e){var t;return t=e,dn.set(t,1),e}let vn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const En=i({s:function(e,t,n,r){F(r)||F(r[e])||0===r[e].length||(n=r[e]);const o=kn(),{renderMode:i,shadowMode:s}=o;return 0===i?(bn(n),n):(1===s&&bn(n),gn("slot",t,n))},h:gn,c:wn,i:function(e,t){const n=[];if(bn(n),F(e)||null===e)return n;const r=e[mn]();let o=r.next(),i=0,{value:s,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(s,i,0===i,!0===l);h(e)?S.apply(n,e):S.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];bn(n);for(let r=0;r<t;r+=1){const t=e[r];h(t)?S.apply(n,t):S.call(n,t)}return n},t:yn,d:function(e){return null==e?"":String(e)},b:function(e){const t=kn();if(I(t))throw new Error;const n=t;return function(t){_n(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:kn()}},dc:function(e,t,n,r=fe){if(null==t)return null;if(!Dt(t))throw new Error(`Invalid LWC Constructor ${K(t)} for custom element <${e}>.`);return wn(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:kn()}},ti:function(e){return e>0&&!(H(e)||B(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:kn()}},gid:function(e){const t=kn();if(F(e)||""===e)return e;if(I(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?P.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=kn();if(F(e)||""===e)return e;if(I(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return vn(e)}});let Cn=!1,Sn=null;function kn(){return Sn}function xn(e){Sn=e}const Tn=(Mn=(e,t)=>{const{createFragment:n}=t;return n(e)},(e,...t)=>{const r=n(null);return function(){const{context:{hasScopedStyles:n,stylesheetToken:o},shadowMode:i,renderer:s}=kn(),l=!F(o),a=1===i;let c=0;if(l&&n&&(c|=1),l&&a&&(c|=2),!F(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]=Mn(p,s),r[c]}});var Mn;function An(e,t){const r=Cn,o=Sn;let i=[];return ir(e,e.owner,(()=>{Sn=e}),(()=>{const{component:r,context:o,cmpSlots:s,cmpTemplate:l,tro:a}=e;a.observe((()=>{if(t!==l){if(I(l)||or(e),a=t,!kt.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: ${K(t)}.`);e.cmpTemplate=t,o.tplCache=n(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!F(t))for(let e=0;e<t.length;e++)if(H(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i,renderer:{getClassList:s,removeAttribute:l,setAttribute:a}}=e,{stylesheets:c,stylesheetToken:u}=t,d=1===o&&1===i,{hasScopedStyles:f}=r;let p,h,m;const{stylesheetToken:g,hasTokenInClass:w,hasTokenInAttribute:y}=r;F(g)||(w&&s(n).remove(Ht(g)),y&&l(n,Ht(g))),F(c)||0===c.length||(p=u),F(p)||(f&&(s(n).add(Ht(p)),h=!0),d&&(a(n,Ht(p),""),m=!0)),r.stylesheetToken=p,r.hasTokenInClass=h,r.hasTokenInAttribute=m}(e,t);const r=Wt(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 E.call(t,Bt);for(let e=0;e<t.length;e++)o(t[e]);return null}(e,r)}var a;e.velements=[],Cn=!0,i=t.call(void 0,En,r,s,o.tplCache);const{styleVNodes:c}=o;I(c)||N.apply(i,c)}))}),(()=>{Cn=r,Sn=o})),i}let On=null;function Nn(e){return On===e}function Ln(e,t,n){const{component:r,callHook:o,owner:i}=e;ir(e,i,V,(()=>{o(r,t,n)}),V)}function _n(e,t,n,r){const{callHook:o,owner:i}=e;ir(e,i,V,(()=>{o(n,t,[r])}),V)}const $n=new Map;function Pn(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=kn();let s,l=!1;return ir(e,o,(()=>{xn(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{xn(i)})),l?An(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Rn(e){e.isDirty=!0}const Dn=new WeakMap;function Fn(e,t){if(!j(t))throw new TypeError;let n=Dn.get(t);return F(n)&&(n=function(n){_n(e,t,void 0,n)},Dn.set(t,n)),n}const In=n(null),Hn=["rendered","connected","disconnected"];function Bn(e,t){const{component:n,def:r,context:o}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},r,o)}let jn=0;const Wn=new WeakMap;function Vn(e,t,n=[]){return t.apply(e,n)}function Gn(e,t,n){e[t]=n}function Kn(e,t){return e[t]}function zn(e){const t=Jn(e);1===t.state&&Un(e),er(t),Zn(t)}function Un(e){qn(Jn(e))}function qn(e){const{state:t}=e;if(2!==t){const{oar:t,tro:n}=e;n.reset();for(const e in t)t[e].reset();!function(e){B(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=In;t&&Bn(e,t);tr(e)&&function(e){const{wiredDisconnecting:t}=e.context;ir(e,e,V,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),V)}(e);const{disconnectedCallback:n}=e.def;F(n)||Ln(e,n)}(e),nr(e),function(e){const{aChildren:t}=e;rr(t)}(e)}}function Yn(e,t,r,o){const{mode:i,owner:s,tagName:l,hydrated:a}=o,c=Ft(t),u={elm:e,def:c,idx:jn++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,children:fe,aChildren:fe,velements:fe,cmpProps:n(null),cmpFields:n(null),cmpSlots:n(null),oar: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:de,wiredConnecting:fe,wiredDisconnecting:fe},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:Vn,setHook:Gn,getHook:Kn,renderer:r};return u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let i;if(r)if(0===n.renderMode)i=0;else if(o)if(ue.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!I(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=I(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,r),u.tro=me(),function(e,t){const n=On;let r;On=e;try{const o=new t;if(On.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(On=n,!F(r))throw we(e,r),r}}(u,c.ctor),tr(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],s=sr.get(i);if(!F(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=ar(e,t,s),a=s.dynamic.length>0;S.call(r,(()=>{n.connect(),ue.ENABLE_WIRE_SYNC_EMIT||!a?i():Promise.resolve().then(i)})),S.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function Xn(e,t){Wn.set(e,t)}function Jn(e){return Wn.get(e)}function Qn(e){return Wn.get(e)}function Zn(e){if(H(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&ir(e,e,(()=>{}),(()=>{Xt(r,t,n,o)}),(()=>{}));e.state}(e,Pn(e))}}function er(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=In;n&&Bn(e,n),tr(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;F(r)||Ln(e,r)}function tr(e){return l(e.def.wire).length>0}function nr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!F(n)){const e=Qn(n);F(e)||qn(e)}}}function rr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!I(n)&&!F(n.elm))switch(n.type){case 2:rr(n.children);break;case 3:qn(Jn(n.elm));break}}}function or(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];I(o)||F(o.elm)||r(o.elm,n)}e.children=fe,nr(e),e.velements=fe}function ir(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!F(i)){we(e,i);const n=I(t)?void 0:function(e){let t=e;for(;!I(t);){if(!F(t.def.errorCallback))return t;t=t.owner}}(t);if(F(n))throw i;or(e);Ln(n,n.def.errorCallback,[i,i.wcStack])}}}const sr=new Map;class lr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function ar(e,t,n){const{method:r,adapter:i,configCallback:s,dynamic:l}=n,a=F(r)?function(e,t){return n=>{Oe(e,t,n)}}(e,t):function(e,t){return n=>{ir(e,e.owner,V,(()=>{t.call(e.component,n)}),V)}}(e,r);let c,u;o(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),o(a,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),ir(e,e,V,(()=>{u=new i(a)}),V);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){const r=me();return{computeConfigAndUpdate:()=>{let o;r.observe((()=>o=t(e))),n(o)},ro:r}}(e.component,s,(t=>{ir(e,e,V,(()=>{u.update(t,c)}),V)}));return F(i.contextSchema)||function(e,t,n){const{adapter:r}=t,o=ur(r);if(F(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{dispatchEvent:a}}=e;S.call(s,(()=>{const e=new lr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){S.call(l,e)}});a(i,e)}))}(e,n,(t=>{c!==t&&(c=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const cr=new Map;function ur(e){return cr.get(e)}function dr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};sr.set(e,o)}function fr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};sr.set(e,o)}let pr=!1;const hr=Symbol("namespace"),mr=Symbol("type"),gr=Symbol("parent"),wr=Symbol("shadow-root"),yr=Symbol("children"),br=Symbol("attributes"),vr=Symbol("event-listeners"),Er=Symbol("value");var Cr;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(Cr||(Cr={}));const Sr=/\s+/g;function kr(e){return new Set(e.split(Sr).filter((e=>e.length)))}function xr(e){return Array.from(e).join(" ")}function Tr(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function Mr(e,t){return{[mr]:Cr.Element,tagName:e,[hr]:null!=t?t:Q,[gr]:null,[wr]:null,[yr]:[],[br]:[],[vr]:{}}}const Ar=n(null),Or=new WeakMap;function Nr(e,t,n=null){const r=e[br].find((e=>e.name===t&&e[hr]===n));return r?r.value:null}function Lr(e,t,n,r=null){const o=e[br].find((e=>e.name===t&&e[hr]===r));F(r)&&(r=null),F(o)?e[br].push({name:t,[hr]:r,value:String(n)}):o.value=n}function _r(e,t,n){e[br]=e[br].filter((e=>e.name!==t&&e[hr]!==n))}const $r=V,Pr=V,Rr=V,Dr=Tr("dispatchEvent"),Fr=Tr("getBoundingClientRect"),Ir=Tr("querySelector"),Hr=Tr("querySelectorAll"),Br=Tr("getElementsByTagName"),jr=Tr("getElementsByClassName"),Wr=Tr("getChildren"),Vr=Tr("getChildNodes"),Gr=Tr("getFirstChild"),Kr=Tr("getFirstElementChild"),zr=Tr("getLastChild"),Ur=Tr("getLastElementChild");const qr={isNativeShadowDefined:!1,isSyntheticShadowDefined:!1,HTMLElementExported:class{constructor(){const{constructor:e}=this,t=Or.get(e);if(!t)throw new TypeError("Invalid Construction");return Mr(t)}},insert:function(e,t,n){const r=e[gr];if(null!==r&&r!==t){const t=r[yr].indexOf(e);r[yr].splice(t,1)}e[gr]=t;const o=I(n)?-1:t[yr].indexOf(n);-1===o?t[yr].push(e):t[yr].splice(o,0,e)},remove:function(e,t){const n=t[yr].indexOf(e);t[yr].splice(n,1)},cloneNode:function(e){return e},createFragment:function(e){return{[mr]:Cr.Raw,[gr]:null,[Er]:e}},createElement:Mr,createText:function(e){return{[mr]:Cr.Text,[Er]:String(e),[gr]:null}},createComment:function(e){return{[mr]:Cr.Comment,[Er]:e,[gr]:null}},nextSibling:function(e){const t=e[gr];if(I(t))return null;const n=t[yr].indexOf(e);return t[yr][n+1]||null},attachShadow:function(e,t){return e[wr]={[mr]:Cr.ShadowRoot,[yr]:[],mode:t.mode,delegatesFocus:!!t.delegatesFocus},e[wr]},getProperty:function(e,t){var n,r;if(t in e)return e[t];if(e[mr]===Cr.Element){const o=se(t);if(te(o,e.tagName))return null!==(n=Nr(e,o))&&void 0!==n&&n;if(re(o)||X(o))return Nr(e,o);if("input"===e.tagName&&"value"===t)return null!==(r=Nr(e,"value"))&&void 0!==r?r:""}},setProperty:function(e,t,n){if(t in e)return e[t]=n;if(e[mr]===Cr.Element){const r=se(t);if("innerHTML"===t)return void(e[yr]=[{[mr]:Cr.Raw,[gr]:e,[Er]:n}]);if(te(r,e.tagName))return!0===n?Lr(e,r,""):_r(e,r);if(re(r)||X(r))return Lr(e,r,n);if("input"===e.tagName&&"value"===r)return I(n)||F(n)?_r(e,"value"):Lr(e,"value",n)}},setText:function(e,t){e[mr]===Cr.Text?e[Er]=t:e[mr]===Cr.Element&&(e[yr]=[{[mr]:Cr.Text,[gr]:e,[Er]:t}])},getAttribute:Nr,setAttribute:Lr,removeAttribute:_r,addEventListener:Pr,removeEventListener:Rr,dispatchEvent:Dr,getClassList:function(e){function t(){let t=e[br].find((e=>"class"===e.name&&I(e[hr])));return F(t)&&(t={name:"class",[hr]:null,value:""},e[br].push(t)),t}return{add(...e){const n=t(),r=kr(n.value);e.forEach((e=>r.add(e))),n.value=xr(r)},remove(...e){const n=t(),r=kr(n.value);e.forEach((e=>r.delete(e))),n.value=xr(r)}}},setCSSStyleProperty:function(e,t,n,r){const o=e[br].find((e=>"style"===e.name&&I(e[hr]))),i=`${t}: ${n}${r?" !important":""}`;F(o)?e[br].push({name:"style",[hr]:null,value:i}):o.value+=`; ${i}`},getBoundingClientRect:Fr,querySelector:Ir,querySelectorAll:Hr,getElementsByTagName:Br,getElementsByClassName:jr,getChildren:Wr,getChildNodes:Vr,getFirstChild:Gr,getFirstElementChild:Kr,getLastChild:zr,getLastElementChild:Ur,isConnected:function(e){return!I(e[gr])},insertStylesheet:$r,assertInstanceOfHTMLElement:V,defineCustomElement:function(e,t,n){!function(e,t){if(e!==D.call(e)||Ar[e])throw new TypeError("Invalid Registration");Ar[e]=t,Or.set(t,e)}(e,t)},getCustomElement:function(e){return Ar[e]}};function Yr(e){return e.map((e=>{switch(e[mr]){case Cr.Text:return""===e[Er]?"‍":ae(e[Er]);case Cr.Comment:return`\x3c!--${ae(e[Er])}--\x3e`;case Cr.Raw:return e[Er];case Cr.Element:return Xr(e)}})).join("")}function Xr(e){let t="";const n=e.tagName,r=e[hr],o=r!==Q,i=e[yr].length>0;var s;return t+=`<${n}${e[br].length?` ${s=e[br],s.map((e=>e.value.length?`${e.name}=${JSON.stringify(ae(e.value))}`:e.name)).join(" ")}`:""}`,o&&!i?(t+="/>",t):(t+=">",e[wr]&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${Yr(e[yr])}</template>`}(e[wr])),t+=Yr(e[yr]),function(e,t){return t===Q&&Z.has(e.toLowerCase())}(n,r)&&!i||(t+=`</${n}>`),t)}const Jr={[mr]:Cr.Element,tagName:"fake-root-element",[hr]:Q,[gr]:null,[wr]:null,[yr]:[],[br]:[],[vr]:{}};i(dt),f(dt.prototype),exports.LightningElement=dt,exports.api=function(){throw new Error},exports.createContextProvider=function(e){let t=ur(e);if(!F(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){cr.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:i}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{F(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},exports.freezeTemplate=function(e){},exports.getComponentDef=function(e){const t=Ft(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,l={};for(const e in o)l[e]={config:i[e]||0,type:"any",attr:se(e)};const a={};for(const e in s)a[e]=s[e].value;return{ctor:n,name:r,props:l,methods:a}},exports.isComponentConstructor=Dt,exports.parseFragment=Tn,exports.parseSVGFragment=Tn,exports.readonly=function(e){return ct(e)},exports.register=function(e){for(let t=0;t<Hn.length;++t){const n=Hn[t];if(n in e){let t=In[n];F(t)&&(In[n]=t=[]),S.call(t,e[n])}}},exports.registerComponent=function(e,{tmpl:t}){return j(e)&&$n.set(e,t),e},exports.registerDecorators=function(e,t){const r=e.prototype,{publicProps:i,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(!F(i))for(const e in i){const t=i[e];if(g[e]=t.config,w=s(r,e),t.config>0){if(F(w))throw new Error;w=bt(e,w)}else w=F(w)||F(w.get)?yt(e):bt(e,w);f[e]=w,o(r,e,w)}if(F(l)||L.call(l,(e=>{if(w=s(r,e),F(w))throw new Error;d[e]=w})),!F(a))for(const e in a){const{adapter:t,method:n,config:i,dynamic:l=[]}=a[e];if(w=s(r,e),1===n){if(F(w))throw new Error;p[e]=w,dr(w,t,i,l)}else w=Et(e),h[e]=w,fr(w,t,i,l),o(r,e,w)}if(!F(c))for(const e in c)w=s(r,e),w=vt(e),o(r,e,w);if(!F(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=s(r,t);const n=!F(i)&&t in i,o=!F(c)&&t in c;n||o||(m[t]=gt(t))}return function(e,t){Ct.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:p,wiredFields:h,observedFields:m}),e},exports.registerTemplate=function(e){return kt.add(e),o(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return F(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=F(e)?void 0:e.shadowAttribute}}),e},exports.renderComponent=function(e,t,n={}){if(!W(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!j(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||I(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=qr.createElement(e);Yn(r,t,qr,{mode:"open",owner:null,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r[gr]=Jr,zn(r),Xr(r)},exports.renderer=qr,exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(F(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=ue[e];if(!F(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(ue,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},exports.setFeatureFlagForTest=function(e,t){},exports.setHooks=function(t){var n;e.isFalse(pr,"Hooks are already overridden, only one definition is allowed."),pr=!0,n=t.sanitizeHtmlContent,vn=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";Object.defineProperty(exports,"__esModule",{value:!0});var e=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:t,create:n,defineProperties:r,defineProperty:o,freeze:i,getOwnPropertyDescriptor:s,getOwnPropertyNames:l,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:d,seal:f,setPrototypeOf:p}=Object,{isArray:h}=Array,{copyWithin:m,fill:g,filter:w,find:y,indexOf:b,join:v,map:E,pop:C,push:k,reduce:S,reverse:x,shift:T,slice:M,sort:A,splice:N,unshift:O,forEach:L}=Array.prototype,{fromCharCode:_}=String,{charCodeAt:$,replace:P,slice:R,toLowerCase:D}=String.prototype;function F(e){return void 0===e}function I(e){return null===e}function H(e){return!0===e}function V(e){return!1===e}function B(e){return"function"==typeof e}function j(e){return"string"==typeof e}function W(){}const G={}.toString;function K(e){return e&&e.toString?h(e)?v.call(E.call(e,K),","):e.toString():"object"==typeof e?G.call(e):e+""}function z(e,t){do{const n=s(e,t);if(!F(n))return n;e=a(e)}while(null!==e)}const U=["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:q,AriaPropNameToAttrNameMap:Y}=(()=>{const e=n(null),t=n(null);return L.call(U,(n=>{const r=D.call(P.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})();function X(e){return e in q}const J=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),Q="http://www.w3.org/1999/xhtml",Z=new Set(["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr","param","keygen","menuitem"]);const ee=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 te(e,t){const n=ee.get(e);return void 0!==n&&(0===n.size||n.has(t))}const ne=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 re(e){return ne.has(e)}const oe=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"]]),ie=new Map;function se(e){const t=Y[e];if(!F(t))return t;const n=oe.get(e);if(!F(n))return n;const r=ie.get(e);if(!F(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=$.call(e,t);o+=n>=65&&n<=90?"-"+_(n+32):_(n)}return ie.set(e,o),o}const le={'"':"&quot;","'":"&#x27;","<":"&lt;",">":"&gt;","&":"&amp;"};function ae(e,t=!1){const n=t?/["&]/g:/["'<>&]/g;return e.replace(n,(e=>le[e]))}if("function"!=typeof Event){class e{}o(J,"Event",{value:e,configurable:!0,writable:!0})}if("function"!=typeof CustomEvent){class e extends Event{}o(J,"CustomEvent",{value:e,configurable:!0,writable:!0})}const ce={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HMR:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null,ENABLE_LIGHT_GET_ROOT_NODE_PATCH:null};J.lwcRuntimeFlags||Object.defineProperty(J,"lwcRuntimeFlags",{value:n(null)});const ue=J.lwcRuntimeFlags;const de=f(n(null)),fe=f([]);function pe(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}const he=new WeakMap;const me={observe(e){e()},reset(){},link(){}};function ge(e){return me}function we(e){return`<${D.call(e.tagName)}>`}function ye(e,t){if(!u(t)&&F(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!I(n);)k.call(t,we(n)),n=n.owner;return t.reverse().join("\n\t")}(e);o(t,"wcStack",{get:()=>n})}}function be(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function ve(e){return B(e)&&c.call(e,"__circular__")}const Ee="undefined"!=typeof HTMLElement?HTMLElement:function(){},Ce=Ee.prototype;function ke(e){return`Using the \`${e}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}t(n(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:ke("offsetHeight")},offsetLeft:{readOnly:!0,error:ke("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:ke("offsetTop")},offsetWidth:{readOnly:!0,error:ke("offsetWidth")},role:{attribute:"role"}});let Se,xe=null;function Te(e,t){return e!==xe||t!==Se}function Me(e,t){xe=null,Se=void 0}function Ae(e,t){xe=e,Se=t}const Ne=n(null);function Oe(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n)}L.call(d(Y),(e=>{const t=z(Ce,e);F(t)||(Ne[e]=t)})),L.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=z(Ce,e);F(t)||(Ne[e]=t)}));const{isArray:Le}=Array,{prototype:_e,getPrototypeOf:$e,create:Pe,defineProperty:Re,isExtensible:De,getOwnPropertyDescriptor:Fe,getOwnPropertyNames:Ie,getOwnPropertySymbols:He,preventExtensions:Ve,hasOwnProperty:Be}=Object,{push:je,concat:We}=Array.prototype;function Ge(e){return void 0===e}function Ke(e){return"function"==typeof e}const ze=new WeakMap;function Ue(e,t){ze.set(e,t)}const qe=e=>ze.get(e)||e;class Ye{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(Be.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;Ge(n)||(e.get=this.wrapGetter(n)),Ge(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=Fe(n,t);if(!Ge(r)){const n=this.wrapDescriptor(r);Re(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;We.call(Ie(t),He(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;Ge(n)||Be.call(e,n)||Re(e,n,Pe(null)),Ve(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=Ge(n)||Be.call(t,n)?[]:[n];return je.apply(r,Ie(t)),je.apply(r,He(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!De(e)&&(!!De(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return $e(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=Fe(n,t);if(Ge(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},Re(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const Xe=new WeakMap,Je=new WeakMap,Qe=new WeakMap,Ze=new WeakMap;class et extends Ye{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Xe.get(e);if(!Ge(t))return t;const n=this,r=function(){return n.wrapValue(e.call(qe(this)))};return Xe.set(e,r),Qe.set(r,e),r}wrapSetter(e){const t=Je.get(e);if(!Ge(t))return t;const n=function(t){e.call(qe(this),qe(t))};return Je.set(e,n),Ze.set(n,e),n}unwrapDescriptor(e){if(Be.call(e,"value"))e.value=qe(e.value);else{const{set:t,get:n}=e;Ge(n)||(e.get=this.unwrapGetter(n)),Ge(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=Qe.get(e);if(!Ge(t))return t;const n=this,r=function(){return qe(e.call(n.wrapValue(this)))};return Xe.set(r,e),Qe.set(e,r),r}unwrapSetter(e){const t=Ze.get(e);if(!Ge(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Je.set(r,e),Ze.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&&Le(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(De(e)){const{originalTarget:t}=this;if(Ve(t),De(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!Be.call(r,t)||(Re(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const tt=new WeakMap,nt=new WeakMap;class rt extends Ye{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=tt.get(e);if(!Ge(t))return t;const n=this,r=function(){return n.wrapValue(e.call(qe(this)))};return tt.set(e,r),r}wrapSetter(e){const t=nt.get(e);if(!Ge(t))return t;const n=function(e){};return nt.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 ot(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(Le(e))return!0;const t=$e(e);return t===_e||null===t||null===$e(t)}const it=(e,t)=>{},st=(e,t)=>{};function lt(e){return Le(e)?[]:{}}const at=Symbol.for("@@lockerLiveValue"),ct=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=Ke(t)?t:st,this.valueObserved=Ke(n)?n:it,this.valueIsObservable=Ke(r)?r:ot,this.tagPropertyKey=o}getProxy(e){const t=qe(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=qe(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return qe(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(Ge(t)){const n=new et(this,e);t=new Proxy(lt(e),n),Ue(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(Ge(t)){const n=new rt(this,e);t=new Proxy(lt(e),n),Ue(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:function(e,t){},valueMutated:function(e,t){const n=he.get(e);if(!F(n)){const e=n[t];if(!F(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}},tagPropertyKey:at});function ut(e){return ct.getReadOnlyProxy(e)}function dt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!B(n))throw new TypeError;if(!B(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const e=er(this);if(!$n(e))return n.call(e.elm)},set(t){const n=er(this);return Oe(n,e,t),r.call(n.elm,t)}}}const ft=i(n(null)),pt=new WeakMap,ht=function(){if(I(_n))throw new ReferenceError("Illegal constructor");const e=_n,{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 Zn(o,e),Zn(n,e),1===e.renderMode?e.renderRoot=mt(e):e.renderRoot=n,this};function mt(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:i}}=e,s=i(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=s,Zn(s,e),s}ht.prototype={constructor:ht,dispatchEvent(e){const t=er(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=er(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,Vn(r,t),n)},removeEventListener(e,t,n){const r=er(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,Vn(r,t),n)},hasAttribute(e){const t=er(this),{elm:n,renderer:{getAttribute:r}}=t;return!I(r(n,e))},hasAttributeNS(e,t){const n=er(this),{elm:r,renderer:{getAttribute:o}}=n;return!I(o(r,t,e))},removeAttribute(e){const t=er(this),{elm:n,renderer:{removeAttribute:r}}=t;Ae(n,e),r(n,e),Me()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=er(this);Ae(n,t),r(n,t,e),Me()},getAttribute(e){const t=er(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=er(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=er(this),{elm:r,renderer:{setAttribute:o}}=n;Ae(r,e),o(r,e,t),Me()},setAttributeNS(e,t,n){const r=er(this),{elm:o,renderer:{setAttribute:i}}=r;Ae(o,t),i(o,t,n,e),Me()},getBoundingClientRect(){const e=er(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=er(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=er(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return er(this).shadowRoot},get refs(){const e=er(this);if(xn)return;const{refVNodes:t,hasRefVNodes:r,cmpTemplate:o}=e;if(!r)return;if(I(t))return ft;let s=pt.get(t);if(F(s)){s=n(null);for(const e of d(t))s[e]=t[e].elm;i(s),pt.set(t,s)}return s},set refs(e){o(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=er(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=er(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=er(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=er(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=er(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=er(this);return e.renderer.getLastElementChild(e.elm)},render(){return er(this).def.template},toString(){return`[object ${er(this).def.name}]`}};const gt=n(null),wt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of wt)gt[e]={value(t){const n=er(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};r(ht.prototype,gt);const yt=n(null);for(const e in Ne)yt[e]=dt(e,Ne[e]);function bt(e){return{get(){return er(this).cmpFields[e]},set(t){Oe(er(this),e,t)},enumerable:!0,configurable:!0}}r(ht.prototype,yt),o(ht,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const vt={observe(e){e()},reset(){},link(){}};function Et(e){return{get(){const t=er(this);if(!$n(t))return t.cmpProps[e]},set(t){er(this).cmpProps[e]=t},enumerable:!0,configurable:!0}}function Ct(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!B(n))throw new Error;return{get(){return n.call(this)},set(t){const n=er(this);if(r)if(ue.ENABLE_REACTIVE_SETTER){let o=n.oar[e];F(o)&&(o=n.oar[e]=vt),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function kt(e){return{get(){return er(this).cmpFields[e]},set(t){Oe(er(this),e,t)},enumerable:!0,configurable:!0}}function St(e){return{get(){return er(this).cmpFields[e]},set(t){Oe(er(this),e,t)},enumerable:!0,configurable:!0}}const xt=new Map;const Tt={apiMethods:de,apiFields:de,apiFieldsConfig:de,wiredMethods:de,wiredFields:de,observedFields:de};const Mt=new Set;function At(){return[]}Mt.add(At);const Nt=n(null),Ot=n(null);function Lt(e){let t=Nt[e];return F(t)&&(t=Nt[e]=function(){const t=er(this),{getHook:n}=t;return n(t.component,e)}),t}function _t(e){let t=Ot[e];return F(t)&&(t=Ot[e]=function(t){const n=er(this),{setHook:r}=n;t=ut(t),r(n.component,e,t)}),t}function $t(e){return function(){const t=er(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,M.call(arguments))}}function Pt(e,t){return function(n,r,o){if(r===o)return;const i=e[n];F(i)?F(t)||t.apply(this,arguments):Te(this,n)&&(this[i]=o)}}function Rt(e,t,i){let s;B(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),o(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));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[se(n)]=n,u[n]={get:Lt(n),set:_t(n),enumerable:!0,configurable:!0}}for(let e=0,t=i.length;e<t;e+=1){const t=i[e];u[t]={value:$t(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:Pt(l,a)},o(s,"observedAttributes",{get:()=>[...c,...d(l)]}),r(s.prototype,u),s}const Dt=Rt(Ee,l(Ne),[]);i(Dt),f(Dt.prototype);const Ft=new WeakMap;function It(e){const{shadowSupportMode:o,renderMode:i}=e,s=function(e){const t=xt.get(e);return F(t)?Tt:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:f,wiredMethods:p,observedFields:h}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=a(e);if(I(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(ve(t)){const e=be(t);t=e===t?ht:e}return t}(e),C=E!==ht?Vt(E):Bt,k=Rt(C.bridge,d(l),d(u)),S=t(n(null),C.props,l),x=t(n(null),C.propsConfig,c),T=t(n(null),C.methods,u),M=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 A=C.shadowSupportMode;F(o)||(A=o);let N=C.renderMode;F(i)||(N="light"===i?0:1);const O=function(e){return Dn.get(e)}(e)||C.template,L=e.name||C.name;r(m,h);return{ctor:e,name:L,wire:M,props:S,propsConfig:x,methods:T,bridge:k,template:O,renderMode:N,shadowSupportMode:A,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function Ht(e){if(!B(e))return!1;if(e.prototype instanceof ht)return!0;let t=e;do{if(ve(t)){const e=be(t);if(e===t)return!0;t=e}if(t===ht)return!0}while(!I(t)&&(t=a(t)));return!1}function Vt(e){let t=Ft.get(e);if(F(t)){if(ve(e)){return t=Vt(be(e)),Ft.set(e,t),t}if(!Ht(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=It(e),Ft.set(e,t)}return t}const Bt={ctor:ht,name:ht.name,props:yt,propsConfig:de,methods:de,renderMode:1,shadowSupportMode:"reset",wire:de,bridge:Dt,template:At,render:ht.prototype.render};function jt(e){return`${e}-host`}function Wt(e){return Sn.h("style",{key:"style",attrs:{type:"text/css"}},[Sn.t(e)])}function Gt(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(h(s))k.apply(r,Gt(s,t,n));else{const e=s.$scoped$,i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let a;1===n.renderMode?a=0===n.shadowMode:(F(o)&&(o=zt(n)),a=I(o)||0===o.shadowMode),k.call(r,s(i,l,a))}}return r}function Kt(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return F(n)||0===n.length||(o=Gt(n,r,e)),o}function zt(e){let t=e;for(;!I(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Ut(e){return!F(tr(e))}function qt(e){const{type:t}=e;return 2===t||3===t}function Yt(e,t){return e.key===t.key&&e.sel===t.sel}function Xt(e,t){return"input"===e&&("value"===t||"checked"===t)}const Jt=n(null);function Qt(e){if(null==e)return de;e=j(e)?e:e+"";let t=Jt[e];if(t)return t;t=n(null);let r,o=0;const i=e.length;for(r=0;r<i;r++)32===$.call(e,r)&&(r>o&&(t[R.call(e,o,r)]=!0),o=r+1);return r>o&&(t[R.call(e,o,r)]=!0),Jt[e]=t,t}function Zt(e,t,n,r){var o;o=t,hn.has(o)?gn(e,t,n,r):wn(e,t,n,r)}function en(e,t,n,r){var o,i;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&cn(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:i}=t;i?wn(e.children,o,n,r):gn(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),Zt(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);on(e,n,r,!0),nn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;dn(e,t,r),F(o)||pn(t,o),Zt(e.children,t.children,n,r),F(o)||function(e){nr(e)}(o)}}(e,t,n,null!==(i=t.data.renderer)&&void 0!==i?i:r)}}function tn(e,t,n,r){var o,i;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:i}=r,s=e.elm=i(e.text);an(s,o,r),un(s,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:i}=r,s=e.elm=i(e.text);an(s,o,r),un(s,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:i,isSyntheticShadowDefined:s}=r,l=e.elm=i(e.fragment,!0);an(l,o,r);const{renderMode:a,shadowMode:c}=o;s&&(1!==c&&0!==a||(l.$shadowStaticNode$=!0));un(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;rn(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:i,data:{svg:s}}=e,{createElement:l}=r,a=H(s)?"http://www.w3.org/2000/svg":void 0,c=e.elm=l(o,a);an(c,i,r),fn(c,i,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),un(c,t,n,r),rn(e.children,c,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:nn(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function nn(e,t,n,r){const{sel:o,owner:i}=e,s=function(e,t){const{getCustomElement:n,HTMLElementExported:r,defineCustomElement:o}=t;let i=n(e=e.toLowerCase());return F(i)?(i=class extends r{constructor(e){super(),B(e)&&e(this)}},ue.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(i.prototype.connectedCallback=function(){Ut(this)&&Yn(this)},i.prototype.disconnectedCallback=function(){Ut(this)&&Xn(this)}),o(e,i),i):i}(o,r);let l;const a=new s((t=>{l=function(e,t,n){let r=tr(e);if(!F(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;return r=Qn(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}));if(e.elm=a,e.vm=l,an(a,i,r),fn(a,i,r),l)pn(e,l);else if(e.ctor!==s)throw new TypeError("Incorrect Component Constructor");dn(null,e,r),un(a,t,n,r),l&&rr(l),rn(e.children,a,r,null),l&&function(e){nr(e)}(l)}function rn(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];ln(i)&&tn(i,t,n,r)}}function on(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&(5===o?sn(e.children,t,n,r):function(e,t,n){n.remove(e,t)}(i,t,n)),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;sn(e.children,i,n,t);break}case 3:{const{vm:t}=e;F(t)||function(e){Jn(e)}(t)}}}function sn(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];ln(i)&&on(i,t,n,r)}}function ln(e){return null!=e}function an(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function cn(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function un(e,t,n,r){r.insert(e,t,n)}function dn(e,n,r){I(e)&&(function(e,t){const{elm:n,data:{on:r}}=e;if(F(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(F(r))return;const{getClassList:o}=t,i=o(n);for(const e in r)i.add(e)}(n,r),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(F(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,i,s]=r[e];o(n,t,i,s)}}(n,r)),function(e,t,n){const{elm:r,data:{className:o}}=t,i=I(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),a=Qt(o),c=Qt(i);let u;for(u in c)F(a[u])&&l.remove(u);for(u in a)F(c[u])&&l.add(u)}(e,n,r),function(e,t,n){const{elm:r,data:{style:o}}=t;if((I(e)?void 0:e.data.style)===o)return;const{setAttribute:i,removeAttribute:s}=n;j(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,n,r),function(e,t,n){const{attrs:r}=t.data;if(F(r))return;const o=I(e)?de:e.data.attrs;if(o===r)return;const{elm:i}=t,{setAttribute:s,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(Ae(i,e),58===$.call(e,3)?s(i,e,t,"http://www.w3.org/XML/1998/namespace"):58===$.call(e,5)?s(i,e,t,"http://www.w3.org/1999/xlink"):I(t)||F(t)?l(i,e):s(i,e,t),Me())}}(e,n,r),function(e,n,r){let{props:o}=n.data;const{spread:i}=n.data;if(F(o)&&F(i))return;let s;if(!I(e)){s=e.data.props;const n=e.data.spread;if(s===o&&n===i)return;F(s)&&(s=de),F(n)||(s=t({},s,n))}F(i)||(o=t({},o,i));const l=I(e),{elm:a,sel:c}=n,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(Xt(c,e)?u(a,e):s[e])&&e in s||d(a,e,t)}}(e,n,r)}function fn(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(!I(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||F(o)||(e.$shadowToken$=o)}function pn(e,t){const r=e.aChildren||e.children;t.aChildren=r;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t){var r;const{cmpSlots:o}=e,i=e.cmpSlots=n(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(I(n))continue;let o="";qt(n)&&(o=(null===(r=n.data.attrs)||void 0===r?void 0:r.slot)||"");const s=i[o]=i[o]||[];k.call(s,n)}if(V(e.isDirty)){const t=d(o);if(t.length!==d(i).length)return void In(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(F(i[r])||o[r].length!==i[r].length)return void In(e);const s=o[r],l=i[r];for(let t=0,n=i[r].length;t<n;t+=1)if(s[t]!==l[t])return void In(e)}}}(t,r),e.aChildren=r,e.children=fe)}const hn=new WeakMap;function mn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(ln(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function gn(e,t,n,r){let o=0,i=0,s=e.length-1,l=e[0],a=e[s];const c=t.length-1;let u,d,f,p,h=c,m=t[0],g=t[h],w=!1;for(;o<=s&&i<=h;)ln(l)?ln(a)?ln(m)?ln(g)?Yt(l,m)?(en(l,m,n,r),l=e[++o],m=t[++i]):Yt(a,g)?(en(a,g,n,r),a=e[--s],g=t[--h]):Yt(l,g)?(en(l,g,n,r),un(l.elm,n,r.nextSibling(a.elm),r),l=e[++o],g=t[--h]):Yt(a,m)?(en(a,m,n,r),un(m.elm,n,l.elm,r),a=e[--s],m=t[++i]):(void 0===u&&(u=mn(e,o,s)),d=u[m.key],F(d)?(tn(m,n,r,l.elm),m=t[++i]):(f=e[d],ln(f)&&(f.sel!==m.sel?tn(m,n,r,l.elm):(en(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,un(f.elm,n,l.elm,r))),m=t[++i])):g=t[--h]:m=t[++i]:a=e[--s]:l=e[++o];if(o<=s||i<=h)if(o>s){let e,o=h;do{e=t[++o]}while(!ln(e)&&o<c);p=ln(e)?e.elm:null,rn(t,n,r,p,i,h+1)}else sn(e,n,r,!0,o,s+1)}function wn(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void rn(t,n,r,null);if(0===i)return void sn(e,n,r,!0);let s=null;for(let o=i-1;o>=0;o-=1){const i=e[o],l=t[o];l!==i&&(ln(i)?ln(l)?(en(i,l,n,r),s=l.elm):on(i,n,r,!0):ln(l)&&(tn(l,n,r,s),s=l.elm))}}const yn=Symbol.iterator;function bn(e,t,n=fe){const r=Mn(),{key:o,ref:i}=t,s={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return F(i)||pe(r,i,s),s}function vn(e,t,n,r=fe){const o=Mn(),{key:i,ref:s}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:i,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){k.call(Mn().velements,e)}(l),F(s)||pe(o,s,l),l}function En(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:Mn()}}function Cn(e){var t;return t=e,hn.set(t,1),e}let kn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const Sn=i({s:function(e,t,n,r){F(r)||F(r[e])||0===r[e].length||(n=r[e]);const o=Mn(),{renderMode:i,shadowMode:s}=o;return 0===i?(Cn(n),n):(1===s&&Cn(n),bn("slot",t,n))},h:bn,c:vn,i:function(e,t){const n=[];if(Cn(n),F(e)||null===e)return n;const r=e[yn]();let o=r.next(),i=0,{value:s,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(s,i,0===i,!0===l);h(e)?k.apply(n,e):k.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];Cn(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:En,d:function(e){return null==e?"":String(e)},b:function(e){const t=Mn();if(I(t))throw new Error;const n=t;return function(t){Rn(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:Mn()}},dc:function(e,t,n,r=fe){if(null==t)return null;if(!Ht(t))throw new Error(`Invalid LWC Constructor ${K(t)} for custom element <${e}>.`);return vn(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[En(""),...t,En("")],stable:n,owner:Mn()}},ti:function(e){return e>0&&!(H(e)||V(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:Mn()}},gid:function(e){const t=Mn();if(F(e)||""===e)return e;if(I(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?P.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=Mn();if(F(e)||""===e)return e;if(I(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return kn(e)}});let xn=!1,Tn=null;function Mn(){return Tn}function An(e){Tn=e}const Nn=(On=(e,t)=>{const{createFragment:n}=t;return n(e)},(e,...t)=>{const r=n(null);return function(){const{context:{hasScopedStyles:n,stylesheetToken:o},shadowMode:i,renderer:s}=Mn(),l=!F(o),a=1===i;let c=0;if(l&&n&&(c|=1),l&&a&&(c|=2),!F(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]=On(p,s),r[c]}});var On;function Ln(e,t){const r=xn,o=Tn;let i=[];return ar(e,e.owner,(()=>{Tn=e}),(()=>{const{component:r,context:o,cmpSlots:s,cmpTemplate:l,tro:a}=e;a.observe((()=>{if(t!==l){if(I(l)||lr(e),a=t,!Mt.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: ${K(t)}.`);e.cmpTemplate=t,o.tplCache=n(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!F(t))for(let e=0;e<t.length;e++)if(H(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i,renderer:{getClassList:s,removeAttribute:l,setAttribute:a}}=e,{stylesheets:c,stylesheetToken:u}=t,d=1===o&&1===i,{hasScopedStyles:f}=r;let p,h,m;const{stylesheetToken:g,hasTokenInClass:w,hasTokenInAttribute:y}=r;F(g)||(w&&s(n).remove(jt(g)),y&&l(n,jt(g))),F(c)||0===c.length||(p=u),F(p)||(f&&(s(n).add(jt(p)),h=!0),d&&(a(n,jt(p),""),m=!0)),r.stylesheetToken=p,r.hasTokenInClass=h,r.hasTokenInAttribute=m}(e,t);const r=Kt(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 E.call(t,Wt);for(let e=0;e<t.length;e++)o(t[e]);return null}(e,r)}var a;const c=Boolean(t.hasRefs);e.hasRefVNodes=c,e.refVNodes=c?n(null):null,e.velements=[],xn=!0,i=t.call(void 0,Sn,r,s,o.tplCache);const{styleVNodes:u}=o;I(u)||O.apply(i,u)}))}),(()=>{xn=r,Tn=o})),i}let _n=null;function $n(e){return _n===e}function Pn(e,t,n){const{component:r,callHook:o,owner:i}=e;ar(e,i,W,(()=>{o(r,t,n)}),W)}function Rn(e,t,n,r){const{callHook:o,owner:i}=e;ar(e,i,W,(()=>{o(n,t,[r])}),W)}const Dn=new Map;function Fn(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=Mn();let s,l=!1;return ar(e,o,(()=>{An(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{An(i)})),l?Ln(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function In(e){e.isDirty=!0}const Hn=new WeakMap;function Vn(e,t){if(!B(t))throw new TypeError;let n=Hn.get(t);return F(n)&&(n=function(n){Rn(e,t,void 0,n)},Hn.set(t,n)),n}const Bn=n(null),jn=["rendered","connected","disconnected"];function Wn(e,t){const{component:n,def:r,context:o}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},r,o)}let Gn=0;const Kn=new WeakMap;function zn(e,t,n=[]){return t.apply(e,n)}function Un(e,t,n){e[t]=n}function qn(e,t){return e[t]}function Yn(e){const t=er(e);1===t.state&&Xn(e),rr(t),nr(t)}function Xn(e){Jn(er(e))}function Jn(e){const{state:t}=e;if(2!==t){const{oar:t,tro:n}=e;n.reset();for(const e in t)t[e].reset();!function(e){V(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=Bn;t&&Wn(e,t);or(e)&&function(e){const{wiredDisconnecting:t}=e.context;ar(e,e,W,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),W)}(e);const{disconnectedCallback:n}=e.def;F(n)||Pn(e,n)}(e),ir(e),function(e){const{aChildren:t}=e;sr(t)}(e)}}function Qn(e,t,r,o){const{mode:i,owner:s,tagName:l,hydrated:a}=o,c=Vt(t),u={elm:e,def:c,idx:Gn++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,refVNodes:null,hasRefVNodes:!1,children:fe,aChildren:fe,velements:fe,cmpProps:n(null),cmpFields:n(null),cmpSlots:n(null),oar: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:de,wiredConnecting:fe,wiredDisconnecting:fe},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:zn,setHook:Un,getHook:qn,renderer:r};return u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let i;if(r)if(0===n.renderMode)i=0;else if(o)if(ue.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!I(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=I(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,r),u.tro=ge(),function(e,t){const n=_n;let r;_n=e;try{const o=new t;if(_n.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(_n=n,!F(r))throw ye(e,r),r}}(u,c.ctor),or(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],s=cr.get(i);if(!F(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=dr(e,t,s),a=s.dynamic.length>0;k.call(r,(()=>{n.connect(),ue.ENABLE_WIRE_SYNC_EMIT||!a?i():Promise.resolve().then(i)})),k.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function Zn(e,t){Kn.set(e,t)}function er(e){return Kn.get(e)}function tr(e){return Kn.get(e)}function nr(e){if(H(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&ar(e,e,(()=>{}),(()=>{Zt(r,t,n,o)}),(()=>{}));e.state}(e,Fn(e))}}function rr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Bn;n&&Wn(e,n),or(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;F(r)||Pn(e,r)}function or(e){return l(e.def.wire).length>0}function ir(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!F(n)){const e=tr(n);F(e)||Jn(e)}}}function sr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!I(n)&&!F(n.elm))switch(n.type){case 2:sr(n.children);break;case 3:Jn(er(n.elm));break}}}function lr(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];I(o)||F(o.elm)||r(o.elm,n)}e.children=fe,ir(e),e.velements=fe}function ar(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!F(i)){ye(e,i);const n=I(t)?void 0:function(e){let t=e;for(;!I(t);){if(!F(t.def.errorCallback))return t;t=t.owner}}(t);if(F(n))throw i;lr(e);Pn(n,n.def.errorCallback,[i,i.wcStack])}}}const cr=new Map;class ur extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),r(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function dr(e,t,n){const{method:r,adapter:i,configCallback:s,dynamic:l}=n,a=F(r)?function(e,t){return n=>{Oe(e,t,n)}}(e,t):function(e,t){return n=>{ar(e,e.owner,W,(()=>{t.call(e.component,n)}),W)}}(e,r);let c,u;o(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),o(a,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),ar(e,e,W,(()=>{u=new i(a)}),W);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){const r=ge();return{computeConfigAndUpdate:()=>{let o;r.observe((()=>o=t(e))),n(o)},ro:r}}(e.component,s,(t=>{ar(e,e,W,(()=>{u.update(t,c)}),W)}));return F(i.contextSchema)||function(e,t,n){const{adapter:r}=t,o=pr(r);if(F(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{dispatchEvent:a}}=e;k.call(s,(()=>{const e=new ur(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){k.call(l,e)}});a(i,e)}))}(e,n,(t=>{c!==t&&(c=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const fr=new Map;function pr(e){return fr.get(e)}function hr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};cr.set(e,o)}function mr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};cr.set(e,o)}let gr=!1;const wr=Symbol("namespace"),yr=Symbol("type"),br=Symbol("parent"),vr=Symbol("shadow-root"),Er=Symbol("children"),Cr=Symbol("attributes"),kr=Symbol("event-listeners"),Sr=Symbol("value");var xr;!function(e){e.Text="text",e.Comment="comment",e.Raw="raw",e.Element="element",e.ShadowRoot="shadow-root"}(xr||(xr={}));const Tr=/\s+/g;function Mr(e){return new Set(e.split(Tr).filter((e=>e.length)))}function Ar(e){return Array.from(e).join(" ")}function Nr(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function Or(e,t){return{[yr]:xr.Element,tagName:e,[wr]:null!=t?t:Q,[br]:null,[vr]:null,[Er]:[],[Cr]:[],[kr]:{}}}const Lr=n(null),_r=new WeakMap;function $r(e,t,n=null){const r=e[Cr].find((e=>e.name===t&&e[wr]===n));return r?r.value:null}function Pr(e,t,n,r=null){const o=e[Cr].find((e=>e.name===t&&e[wr]===r));F(r)&&(r=null),F(o)?e[Cr].push({name:t,[wr]:r,value:String(n)}):o.value=n}function Rr(e,t,n){e[Cr]=e[Cr].filter((e=>e.name!==t&&e[wr]!==n))}const Dr=W,Fr=W,Ir=W,Hr=Nr("dispatchEvent"),Vr=Nr("getBoundingClientRect"),Br=Nr("querySelector"),jr=Nr("querySelectorAll"),Wr=Nr("getElementsByTagName"),Gr=Nr("getElementsByClassName"),Kr=Nr("getChildren"),zr=Nr("getChildNodes"),Ur=Nr("getFirstChild"),qr=Nr("getFirstElementChild"),Yr=Nr("getLastChild"),Xr=Nr("getLastElementChild");const Jr={isNativeShadowDefined:!1,isSyntheticShadowDefined:!1,HTMLElementExported:class{constructor(){const{constructor:e}=this,t=_r.get(e);if(!t)throw new TypeError("Invalid Construction");return Or(t)}},insert:function(e,t,n){const r=e[br];if(null!==r&&r!==t){const t=r[Er].indexOf(e);r[Er].splice(t,1)}e[br]=t;const o=I(n)?-1:t[Er].indexOf(n);-1===o?t[Er].push(e):t[Er].splice(o,0,e)},remove:function(e,t){const n=t[Er].indexOf(e);t[Er].splice(n,1)},cloneNode:function(e){return e},createFragment:function(e){return{[yr]:xr.Raw,[br]:null,[Sr]:e}},createElement:Or,createText:function(e){return{[yr]:xr.Text,[Sr]:String(e),[br]:null}},createComment:function(e){return{[yr]:xr.Comment,[Sr]:e,[br]:null}},nextSibling:function(e){const t=e[br];if(I(t))return null;const n=t[Er].indexOf(e);return t[Er][n+1]||null},attachShadow:function(e,t){return e[vr]={[yr]:xr.ShadowRoot,[Er]:[],mode:t.mode,delegatesFocus:!!t.delegatesFocus},e[vr]},getProperty:function(e,t){var n,r;if(t in e)return e[t];if(e[yr]===xr.Element){const o=se(t);if(te(o,e.tagName))return null!==(n=$r(e,o))&&void 0!==n&&n;if(re(o)||X(o))return $r(e,o);if("input"===e.tagName&&"value"===t)return null!==(r=$r(e,"value"))&&void 0!==r?r:""}},setProperty:function(e,t,n){if(t in e)return e[t]=n;if(e[yr]===xr.Element){const r=se(t);if("innerHTML"===t)return void(e[Er]=[{[yr]:xr.Raw,[br]:e,[Sr]:n}]);if(te(r,e.tagName))return!0===n?Pr(e,r,""):Rr(e,r);if(re(r)||X(r))return Pr(e,r,n);if("input"===e.tagName&&"value"===r)return I(n)||F(n)?Rr(e,"value"):Pr(e,"value",n)}},setText:function(e,t){e[yr]===xr.Text?e[Sr]=t:e[yr]===xr.Element&&(e[Er]=[{[yr]:xr.Text,[br]:e,[Sr]:t}])},getAttribute:$r,setAttribute:Pr,removeAttribute:Rr,addEventListener:Fr,removeEventListener:Ir,dispatchEvent:Hr,getClassList:function(e){function t(){let t=e[Cr].find((e=>"class"===e.name&&I(e[wr])));return F(t)&&(t={name:"class",[wr]:null,value:""},e[Cr].push(t)),t}return{add(...e){const n=t(),r=Mr(n.value);e.forEach((e=>r.add(e))),n.value=Ar(r)},remove(...e){const n=t(),r=Mr(n.value);e.forEach((e=>r.delete(e))),n.value=Ar(r)}}},setCSSStyleProperty:function(e,t,n,r){const o=e[Cr].find((e=>"style"===e.name&&I(e[wr]))),i=`${t}: ${n}${r?" !important":""}`;F(o)?e[Cr].push({name:"style",[wr]:null,value:i}):o.value+=`; ${i}`},getBoundingClientRect:Vr,querySelector:Br,querySelectorAll:jr,getElementsByTagName:Wr,getElementsByClassName:Gr,getChildren:Kr,getChildNodes:zr,getFirstChild:Ur,getFirstElementChild:qr,getLastChild:Yr,getLastElementChild:Xr,isConnected:function(e){return!I(e[br])},insertStylesheet:Dr,assertInstanceOfHTMLElement:W,defineCustomElement:function(e,t,n){!function(e,t){if(e!==D.call(e)||Lr[e])throw new TypeError("Invalid Registration");Lr[e]=t,_r.set(t,e)}(e,t)},getCustomElement:function(e){return Lr[e]}};function Qr(e){return e.map((e=>{switch(e[yr]){case xr.Text:return""===e[Sr]?"‍":ae(e[Sr]);case xr.Comment:return`\x3c!--${ae(e[Sr])}--\x3e`;case xr.Raw:return e[Sr];case xr.Element:return Zr(e)}})).join("")}function Zr(e){let t="";const n=e.tagName,r=e[wr],o=r!==Q,i=e[Er].length>0;var s;return t+=`<${n}${e[Cr].length?` ${s=e[Cr],s.map((e=>e.value.length?`${e.name}=${JSON.stringify(ae(e.value))}`:e.name)).join(" ")}`:""}`,o&&!i?(t+="/>",t):(t+=">",e[vr]&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${Qr(e[Er])}</template>`}(e[vr])),t+=Qr(e[Er]),function(e,t){return t===Q&&Z.has(e.toLowerCase())}(n,r)&&!i||(t+=`</${n}>`),t)}const eo={[yr]:xr.Element,tagName:"fake-root-element",[wr]:Q,[br]:null,[vr]:null,[Er]:[],[Cr]:[],[kr]:{}};i(ht),f(ht.prototype),exports.LightningElement=ht,exports.api=function(){throw new Error},exports.createContextProvider=function(e){let t=pr(e);if(!F(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){fr.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:i}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{F(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},exports.freezeTemplate=function(e){},exports.getComponentDef=function(e){const t=Vt(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,l={};for(const e in o)l[e]={config:i[e]||0,type:"any",attr:se(e)};const a={};for(const e in s)a[e]=s[e].value;return{ctor:n,name:r,props:l,methods:a}},exports.isComponentConstructor=Ht,exports.parseFragment=Nn,exports.parseSVGFragment=Nn,exports.readonly=function(e){return ut(e)},exports.register=function(e){for(let t=0;t<jn.length;++t){const n=jn[t];if(n in e){let t=Bn[n];F(t)&&(Bn[n]=t=[]),k.call(t,e[n])}}},exports.registerComponent=function(e,{tmpl:t}){return B(e)&&Dn.set(e,t),e},exports.registerDecorators=function(e,t){const r=e.prototype,{publicProps:i,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(!F(i))for(const e in i){const t=i[e];if(g[e]=t.config,w=s(r,e),t.config>0){if(F(w))throw new Error;w=Ct(e,w)}else w=F(w)||F(w.get)?Et(e):Ct(e,w);f[e]=w,o(r,e,w)}if(F(l)||L.call(l,(e=>{if(w=s(r,e),F(w))throw new Error;d[e]=w})),!F(a))for(const e in a){const{adapter:t,method:n,config:i,dynamic:l=[]}=a[e];if(w=s(r,e),1===n){if(F(w))throw new Error;p[e]=w,hr(w,t,i,l)}else w=St(e),h[e]=w,mr(w,t,i,l),o(r,e,w)}if(!F(c))for(const e in c)w=s(r,e),w=kt(e),o(r,e,w);if(!F(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=s(r,t);const n=!F(i)&&t in i,o=!F(c)&&t in c;n||o||(m[t]=bt(t))}return function(e,t){xt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:p,wiredFields:h,observedFields:m}),e},exports.registerTemplate=function(e){return Mt.add(e),o(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return F(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=F(e)?void 0:e.shadowAttribute}}),e},exports.renderComponent=function(e,t,n={}){if(!j(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!B(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||I(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=Jr.createElement(e);Qn(r,t,Jr,{mode:"open",owner:null,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r[br]=eo,Yn(r),Zr(r)},exports.renderer=Jr,exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(F(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=ue[e];if(!F(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(ue,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},exports.setFeatureFlagForTest=function(e,t){},exports.setHooks=function(t){var n;e.isFalse(gr,"Hooks are already overridden, only one definition is allowed."),gr=!0,n=t.sanitizeHtmlContent,kn=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};