lwc 2.31.0 → 2.32.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 (34) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +22 -22
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +22 -22
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +19 -19
  5. package/dist/engine-dom/iife/es5/engine-dom.js +29 -23
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +26 -20
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +22 -22
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +19 -19
  11. package/dist/engine-dom/umd/es5/engine-dom.js +29 -23
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +26 -20
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +5 -5
  15. package/dist/engine-server/esm/es2017/engine-server.js +5 -5
  16. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +3 -3
  17. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +3 -3
  18. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +3 -3
  19. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +3 -3
  20. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
  21. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +3 -3
  22. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +3 -3
  23. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3 -3
  24. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3 -3
  25. package/dist/wire-service/esm/es2017/wire-service.js +2 -2
  26. package/dist/wire-service/iife/es2017/wire-service.js +2 -2
  27. package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
  28. package/dist/wire-service/iife/es5/wire-service.js +2 -2
  29. package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
  30. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  31. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  32. package/dist/wire-service/umd/es5/wire-service.js +2 -2
  33. package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
  34. package/package.json +7 -7
@@ -347,9 +347,9 @@
347
347
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
348
348
  */
349
349
  // Increment whenever the LWC template compiler changes
350
- const LWC_VERSION = "2.31.0";
350
+ const LWC_VERSION = "2.32.0";
351
351
  const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
352
- /** version: 2.31.0 */
352
+ /** version: 2.32.0 */
353
353
 
354
354
  /**
355
355
  * Copyright (C) 2018 salesforce.com, inc.
@@ -431,7 +431,7 @@
431
431
  patch$1(propName);
432
432
  }
433
433
  }
434
- /** version: 2.31.0 */
434
+ /** version: 2.32.0 */
435
435
 
436
436
  /**
437
437
  * Copyright (C) 2018 salesforce.com, inc.
@@ -511,7 +511,7 @@
511
511
  setFeatureFlag(name, value);
512
512
  }
513
513
  }
514
- /** version: 2.31.0 */
514
+ /** version: 2.32.0 */
515
515
 
516
516
  /*
517
517
  * Copyright (c) 2018, salesforce.com, inc.
@@ -7030,7 +7030,7 @@
7030
7030
  }
7031
7031
  return ctor;
7032
7032
  }
7033
- /* version: 2.31.0 */
7033
+ /* version: 2.32.0 */
7034
7034
 
7035
7035
  /*
7036
7036
  * Copyright (c) 2018, salesforce.com, inc.
@@ -7881,25 +7881,25 @@
7881
7881
  // multiple times per tag name.
7882
7882
  const createUserConstructor = (HTMLElementToExtend, upgradeCallback, connectedCallback, disconnectedCallback) => {
7883
7883
  // TODO [#2972]: this class should expose observedAttributes as necessary
7884
- class UserConstructor extends HTMLElementToExtend {
7884
+ return class UserConstructor extends HTMLElementToExtend {
7885
7885
  constructor() {
7886
7886
  super();
7887
7887
  upgradeCallback(this);
7888
7888
  }
7889
- }
7890
- // Do not unnecessarily add a connectedCallback/disconnectedCallback, as it introduces perf overhead
7891
- // See: https://github.com/salesforce/lwc/pull/3162#issuecomment-1311851174
7892
- if (!isUndefined$1(connectedCallback)) {
7893
- UserConstructor.prototype.connectedCallback = function () {
7894
- connectedCallback(this);
7895
- };
7896
- }
7897
- if (!isUndefined$1(disconnectedCallback)) {
7898
- UserConstructor.prototype.disconnectedCallback = function () {
7899
- disconnectedCallback(this);
7900
- };
7901
- }
7902
- return UserConstructor;
7889
+ // Note that there is no need to do the "avoid defining connectedCallback/disconnectedCallback" optimization
7890
+ // here, because in create-scoped-registry.ts, the registered class will always have these callbacks anyway.
7891
+ // See: https://github.com/salesforce/lwc/pull/3162#issuecomment-1311851174
7892
+ connectedCallback() {
7893
+ if (!isUndefined$1(connectedCallback)) {
7894
+ connectedCallback(this);
7895
+ }
7896
+ }
7897
+ disconnectedCallback() {
7898
+ if (!isUndefined$1(disconnectedCallback)) {
7899
+ disconnectedCallback(this);
7900
+ }
7901
+ }
7902
+ };
7903
7903
  };
7904
7904
  function createCustomElementScoped(tagName, upgradeCallback, connectedCallback, disconnectedCallback) {
7905
7905
  if (isUndefined$1(createScopedConstructor) || isUndefined$1(CachedHTMLElement)) {
@@ -8003,7 +8003,7 @@
8003
8003
  function isNull(obj) {
8004
8004
  return obj === null;
8005
8005
  }
8006
- /** version: 2.31.0 */
8006
+ /** version: 2.32.0 */
8007
8007
 
8008
8008
  /*
8009
8009
  * Copyright (c) 2018, salesforce.com, inc.
@@ -8564,7 +8564,7 @@
8564
8564
  });
8565
8565
  freeze(LightningElement);
8566
8566
  seal(LightningElement.prototype);
8567
- /* version: 2.31.0 */
8567
+ /* version: 2.32.0 */
8568
8568
 
8569
8569
  exports.LightningElement = LightningElement;
8570
8570
  exports.__unstable__ProfilerControl = profilerControl;
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).LWC={})}(this,(function(e){"use strict";var t=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:n,create:r,defineProperties:o,defineProperty:i,freeze:s,getOwnPropertyDescriptor:l,getOwnPropertyNames:c,getPrototypeOf:a,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{concat:g,copyWithin:b,fill:w,filter:y,find:v,indexOf:C,join:E,map:T,pop:k,push:S,reduce:M,reverse:A,shift:N,slice:_,some:L,sort:O,splice:x,unshift:P,forEach:R}=Array.prototype,{fromCharCode:D}=String,{charCodeAt:$,replace:I,slice:F,toLowerCase:H}=String.prototype;function B(e){return void 0===e}function W(e){return null===e}function V(e){return!0===e}function j(e){return!1===e}function U(e){return"function"==typeof e}function G(e){return"object"==typeof e}function z(e){return"string"==typeof e}function Y(){}const K={}.toString;function q(e){return e&&e.toString?m(e)?E.call(T.call(e,q),","):e.toString():"object"==typeof e?K.call(e):e+""}function X(e,t){do{const n=l(e,t);if(!B(n))return n;e=a(e)}while(null!==e)}const J=["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:Z}=(()=>{const e=r(null),t=r(null);return R.call(J,(n=>{const r=H.call(I.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),ee=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}(),te="http://www.w3.org/XML/1998/namespace",ne="http://www.w3.org/2000/svg",re="http://www.w3.org/1999/xlink",oe=/-([a-z])/g,{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:ie,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:se}=(()=>{const e=new Map([["accessKey","accesskey"],["readOnly","readonly"],["tabIndex","tabindex"],["bgColor","bgcolor"],["colSpan","colspan"],["rowSpan","rowspan"],["contentEditable","contenteditable"],["crossOrigin","crossorigin"],["dateTime","datetime"],["formAction","formaction"],["isMap","ismap"],["maxLength","maxlength"],["minLength","minlength"],["noValidate","novalidate"],["useMap","usemap"],["htmlFor","for"]]),t=new Map;return e.forEach(((e,n)=>t.set(e,n))),{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:t,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:e}})(),le=new Map,ce=new Map;function ae(e){const t=Z[e];if(!B(t))return t;const n=se.get(e);if(!B(n))return n;const r=le.get(e);if(!B(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=$.call(e,t);o+=n>=65&&n<=90?"-"+D(n+32):D(n)}return le.set(e,o),o}function ue(e){const t=Q[e];if(!B(t))return t;const n=ie.get(e);if(!B(n))return n;const r=ce.get(e);if(!B(r))return r;const o=I.call(e,oe,(e=>e[1].toUpperCase()));return ce.set(e,o),o}function de(e){return void 0===l(Element.prototype,e)}const fe=new WeakMap;function he(e){let t=fe.get(e);return void 0===t&&(t={},fe.set(e,t)),t}function pe(e,t){return{get(){const n=he(this);return u.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set(n){const r=null==(o=n)?null:String(o);var o;he(this)[e]=r,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function me(e){const t=pe(e,Z[e]);Object.defineProperty(Element.prototype,e,t)}const ge=f(Z);for(let e=0,t=ge.length;e<t;e+=1){const t=ge[e];de(t)&&me(t)}const be={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST: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,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null,ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY:null};ee.lwcRuntimeFlags||Object.defineProperty(ee,"lwcRuntimeFlags",{value:r(null)});const we=ee.lwcRuntimeFlags;let ye=[];const ve=h(r(null)),Ce=h([]);function Ee(){const e=ye;ye=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function Te(e){0===ye.length&&Promise.resolve().then(Ee),S.call(ye,e)}const ke=/;(?![^(]*\))/g,Se=/:(.+)/;function Me(e,t){const n={};for(const r of Object.keys(e))r!==t&&(n[r]=e[r]);return n}function Ae(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}const Ne=new WeakMap;let _e=null;function Le(e,t){const n=Ne.get(e);if(!B(n)){const e=n[t];if(!B(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function Oe(e,t){if(null===_e)return;const n=_e,o=function(e){let t=Ne.get(e);if(B(t)){const n=r(null);t=n,Ne.set(e,n)}return t}(e);let i=o[t];if(B(i))i=[],o[t]=i;else if(i[0]===n)return;-1===C.call(i,n)&&n.link(i)}class xe{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=_e;let n;_e=this;try{e()}catch(e){n=Object(e)}finally{if(_e=t,void 0!==n)throw n}}reset(){const{listeners:e}=this,t=e.length;if(t>0){for(let n=0;n<t;n+=1){const t=e[n],r=C.call(e[n],this);x.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){S.call(e,this),S.call(this.listeners,e)}}function Pe(e,t){Le(e.component,t)}function Re(e,t){Oe(e.component,t)}function De(e){return new xe(e)}function $e(e){return`<${H.call(e.tagName)}>`}function Ie(e,t){if(!d(t)&&B(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!W(n);)S.call(t,$e(n)),n=n.owner;return t.reverse().join("\n\t")}(e);i(t,"wcStack",{get:()=>n})}}function Fe(e,t,n){let r=`[LWC ${e}]: ${t}`;B(n)||(r=`${r}\n${function(e){const t=[];let n="";for(;!W(e.owner);)S.call(t,n+$e(e)),e=e.owner,n+="\t";return E.call(t,"\n")}(n)}`);try{throw new Error(r)}catch(t){console[e](t)}}function He(e,t){Fe("error",e,t)}function Be(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function We(e){return U(e)&&u.call(e,"__circular__")}const Ve="undefined"!=typeof HTMLElement?HTMLElement:function(){},je=Ve.prototype;function Ue(e){return`Using the \`${e}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}n(r(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:Ue("offsetHeight")},offsetLeft:{readOnly:!0,error:Ue("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Ue("offsetTop")},offsetWidth:{readOnly:!0,error:Ue("offsetWidth")},role:{attribute:"role"}});let Ge,ze=null;function Ye(e,t){return e!==ze||t!==Ge}function Ke(e,t){ze=null,Ge=void 0}function qe(e,t){ze=e,Ge=t}const Xe=r(null);function Je(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n,Pe(e,t))}R.call(f(Z),(e=>{const t=X(je,e);B(t)||(Xe[e]=t)})),R.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=X(je,e);B(t)||(Xe[e]=t)}));const{isArray:Qe}=Array,{prototype:Ze,getPrototypeOf:et,create:tt,defineProperty:nt,isExtensible:rt,getOwnPropertyDescriptor:ot,getOwnPropertyNames:it,getOwnPropertySymbols:st,preventExtensions:lt,hasOwnProperty:ct}=Object,{push:at,concat:ut}=Array.prototype;function dt(e){return void 0===e}function ft(e){return"function"==typeof e}const ht=new WeakMap;function pt(e,t){ht.set(e,t)}const mt=e=>ht.get(e)||e;class gt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(ct.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;dt(n)||(e.get=this.wrapGetter(n)),dt(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=ot(n,t);if(!dt(r)){const n=this.wrapDescriptor(r);nt(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;ut.call(it(t),st(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;dt(n)||ct.call(e,n)||nt(e,n,tt(null)),lt(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=dt(n)||ct.call(t,n)?[]:[n];return at.apply(r,it(t)),at.apply(r,st(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!rt(e)&&(!!rt(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return et(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=ot(n,t);if(dt(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},nt(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const bt=new WeakMap,wt=new WeakMap,yt=new WeakMap,vt=new WeakMap;class Ct extends gt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=bt.get(e);if(!dt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(mt(this)))};return bt.set(e,r),yt.set(r,e),r}wrapSetter(e){const t=wt.get(e);if(!dt(t))return t;const n=function(t){e.call(mt(this),mt(t))};return wt.set(e,n),vt.set(n,e),n}unwrapDescriptor(e){if(ct.call(e,"value"))e.value=mt(e.value);else{const{set:t,get:n}=e;dt(n)||(e.get=this.unwrapGetter(n)),dt(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=yt.get(e);if(!dt(t))return t;const n=this,r=function(){return mt(e.call(n.wrapValue(this)))};return bt.set(r,e),yt.set(e,r),r}unwrapSetter(e){const t=vt.get(e);if(!dt(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return wt.set(r,e),vt.set(e,r),r}set(e,t,n){const{originalTarget:r,membrane:{valueMutated:o}}=this;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&Qe(r)&&o(r,t),!0}deleteProperty(e,t){const{originalTarget:n,membrane:{valueMutated:r}}=this;return delete n[t],r(n,t),!0}setPrototypeOf(e,t){}preventExtensions(e){if(rt(e)){const{originalTarget:t}=this;if(lt(t),rt(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!ct.call(r,t)||(nt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const Et=new WeakMap,Tt=new WeakMap;class kt extends gt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=Et.get(e);if(!dt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(mt(this)))};return Et.set(e,r),r}wrapSetter(e){const t=Tt.get(e);if(!dt(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 St(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(Qe(e))return!0;const t=et(e);return t===Ze||null===t||null===et(t)}const Mt=(e,t)=>{},At=(e,t)=>{};function Nt(e){return Qe(e)?[]:{}}const _t=Symbol.for("@@lockerLiveValue"),Lt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=ft(t)?t:At,this.valueObserved=ft(n)?n:Mt,this.valueIsObservable=ft(r)?r:St,this.tagPropertyKey=o}getProxy(e){const t=mt(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=mt(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return mt(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(dt(t)){const n=new Ct(this,e);t=new Proxy(Nt(e),n),pt(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(dt(t)){const n=new kt(this,e);t=new Proxy(Nt(e),n),pt(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:Oe,valueMutated:Le,tagPropertyKey:_t});function Ot(e){return Lt.getReadOnlyProxy(e)}function xt(e){return Lt.getProxy(e)}function Pt(e){e[_t]=void 0}function Rt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!U(n))throw new TypeError;if(!U(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const t=Wr(this);if(!wr(t))return Re(t,e),n.call(t.elm)},set(t){const n=Wr(this);return Je(n,e,t),r.call(n.elm,t)}}}const Dt=s(r(null)),$t=new WeakMap,It=function(){if(W(br))throw new TypeError("Illegal constructor");const e=br,{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 Pt(this),Br(o,e),Br(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,Br(s,e),s}It.prototype={constructor:It,dispatchEvent(e){const t=Wr(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=Wr(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,Mr(r,t),n)},removeEventListener(e,t,n){const r=Wr(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,Mr(r,t),n)},hasAttribute(e){const t=Wr(this),{elm:n,renderer:{getAttribute:r}}=t;return!W(r(n,e))},hasAttributeNS(e,t){const n=Wr(this),{elm:r,renderer:{getAttribute:o}}=n;return!W(o(r,t,e))},removeAttribute(e){const t=Wr(this),{elm:n,renderer:{removeAttribute:r}}=t;qe(n,e),r(n,e),Ke()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=Wr(this);qe(n,t),r(n,t,e),Ke()},getAttribute(e){const t=Wr(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=Wr(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=Wr(this),{elm:r,renderer:{setAttribute:o}}=n;qe(r,e),o(r,e,t),Ke()},setAttributeNS(e,t,n){const r=Wr(this),{elm:o,renderer:{setAttribute:i}}=r;qe(o,t),i(o,t,n,e),Ke()},getBoundingClientRect(){const e=Wr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=Wr(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=Wr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return Wr(this).shadowRoot},get refs(){const e=Wr(this);if(cr)return;const{refVNodes:t,hasRefVNodes:n,cmpTemplate:o}=e;if(!n)return;if(W(t))return Dt;let i=$t.get(t);if(B(i)){i=r(null);for(const e of f(t))i[e]=t[e].elm;s(i),$t.set(t,i)}return i},set refs(e){i(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=Wr(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=Wr(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=Wr(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=Wr(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=Wr(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=Wr(this);return e.renderer.getLastElementChild(e.elm)},render(){return Wr(this).def.template},toString(){return`[object ${Wr(this).def.name}]`}};const Ht=r(null),Bt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of Bt)Ht[e]={value(t){const n=Wr(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};o(It.prototype,Ht);const Wt=r(null);for(const e in Xe)Wt[e]=Rt(e,Xe[e]);function Vt(e){return{get(){const t=Wr(this);return Re(t,e),t.cmpFields[e]},set(t){Je(Wr(this),e,t)},enumerable:!0,configurable:!0}}o(It.prototype,Wt),i(It,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class jt extends xe{constructor(e,t){super((()=>{j(this.debouncing)&&(this.debouncing=!0,Te((()=>{if(V(this.debouncing)){const{value:n}=this,{isDirty:r,component:o,idx:i}=e;t.call(o,n),this.debouncing=!1,V(e.isDirty)&&j(r)&&i>0&&Dr(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function Ut(e){return{get(){const t=Wr(this);if(!wr(t))return Re(t,e),t.cmpProps[e]},set(t){const n=Wr(this);n.cmpProps[e]=t,Pe(n,e)},enumerable:!0,configurable:!0}}function Gt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!U(n))throw new Error;return{get(){return n.call(this)},set(t){const n=Wr(this);if(r)if(we.ENABLE_REACTIVE_SETTER){let o=n.oar[e];B(o)&&(o=n.oar[e]=function(e,t){return new jt(e,t)}(n,r)),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function zt(e){return{get(){const t=Wr(this);return Re(t,e),t.cmpFields[e]},set(t){const n=Wr(this),r=xt(t);Je(n,e,r)},enumerable:!0,configurable:!0}}function Yt(e){return{get(){const t=Wr(this);return Re(t,e),t.cmpFields[e]},set(t){Je(Wr(this),e,t)},enumerable:!0,configurable:!0}}const Kt=new Map;const qt={apiMethods:ve,apiFields:ve,apiFieldsConfig:ve,wiredMethods:ve,wiredFields:ve,observedFields:ve};const Xt=new Set;function Jt(){return[]}Xt.add(Jt);const Qt=r(null),Zt=r(null);function en(e){let t=Qt[e];return B(t)&&(t=Qt[e]=function(){const t=Wr(this),{getHook:n}=t;return n(t.component,e)}),t}function tn(e){let t=Zt[e];return B(t)&&(t=Zt[e]=function(t){const n=Wr(this),{setHook:r}=n;t=Ot(t),r(n.component,e,t)}),t}function nn(e){return function(){const t=Wr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,_.call(arguments))}}function rn(e,t){return function(n,r,o){if(r===o)return;const i=e[n];B(i)?B(t)||t.apply(this,arguments):Ye(this,n)&&(this[i]=o)}}function on(e,t,n){let s;U(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),i(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const l=r(null),{attributeChangedCallback:c}=e.prototype,{observedAttributes:a=[]}=e,u=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[ae(n)]=n,u[n]={get:en(n),set:tn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:nn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:rn(l,c)},i(s,"observedAttributes",{get:()=>[...a,...f(l)]}),o(s.prototype,u),s}const sn=on(Ve,c(Xe),[]);s(sn),h(sn.prototype);const ln=new WeakMap;function cn(e){const{shadowSupportMode:t,renderMode:i}=e,s=function(e){const t=Kt.get(e);return B(t)?qt:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:b,renderedCallback:w,errorCallback:y,render:v}=m;const C=function(e){let t=a(e);if(W(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(We(t)){const e=Be(t);t=e===t?It:e}return t}(e),E=C!==It?un(C):dn,T=on(E.bridge,f(l),f(u)),k=n(r(null),E.props,l),S=n(r(null),E.propsConfig,c),M=n(r(null),E.methods,u),A=n(r(null),E.wire,d,h);g=g||E.connectedCallback,b=b||E.disconnectedCallback,w=w||E.renderedCallback,y=y||E.errorCallback,v=v||E.render;let N=E.shadowSupportMode;B(t)||(N=t);let _=E.renderMode;B(i)||(_="light"===i?0:1);const L=function(e){return Cr.get(e)}(e)||E.template,O=e.name||E.name;o(m,p);return{ctor:e,name:O,wire:A,props:k,propsConfig:S,methods:M,bridge:T,template:L,renderMode:_,shadowSupportMode:N,connectedCallback:g,disconnectedCallback:b,renderedCallback:w,errorCallback:y,render:v}}function an(e){if(!U(e))return!1;if(e.prototype instanceof It)return!0;let t=e;do{if(We(t)){const e=Be(t);if(e===t)return!0;t=e}if(t===It)return!0}while(!W(t)&&(t=a(t)));return!1}function un(e){let t=ln.get(e);if(B(t)){if(We(e)){return t=un(Be(e)),ln.set(e,t),t}if(!an(e))throw new TypeError(`${e} is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.`);t=cn(e),ln.set(e,t)}return t}const dn={ctor:It,name:It.name,props:Wt,propsConfig:ve,methods:ve,renderMode:1,shadowSupportMode:"reset",wire:ve,bridge:sn,template:Jt,render:It.prototype.render};function fn(e){return`${e}-host`}function hn(e){return er.h("style",{key:"style",attrs:{type:"text/css"}},[er.t(e)])}function pn(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(m(s))S.apply(r,pn(s,t,n));else{const e=s.$scoped$;if(we.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){He("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}const i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let c;1===n.renderMode?c=0===n.shadowMode:(B(o)&&(o=gn(n)),c=W(o)||0===o.shadowMode),S.call(r,s(i,l,c))}}return r}function mn(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return B(n)||0===n.length||(o=pn(n,r,e)),o}function gn(e){let t=e;for(;!W(t);){if(1===t.renderMode)return t;t=t.owner}return t}function bn(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}function wn(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1===n&&1===r)for(let e=0;e<t.length;e++)o(t[e]);else{if(e.hydrated)return T.call(t,hn);{const n=function(e){const t=gn(e);return W(t)||1!==t.shadowMode?t:null}(e),r=W(n)?void 0:n.shadowRoot;for(let e=0;e<t.length;e++)o(t[e],r)}}return null}function yn(e){const{type:t}=e;return 2===t||3===t}function vn(e,t){return e.key===t.key&&e.sel===t.sel}function Cn(e){return 5===e.type}function En(e){return 6===e.type}function Tn(e,t){return"input"===e&&("value"===t||"checked"===t)}function kn(e,t,r){let{props:o}=t.data;const{spread:i}=t.data;if(B(o)&&B(i))return;let s;if(!W(e)){s=e.data.props;const t=e.data.spread;if(s===o&&t===i)return;B(s)&&(s=ve),B(t)||(s=n({},s,t))}B(i)||(o=n({},o,i));const l=W(e),{elm:c,sel:a}=t,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(Tn(a,e)?u(c,e):s[e])&&e in s||d(c,e,t)}}const Sn=r(null);function Mn(e){if(null==e)return ve;e=z(e)?e:e+"";let t=Sn[e];if(t)return t;t=r(null);let n,o=0;const i=e.length;for(n=0;n<i;n++)32===$.call(e,n)&&(n>o&&(t[F.call(e,o,n)]=!0),o=n+1);return n>o&&(t[F.call(e,o,n)]=!0),Sn[e]=t,t}function An(e,t){const{elm:n,data:{on:r}}=e;if(B(r))return;const{addEventListener:o}=t;for(const e in r){o(n,e,r[e])}}function Nn(e,t,n,r){var o;o=t,Un.has(o)?zn(e,t,n,r):Yn(e,t,n,r)}function _n(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&&In(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?Yn(e.children,o,n,r):zn(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;Bn(e,t,n),Nn(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);Pn(e,n,r,!0),On(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;Bn(e,t,r),B(o)||Vn(t,o),Nn(e.children,t.children,n,r),B(o)||Dr(o)}}(e,t,n,null!==(i=t.data.renderer)&&void 0!==i?i:r)}}function Ln(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);$n(s,o,r),Fn(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);$n(s,o,r),Fn(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);$n(l,o,r);const{renderMode:c,shadowMode:a}=o;s&&(1!==a&&0!==c||(l.$shadowStaticNode$=!0));Fn(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;xn(o,t,r,n),e.elm=o[o.length-1].elm}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:i,data:{svg:s}}=e,{createElement:l}=r,c=V(s)?ne:void 0,a=e.elm=l(o,c);$n(a,i,r),Wn(a,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)}(a,e),Bn(null,e,r),Fn(a,t,n,r),xn(e.children,a,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:On(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function On(e,t,n,r){const{sel:o,owner:i}=e,{createCustomElement:s}=r;let l;let c,a;we.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(c=e=>{$r(e)},a=e=>{Ir(e)});const u=s(o.toLowerCase(),(t=>{l=function(e,t,n){let r=Vr(e);if(!B(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;return r=Hr(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}),c,a);e.elm=u,e.vm=l,$n(u,i,r),Wn(u,i,r),l&&Vn(e,l),Bn(null,e,r),Fn(u,t,n,r),l&&(we.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||Yr(l)),xn(e.children,u,r,null),l&&function(e){jr(e)}(l)}function xn(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];Dn(i)&&Ln(i,t,n,r)}}function Pn(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&(5===o?Rn(e.children,t,n,r):Hn(i,t,n)),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;Rn(e.children,i,n,t);break}case 3:{const{vm:t}=e;B(t)||function(e){Fr(e)}(t)}}}function Rn(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];Dn(i)&&Pn(i,t,n,r)}}function Dn(e){return null!=e}function $n(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function In(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function Fn(e,t,n,r){r.insert(e,t,n)}function Hn(e,t,n){n.remove(e,t)}function Bn(e,t,n){W(e)&&(An(t,n),function(e,t){const{elm:n,data:{classMap:r}}=e;if(B(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(B(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=W(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),c=Mn(o),a=Mn(i);let u;for(u in a)B(c[u])&&l.remove(u);for(u in c)B(a[u])&&l.add(u)}(e,t,n),function(e,t,n){const{elm:r,data:{style:o}}=t;if((W(e)?void 0:e.data.style)===o)return;const{setAttribute:i,removeAttribute:s}=n;z(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,t,n),t.data.external?function(e,t,n){const{data:{attrs:r},elm:o}=t;if(B(r))return;const{removeAttribute:i,setAttribute:s,setProperty:l}=n,c=W(e)?ve:e.data.attrs;for(const e in r){const t=r[e];c[e]!==t&&(ue(e)in o?l(o,e,t):58===$.call(e,3)?s(o,e,t,te):58===$.call(e,5)?s(o,e,t,re):W(t)||B(t)?i(o,e):s(o,e,t))}}(e,t,n):function(e,t,n){const{attrs:r}=t.data;if(B(r))return;const o=W(e)?ve: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&&(qe(i,e),58===$.call(e,3)?s(i,e,t,te):58===$.call(e,5)?s(i,e,t,re):W(t)||B(t)?l(i,e):s(i,e,t),Ke())}}(e,t,n),kn(e,t,n)}function Wn(e,t,n){const r=bn(t);if(!W(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||B(o)||(e.$shadowToken$=o)}function Vn(e,t){const n=e.aChildren||e.children;t.aChildren=n;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t,n){const{cmpSlots:{slotAssignments:o}}=e,i=r(null);if(jn(e,t,i),e.cmpSlots={owner:n,slotAssignments:i},j(e.isDirty)){const t=f(o);if(t.length!==f(i).length)return void kr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(B(i[r])||o[r].length!==i[r].length)return void kr(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 kr(e)}}}(t,n,e.owner),e.aChildren=n,e.children=Ce)}function jn(e,t,n){var r,o;for(let i=0,s=t.length;i<s;i+=1){const s=t[i];if(W(s))continue;if(Cn(s)){jn(e,s.children.slice(1,-1),n);continue}let l="";yn(s)?l=null!==(o=null===(r=s.data.attrs)||void 0===r?void 0:r.slot)&&void 0!==o?o:"":En(s)&&(l=s.slotName);const c=n[l]=n[l]||[];S.call(c,s)}}const Un=new WeakMap;function Gn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(Dn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function zn(e,t,n,r){let o=0,i=0,s=e.length-1,l=e[0],c=e[s];const a=t.length-1;let u,d,f,h,p=a,m=t[0],g=t[p],b=!1;for(;o<=s&&i<=p;)Dn(l)?Dn(c)?Dn(m)?Dn(g)?vn(l,m)?(_n(l,m,n,r),l=e[++o],m=t[++i]):vn(c,g)?(_n(c,g,n,r),c=e[--s],g=t[--p]):vn(l,g)?(_n(l,g,n,r),Fn(l.elm,n,r.nextSibling(c.elm),r),l=e[++o],g=t[--p]):vn(c,m)?(_n(c,m,n,r),Fn(m.elm,n,l.elm,r),c=e[--s],m=t[++i]):(void 0===u&&(u=Gn(e,o,s)),d=u[m.key],B(d)?(Ln(m,n,r,l.elm),m=t[++i]):(f=e[d],Dn(f)&&(f.sel!==m.sel?Ln(m,n,r,l.elm):(_n(f,m,n,r),b||(b=!0,e=[...e]),e[d]=void 0,Fn(f.elm,n,l.elm,r))),m=t[++i])):g=t[--p]:m=t[++i]:c=e[--s]:l=e[++o];if(o<=s||i<=p)if(o>s){let e,o=p;do{e=t[++o]}while(!Dn(e)&&o<a);h=Dn(e)?e.elm:null,xn(t,n,r,h,i,p+1)}else Rn(e,n,r,!0,o,s+1)}function Yn(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void xn(t,n,r,null);if(0===i)return void Rn(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&&(Dn(i)?Dn(l)?(_n(i,l,n,r),s=l.elm):Pn(i,n,r,!0):Dn(l)&&(Ln(l,n,r,s),s=l.elm))}}const Kn=Symbol.iterator;function qn(e,t,n=Ce){const r=ur(),{key:o,ref:i}=t,s={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return B(i)||Ae(r,i,s),s}function Xn(e,t,n,r=Ce){const o=ur(),{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){S.call(ur().velements,e)}(l),B(s)||Ae(o,s,l),l}function Jn(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:ur()}}function Qn(e){var t;return t=e,Un.set(t,1),e}let Zn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const er=s({s:function(e,t,n,r){if(!B(r)&&!B(r.slotAssignments)&&!B(r.slotAssignments[e])&&0!==r.slotAssignments[e].length){const o=[],i=r.slotAssignments[e];for(let e=0;e<i.length;e++){const n=i[e];if(!W(n)){const e=En(n);if(e!==!B(t.slotData))continue;if(e){const e=ur();dr(r.owner);try{S.apply(o,n.factory(t.slotData))}finally{dr(e)}}else S.call(o,n)}}n=o}const o=ur(),{renderMode:i,shadowMode:s}=o;return 0===i?(Qn(n),n):(1===s&&Qn(n),qn("slot",t,n))},h:qn,c:Xn,i:function(e,t){const n=[];if(Qn(n),B(e)||null===e)return n;const r=e[Kn]();let o=r.next(),i=0,{value:s,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(s,i,0===i,!0===l);m(e)?S.apply(n,e):S.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];Qn(n);for(let r=0;r<t;r+=1){const t=e[r];m(t)?S.apply(n,t):S.call(n,t)}return n},t:Jn,d:function(e){return null==e?"":String(e)},b:function(e){const t=ur();if(W(t))throw new Error;const n=t;return function(t){vr(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:ur()}},dc:function(e,t,n,r=Ce){if(null==t)return null;if(!an(t))throw new Error(`Invalid LWC Constructor ${q(t)} for custom element <${e}>.`);return Xn(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[Jn(""),...t,Jn("")],stable:n,owner:ur()}},ti:function(e){return e>0&&!(V(e)||j(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:ur()}},gid:function(e){const t=ur();if(B(e)||""===e)return e;if(W(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?I.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=ur();if(B(e)||""===e)return e;if(W(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return Zn(e)},ssf:function(e,t){return{type:6,factory:t,owner:ur(),elm:void 0,sel:void 0,key:void 0,slotName:e}}});let tr=!1,nr=Y;const rr={enableProfiler(){tr=!0},disableProfiler(){tr=!1},attachDispatcher(e){nr=e,this.enableProfiler()},detachDispatcher(){const e=nr;return nr=Y,this.disableProfiler(),e}};function or(e,t){tr&&nr(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function ir(e,t){tr&&nr(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function sr(e,t){tr&&nr(e,0,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}function lr(e,t){tr&&nr(e,1,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}let cr=!1,ar=null;function ur(){return ar}function dr(e){ar=e}function fr(e){return(t,...n)=>{const o=r(null);return function(){const{context:{hasScopedStyles:r,stylesheetToken:i},shadowMode:s,renderer:l}=ur(),c=!B(i),a=1===s;let u=0;if(c&&r&&(u|=1),c&&a&&(u|=2),!B(o[u]))return o[u];const d=r&&c?" "+i:"",f=r&&c?` class="${i}"`:"",h=c&&a?" "+i:"";let p="";for(let e=0,r=n.length;e<r;e++)switch(n[e]){case 0:p+=t[e]+d;break;case 1:p+=t[e]+f;break;case 2:p+=t[e]+h;break;case 3:p+=t[e]+f+h}return p+=t[t.length-1],o[u]=e(p,l),o[u]}}}const hr=fr(((e,t)=>{const{createFragment:n}=t;return n(e)})),pr=fr(((e,t)=>{const{createFragment:n,getFirstChild:r}=t;return r(n("<svg>"+e+"</svg>"))}));function mr(e,t){const n=cr,o=ar;let i=[];return Qr(e,e.owner,(()=>{ar=e,or(1,e)}),(()=>{const{component:n,context:o,cmpSlots:s,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(W(l)||Jr(e),c=t,!Xt.has(c))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${q(t)}.`);e.cmpTemplate=t,o.tplCache=r(null),o.hasScopedStyles=gr(t),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i,renderer:{getClassList:s,removeAttribute:l,setAttribute:c}}=e,{stylesheets:a,stylesheetToken:u}=t,d=1===o&&1===i,{hasScopedStyles:f}=r;let h,p,m;const{stylesheetToken:g,hasTokenInClass:b,hasTokenInAttribute:w}=r;B(g)||(b&&s(n).remove(fn(g)),w&&l(n,fn(g))),B(a)||0===a.length||(h=u),B(h)||(f&&(s(n).add(fn(h)),p=!0),d&&(c(n,fn(h),""),m=!0)),r.stylesheetToken=h,r.hasTokenInClass=p,r.hasTokenInAttribute=m}(e,t);const n=mn(e,t);o.styleVNodes=0===n.length?null:wn(e,n)}var c;const a=Boolean(t.hasRefs);e.hasRefVNodes=a,e.refVNodes=a?r(null):null,e.velements=[],cr=!0,i=t.call(void 0,er,n,s,o.tplCache);const{styleVNodes:u}=o;W(u)||P.apply(i,u)}))}),(()=>{cr=n,ar=o,ir(1,e)})),i}function gr(e){const{stylesheets:t}=e;if(!B(t))for(let e=0;e<t.length;e++)if(V(t[e].$scoped$))return!0;return!1}let br=null;function wr(e){return br===e}function yr(e,t,n){const{component:r,callHook:o,owner:i}=e;Qr(e,i,Y,(()=>{o(r,t,n)}),Y)}function vr(e,t,n,r){const{callHook:o,owner:i}=e;Qr(e,i,Y,(()=>{o(n,t,[r])}),Y)}const Cr=new Map;function Er(e){return De((()=>{const{isDirty:t}=e;j(t)&&(kr(e),function(e){if(V(e.isScheduled))return;e.isScheduled=!0,0===Gr.length&&Te(zr);S.call(Gr,e)}(e))}))}function Tr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=ur();let s,l=!1;return Qr(e,o,(()=>{dr(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{dr(i)})),l?mr(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function kr(e){e.isDirty=!0}const Sr=new WeakMap;function Mr(e,t){if(!U(t))throw new TypeError;let n=Sr.get(t);return B(n)&&(n=function(n){vr(e,t,void 0,n)},Sr.set(t,n)),n}const Ar=r(null),Nr=["rendered","connected","disconnected"];function _r(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 Lr=0;const Or=new WeakMap;function xr(e,t,n=[]){return t.apply(e,n)}function Pr(e,t,n){e[t]=n}function Rr(e,t){return e[t]}function Dr(e){jr(e)}function $r(e){const t=Wr(e);sr(7,t),1===t.state&&Ir(e),Yr(t),jr(t),lr(7,t)}function Ir(e){Fr(Wr(e))}function Fr(e){const{state:t}=e;if(2!==t){const{oar:t,tro:n}=e;n.reset();for(const e in t)t[e].reset();!function(e){j(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=Ar;t&&_r(e,t);Kr(e)&&function(e){const{wiredDisconnecting:t}=e.context;Qr(e,e,Y,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),Y)}(e);const{disconnectedCallback:n}=e.def;B(n)||(or(5,e),yr(e,n),ir(5,e))}(e),qr(e),function(e){const{aChildren:t}=e;Xr(t)}(e)}}function Hr(e,t,n,o){const{mode:i,owner:s,tagName:l,hydrated:c}=o,a=un(t),u={elm:e,def:a,idx:Lr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,refVNodes:null,hasRefVNodes:!1,children:Ce,aChildren:Ce,velements:Ce,cmpProps:r(null),cmpFields:r(null),cmpSlots:{slotAssignments:r(null)},oar:r(null),cmpTemplate:null,hydrated:Boolean(c),renderMode:a.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:ve,wiredConnecting:Ce,wiredDisconnecting:Ce},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:xr,setHook:Pr,getHook:Rr,renderer:n};return u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let i;if(r)if(0===n.renderMode)i=0;else if(o)if(we.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!W(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=W(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,n),u.tro=Er(u),function(e,t){const n=br;let r;or(0,e),br=e;try{const o=new t;if(br.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(ir(0,e),br=n,!B(r))throw Ie(e,r),r}}(u,a.ctor),Kr(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=Zr.get(i);if(!B(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=to(e,t,s),c=s.dynamic.length>0;S.call(r,(()=>{n.connect(),we.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),S.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function Br(e,t){Or.set(e,t)}function Wr(e){return Or.get(e)}function Vr(e){return Or.get(e)}function jr(e){if(V(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&Qr(e,e,(()=>{or(2,e)}),(()=>{Nn(r,t,n,o)}),(()=>{ir(2,e)}));1===e.state&&Ur(e)}(e,Tr(e))}}function Ur(e){const{def:{renderedCallback:t}}=e,{rendered:n}=Ar;n&&_r(e,n),B(t)||(or(4,e),yr(e,t),ir(4,e))}let Gr=[];function zr(){sr(8);const e=Gr.sort(((e,t)=>e.idx-t.idx));Gr=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{jr(r)}catch(r){throw t+1<n&&(0===Gr.length&&Te(zr),P.apply(Gr,_.call(e,t+1))),lr(8),r}}lr(8)}function Yr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Ar;n&&_r(e,n),Kr(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;B(r)||(or(3,e),yr(e,r),ir(3,e))}function Kr(e){return c(e.def.wire).length>0}function qr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!B(n)){const e=Vr(n);B(e)||Fr(e)}}}function Xr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!W(n)&&!B(n.elm))switch(n.type){case 2:Xr(n.children);break;case 3:Fr(Wr(n.elm));break}}}function Jr(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];W(o)||B(o.elm)||r(o.elm,n)}e.children=Ce,qr(e),e.velements=Ce}function Qr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!B(i)){Ie(e,i);const n=W(t)?void 0:function(e){let t=e;for(;!W(t);){if(!B(t.def.errorCallback))return t;t=t.owner}}(t);if(B(n))throw i;Jr(e),or(6,e);yr(n,n.def.errorCallback,[i,i.wcStack]),ir(6,e)}}}const Zr=new Map;class eo extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),o(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function to(e,t,n){const{method:r,adapter:o,configCallback:s,dynamic:l}=n;const c=B(r)?function(e,t){return n=>{Je(e,t,n)}}(e,t):function(e,t){return n=>{Qr(e,e.owner,Y,(()=>{t.call(e.component,n)}),Y)}}(e,r),a=e=>{c(e)};let u,d;i(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),i(a,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),Qr(e,e,Y,(()=>{d=new o(a)}),Y);const{computeConfigAndUpdate:f,ro:h}=function(e,t,n){let r=!1;const o=De((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),i()})))})),i=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:i,ro:o}}(e.component,s,(t=>{Qr(e,e,Y,(()=>{d.update(t,u)}),Y)}));return B(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=ro(r);if(B(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{dispatchEvent:c}}=e;S.call(s,(()=>{const e=new eo(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){S.call(l,e)}});c(i,e)}))}(e,n,(t=>{u!==t&&(u=t,1===e.state&&f())})),{connector:d,computeConfigAndUpdate:f,resetConfigWatcher:()=>h.reset()}}const no=new Map;function ro(e){return no.get(e)}function oo(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Zr.set(e,o)}function io(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Zr.set(e,o)}let so=!1;function lo(e){const t=Tr(e);e.children=t;const{renderRoot:n,renderer:{getFirstChild:r}}=e;uo(r(n),t,n,e),Ur(e)}function co(e,t,n){var r,o;let i;switch(t.type){case 0:i=function(e,t,n){var r;if(!po(t,e,3,n))return fo(e,t,n);const{setText:o}=n;return o(e,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 1:i=function(e,t,n){var r;if(!po(t,e,8,n))return fo(e,t,n);const{setProperty:o}=n;return o(e,ao,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 4:i=function(e,t,n){if(!function(e,t,n,r){const{getProperty:o,getAttribute:i}=r;if(3===o(e,"nodeType"))return!!po(n,t,3,r)&&o(e,ao)===o(t,ao);if(8===o(e,"nodeType"))return!!po(n,t,8,r)&&o(e,ao)===o(t,ao);if(!po(n,t,1,r))return!1;let s=!0;if(o(e,"tagName")!==o(t,"tagName"))return!1;return o(e,"getAttributeNames").call(e).forEach((r=>{i(e,r)!==i(t,r)&&(He(`Mismatch hydrating element <${o(e,"tagName").toLowerCase()}>: attribute "${r}" has different values, expected "${i(e,r)}" but found "${i(t,r)}"`,n.owner),s=!1)})),s}(t.fragment,e,t,n))return fo(e,t,n);return t.elm=e,e}(e,t,n);break;case 5:i=function(e,t,n){const{children:r,owner:o}=t;return uo(e,r,n.getProperty(e,"parentNode"),o),t.elm=r[r.length-1].elm}(e,t,n);break;case 2:i=function(e,t,n){if(!po(t,e,1,n)||!mo(t,e,n))return fo(e,t,n);t.elm=e;const{owner:r}=t,{context:o}=t.data,i=Boolean(!B(o)&&!B(o.lwc)&&"manual"===o.lwc.dom);if(i){const{data:{props:r}}=t,{getProperty:o}=n;B(r)||B(r.innerHTML)||o(e,"innerHTML")===r.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:Me(r,"innerHTML")}))}if(ho(t,n),!i){const{getFirstChild:o}=n;uo(o(e),t.children,e,r)}return e}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:i=function(e,t,n){if(!po(t,e,1,n)||!mo(t,e,n))return fo(e,t,n);const{sel:r,mode:o,ctor:i,owner:s}=t,l=Hr(e,i,n,{mode:o,owner:s,tagName:r,hydrated:!0});if(t.elm=e,t.vm=l,Vn(t,l),ho(t,n),Yr(l),0!==l.renderMode){const{getFirstChild:r}=n;uo(r(e),t.children,e,l)}return lo(l),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(i)}const ao="nodeValue";function uo(e,t,n,r){let o=e,i=null;const{renderer:s}=r;for(let e=0;e<t.length;e++){const r=t[e];W(r)||(o?(o=co(o,r,s),i=r.elm):(so=!0,Ln(r,n,s,i),i=r.elm))}if(o){so=!0;const{nextSibling:e}=s;do{const t=o;o=e(o),Hn(t,n,s)}while(o)}}function fo(e,t,n){so=!0;const{getProperty:r}=n,o=r(e,"parentNode");return Ln(t,o,n,e),Hn(e,o,n),t.elm}function ho(e,t){An(e,t),kn(null,e,t)}function po(e,t,n,r){const{getProperty:o}=r;return o(t,"nodeType")===n}function mo(e,t,n){const{getProperty:r}=n;if(e.sel.toLowerCase()!==r(t,"tagName").toLowerCase())return!1;const o=function(e,t,n){const{data:{attrs:r={}}}=e;let o=!0;for(const[e,i]of Object.entries(r)){const{getAttribute:r}=n,s=r(t,e);String(i)!==s&&(o=!1)}return o}(e,t,n),i=function(e,t,n){const{data:r,owner:o}=e;let{className:i,classMap:s}=r;const{getProperty:l,getClassList:c}=n,a=bn(o),u=function(e){return 3===e.type}(e)?function(e){const{template:t}=un(e.ctor),{stylesheetToken:n}=t;return!B(n)&&gr(t)?fn(n):null}(e):null;if(!W(a)||!W(u))if(B(i))if(B(s)){const e=[a,u],t=y.call(e,(e=>!W(e)));t.length&&(i=E.call(t," "))}else s=Object.assign(Object.assign(Object.assign({},s),W(a)?{}:{[a]:!0}),W(u)?{}:{[u]:!0});else{const e=[a,i,u],t=y.call(e,(e=>!W(e)));i=E.call(t," ")}let d=!0;const h=l(t,"className");if(B(i)||String(i)===h)if(B(s))B(i)&&""!==h&&(d=!1);else{const e=c(t);let n="";for(const t in s)n+=" "+t,e.contains(t)||(d=!1);n.trim(),e.length>f(s).length&&(d=!1)}else d=!1;return d}(e,t,n),s=function(e,t,n){const{data:{style:r,styleDecls:o}}=e,{getAttribute:i}=n,s=i(t,"style")||"";let l=!0;if(B(r)||r===s){if(!B(o)){const e=function(e){const t={},n=e.split(ke);for(const e of n)if(e){const[n,r]=e.split(Se);void 0!==n&&void 0!==r&&(t[n.trim()]=r.trim())}return t}(s),t=[];for(let n=0,r=o.length;n<r;n++){const[r,i,s]=o[n];t.push(`${r}: ${i+(s?" important!":"")}`);const c=e[r];B(c)?l=!1:c.startsWith(i)?s&&!c.endsWith("!important")&&(l=!1):l=!1}f(e).length>o.length&&(l=!1),E.call(t,";")}}else l=!1;return l}(e,t,n);return o&&i&&s}let go=!1;const bo=U(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),wo=bo&&l(document.adoptedStyleSheets,"length").writable,yo=!B(document.documentMode),vo=new Map;function Co(e){const t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function Eo(e,t,n){const r=function(e,t){const{element:n,usedElement:r}=t;return r?yo?Co(e):n.cloneNode(!0):(t.usedElement=!0,n)}(e,n);t.appendChild(r)}function To(e,t){let n=vo.get(e);return B(n)&&(n={stylesheet:void 0,element:void 0,roots:void 0,global:!1,usedElement:!1},vo.set(e,n)),t&&B(n.stylesheet)?n.stylesheet=function(e){const t=new CSSStyleSheet;return t.replaceSync(e),t}(e):!t&&B(n.element)&&(n.element=Co(e)),n}function ko(e,t){const n=To(e,bo);let{roots:r}=n;if(B(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),bo?function(e,t,n){const{adoptedStyleSheets:r}=t,{stylesheet:o}=n;wo?r.push(o):t.adoptedStyleSheets=[...r,o]}(0,t,n):Eo(e,t,n)}const So=function(){if("undefined"==typeof customElements)return!1;try{const e=HTMLElement;class t extends e{}return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),t),new t,!0}catch(e){return!1}}(),Mo=(e,t)=>{const n=document.createElement(e);return t(n),n},Ao=new Map,No=new WeakSet;let _o=!1;const Lo=(e,t)=>{const n=!B(e),r=!B(t);class o extends HTMLElement{constructor(e){super(),_o?e(this):(n||r)&&No.add(this)}}return n&&(o.prototype.connectedCallback=function(){No.has(this)||e(this)}),r&&(o.prototype.disconnectedCallback=function(){No.has(this)||t(this)}),o},Oo=(e,t,n,r)=>{let o=Ao.get(e);if(B(o)){if(!B(customElements.get(e)))throw new Error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`);o=Lo(n,r),customElements.define(e,o),Ao.set(e,o)}_o=!0;try{return new o(t)}finally{_o=!1}};let xo,Po;we.ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY&&So&&(xo=function(){if(!So)throw new Error("Custom elements are not supported in this environment.");const{HTMLElement:e}=window,{hasAttribute:t,setAttribute:n,removeAttribute:r,getAttribute:i}=e.prototype,s=new WeakMap,l=new WeakMap,c=new WeakMap,a=new WeakSet,u=new WeakSet,d=new Map,f=new Map,h=new Map,m=new Map,g=new Map,b=new Set;function w(t,n){class r extends e{constructor(e){super();const r=!B(e);if(r){if(!T(e))throw new TypeError("Failed to create custom element: the provided constructor is not a constructor.");if(!a.has(e))throw new Error(`Failed to create custom element: the provided constructor is unregistered: ${e.name}.`)}const o=r?k(e):f.get(t);B(o)?l.set(this,n):E(this,n,o)}connectedCallback(){var e;const n=s.get(this);if(B(n)){let e=m.get(t);B(e)&&m.set(t,e=new Set),e.add(this)}else null===(e=n.connectedCallback)||void 0===e||e.call(this)}disconnectedCallback(){var e;const n=s.get(this);if(B(n)){const e=m.get(t);B(e)||e.delete(this)}else null===(e=n.disconnectedCallback)||void 0===e||e.call(this)}formAssociatedCallback(e){var t;const n=s.get(this);null===(t=null==n?void 0:n.formAssociatedCallback)||void 0===t||t.call(this,e)}formDisabledCallback(e){var t;const n=s.get(this);null===(t=null==n?void 0:n.formDisabledCallback)||void 0===t||t.call(this,e)}formResetCallback(){var e;const t=s.get(this);null===(e=null==t?void 0:t.formResetCallback)||void 0===e||e.call(this)}formStateRestoreCallback(e,t){var n;const r=s.get(this);null===(n=null==r?void 0:r.formStateRestoreCallback)||void 0===n||n.call(this,e,t)}adoptedCallback(){var e;const t=s.get(this);null===(e=null==t?void 0:t.adoptedCallback)||void 0===e||e.call(this)}attributeChangedCallback(e,t,r){var o;const i=s.get(this);(n===i||(null==i?void 0:i.observedAttributes.has(e)))&&(null===(o=i.attributeChangedCallback)||void 0===o||o.apply(this,[e,t,r]))}}return r.observedAttributes=[...n.observedAttributes],r.formAssociated=n.formAssociated,u.add(r),r}function y(e,t){const{observedAttributes:n,attributeChangedCallback:r}=t;return 0===n.size||B(r)?b:new Set([...t.observedAttributes].filter((t=>!e.observedAttributes.has(t))))}function v(e){setTimeout((()=>{throw e}))}let C;function E(e,l,c){p(e,c.UserCtor.prototype),s.set(e,c),c!==l&&function(e,t,s){const l=y(t,s);if(0===l.size)return;const{attributeChangedCallback:c}=s;o(e,{setAttribute:{value:function(e,t){if(l.has(e)){const r=i.call(this,e);n.call(this,e,t);try{c.call(this,e,r,t+"")}catch(e){v(e)}}else n.call(this,e,t)},writable:!0,enumerable:!0,configurable:!0},removeAttribute:{value:function(e){if(l.has(e)){const t=i.call(this,e);r.call(this,e);try{c.call(this,e,t,null)}catch(e){v(e)}}else r.call(this,e)},writable:!0,enumerable:!0,configurable:!0}})}(e,l,c),C=e,new c.UserCtor,function(e,n,r){const o=y(n,r);if(0===y(n,r).size)return;const{attributeChangedCallback:s}=r;o.forEach((n=>{if(t.call(e,n)){const t=i.call(e,n);s.call(e,n,null,t)}}))}(e,l,c)}function T(e){return U(e)&&G(e.prototype)}function k(e){if(!T(e))throw new TypeError("The referenced constructor is not a constructor.");const t=c.get(e);return B(t)?function(e){var t;const{connectedCallback:n,disconnectedCallback:r,formAssociatedCallback:o,formDisabledCallback:i,formResetCallback:s,formStateRestoreCallback:l,adoptedCallback:c,attributeChangedCallback:a}=e.prototype,u=Boolean(e.formAssociated);return{UserCtor:e,PivotCtor:void 0,connectedCallback:n,disconnectedCallback:r,formAssociatedCallback:o,formDisabledCallback:i,formResetCallback:s,formStateRestoreCallback:l,adoptedCallback:c,attributeChangedCallback:a,observedAttributes:new Set(null!==(t=e.observedAttributes)&&void 0!==t?t:[]),formAssociated:u}}(e):t}const{customElements:S}=window,{define:M,whenDefined:A,get:N}=S;return CustomElementRegistry.prototype.define=function(e,t,n){if(n&&n.extends)throw new DOMException('NotSupportedError: "extends" key in customElements.define() options is not supported.');if(f.has(e))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${e}" has already been used with this registry`);if(!B(h.get(t)))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const r=k(t);a.add(t);let o=d.get(e);B(o)&&(o=w(e,r),M.call(S,e,o)),c.set(t,r),d.set(e,o),f.set(e,r),h.set(t,r),r.PivotCtor=o;const i=m.get(e);if(!B(i)){m.delete(e);for(const e of i){const t=l.get(e);B(t)||(l.delete(e),E(e,t,r))}}!function(e,t){const n=g.get(e);if(!B(n))for(const e of n)e(t);g.delete(e)}(e,t)},CustomElementRegistry.prototype.get=function(e){const t=N.call(S,e);if(!B(t)){const n=f.get(e);if(!B(n))return n.UserCtor;if(u.has(t))return;return t}},CustomElementRegistry.prototype.whenDefined=function(e){return A.call(S,e).then((t=>{const n=f.get(e);return B(n)?(B(t)&&(t=N.call(S,e)),u.has(t)?function(e){return new Promise((t=>{let n=g.get(e);B(n)&&(n=[],g.set(e,n)),n.push(t)}))}(e):t):n.UserCtor}))},window.HTMLElement=function(){const e=C;if(!B(e))return C=void 0,e;const{constructor:t}=this,n=h.get(t);if(B(n)||B(n.PivotCtor))throw new TypeError("Illegal constructor");const{PivotCtor:r,UserCtor:o}=n;return new r(o)},HTMLElement.prototype=e.prototype,function(e,t){e=H.call(e);let n=d.get(e);if(B(n)){const r=k(t);n=w(e,r),M.call(S,e,n),r.PivotCtor=n,c.set(t,r),d.set(e,n)}return a.add(t),n}}(),Po=window.HTMLElement);const Ro=(e,t,n,r)=>{class o extends e{constructor(){super(),t(this)}}return B(n)||(o.prototype.connectedCallback=function(){n(this)}),B(r)||(o.prototype.disconnectedCallback=function(){r(this)}),o};let Do;function $o(e){const t=function(e){var t=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});function n(e){return void 0===e}e.createFragment=void 0;if("function"==typeof HTMLTemplateElement)e.createFragment=function(e){const t=document.createElement("template");return t.innerHTML=e,t.content.firstChild};else{const t={caption:["table"],col:["colgroup","table"],colgroup:["table"],option:["select"],tbody:["table"],td:["tr","tbody","table"],th:["tr","tbody","table"],thead:["table"],tfoot:["table"],tr:["tbody","table"]},r=function(e){return(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(e)||["",""])[1].toLowerCase()};e.createFragment=function(e){const o=t[r(e)];if(!n(o))for(const t of o)e=`<${t}>${e}</${t}>`;const i=document.implementation.createHTMLDocument("");i.body.innerHTML=e;let s=i.body;if(!n(o))for(let e=0;e<o.length;e++)s=s.firstChild;return s.firstChild}}return e.addEventListener=function(e,t,n,r){e.addEventListener(t,n,r)},e.assertInstanceOfHTMLElement=function(e,n){t.invariant(e instanceof HTMLElement,n)},e.attachShadow=function(e,t){return null!==e.shadowRoot?e.shadowRoot:e.attachShadow(t)},e.cloneNode=function(e,t){return e.cloneNode(t)},e.createComment=function(e){return document.createComment(e)},e.createElement=function(e,t){return n(t)?document.createElement(e):document.createElementNS(t,e)},e.createText=function(e){return document.createTextNode(e)},e.dispatchEvent=function(e,t){return e.dispatchEvent(t)},e.getAttribute=function(e,t,r){return n(r)?e.getAttribute(t):e.getAttributeNS(r,t)},e.getBoundingClientRect=function(e){return e.getBoundingClientRect()},e.getChildNodes=function(e){return e.childNodes},e.getChildren=function(e){return e.children},e.getClassList=function(e){return e.classList},e.getElementsByClassName=function(e,t){return e.getElementsByClassName(t)},e.getElementsByTagName=function(e,t){return e.getElementsByTagName(t)},e.getFirstChild=function(e){return e.firstChild},e.getFirstElementChild=function(e){return e.firstElementChild},e.getLastChild=function(e){return e.lastChild},e.getLastElementChild=function(e){return e.lastElementChild},e.getProperty=function(e,t){return e[t]},e.insert=function(e,t,n){t.insertBefore(e,n)},e.isConnected=function(e){return e.isConnected},e.nextSibling=function(e){return e.nextSibling},e.querySelector=function(e,t){return e.querySelector(t)},e.querySelectorAll=function(e,t){return e.querySelectorAll(t)},e.remove=function(e,t){t.removeChild(e)},e.removeAttribute=function(e,t,r){n(r)?e.removeAttribute(t):e.removeAttributeNS(r,t)},e.removeEventListener=function(e,t,n,r){e.removeEventListener(t,n,r)},e.setAttribute=function(e,t,r,o){return n(o)?e.setAttribute(t,r):e.setAttributeNS(o,t,r)},e.setCSSStyleProperty=function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},e.setProperty=function(e,t,n){e[t]=n},e.setText=function(e,t){e.nodeValue=t},e}({});return Object.setPrototypeOf(t,e),t}Do=So?we.ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY?function(e,t,n,r){if(B(xo)||B(Po))throw new Error("The flag ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY must be set to true to use this feature");const o=Ro(Po,t,n,r);return new(xo(e,o))(o)}:Oo:Mo;const Io=n($o(null),{insertStylesheet:function(e,t){B(t)?function(e){const t=To(e,!1);t.global||(t.global=!0,Eo(e,document.head,t))}(e):ko(e,t)},createCustomElement:Do,isNativeShadowDefined:ee.$isNativeShadowRootDefined$,isSyntheticShadowDefined:u.call(Element.prototype,"$shadowToken$")});function Fo(e,t,n){const r=Hr(e,t,Io,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0});for(const[t,r]of Object.entries(n))e[t]=r;return r}function Ho(e,t,n={}){if(!(e instanceof Element))throw new TypeError(`"hydrateComponent" expects a valid DOM element as the first parameter but instead received ${e}.`);if(!U(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!G(n)||W(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);if(Vr(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{!function(e){so=!1,Yr(e),lo(e),so&&He("Hydration completed with errors.",e)}(Fo(e,t,n))}catch(r){console.error("Recovering from error while hydrating: ",r),function(e,t){if(e.shadowRoot){const t=e.shadowRoot;for(;!W(t.firstChild);)t.removeChild(t.firstChild)}if("light"===t.renderMode)for(;!W(e.firstChild);)e.removeChild(e.firstChild)}(e,t),Fo(e,t,n),$r(e)}}const Bo=new WeakSet;function Wo(e){var t;const n=function(e){return un(e).bridge}(e),{observedAttributes:r}=n,{attributeChangedCallback:o}=n.prototype;return(t=class extends HTMLElement{constructor(){super(),this.isConnected?(Ho(this,e,{}),Bo.add(this)):Hr(this,e,Io,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){Bo.has(this)?Bo.delete(this):$r(this)}disconnectedCallback(){Ir(this)}attributeChangedCallback(e,t,n){o.call(this,e,t,n)}}).observedAttributes=r,t}const Vo=Node,jo=new WeakMap,Uo=new WeakMap;function Go(e,t){const n=t.get(e);return B(n)||n(e),e}if(!we.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE){const{appendChild:e,insertBefore:t,removeChild:r,replaceChild:o}=Vo.prototype;n(Vo.prototype,{appendChild(t){return Go(e.call(this,t),jo)},insertBefore(e,n){return Go(t.call(this,e,n),jo)},removeChild(e){return Go(r.call(this,e),Uo)},replaceChild(e,t){const n=o.call(this,e,t);return Go(n,Uo),Go(e,jo),n}})}const zo=Node;const Yo=new Map;i(It,"CustomElementConstructor",{get(){return function(e){if(e===It)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=Yo.get(e);return B(t)&&(t=Wo(e),Yo.set(e,t)),t}(this)}}),s(It),h(It.prototype),e.LightningElement=It,e.__unstable__ProfilerControl=rr,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=ro(e);if(!B(t))throw new Error("Adapter already has a context provider.");t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),function(e,t){no.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((()=>{B(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!G(t)||W(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${q(t)}".`);const n=t.is;if(!U(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const{createCustomElement:r}=Io,o=H.call(e);let i,s;return we.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(i=e=>{$r(e)},s=e=>{Ir(e)}),r(o,(e=>{Hr(e,n,Io,{tagName:o,mode:"closed"!==t.mode?"open":"closed",owner:null}),we.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||(jo.set(e,$r),Uo.set(e,Ir))}),i,s)},e.freezeTemplate=function(e){},e.getComponentConstructor=function(e){let t=null;if(!B(e)){const n=Vr(e);B(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=un(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:ae(e)};const c={};for(const e in s)c[e]=s[e].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=Ho,e.isComponentConstructor=an,e.isNodeFromTemplate=function(e){if(j(e instanceof zo))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&j(u.call(a(t),"synthetic")))||Io.isSyntheticShadowDefined&&!B(e.$shadowResolver$)},e.parseFragment=hr,e.parseSVGFragment=pr,e.readonly=function(e){return Ot(e)},e.register=function(e){for(let t=0;t<Nr.length;++t){const n=Nr[t];if(n in e){let t=Ar[n];B(t)&&(Ar[n]=t=[]),S.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return U(e)&&Cr.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:o,publicMethods:s,wire:c,track:a,fields:u}=t,d=r(null),f=r(null),h=r(null),p=r(null),m=r(null),g=r(null);let b;if(!B(o))for(const e in o){const t=o[e];if(g[e]=t.config,b=l(n,e),t.config>0){if(B(b))throw new Error;b=Gt(e,b)}else b=B(b)||B(b.get)?Ut(e):Gt(e,b);f[e]=b,i(n,e,b)}if(B(s)||R.call(s,(e=>{if(b=l(n,e),B(b))throw new Error;d[e]=b})),!B(c))for(const e in c){const{adapter:t,method:r,config:o,dynamic:s=[]}=c[e];if(b=l(n,e),1===r){if(B(b))throw new Error;h[e]=b,oo(b,t,o,s)}else b=Yt(e),p[e]=b,io(b,t,o,s),i(n,e,b)}if(!B(a))for(const e in a)b=l(n,e),b=zt(e),i(n,e,b);if(!B(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];b=l(n,t);const r=!B(o)&&t in o,i=!B(a)&&t in a;r||i||(m[t]=Vt(t))}return function(e,t){Kt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return Xt.add(e),i(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return B(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=B(e)?void 0:e.shadowAttribute}}),e},e.renderer=Io,e.rendererFactory=$o,e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(B(be[e])){const n=f(be).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=we[e];if(!B(n))return void console.error(`Failed to set the value "${t}" for the runtime feature flag "${e}". "${e}" has already been set with the value "${n}".`);i(we,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){var n;t.isFalse(go,"Hooks are already overridden, only one definition is allowed."),go=!0,n=e.sanitizeHtmlContent,Zn=n},e.swapComponent=function(e,t){return!1},e.swapStyle=function(e,t){return!1},e.swapTemplate=function(e,t){return!1},e.track=function(e){if(1===arguments.length)return xt(e);throw new Error},e.unwrap=function(e){return Lt.unwrapProxy(e)},e.wire=function(e,t){throw new Error}}));
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).LWC={})}(this,(function(e){"use strict";var t=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:n,create:r,defineProperties:o,defineProperty:i,freeze:s,getOwnPropertyDescriptor:l,getOwnPropertyNames:c,getPrototypeOf:a,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{concat:g,copyWithin:b,fill:w,filter:y,find:v,indexOf:C,join:E,map:T,pop:k,push:S,reduce:M,reverse:A,shift:N,slice:_,some:L,sort:O,splice:x,unshift:P,forEach:R}=Array.prototype,{fromCharCode:D}=String,{charCodeAt:$,replace:I,slice:F,toLowerCase:H}=String.prototype;function B(e){return void 0===e}function W(e){return null===e}function V(e){return!0===e}function j(e){return!1===e}function U(e){return"function"==typeof e}function G(e){return"object"==typeof e}function z(e){return"string"==typeof e}function Y(){}const K={}.toString;function q(e){return e&&e.toString?m(e)?E.call(T.call(e,q),","):e.toString():"object"==typeof e?K.call(e):e+""}function X(e,t){do{const n=l(e,t);if(!B(n))return n;e=a(e)}while(null!==e)}const J=["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:Z}=(()=>{const e=r(null),t=r(null);return R.call(J,(n=>{const r=H.call(I.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),ee=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}(),te="http://www.w3.org/XML/1998/namespace",ne="http://www.w3.org/2000/svg",re="http://www.w3.org/1999/xlink",oe=/-([a-z])/g,{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:ie,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:se}=(()=>{const e=new Map([["accessKey","accesskey"],["readOnly","readonly"],["tabIndex","tabindex"],["bgColor","bgcolor"],["colSpan","colspan"],["rowSpan","rowspan"],["contentEditable","contenteditable"],["crossOrigin","crossorigin"],["dateTime","datetime"],["formAction","formaction"],["isMap","ismap"],["maxLength","maxlength"],["minLength","minlength"],["noValidate","novalidate"],["useMap","usemap"],["htmlFor","for"]]),t=new Map;return e.forEach(((e,n)=>t.set(e,n))),{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:t,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:e}})(),le=new Map,ce=new Map;function ae(e){const t=Z[e];if(!B(t))return t;const n=se.get(e);if(!B(n))return n;const r=le.get(e);if(!B(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=$.call(e,t);o+=n>=65&&n<=90?"-"+D(n+32):D(n)}return le.set(e,o),o}function ue(e){const t=Q[e];if(!B(t))return t;const n=ie.get(e);if(!B(n))return n;const r=ce.get(e);if(!B(r))return r;const o=I.call(e,oe,(e=>e[1].toUpperCase()));return ce.set(e,o),o}function de(e){return void 0===l(Element.prototype,e)}const fe=new WeakMap;function he(e){let t=fe.get(e);return void 0===t&&(t={},fe.set(e,t)),t}function pe(e,t){return{get(){const n=he(this);return u.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set(n){const r=null==(o=n)?null:String(o);var o;he(this)[e]=r,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function me(e){const t=pe(e,Z[e]);Object.defineProperty(Element.prototype,e,t)}const ge=f(Z);for(let e=0,t=ge.length;e<t;e+=1){const t=ge[e];de(t)&&me(t)}const be={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST: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,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null,ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY:null};ee.lwcRuntimeFlags||Object.defineProperty(ee,"lwcRuntimeFlags",{value:r(null)});const we=ee.lwcRuntimeFlags;let ye=[];const ve=h(r(null)),Ce=h([]);function Ee(){const e=ye;ye=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function Te(e){0===ye.length&&Promise.resolve().then(Ee),S.call(ye,e)}const ke=/;(?![^(]*\))/g,Se=/:(.+)/;function Me(e,t){const n={};for(const r of Object.keys(e))r!==t&&(n[r]=e[r]);return n}function Ae(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}const Ne=new WeakMap;let _e=null;function Le(e,t){const n=Ne.get(e);if(!B(n)){const e=n[t];if(!B(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function Oe(e,t){if(null===_e)return;const n=_e,o=function(e){let t=Ne.get(e);if(B(t)){const n=r(null);t=n,Ne.set(e,n)}return t}(e);let i=o[t];if(B(i))i=[],o[t]=i;else if(i[0]===n)return;-1===C.call(i,n)&&n.link(i)}class xe{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=_e;let n;_e=this;try{e()}catch(e){n=Object(e)}finally{if(_e=t,void 0!==n)throw n}}reset(){const{listeners:e}=this,t=e.length;if(t>0){for(let n=0;n<t;n+=1){const t=e[n],r=C.call(e[n],this);x.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){S.call(e,this),S.call(this.listeners,e)}}function Pe(e,t){Le(e.component,t)}function Re(e,t){Oe(e.component,t)}function De(e){return new xe(e)}function $e(e){return`<${H.call(e.tagName)}>`}function Ie(e,t){if(!d(t)&&B(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!W(n);)S.call(t,$e(n)),n=n.owner;return t.reverse().join("\n\t")}(e);i(t,"wcStack",{get:()=>n})}}function Fe(e,t,n){let r=`[LWC ${e}]: ${t}`;B(n)||(r=`${r}\n${function(e){const t=[];let n="";for(;!W(e.owner);)S.call(t,n+$e(e)),e=e.owner,n+="\t";return E.call(t,"\n")}(n)}`);try{throw new Error(r)}catch(t){console[e](t)}}function He(e,t){Fe("error",e,t)}function Be(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function We(e){return U(e)&&u.call(e,"__circular__")}const Ve="undefined"!=typeof HTMLElement?HTMLElement:function(){},je=Ve.prototype;function Ue(e){return`Using the \`${e}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}n(r(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:Ue("offsetHeight")},offsetLeft:{readOnly:!0,error:Ue("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Ue("offsetTop")},offsetWidth:{readOnly:!0,error:Ue("offsetWidth")},role:{attribute:"role"}});let Ge,ze=null;function Ye(e,t){return e!==ze||t!==Ge}function Ke(e,t){ze=null,Ge=void 0}function qe(e,t){ze=e,Ge=t}const Xe=r(null);function Je(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n,Pe(e,t))}R.call(f(Z),(e=>{const t=X(je,e);B(t)||(Xe[e]=t)})),R.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=X(je,e);B(t)||(Xe[e]=t)}));const{isArray:Qe}=Array,{prototype:Ze,getPrototypeOf:et,create:tt,defineProperty:nt,isExtensible:rt,getOwnPropertyDescriptor:ot,getOwnPropertyNames:it,getOwnPropertySymbols:st,preventExtensions:lt,hasOwnProperty:ct}=Object,{push:at,concat:ut}=Array.prototype;function dt(e){return void 0===e}function ft(e){return"function"==typeof e}const ht=new WeakMap;function pt(e,t){ht.set(e,t)}const mt=e=>ht.get(e)||e;class gt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(ct.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;dt(n)||(e.get=this.wrapGetter(n)),dt(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=ot(n,t);if(!dt(r)){const n=this.wrapDescriptor(r);nt(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;ut.call(it(t),st(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;dt(n)||ct.call(e,n)||nt(e,n,tt(null)),lt(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=dt(n)||ct.call(t,n)?[]:[n];return at.apply(r,it(t)),at.apply(r,st(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!rt(e)&&(!!rt(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return et(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=ot(n,t);if(dt(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},nt(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const bt=new WeakMap,wt=new WeakMap,yt=new WeakMap,vt=new WeakMap;class Ct extends gt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=bt.get(e);if(!dt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(mt(this)))};return bt.set(e,r),yt.set(r,e),r}wrapSetter(e){const t=wt.get(e);if(!dt(t))return t;const n=function(t){e.call(mt(this),mt(t))};return wt.set(e,n),vt.set(n,e),n}unwrapDescriptor(e){if(ct.call(e,"value"))e.value=mt(e.value);else{const{set:t,get:n}=e;dt(n)||(e.get=this.unwrapGetter(n)),dt(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=yt.get(e);if(!dt(t))return t;const n=this,r=function(){return mt(e.call(n.wrapValue(this)))};return bt.set(r,e),yt.set(e,r),r}unwrapSetter(e){const t=vt.get(e);if(!dt(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return wt.set(r,e),vt.set(e,r),r}set(e,t,n){const{originalTarget:r,membrane:{valueMutated:o}}=this;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&Qe(r)&&o(r,t),!0}deleteProperty(e,t){const{originalTarget:n,membrane:{valueMutated:r}}=this;return delete n[t],r(n,t),!0}setPrototypeOf(e,t){}preventExtensions(e){if(rt(e)){const{originalTarget:t}=this;if(lt(t),rt(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!ct.call(r,t)||(nt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const Et=new WeakMap,Tt=new WeakMap;class kt extends gt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=Et.get(e);if(!dt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(mt(this)))};return Et.set(e,r),r}wrapSetter(e){const t=Tt.get(e);if(!dt(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 St(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(Qe(e))return!0;const t=et(e);return t===Ze||null===t||null===et(t)}const Mt=(e,t)=>{},At=(e,t)=>{};function Nt(e){return Qe(e)?[]:{}}const _t=Symbol.for("@@lockerLiveValue"),Lt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=ft(t)?t:At,this.valueObserved=ft(n)?n:Mt,this.valueIsObservable=ft(r)?r:St,this.tagPropertyKey=o}getProxy(e){const t=mt(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=mt(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return mt(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(dt(t)){const n=new Ct(this,e);t=new Proxy(Nt(e),n),pt(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(dt(t)){const n=new kt(this,e);t=new Proxy(Nt(e),n),pt(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:Oe,valueMutated:Le,tagPropertyKey:_t});function Ot(e){return Lt.getReadOnlyProxy(e)}function xt(e){return Lt.getProxy(e)}function Pt(e){e[_t]=void 0}function Rt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!U(n))throw new TypeError;if(!U(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const t=Wr(this);if(!wr(t))return Re(t,e),n.call(t.elm)},set(t){const n=Wr(this);return Je(n,e,t),r.call(n.elm,t)}}}const Dt=s(r(null)),$t=new WeakMap,It=function(){if(W(br))throw new TypeError("Illegal constructor");const e=br,{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 Pt(this),Br(o,e),Br(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,Br(s,e),s}It.prototype={constructor:It,dispatchEvent(e){const t=Wr(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=Wr(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,Mr(r,t),n)},removeEventListener(e,t,n){const r=Wr(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,Mr(r,t),n)},hasAttribute(e){const t=Wr(this),{elm:n,renderer:{getAttribute:r}}=t;return!W(r(n,e))},hasAttributeNS(e,t){const n=Wr(this),{elm:r,renderer:{getAttribute:o}}=n;return!W(o(r,t,e))},removeAttribute(e){const t=Wr(this),{elm:n,renderer:{removeAttribute:r}}=t;qe(n,e),r(n,e),Ke()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=Wr(this);qe(n,t),r(n,t,e),Ke()},getAttribute(e){const t=Wr(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=Wr(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=Wr(this),{elm:r,renderer:{setAttribute:o}}=n;qe(r,e),o(r,e,t),Ke()},setAttributeNS(e,t,n){const r=Wr(this),{elm:o,renderer:{setAttribute:i}}=r;qe(o,t),i(o,t,n,e),Ke()},getBoundingClientRect(){const e=Wr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=Wr(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=Wr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return Wr(this).shadowRoot},get refs(){const e=Wr(this);if(cr)return;const{refVNodes:t,hasRefVNodes:n,cmpTemplate:o}=e;if(!n)return;if(W(t))return Dt;let i=$t.get(t);if(B(i)){i=r(null);for(const e of f(t))i[e]=t[e].elm;s(i),$t.set(t,i)}return i},set refs(e){i(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=Wr(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=Wr(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=Wr(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=Wr(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=Wr(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=Wr(this);return e.renderer.getLastElementChild(e.elm)},render(){return Wr(this).def.template},toString(){return`[object ${Wr(this).def.name}]`}};const Ht=r(null),Bt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of Bt)Ht[e]={value(t){const n=Wr(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};o(It.prototype,Ht);const Wt=r(null);for(const e in Xe)Wt[e]=Rt(e,Xe[e]);function Vt(e){return{get(){const t=Wr(this);return Re(t,e),t.cmpFields[e]},set(t){Je(Wr(this),e,t)},enumerable:!0,configurable:!0}}o(It.prototype,Wt),i(It,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class jt extends xe{constructor(e,t){super((()=>{j(this.debouncing)&&(this.debouncing=!0,Te((()=>{if(V(this.debouncing)){const{value:n}=this,{isDirty:r,component:o,idx:i}=e;t.call(o,n),this.debouncing=!1,V(e.isDirty)&&j(r)&&i>0&&Dr(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function Ut(e){return{get(){const t=Wr(this);if(!wr(t))return Re(t,e),t.cmpProps[e]},set(t){const n=Wr(this);n.cmpProps[e]=t,Pe(n,e)},enumerable:!0,configurable:!0}}function Gt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!U(n))throw new Error;return{get(){return n.call(this)},set(t){const n=Wr(this);if(r)if(we.ENABLE_REACTIVE_SETTER){let o=n.oar[e];B(o)&&(o=n.oar[e]=function(e,t){return new jt(e,t)}(n,r)),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function zt(e){return{get(){const t=Wr(this);return Re(t,e),t.cmpFields[e]},set(t){const n=Wr(this),r=xt(t);Je(n,e,r)},enumerable:!0,configurable:!0}}function Yt(e){return{get(){const t=Wr(this);return Re(t,e),t.cmpFields[e]},set(t){Je(Wr(this),e,t)},enumerable:!0,configurable:!0}}const Kt=new Map;const qt={apiMethods:ve,apiFields:ve,apiFieldsConfig:ve,wiredMethods:ve,wiredFields:ve,observedFields:ve};const Xt=new Set;function Jt(){return[]}Xt.add(Jt);const Qt=r(null),Zt=r(null);function en(e){let t=Qt[e];return B(t)&&(t=Qt[e]=function(){const t=Wr(this),{getHook:n}=t;return n(t.component,e)}),t}function tn(e){let t=Zt[e];return B(t)&&(t=Zt[e]=function(t){const n=Wr(this),{setHook:r}=n;t=Ot(t),r(n.component,e,t)}),t}function nn(e){return function(){const t=Wr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,_.call(arguments))}}function rn(e,t){return function(n,r,o){if(r===o)return;const i=e[n];B(i)?B(t)||t.apply(this,arguments):Ye(this,n)&&(this[i]=o)}}function on(e,t,n){let s;U(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),i(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const l=r(null),{attributeChangedCallback:c}=e.prototype,{observedAttributes:a=[]}=e,u=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[ae(n)]=n,u[n]={get:en(n),set:tn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:nn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:rn(l,c)},i(s,"observedAttributes",{get:()=>[...a,...f(l)]}),o(s.prototype,u),s}const sn=on(Ve,c(Xe),[]);s(sn),h(sn.prototype);const ln=new WeakMap;function cn(e){const{shadowSupportMode:t,renderMode:i}=e,s=function(e){const t=Kt.get(e);return B(t)?qt:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:b,renderedCallback:w,errorCallback:y,render:v}=m;const C=function(e){let t=a(e);if(W(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(We(t)){const e=Be(t);t=e===t?It:e}return t}(e),E=C!==It?un(C):dn,T=on(E.bridge,f(l),f(u)),k=n(r(null),E.props,l),S=n(r(null),E.propsConfig,c),M=n(r(null),E.methods,u),A=n(r(null),E.wire,d,h);g=g||E.connectedCallback,b=b||E.disconnectedCallback,w=w||E.renderedCallback,y=y||E.errorCallback,v=v||E.render;let N=E.shadowSupportMode;B(t)||(N=t);let _=E.renderMode;B(i)||(_="light"===i?0:1);const L=function(e){return Cr.get(e)}(e)||E.template,O=e.name||E.name;o(m,p);return{ctor:e,name:O,wire:A,props:k,propsConfig:S,methods:M,bridge:T,template:L,renderMode:_,shadowSupportMode:N,connectedCallback:g,disconnectedCallback:b,renderedCallback:w,errorCallback:y,render:v}}function an(e){if(!U(e))return!1;if(e.prototype instanceof It)return!0;let t=e;do{if(We(t)){const e=Be(t);if(e===t)return!0;t=e}if(t===It)return!0}while(!W(t)&&(t=a(t)));return!1}function un(e){let t=ln.get(e);if(B(t)){if(We(e)){return t=un(Be(e)),ln.set(e,t),t}if(!an(e))throw new TypeError(`${e} is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.`);t=cn(e),ln.set(e,t)}return t}const dn={ctor:It,name:It.name,props:Wt,propsConfig:ve,methods:ve,renderMode:1,shadowSupportMode:"reset",wire:ve,bridge:sn,template:Jt,render:It.prototype.render};function fn(e){return`${e}-host`}function hn(e){return er.h("style",{key:"style",attrs:{type:"text/css"}},[er.t(e)])}function pn(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(m(s))S.apply(r,pn(s,t,n));else{const e=s.$scoped$;if(we.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){He("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}const i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let c;1===n.renderMode?c=0===n.shadowMode:(B(o)&&(o=gn(n)),c=W(o)||0===o.shadowMode),S.call(r,s(i,l,c))}}return r}function mn(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return B(n)||0===n.length||(o=pn(n,r,e)),o}function gn(e){let t=e;for(;!W(t);){if(1===t.renderMode)return t;t=t.owner}return t}function bn(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}function wn(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1===n&&1===r)for(let e=0;e<t.length;e++)o(t[e]);else{if(e.hydrated)return T.call(t,hn);{const n=function(e){const t=gn(e);return W(t)||1!==t.shadowMode?t:null}(e),r=W(n)?void 0:n.shadowRoot;for(let e=0;e<t.length;e++)o(t[e],r)}}return null}function yn(e){const{type:t}=e;return 2===t||3===t}function vn(e,t){return e.key===t.key&&e.sel===t.sel}function Cn(e){return 5===e.type}function En(e){return 6===e.type}function Tn(e,t){return"input"===e&&("value"===t||"checked"===t)}function kn(e,t,r){let{props:o}=t.data;const{spread:i}=t.data;if(B(o)&&B(i))return;let s;if(!W(e)){s=e.data.props;const t=e.data.spread;if(s===o&&t===i)return;B(s)&&(s=ve),B(t)||(s=n({},s,t))}B(i)||(o=n({},o,i));const l=W(e),{elm:c,sel:a}=t,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(Tn(a,e)?u(c,e):s[e])&&e in s||d(c,e,t)}}const Sn=r(null);function Mn(e){if(null==e)return ve;e=z(e)?e:e+"";let t=Sn[e];if(t)return t;t=r(null);let n,o=0;const i=e.length;for(n=0;n<i;n++)32===$.call(e,n)&&(n>o&&(t[F.call(e,o,n)]=!0),o=n+1);return n>o&&(t[F.call(e,o,n)]=!0),Sn[e]=t,t}function An(e,t){const{elm:n,data:{on:r}}=e;if(B(r))return;const{addEventListener:o}=t;for(const e in r){o(n,e,r[e])}}function Nn(e,t,n,r){var o;o=t,Un.has(o)?zn(e,t,n,r):Yn(e,t,n,r)}function _n(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&&In(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?Yn(e.children,o,n,r):zn(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;Bn(e,t,n),Nn(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);Pn(e,n,r,!0),On(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;Bn(e,t,r),B(o)||Vn(t,o),Nn(e.children,t.children,n,r),B(o)||Dr(o)}}(e,t,n,null!==(i=t.data.renderer)&&void 0!==i?i:r)}}function Ln(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);$n(s,o,r),Fn(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);$n(s,o,r),Fn(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);$n(l,o,r);const{renderMode:c,shadowMode:a}=o;s&&(1!==a&&0!==c||(l.$shadowStaticNode$=!0));Fn(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;xn(o,t,r,n),e.elm=o[o.length-1].elm}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:i,data:{svg:s}}=e,{createElement:l}=r,c=V(s)?ne:void 0,a=e.elm=l(o,c);$n(a,i,r),Wn(a,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)}(a,e),Bn(null,e,r),Fn(a,t,n,r),xn(e.children,a,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:On(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function On(e,t,n,r){const{sel:o,owner:i}=e,{createCustomElement:s}=r;let l;let c,a;we.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(c=e=>{$r(e)},a=e=>{Ir(e)});const u=s(o.toLowerCase(),(t=>{l=function(e,t,n){let r=Vr(e);if(!B(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;return r=Hr(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}),c,a);e.elm=u,e.vm=l,$n(u,i,r),Wn(u,i,r),l&&Vn(e,l),Bn(null,e,r),Fn(u,t,n,r),l&&(we.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||Yr(l)),xn(e.children,u,r,null),l&&function(e){jr(e)}(l)}function xn(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];Dn(i)&&Ln(i,t,n,r)}}function Pn(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&(5===o?Rn(e.children,t,n,r):Hn(i,t,n)),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;Rn(e.children,i,n,t);break}case 3:{const{vm:t}=e;B(t)||function(e){Fr(e)}(t)}}}function Rn(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];Dn(i)&&Pn(i,t,n,r)}}function Dn(e){return null!=e}function $n(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function In(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function Fn(e,t,n,r){r.insert(e,t,n)}function Hn(e,t,n){n.remove(e,t)}function Bn(e,t,n){W(e)&&(An(t,n),function(e,t){const{elm:n,data:{classMap:r}}=e;if(B(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(B(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=W(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),c=Mn(o),a=Mn(i);let u;for(u in a)B(c[u])&&l.remove(u);for(u in c)B(a[u])&&l.add(u)}(e,t,n),function(e,t,n){const{elm:r,data:{style:o}}=t;if((W(e)?void 0:e.data.style)===o)return;const{setAttribute:i,removeAttribute:s}=n;z(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,t,n),t.data.external?function(e,t,n){const{data:{attrs:r},elm:o}=t;if(B(r))return;const{removeAttribute:i,setAttribute:s,setProperty:l}=n,c=W(e)?ve:e.data.attrs;for(const e in r){const t=r[e];c[e]!==t&&(ue(e)in o?l(o,e,t):58===$.call(e,3)?s(o,e,t,te):58===$.call(e,5)?s(o,e,t,re):W(t)||B(t)?i(o,e):s(o,e,t))}}(e,t,n):function(e,t,n){const{attrs:r}=t.data;if(B(r))return;const o=W(e)?ve: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&&(qe(i,e),58===$.call(e,3)?s(i,e,t,te):58===$.call(e,5)?s(i,e,t,re):W(t)||B(t)?l(i,e):s(i,e,t),Ke())}}(e,t,n),kn(e,t,n)}function Wn(e,t,n){const r=bn(t);if(!W(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||B(o)||(e.$shadowToken$=o)}function Vn(e,t){const n=e.aChildren||e.children;t.aChildren=n;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t,n){const{cmpSlots:{slotAssignments:o}}=e,i=r(null);if(jn(e,t,i),e.cmpSlots={owner:n,slotAssignments:i},j(e.isDirty)){const t=f(o);if(t.length!==f(i).length)return void kr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(B(i[r])||o[r].length!==i[r].length)return void kr(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 kr(e)}}}(t,n,e.owner),e.aChildren=n,e.children=Ce)}function jn(e,t,n){var r,o;for(let i=0,s=t.length;i<s;i+=1){const s=t[i];if(W(s))continue;if(Cn(s)){jn(e,s.children.slice(1,-1),n);continue}let l="";yn(s)?l=null!==(o=null===(r=s.data.attrs)||void 0===r?void 0:r.slot)&&void 0!==o?o:"":En(s)&&(l=s.slotName);const c=n[l]=n[l]||[];S.call(c,s)}}const Un=new WeakMap;function Gn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(Dn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function zn(e,t,n,r){let o=0,i=0,s=e.length-1,l=e[0],c=e[s];const a=t.length-1;let u,d,f,h,p=a,m=t[0],g=t[p],b=!1;for(;o<=s&&i<=p;)Dn(l)?Dn(c)?Dn(m)?Dn(g)?vn(l,m)?(_n(l,m,n,r),l=e[++o],m=t[++i]):vn(c,g)?(_n(c,g,n,r),c=e[--s],g=t[--p]):vn(l,g)?(_n(l,g,n,r),Fn(l.elm,n,r.nextSibling(c.elm),r),l=e[++o],g=t[--p]):vn(c,m)?(_n(c,m,n,r),Fn(m.elm,n,l.elm,r),c=e[--s],m=t[++i]):(void 0===u&&(u=Gn(e,o,s)),d=u[m.key],B(d)?(Ln(m,n,r,l.elm),m=t[++i]):(f=e[d],Dn(f)&&(f.sel!==m.sel?Ln(m,n,r,l.elm):(_n(f,m,n,r),b||(b=!0,e=[...e]),e[d]=void 0,Fn(f.elm,n,l.elm,r))),m=t[++i])):g=t[--p]:m=t[++i]:c=e[--s]:l=e[++o];if(o<=s||i<=p)if(o>s){let e,o=p;do{e=t[++o]}while(!Dn(e)&&o<a);h=Dn(e)?e.elm:null,xn(t,n,r,h,i,p+1)}else Rn(e,n,r,!0,o,s+1)}function Yn(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void xn(t,n,r,null);if(0===i)return void Rn(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&&(Dn(i)?Dn(l)?(_n(i,l,n,r),s=l.elm):Pn(i,n,r,!0):Dn(l)&&(Ln(l,n,r,s),s=l.elm))}}const Kn=Symbol.iterator;function qn(e,t,n=Ce){const r=ur(),{key:o,ref:i}=t,s={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return B(i)||Ae(r,i,s),s}function Xn(e,t,n,r=Ce){const o=ur(),{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){S.call(ur().velements,e)}(l),B(s)||Ae(o,s,l),l}function Jn(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:ur()}}function Qn(e){var t;return t=e,Un.set(t,1),e}let Zn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const er=s({s:function(e,t,n,r){if(!B(r)&&!B(r.slotAssignments)&&!B(r.slotAssignments[e])&&0!==r.slotAssignments[e].length){const o=[],i=r.slotAssignments[e];for(let e=0;e<i.length;e++){const n=i[e];if(!W(n)){const e=En(n);if(e!==!B(t.slotData))continue;if(e){const e=ur();dr(r.owner);try{S.apply(o,n.factory(t.slotData))}finally{dr(e)}}else S.call(o,n)}}n=o}const o=ur(),{renderMode:i,shadowMode:s}=o;return 0===i?(Qn(n),n):(1===s&&Qn(n),qn("slot",t,n))},h:qn,c:Xn,i:function(e,t){const n=[];if(Qn(n),B(e)||null===e)return n;const r=e[Kn]();let o=r.next(),i=0,{value:s,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(s,i,0===i,!0===l);m(e)?S.apply(n,e):S.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];Qn(n);for(let r=0;r<t;r+=1){const t=e[r];m(t)?S.apply(n,t):S.call(n,t)}return n},t:Jn,d:function(e){return null==e?"":String(e)},b:function(e){const t=ur();if(W(t))throw new Error;const n=t;return function(t){vr(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:ur()}},dc:function(e,t,n,r=Ce){if(null==t)return null;if(!an(t))throw new Error(`Invalid LWC Constructor ${q(t)} for custom element <${e}>.`);return Xn(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[Jn(""),...t,Jn("")],stable:n,owner:ur()}},ti:function(e){return e>0&&!(V(e)||j(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:ur()}},gid:function(e){const t=ur();if(B(e)||""===e)return e;if(W(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?I.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=ur();if(B(e)||""===e)return e;if(W(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return Zn(e)},ssf:function(e,t){return{type:6,factory:t,owner:ur(),elm:void 0,sel:void 0,key:void 0,slotName:e}}});let tr=!1,nr=Y;const rr={enableProfiler(){tr=!0},disableProfiler(){tr=!1},attachDispatcher(e){nr=e,this.enableProfiler()},detachDispatcher(){const e=nr;return nr=Y,this.disableProfiler(),e}};function or(e,t){tr&&nr(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function ir(e,t){tr&&nr(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function sr(e,t){tr&&nr(e,0,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}function lr(e,t){tr&&nr(e,1,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}let cr=!1,ar=null;function ur(){return ar}function dr(e){ar=e}function fr(e){return(t,...n)=>{const o=r(null);return function(){const{context:{hasScopedStyles:r,stylesheetToken:i},shadowMode:s,renderer:l}=ur(),c=!B(i),a=1===s;let u=0;if(c&&r&&(u|=1),c&&a&&(u|=2),!B(o[u]))return o[u];const d=r&&c?" "+i:"",f=r&&c?` class="${i}"`:"",h=c&&a?" "+i:"";let p="";for(let e=0,r=n.length;e<r;e++)switch(n[e]){case 0:p+=t[e]+d;break;case 1:p+=t[e]+f;break;case 2:p+=t[e]+h;break;case 3:p+=t[e]+f+h}return p+=t[t.length-1],o[u]=e(p,l),o[u]}}}const hr=fr(((e,t)=>{const{createFragment:n}=t;return n(e)})),pr=fr(((e,t)=>{const{createFragment:n,getFirstChild:r}=t;return r(n("<svg>"+e+"</svg>"))}));function mr(e,t){const n=cr,o=ar;let i=[];return Qr(e,e.owner,(()=>{ar=e,or(1,e)}),(()=>{const{component:n,context:o,cmpSlots:s,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(W(l)||Jr(e),c=t,!Xt.has(c))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${q(t)}.`);e.cmpTemplate=t,o.tplCache=r(null),o.hasScopedStyles=gr(t),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i,renderer:{getClassList:s,removeAttribute:l,setAttribute:c}}=e,{stylesheets:a,stylesheetToken:u}=t,d=1===o&&1===i,{hasScopedStyles:f}=r;let h,p,m;const{stylesheetToken:g,hasTokenInClass:b,hasTokenInAttribute:w}=r;B(g)||(b&&s(n).remove(fn(g)),w&&l(n,fn(g))),B(a)||0===a.length||(h=u),B(h)||(f&&(s(n).add(fn(h)),p=!0),d&&(c(n,fn(h),""),m=!0)),r.stylesheetToken=h,r.hasTokenInClass=p,r.hasTokenInAttribute=m}(e,t);const n=mn(e,t);o.styleVNodes=0===n.length?null:wn(e,n)}var c;const a=Boolean(t.hasRefs);e.hasRefVNodes=a,e.refVNodes=a?r(null):null,e.velements=[],cr=!0,i=t.call(void 0,er,n,s,o.tplCache);const{styleVNodes:u}=o;W(u)||P.apply(i,u)}))}),(()=>{cr=n,ar=o,ir(1,e)})),i}function gr(e){const{stylesheets:t}=e;if(!B(t))for(let e=0;e<t.length;e++)if(V(t[e].$scoped$))return!0;return!1}let br=null;function wr(e){return br===e}function yr(e,t,n){const{component:r,callHook:o,owner:i}=e;Qr(e,i,Y,(()=>{o(r,t,n)}),Y)}function vr(e,t,n,r){const{callHook:o,owner:i}=e;Qr(e,i,Y,(()=>{o(n,t,[r])}),Y)}const Cr=new Map;function Er(e){return De((()=>{const{isDirty:t}=e;j(t)&&(kr(e),function(e){if(V(e.isScheduled))return;e.isScheduled=!0,0===Gr.length&&Te(zr);S.call(Gr,e)}(e))}))}function Tr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=ur();let s,l=!1;return Qr(e,o,(()=>{dr(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{dr(i)})),l?mr(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function kr(e){e.isDirty=!0}const Sr=new WeakMap;function Mr(e,t){if(!U(t))throw new TypeError;let n=Sr.get(t);return B(n)&&(n=function(n){vr(e,t,void 0,n)},Sr.set(t,n)),n}const Ar=r(null),Nr=["rendered","connected","disconnected"];function _r(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 Lr=0;const Or=new WeakMap;function xr(e,t,n=[]){return t.apply(e,n)}function Pr(e,t,n){e[t]=n}function Rr(e,t){return e[t]}function Dr(e){jr(e)}function $r(e){const t=Wr(e);sr(7,t),1===t.state&&Ir(e),Yr(t),jr(t),lr(7,t)}function Ir(e){Fr(Wr(e))}function Fr(e){const{state:t}=e;if(2!==t){const{oar:t,tro:n}=e;n.reset();for(const e in t)t[e].reset();!function(e){j(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=Ar;t&&_r(e,t);Kr(e)&&function(e){const{wiredDisconnecting:t}=e.context;Qr(e,e,Y,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),Y)}(e);const{disconnectedCallback:n}=e.def;B(n)||(or(5,e),yr(e,n),ir(5,e))}(e),qr(e),function(e){const{aChildren:t}=e;Xr(t)}(e)}}function Hr(e,t,n,o){const{mode:i,owner:s,tagName:l,hydrated:c}=o,a=un(t),u={elm:e,def:a,idx:Lr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,refVNodes:null,hasRefVNodes:!1,children:Ce,aChildren:Ce,velements:Ce,cmpProps:r(null),cmpFields:r(null),cmpSlots:{slotAssignments:r(null)},oar:r(null),cmpTemplate:null,hydrated:Boolean(c),renderMode:a.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:ve,wiredConnecting:Ce,wiredDisconnecting:Ce},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:xr,setHook:Pr,getHook:Rr,renderer:n};return u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let i;if(r)if(0===n.renderMode)i=0;else if(o)if(we.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!W(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=W(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,n),u.tro=Er(u),function(e,t){const n=br;let r;or(0,e),br=e;try{const o=new t;if(br.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(ir(0,e),br=n,!B(r))throw Ie(e,r),r}}(u,a.ctor),Kr(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=Zr.get(i);if(!B(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=to(e,t,s),c=s.dynamic.length>0;S.call(r,(()=>{n.connect(),we.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),S.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function Br(e,t){Or.set(e,t)}function Wr(e){return Or.get(e)}function Vr(e){return Or.get(e)}function jr(e){if(V(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&Qr(e,e,(()=>{or(2,e)}),(()=>{Nn(r,t,n,o)}),(()=>{ir(2,e)}));1===e.state&&Ur(e)}(e,Tr(e))}}function Ur(e){const{def:{renderedCallback:t}}=e,{rendered:n}=Ar;n&&_r(e,n),B(t)||(or(4,e),yr(e,t),ir(4,e))}let Gr=[];function zr(){sr(8);const e=Gr.sort(((e,t)=>e.idx-t.idx));Gr=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{jr(r)}catch(r){throw t+1<n&&(0===Gr.length&&Te(zr),P.apply(Gr,_.call(e,t+1))),lr(8),r}}lr(8)}function Yr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Ar;n&&_r(e,n),Kr(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;B(r)||(or(3,e),yr(e,r),ir(3,e))}function Kr(e){return c(e.def.wire).length>0}function qr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!B(n)){const e=Vr(n);B(e)||Fr(e)}}}function Xr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!W(n)&&!B(n.elm))switch(n.type){case 2:Xr(n.children);break;case 3:Fr(Wr(n.elm));break}}}function Jr(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];W(o)||B(o.elm)||r(o.elm,n)}e.children=Ce,qr(e),e.velements=Ce}function Qr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!B(i)){Ie(e,i);const n=W(t)?void 0:function(e){let t=e;for(;!W(t);){if(!B(t.def.errorCallback))return t;t=t.owner}}(t);if(B(n))throw i;Jr(e),or(6,e);yr(n,n.def.errorCallback,[i,i.wcStack]),ir(6,e)}}}const Zr=new Map;class eo extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),o(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function to(e,t,n){const{method:r,adapter:o,configCallback:s,dynamic:l}=n;const c=B(r)?function(e,t){return n=>{Je(e,t,n)}}(e,t):function(e,t){return n=>{Qr(e,e.owner,Y,(()=>{t.call(e.component,n)}),Y)}}(e,r),a=e=>{c(e)};let u,d;i(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),i(a,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),Qr(e,e,Y,(()=>{d=new o(a)}),Y);const{computeConfigAndUpdate:f,ro:h}=function(e,t,n){let r=!1;const o=De((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),i()})))})),i=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:i,ro:o}}(e.component,s,(t=>{Qr(e,e,Y,(()=>{d.update(t,u)}),Y)}));return B(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=ro(r);if(B(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{dispatchEvent:c}}=e;S.call(s,(()=>{const e=new eo(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){S.call(l,e)}});c(i,e)}))}(e,n,(t=>{u!==t&&(u=t,1===e.state&&f())})),{connector:d,computeConfigAndUpdate:f,resetConfigWatcher:()=>h.reset()}}const no=new Map;function ro(e){return no.get(e)}function oo(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Zr.set(e,o)}function io(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Zr.set(e,o)}let so=!1;function lo(e){const t=Tr(e);e.children=t;const{renderRoot:n,renderer:{getFirstChild:r}}=e;uo(r(n),t,n,e),Ur(e)}function co(e,t,n){var r,o;let i;switch(t.type){case 0:i=function(e,t,n){var r;if(!po(t,e,3,n))return fo(e,t,n);const{setText:o}=n;return o(e,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 1:i=function(e,t,n){var r;if(!po(t,e,8,n))return fo(e,t,n);const{setProperty:o}=n;return o(e,ao,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 4:i=function(e,t,n){if(!function(e,t,n,r){const{getProperty:o,getAttribute:i}=r;if(3===o(e,"nodeType"))return!!po(n,t,3,r)&&o(e,ao)===o(t,ao);if(8===o(e,"nodeType"))return!!po(n,t,8,r)&&o(e,ao)===o(t,ao);if(!po(n,t,1,r))return!1;let s=!0;if(o(e,"tagName")!==o(t,"tagName"))return!1;return o(e,"getAttributeNames").call(e).forEach((r=>{i(e,r)!==i(t,r)&&(He(`Mismatch hydrating element <${o(e,"tagName").toLowerCase()}>: attribute "${r}" has different values, expected "${i(e,r)}" but found "${i(t,r)}"`,n.owner),s=!1)})),s}(t.fragment,e,t,n))return fo(e,t,n);return t.elm=e,e}(e,t,n);break;case 5:i=function(e,t,n){const{children:r,owner:o}=t;return uo(e,r,n.getProperty(e,"parentNode"),o),t.elm=r[r.length-1].elm}(e,t,n);break;case 2:i=function(e,t,n){if(!po(t,e,1,n)||!mo(t,e,n))return fo(e,t,n);t.elm=e;const{owner:r}=t,{context:o}=t.data,i=Boolean(!B(o)&&!B(o.lwc)&&"manual"===o.lwc.dom);if(i){const{data:{props:r}}=t,{getProperty:o}=n;B(r)||B(r.innerHTML)||o(e,"innerHTML")===r.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:Me(r,"innerHTML")}))}if(ho(t,n),!i){const{getFirstChild:o}=n;uo(o(e),t.children,e,r)}return e}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:i=function(e,t,n){if(!po(t,e,1,n)||!mo(t,e,n))return fo(e,t,n);const{sel:r,mode:o,ctor:i,owner:s}=t,l=Hr(e,i,n,{mode:o,owner:s,tagName:r,hydrated:!0});if(t.elm=e,t.vm=l,Vn(t,l),ho(t,n),Yr(l),0!==l.renderMode){const{getFirstChild:r}=n;uo(r(e),t.children,e,l)}return lo(l),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(i)}const ao="nodeValue";function uo(e,t,n,r){let o=e,i=null;const{renderer:s}=r;for(let e=0;e<t.length;e++){const r=t[e];W(r)||(o?(o=co(o,r,s),i=r.elm):(so=!0,Ln(r,n,s,i),i=r.elm))}if(o){so=!0;const{nextSibling:e}=s;do{const t=o;o=e(o),Hn(t,n,s)}while(o)}}function fo(e,t,n){so=!0;const{getProperty:r}=n,o=r(e,"parentNode");return Ln(t,o,n,e),Hn(e,o,n),t.elm}function ho(e,t){An(e,t),kn(null,e,t)}function po(e,t,n,r){const{getProperty:o}=r;return o(t,"nodeType")===n}function mo(e,t,n){const{getProperty:r}=n;if(e.sel.toLowerCase()!==r(t,"tagName").toLowerCase())return!1;const o=function(e,t,n){const{data:{attrs:r={}}}=e;let o=!0;for(const[e,i]of Object.entries(r)){const{getAttribute:r}=n,s=r(t,e);String(i)!==s&&(o=!1)}return o}(e,t,n),i=function(e,t,n){const{data:r,owner:o}=e;let{className:i,classMap:s}=r;const{getProperty:l,getClassList:c}=n,a=bn(o),u=function(e){return 3===e.type}(e)?function(e){const{template:t}=un(e.ctor),{stylesheetToken:n}=t;return!B(n)&&gr(t)?fn(n):null}(e):null;if(!W(a)||!W(u))if(B(i))if(B(s)){const e=[a,u],t=y.call(e,(e=>!W(e)));t.length&&(i=E.call(t," "))}else s=Object.assign(Object.assign(Object.assign({},s),W(a)?{}:{[a]:!0}),W(u)?{}:{[u]:!0});else{const e=[a,i,u],t=y.call(e,(e=>!W(e)));i=E.call(t," ")}let d=!0;const h=l(t,"className");if(B(i)||String(i)===h)if(B(s))B(i)&&""!==h&&(d=!1);else{const e=c(t);let n="";for(const t in s)n+=" "+t,e.contains(t)||(d=!1);n.trim(),e.length>f(s).length&&(d=!1)}else d=!1;return d}(e,t,n),s=function(e,t,n){const{data:{style:r,styleDecls:o}}=e,{getAttribute:i}=n,s=i(t,"style")||"";let l=!0;if(B(r)||r===s){if(!B(o)){const e=function(e){const t={},n=e.split(ke);for(const e of n)if(e){const[n,r]=e.split(Se);void 0!==n&&void 0!==r&&(t[n.trim()]=r.trim())}return t}(s),t=[];for(let n=0,r=o.length;n<r;n++){const[r,i,s]=o[n];t.push(`${r}: ${i+(s?" important!":"")}`);const c=e[r];B(c)?l=!1:c.startsWith(i)?s&&!c.endsWith("!important")&&(l=!1):l=!1}f(e).length>o.length&&(l=!1),E.call(t,";")}}else l=!1;return l}(e,t,n);return o&&i&&s}let go=!1;const bo=U(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),wo=bo&&l(document.adoptedStyleSheets,"length").writable,yo=!B(document.documentMode),vo=new Map;function Co(e){const t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function Eo(e,t,n){const r=function(e,t){const{element:n,usedElement:r}=t;return r?yo?Co(e):n.cloneNode(!0):(t.usedElement=!0,n)}(e,n);t.appendChild(r)}function To(e,t){let n=vo.get(e);return B(n)&&(n={stylesheet:void 0,element:void 0,roots:void 0,global:!1,usedElement:!1},vo.set(e,n)),t&&B(n.stylesheet)?n.stylesheet=function(e){const t=new CSSStyleSheet;return t.replaceSync(e),t}(e):!t&&B(n.element)&&(n.element=Co(e)),n}function ko(e,t){const n=To(e,bo);let{roots:r}=n;if(B(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),bo?function(e,t,n){const{adoptedStyleSheets:r}=t,{stylesheet:o}=n;wo?r.push(o):t.adoptedStyleSheets=[...r,o]}(0,t,n):Eo(e,t,n)}const So=function(){if("undefined"==typeof customElements)return!1;try{const e=HTMLElement;class t extends e{}return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),t),new t,!0}catch(e){return!1}}(),Mo=(e,t)=>{const n=document.createElement(e);return t(n),n},Ao=new Map,No=new WeakSet;let _o=!1;const Lo=(e,t)=>{const n=!B(e),r=!B(t);class o extends HTMLElement{constructor(e){super(),_o?e(this):(n||r)&&No.add(this)}}return n&&(o.prototype.connectedCallback=function(){No.has(this)||e(this)}),r&&(o.prototype.disconnectedCallback=function(){No.has(this)||t(this)}),o},Oo=(e,t,n,r)=>{let o=Ao.get(e);if(B(o)){if(!B(customElements.get(e)))throw new Error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`);o=Lo(n,r),customElements.define(e,o),Ao.set(e,o)}_o=!0;try{return new o(t)}finally{_o=!1}};let xo,Po;we.ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY&&So&&(xo=function(){if(!So)throw new Error("Custom elements are not supported in this environment.");const{HTMLElement:e}=window,{hasAttribute:t,setAttribute:n,removeAttribute:r,getAttribute:i}=e.prototype,s=new WeakMap,l=new WeakMap,c=new WeakMap,a=new WeakSet,u=new WeakSet,d=new Map,f=new Map,h=new Map,m=new Map,g=new Map,b=new Set;function w(t,n){class r extends e{constructor(e){super();const r=!B(e);if(r){if(!T(e))throw new TypeError("Failed to create custom element: the provided constructor is not a constructor.");if(!a.has(e))throw new Error(`Failed to create custom element: the provided constructor is unregistered: ${e.name}.`)}const o=r?k(e):f.get(t);B(o)?l.set(this,n):E(this,n,o)}connectedCallback(){var e;const n=s.get(this);if(B(n)){let e=m.get(t);B(e)&&m.set(t,e=new Set),e.add(this)}else null===(e=n.connectedCallback)||void 0===e||e.call(this)}disconnectedCallback(){var e;const n=s.get(this);if(B(n)){const e=m.get(t);B(e)||e.delete(this)}else null===(e=n.disconnectedCallback)||void 0===e||e.call(this)}formAssociatedCallback(e){var t;const n=s.get(this);null===(t=null==n?void 0:n.formAssociatedCallback)||void 0===t||t.call(this,e)}formDisabledCallback(e){var t;const n=s.get(this);null===(t=null==n?void 0:n.formDisabledCallback)||void 0===t||t.call(this,e)}formResetCallback(){var e;const t=s.get(this);null===(e=null==t?void 0:t.formResetCallback)||void 0===e||e.call(this)}formStateRestoreCallback(e,t){var n;const r=s.get(this);null===(n=null==r?void 0:r.formStateRestoreCallback)||void 0===n||n.call(this,e,t)}adoptedCallback(){var e;const t=s.get(this);null===(e=null==t?void 0:t.adoptedCallback)||void 0===e||e.call(this)}attributeChangedCallback(e,t,r){var o;const i=s.get(this);(n===i||(null==i?void 0:i.observedAttributes.has(e)))&&(null===(o=i.attributeChangedCallback)||void 0===o||o.apply(this,[e,t,r]))}}return r.observedAttributes=[...n.observedAttributes],r.formAssociated=n.formAssociated,u.add(r),r}function y(e,t){const{observedAttributes:n,attributeChangedCallback:r}=t;return 0===n.size||B(r)?b:new Set([...t.observedAttributes].filter((t=>!e.observedAttributes.has(t))))}function v(e){setTimeout((()=>{throw e}))}let C;function E(e,l,c){p(e,c.UserCtor.prototype),s.set(e,c),c!==l&&function(e,t,s){const l=y(t,s);if(0===l.size)return;const{attributeChangedCallback:c}=s;o(e,{setAttribute:{value:function(e,t){if(l.has(e)){const r=i.call(this,e);n.call(this,e,t);try{c.call(this,e,r,t+"")}catch(e){v(e)}}else n.call(this,e,t)},writable:!0,enumerable:!0,configurable:!0},removeAttribute:{value:function(e){if(l.has(e)){const t=i.call(this,e);r.call(this,e);try{c.call(this,e,t,null)}catch(e){v(e)}}else r.call(this,e)},writable:!0,enumerable:!0,configurable:!0}})}(e,l,c),C=e,new c.UserCtor,function(e,n,r){const o=y(n,r);if(0===y(n,r).size)return;const{attributeChangedCallback:s}=r;o.forEach((n=>{if(t.call(e,n)){const t=i.call(e,n);s.call(e,n,null,t)}}))}(e,l,c)}function T(e){return U(e)&&G(e.prototype)}function k(e){if(!T(e))throw new TypeError("The referenced constructor is not a constructor.");const t=c.get(e);return B(t)?function(e){var t;const{connectedCallback:n,disconnectedCallback:r,formAssociatedCallback:o,formDisabledCallback:i,formResetCallback:s,formStateRestoreCallback:l,adoptedCallback:c,attributeChangedCallback:a}=e.prototype,u=Boolean(e.formAssociated);return{UserCtor:e,PivotCtor:void 0,connectedCallback:n,disconnectedCallback:r,formAssociatedCallback:o,formDisabledCallback:i,formResetCallback:s,formStateRestoreCallback:l,adoptedCallback:c,attributeChangedCallback:a,observedAttributes:new Set(null!==(t=e.observedAttributes)&&void 0!==t?t:[]),formAssociated:u}}(e):t}const{customElements:S}=window,{define:M,whenDefined:A,get:N}=S;return CustomElementRegistry.prototype.define=function(e,t,n){if(n&&n.extends)throw new DOMException('NotSupportedError: "extends" key in customElements.define() options is not supported.');if(f.has(e))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${e}" has already been used with this registry`);if(!B(h.get(t)))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const r=k(t);a.add(t);let o=d.get(e);B(o)&&(o=w(e,r),M.call(S,e,o)),c.set(t,r),d.set(e,o),f.set(e,r),h.set(t,r),r.PivotCtor=o;const i=m.get(e);if(!B(i)){m.delete(e);for(const e of i){const t=l.get(e);B(t)||(l.delete(e),E(e,t,r))}}!function(e,t){const n=g.get(e);if(!B(n))for(const e of n)e(t);g.delete(e)}(e,t)},CustomElementRegistry.prototype.get=function(e){const t=N.call(S,e);if(!B(t)){const n=f.get(e);if(!B(n))return n.UserCtor;if(u.has(t))return;return t}},CustomElementRegistry.prototype.whenDefined=function(e){return A.call(S,e).then((t=>{const n=f.get(e);return B(n)?(B(t)&&(t=N.call(S,e)),u.has(t)?function(e){return new Promise((t=>{let n=g.get(e);B(n)&&(n=[],g.set(e,n)),n.push(t)}))}(e):t):n.UserCtor}))},window.HTMLElement=function(){const e=C;if(!B(e))return C=void 0,e;const{constructor:t}=this,n=h.get(t);if(B(n)||B(n.PivotCtor))throw new TypeError("Illegal constructor");const{PivotCtor:r,UserCtor:o}=n;return new r(o)},HTMLElement.prototype=e.prototype,function(e,t){e=H.call(e);let n=d.get(e);if(B(n)){const r=k(t);n=w(e,r),M.call(S,e,n),r.PivotCtor=n,c.set(t,r),d.set(e,n)}return a.add(t),n}}(),Po=window.HTMLElement);const Ro=(e,t,n,r)=>class extends e{constructor(){super(),t(this)}connectedCallback(){B(n)||n(this)}disconnectedCallback(){B(r)||r(this)}};let Do;function $o(e){const t=function(e){var t=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});function n(e){return void 0===e}e.createFragment=void 0;if("function"==typeof HTMLTemplateElement)e.createFragment=function(e){const t=document.createElement("template");return t.innerHTML=e,t.content.firstChild};else{const t={caption:["table"],col:["colgroup","table"],colgroup:["table"],option:["select"],tbody:["table"],td:["tr","tbody","table"],th:["tr","tbody","table"],thead:["table"],tfoot:["table"],tr:["tbody","table"]},r=function(e){return(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(e)||["",""])[1].toLowerCase()};e.createFragment=function(e){const o=t[r(e)];if(!n(o))for(const t of o)e=`<${t}>${e}</${t}>`;const i=document.implementation.createHTMLDocument("");i.body.innerHTML=e;let s=i.body;if(!n(o))for(let e=0;e<o.length;e++)s=s.firstChild;return s.firstChild}}return e.addEventListener=function(e,t,n,r){e.addEventListener(t,n,r)},e.assertInstanceOfHTMLElement=function(e,n){t.invariant(e instanceof HTMLElement,n)},e.attachShadow=function(e,t){return null!==e.shadowRoot?e.shadowRoot:e.attachShadow(t)},e.cloneNode=function(e,t){return e.cloneNode(t)},e.createComment=function(e){return document.createComment(e)},e.createElement=function(e,t){return n(t)?document.createElement(e):document.createElementNS(t,e)},e.createText=function(e){return document.createTextNode(e)},e.dispatchEvent=function(e,t){return e.dispatchEvent(t)},e.getAttribute=function(e,t,r){return n(r)?e.getAttribute(t):e.getAttributeNS(r,t)},e.getBoundingClientRect=function(e){return e.getBoundingClientRect()},e.getChildNodes=function(e){return e.childNodes},e.getChildren=function(e){return e.children},e.getClassList=function(e){return e.classList},e.getElementsByClassName=function(e,t){return e.getElementsByClassName(t)},e.getElementsByTagName=function(e,t){return e.getElementsByTagName(t)},e.getFirstChild=function(e){return e.firstChild},e.getFirstElementChild=function(e){return e.firstElementChild},e.getLastChild=function(e){return e.lastChild},e.getLastElementChild=function(e){return e.lastElementChild},e.getProperty=function(e,t){return e[t]},e.insert=function(e,t,n){t.insertBefore(e,n)},e.isConnected=function(e){return e.isConnected},e.nextSibling=function(e){return e.nextSibling},e.querySelector=function(e,t){return e.querySelector(t)},e.querySelectorAll=function(e,t){return e.querySelectorAll(t)},e.remove=function(e,t){t.removeChild(e)},e.removeAttribute=function(e,t,r){n(r)?e.removeAttribute(t):e.removeAttributeNS(r,t)},e.removeEventListener=function(e,t,n,r){e.removeEventListener(t,n,r)},e.setAttribute=function(e,t,r,o){return n(o)?e.setAttribute(t,r):e.setAttributeNS(o,t,r)},e.setCSSStyleProperty=function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},e.setProperty=function(e,t,n){e[t]=n},e.setText=function(e,t){e.nodeValue=t},e}({});return Object.setPrototypeOf(t,e),t}Do=So?we.ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY?function(e,t,n,r){if(B(xo)||B(Po))throw new Error("The flag ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY must be set to true to use this feature");const o=Ro(Po,t,n,r);return new(xo(e,o))(o)}:Oo:Mo;const Io=n($o(null),{insertStylesheet:function(e,t){B(t)?function(e){const t=To(e,!1);t.global||(t.global=!0,Eo(e,document.head,t))}(e):ko(e,t)},createCustomElement:Do,isNativeShadowDefined:ee.$isNativeShadowRootDefined$,isSyntheticShadowDefined:u.call(Element.prototype,"$shadowToken$")});function Fo(e,t,n){const r=Hr(e,t,Io,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0});for(const[t,r]of Object.entries(n))e[t]=r;return r}function Ho(e,t,n={}){if(!(e instanceof Element))throw new TypeError(`"hydrateComponent" expects a valid DOM element as the first parameter but instead received ${e}.`);if(!U(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!G(n)||W(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);if(Vr(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{!function(e){so=!1,Yr(e),lo(e),so&&He("Hydration completed with errors.",e)}(Fo(e,t,n))}catch(r){console.error("Recovering from error while hydrating: ",r),function(e,t){if(e.shadowRoot){const t=e.shadowRoot;for(;!W(t.firstChild);)t.removeChild(t.firstChild)}if("light"===t.renderMode)for(;!W(e.firstChild);)e.removeChild(e.firstChild)}(e,t),Fo(e,t,n),$r(e)}}const Bo=new WeakSet;function Wo(e){var t;const n=function(e){return un(e).bridge}(e),{observedAttributes:r}=n,{attributeChangedCallback:o}=n.prototype;return(t=class extends HTMLElement{constructor(){super(),this.isConnected?(Ho(this,e,{}),Bo.add(this)):Hr(this,e,Io,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){Bo.has(this)?Bo.delete(this):$r(this)}disconnectedCallback(){Ir(this)}attributeChangedCallback(e,t,n){o.call(this,e,t,n)}}).observedAttributes=r,t}const Vo=Node,jo=new WeakMap,Uo=new WeakMap;function Go(e,t){const n=t.get(e);return B(n)||n(e),e}if(!we.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE){const{appendChild:e,insertBefore:t,removeChild:r,replaceChild:o}=Vo.prototype;n(Vo.prototype,{appendChild(t){return Go(e.call(this,t),jo)},insertBefore(e,n){return Go(t.call(this,e,n),jo)},removeChild(e){return Go(r.call(this,e),Uo)},replaceChild(e,t){const n=o.call(this,e,t);return Go(n,Uo),Go(e,jo),n}})}const zo=Node;const Yo=new Map;i(It,"CustomElementConstructor",{get(){return function(e){if(e===It)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=Yo.get(e);return B(t)&&(t=Wo(e),Yo.set(e,t)),t}(this)}}),s(It),h(It.prototype),e.LightningElement=It,e.__unstable__ProfilerControl=rr,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=ro(e);if(!B(t))throw new Error("Adapter already has a context provider.");t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),function(e,t){no.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((()=>{B(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!G(t)||W(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${q(t)}".`);const n=t.is;if(!U(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const{createCustomElement:r}=Io,o=H.call(e);let i,s;return we.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(i=e=>{$r(e)},s=e=>{Ir(e)}),r(o,(e=>{Hr(e,n,Io,{tagName:o,mode:"closed"!==t.mode?"open":"closed",owner:null}),we.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||(jo.set(e,$r),Uo.set(e,Ir))}),i,s)},e.freezeTemplate=function(e){},e.getComponentConstructor=function(e){let t=null;if(!B(e)){const n=Vr(e);B(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=un(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:ae(e)};const c={};for(const e in s)c[e]=s[e].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=Ho,e.isComponentConstructor=an,e.isNodeFromTemplate=function(e){if(j(e instanceof zo))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&j(u.call(a(t),"synthetic")))||Io.isSyntheticShadowDefined&&!B(e.$shadowResolver$)},e.parseFragment=hr,e.parseSVGFragment=pr,e.readonly=function(e){return Ot(e)},e.register=function(e){for(let t=0;t<Nr.length;++t){const n=Nr[t];if(n in e){let t=Ar[n];B(t)&&(Ar[n]=t=[]),S.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return U(e)&&Cr.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:o,publicMethods:s,wire:c,track:a,fields:u}=t,d=r(null),f=r(null),h=r(null),p=r(null),m=r(null),g=r(null);let b;if(!B(o))for(const e in o){const t=o[e];if(g[e]=t.config,b=l(n,e),t.config>0){if(B(b))throw new Error;b=Gt(e,b)}else b=B(b)||B(b.get)?Ut(e):Gt(e,b);f[e]=b,i(n,e,b)}if(B(s)||R.call(s,(e=>{if(b=l(n,e),B(b))throw new Error;d[e]=b})),!B(c))for(const e in c){const{adapter:t,method:r,config:o,dynamic:s=[]}=c[e];if(b=l(n,e),1===r){if(B(b))throw new Error;h[e]=b,oo(b,t,o,s)}else b=Yt(e),p[e]=b,io(b,t,o,s),i(n,e,b)}if(!B(a))for(const e in a)b=l(n,e),b=zt(e),i(n,e,b);if(!B(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];b=l(n,t);const r=!B(o)&&t in o,i=!B(a)&&t in a;r||i||(m[t]=Vt(t))}return function(e,t){Kt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return Xt.add(e),i(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return B(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=B(e)?void 0:e.shadowAttribute}}),e},e.renderer=Io,e.rendererFactory=$o,e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(B(be[e])){const n=f(be).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=we[e];if(!B(n))return void console.error(`Failed to set the value "${t}" for the runtime feature flag "${e}". "${e}" has already been set with the value "${n}".`);i(we,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){var n;t.isFalse(go,"Hooks are already overridden, only one definition is allowed."),go=!0,n=e.sanitizeHtmlContent,Zn=n},e.swapComponent=function(e,t){return!1},e.swapStyle=function(e,t){return!1},e.swapTemplate=function(e,t){return!1},e.track=function(e){if(1===arguments.length)return xt(e);throw new Error},e.unwrap=function(e){return Lt.unwrapProxy(e)},e.wire=function(e,t){throw new Error}}));
@@ -336,7 +336,7 @@
336
336
  CACHED_ATTRIBUTE_PROPERTY_MAPPING.set(attrName, propertyName);
337
337
  return propertyName;
338
338
  }
339
- /** version: 2.31.0 */
339
+ /** version: 2.32.0 */
340
340
 
341
341
  /**
342
342
  * Copyright (C) 2018 salesforce.com, inc.
@@ -418,7 +418,7 @@
418
418
  patch$1(propName);
419
419
  }
420
420
  }
421
- /** version: 2.31.0 */
421
+ /** version: 2.32.0 */
422
422
 
423
423
  /**
424
424
  * Copyright (C) 2018 salesforce.com, inc.
@@ -6186,25 +6186,25 @@
6186
6186
  // multiple times per tag name.
6187
6187
  const createUserConstructor = (HTMLElementToExtend, upgradeCallback, connectedCallback, disconnectedCallback) => {
6188
6188
  // TODO [#2972]: this class should expose observedAttributes as necessary
6189
- class UserConstructor extends HTMLElementToExtend {
6189
+ return class UserConstructor extends HTMLElementToExtend {
6190
6190
  constructor() {
6191
6191
  super();
6192
6192
  upgradeCallback(this);
6193
6193
  }
6194
- }
6195
- // Do not unnecessarily add a connectedCallback/disconnectedCallback, as it introduces perf overhead
6196
- // See: https://github.com/salesforce/lwc/pull/3162#issuecomment-1311851174
6197
- if (!isUndefined$1(connectedCallback)) {
6198
- UserConstructor.prototype.connectedCallback = function () {
6199
- connectedCallback(this);
6200
- };
6201
- }
6202
- if (!isUndefined$1(disconnectedCallback)) {
6203
- UserConstructor.prototype.disconnectedCallback = function () {
6204
- disconnectedCallback(this);
6205
- };
6206
- }
6207
- return UserConstructor;
6194
+ // Note that there is no need to do the "avoid defining connectedCallback/disconnectedCallback" optimization
6195
+ // here, because in create-scoped-registry.ts, the registered class will always have these callbacks anyway.
6196
+ // See: https://github.com/salesforce/lwc/pull/3162#issuecomment-1311851174
6197
+ connectedCallback() {
6198
+ if (!isUndefined$1(connectedCallback)) {
6199
+ connectedCallback(this);
6200
+ }
6201
+ }
6202
+ disconnectedCallback() {
6203
+ if (!isUndefined$1(disconnectedCallback)) {
6204
+ disconnectedCallback(this);
6205
+ }
6206
+ }
6207
+ };
6208
6208
  };
6209
6209
  function createCustomElementScoped(tagName, upgradeCallback, connectedCallback, disconnectedCallback) {
6210
6210
  if (isUndefined$1(createScopedConstructor) || isUndefined$1(CachedHTMLElement)) {
@@ -6308,7 +6308,7 @@
6308
6308
  function isNull(obj) {
6309
6309
  return obj === null;
6310
6310
  }
6311
- /** version: 2.31.0 */
6311
+ /** version: 2.32.0 */
6312
6312
 
6313
6313
  /*
6314
6314
  * Copyright (c) 2018, salesforce.com, inc.
@@ -6861,7 +6861,7 @@
6861
6861
  });
6862
6862
  freeze(LightningElement);
6863
6863
  seal(LightningElement.prototype);
6864
- /* version: 2.31.0 */
6864
+ /* version: 2.32.0 */
6865
6865
 
6866
6866
  exports.LightningElement = LightningElement;
6867
6867
  exports.__unstable__ProfilerControl = profilerControl;
@@ -349,9 +349,9 @@
349
349
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
350
350
  */
351
351
  // Increment whenever the LWC template compiler changes
352
- var LWC_VERSION = "2.31.0";
352
+ var LWC_VERSION = "2.32.0";
353
353
  var LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
354
- /** version: 2.31.0 */
354
+ /** version: 2.32.0 */
355
355
 
356
356
  /**
357
357
  * Copyright (C) 2018 salesforce.com, inc.
@@ -432,7 +432,7 @@
432
432
  patch$1(propName);
433
433
  }
434
434
  }
435
- /** version: 2.31.0 */
435
+ /** version: 2.32.0 */
436
436
 
437
437
  /**
438
438
  * Copyright (C) 2018 salesforce.com, inc.
@@ -514,7 +514,7 @@
514
514
  setFeatureFlag(name, value);
515
515
  }
516
516
  }
517
- /** version: 2.31.0 */
517
+ /** version: 2.32.0 */
518
518
 
519
519
  /*
520
520
  * Copyright (c) 2018, salesforce.com, inc.
@@ -7156,7 +7156,7 @@
7156
7156
  }
7157
7157
  return ctor;
7158
7158
  }
7159
- /* version: 2.31.0 */
7159
+ /* version: 2.32.0 */
7160
7160
 
7161
7161
  /*
7162
7162
  * Copyright (c) 2018, salesforce.com, inc.
@@ -8060,9 +8060,9 @@
8060
8060
  // Creates a constructor that is intended to be used as the UserConstructor in a scoped (pivots) registry.
8061
8061
  // In this case, the upgradeCallback only needs to be defined once because we create these on-demand,
8062
8062
  // multiple times per tag name.
8063
- var createUserConstructor = function createUserConstructor(HTMLElementToExtend, upgradeCallback, connectedCallback, disconnectedCallback) {
8063
+ var createUserConstructor = function createUserConstructor(HTMLElementToExtend, upgradeCallback, _connectedCallback, _disconnectedCallback) {
8064
8064
  // TODO [#2972]: this class should expose observedAttributes as necessary
8065
- var UserConstructor = /*#__PURE__*/function (_HTMLElementToExtend) {
8065
+ return /*#__PURE__*/function (_HTMLElementToExtend) {
8066
8066
  _inherits(UserConstructor, _HTMLElementToExtend);
8067
8067
  var _super9 = _createSuper(UserConstructor);
8068
8068
  function UserConstructor() {
@@ -8072,20 +8072,26 @@
8072
8072
  upgradeCallback(_assertThisInitialized(_this7));
8073
8073
  return _this7;
8074
8074
  }
8075
- return _createClass(UserConstructor);
8076
- }(HTMLElementToExtend); // Do not unnecessarily add a connectedCallback/disconnectedCallback, as it introduces perf overhead
8077
- // See: https://github.com/salesforce/lwc/pull/3162#issuecomment-1311851174
8078
- if (!isUndefined$1(connectedCallback)) {
8079
- UserConstructor.prototype.connectedCallback = function () {
8080
- connectedCallback(this);
8081
- };
8082
- }
8083
- if (!isUndefined$1(disconnectedCallback)) {
8084
- UserConstructor.prototype.disconnectedCallback = function () {
8085
- disconnectedCallback(this);
8086
- };
8087
- }
8088
- return UserConstructor;
8075
+ // Note that there is no need to do the "avoid defining connectedCallback/disconnectedCallback" optimization
8076
+ // here, because in create-scoped-registry.ts, the registered class will always have these callbacks anyway.
8077
+ // See: https://github.com/salesforce/lwc/pull/3162#issuecomment-1311851174
8078
+ _createClass(UserConstructor, [{
8079
+ key: "connectedCallback",
8080
+ value: function connectedCallback() {
8081
+ if (!isUndefined$1(_connectedCallback)) {
8082
+ _connectedCallback(this);
8083
+ }
8084
+ }
8085
+ }, {
8086
+ key: "disconnectedCallback",
8087
+ value: function disconnectedCallback() {
8088
+ if (!isUndefined$1(_disconnectedCallback)) {
8089
+ _disconnectedCallback(this);
8090
+ }
8091
+ }
8092
+ }]);
8093
+ return UserConstructor;
8094
+ }(HTMLElementToExtend);
8089
8095
  };
8090
8096
  function createCustomElementScoped(tagName, upgradeCallback, connectedCallback, disconnectedCallback) {
8091
8097
  if (isUndefined$1(createScopedConstructor) || isUndefined$1(CachedHTMLElement)) {
@@ -8187,7 +8193,7 @@
8187
8193
  function isNull(obj) {
8188
8194
  return obj === null;
8189
8195
  }
8190
- /** version: 2.31.0 */
8196
+ /** version: 2.32.0 */
8191
8197
 
8192
8198
  /*
8193
8199
  * Copyright (c) 2018, salesforce.com, inc.
@@ -8753,7 +8759,7 @@
8753
8759
  });
8754
8760
  freeze(LightningElement);
8755
8761
  seal(LightningElement.prototype);
8756
- /* version: 2.31.0 */
8762
+ /* version: 2.32.0 */
8757
8763
 
8758
8764
  exports.LightningElement = LightningElement;
8759
8765
  exports.__unstable__ProfilerControl = profilerControl;