lwc 2.37.2 → 2.37.3

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 +72 -12
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +72 -12
  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 -6
  5. package/dist/engine-dom/iife/es5/engine-dom.js +75 -12
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +19 -6
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +72 -12
  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 -6
  11. package/dist/engine-dom/umd/es5/engine-dom.js +75 -12
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +19 -6
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +6 -6
  15. package/dist/engine-server/esm/es2017/engine-server.js +6 -6
  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
@@ -315,7 +315,7 @@ var LWC = (function (exports) {
315
315
  CACHED_ATTRIBUTE_PROPERTY_MAPPING.set(attrName, propertyName);
316
316
  return propertyName;
317
317
  }
318
- /** version: 2.37.2 */
318
+ /** version: 2.37.3 */
319
319
 
320
320
  /**
321
321
  * Copyright (C) 2018 salesforce.com, inc.
@@ -387,7 +387,7 @@ var LWC = (function (exports) {
387
387
  */
388
388
  function setFeatureFlagForTest(name, value) {
389
389
  }
390
- /** version: 2.37.2 */
390
+ /** version: 2.37.3 */
391
391
 
392
392
  /**
393
393
  * Copyright (C) 2018 salesforce.com, inc.
@@ -451,7 +451,7 @@ var LWC = (function (exports) {
451
451
  }
452
452
  }
453
453
  }
454
- /** version: 2.37.2 */
454
+ /** version: 2.37.3 */
455
455
 
456
456
  /*
457
457
  * Copyright (c) 2018, salesforce.com, inc.
@@ -5706,6 +5706,19 @@ var LWC = (function (exports) {
5706
5706
  var hasIncompatibleStyle = validateStyleAttr(vnode, elm, renderer);
5707
5707
  return hasIncompatibleAttrs && hasIncompatibleClass && hasIncompatibleStyle;
5708
5708
  }
5709
+ function attributeValuesAreEqual(vnodeValue, value) {
5710
+ var vnodeValueAsString = String(vnodeValue);
5711
+ if (vnodeValueAsString === value) {
5712
+ return true;
5713
+ }
5714
+ // If the expected value is null, this means that the attribute does not exist. In that case,
5715
+ // we accept any nullish value (undefined or null).
5716
+ if (isNull(value) && (isUndefined$1(vnodeValue) || isNull(vnodeValue))) {
5717
+ return true;
5718
+ }
5719
+ // In all other cases, the two values are not considered equal
5720
+ return false;
5721
+ }
5709
5722
  function validateAttrs(vnode, elm, renderer) {
5710
5723
  var _vnode$data$attrs = vnode.data.attrs,
5711
5724
  attrs = _vnode$data$attrs === void 0 ? {} : _vnode$data$attrs;
@@ -5719,7 +5732,7 @@ var LWC = (function (exports) {
5719
5732
  vnode.owner;
5720
5733
  var getAttribute = renderer.getAttribute;
5721
5734
  var elmAttrValue = getAttribute(elm, attrName);
5722
- if (String(attrValue) !== elmAttrValue) {
5735
+ if (!attributeValuesAreEqual(attrValue, elmAttrValue)) {
5723
5736
  nodesAreCompatible = false;
5724
5737
  }
5725
5738
  }
@@ -6453,7 +6466,7 @@ var LWC = (function (exports) {
6453
6466
  function isNull(obj) {
6454
6467
  return obj === null;
6455
6468
  }
6456
- /** version: 2.37.2 */
6469
+ /** version: 2.37.3 */
6457
6470
 
6458
6471
  /*
6459
6472
  * Copyright (c) 2018, salesforce.com, inc.
@@ -7012,7 +7025,7 @@ var LWC = (function (exports) {
7012
7025
  });
7013
7026
  freeze(LightningElement);
7014
7027
  seal(LightningElement.prototype);
7015
- /* version: 2.37.2 */
7028
+ /* version: 2.37.3 */
7016
7029
 
7017
7030
  exports.LightningElement = LightningElement;
7018
7031
  exports.__unstable__ProfilerControl = profilerControl;
@@ -328,6 +328,24 @@
328
328
  return propertyName;
329
329
  }
330
330
 
331
+ /*
332
+ * Copyright (c) 2020, salesforce.com, inc.
333
+ * All rights reserved.
334
+ * SPDX-License-Identifier: MIT
335
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
336
+ */
337
+ const ESCAPED_CHARS = {
338
+ '"': '"',
339
+ "'": ''',
340
+ '<': '&lt;',
341
+ '>': '&gt;',
342
+ '&': '&amp;',
343
+ };
344
+ function htmlEscape(str, attrMode = false) {
345
+ const searchValue = attrMode ? /["&]/g : /["'<>&]/g;
346
+ return str.replace(searchValue, (char) => ESCAPED_CHARS[char]);
347
+ }
348
+
331
349
  /*
332
350
  * Copyright (c) 2018, salesforce.com, inc.
333
351
  * All rights reserved.
@@ -335,9 +353,9 @@
335
353
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
336
354
  */
337
355
  // Increment whenever the LWC template compiler changes
338
- const LWC_VERSION = "2.37.2";
356
+ const LWC_VERSION = "2.37.3";
339
357
  const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
340
- /** version: 2.37.2 */
358
+ /** version: 2.37.3 */
341
359
 
342
360
  /**
343
361
  * Copyright (C) 2018 salesforce.com, inc.
@@ -416,7 +434,7 @@
416
434
  setFeatureFlag(name, value);
417
435
  }
418
436
  }
419
- /** version: 2.37.2 */
437
+ /** version: 2.37.3 */
420
438
 
421
439
  /**
422
440
  * Copyright (C) 2018 salesforce.com, inc.
@@ -480,7 +498,7 @@
480
498
  }
481
499
  }
482
500
  }
483
- /** version: 2.37.2 */
501
+ /** version: 2.37.3 */
484
502
 
485
503
  /*
486
504
  * Copyright (c) 2018, salesforce.com, inc.
@@ -6700,15 +6718,44 @@
6700
6718
  return renderer.nextSibling(hydratedNode);
6701
6719
  }
6702
6720
  const NODE_VALUE_PROP = 'nodeValue';
6721
+ const PARENT_NODE_PROP = 'parentNode';
6722
+ const TAG_NAME_PROP = 'tagName';
6723
+ function textNodeContentsAreEqual(node, vnode, renderer) {
6724
+ const { getProperty } = renderer;
6725
+ const nodeValue = getProperty(node, NODE_VALUE_PROP);
6726
+ if (nodeValue === vnode.text) {
6727
+ return true;
6728
+ }
6729
+ // Special case for empty text nodes – these are serialized differently on the server
6730
+ // See https://github.com/salesforce/lwc/pull/2656
6731
+ if (nodeValue === '\u200D' && vnode.text === '') {
6732
+ return true;
6733
+ }
6734
+ // Special case for text nodes inside `<style>` tags – these are escaped when rendered server-size,
6735
+ // but not when generated by the engine client-side.
6736
+ const parentNode = getProperty(node, PARENT_NODE_PROP);
6737
+ // Should never be null, but just to be safe, we check.
6738
+ /* istanbul ignore else */
6739
+ if (!isNull(parentNode)) {
6740
+ const tagName = getProperty(parentNode, TAG_NAME_PROP);
6741
+ // If the tagName is STYLE, then the following condition should always be true.
6742
+ // The LWC compiler blocks using `<style>`s inside of templates, so it should be impossible
6743
+ // for component authors to render different `<style>` text content on the client and server.
6744
+ // But just to be safe, we check.
6745
+ /* istanbul ignore next */
6746
+ if (tagName === 'STYLE' && htmlEscape(vnode.text) === nodeValue) {
6747
+ return true;
6748
+ }
6749
+ }
6750
+ return false;
6751
+ }
6703
6752
  function hydrateText(node, vnode, renderer) {
6704
6753
  var _a;
6705
6754
  if (!hasCorrectNodeType(vnode, node, 3 /* EnvNodeTypes.TEXT */, renderer)) {
6706
6755
  return handleMismatch(node, vnode, renderer);
6707
6756
  }
6708
6757
  if (process.env.NODE_ENV !== 'production') {
6709
- const { getProperty } = renderer;
6710
- const nodeValue = getProperty(node, NODE_VALUE_PROP);
6711
- if (nodeValue !== vnode.text && !(nodeValue === '\u200D' && vnode.text === '')) {
6758
+ if (!textNodeContentsAreEqual(node, vnode, renderer)) {
6712
6759
  logWarn('Hydration mismatch: text values do not match, will recover from the difference', vnode.owner);
6713
6760
  }
6714
6761
  }
@@ -6888,6 +6935,19 @@
6888
6935
  const hasIncompatibleStyle = validateStyleAttr(vnode, elm, renderer);
6889
6936
  return hasIncompatibleAttrs && hasIncompatibleClass && hasIncompatibleStyle;
6890
6937
  }
6938
+ function attributeValuesAreEqual(vnodeValue, value) {
6939
+ const vnodeValueAsString = String(vnodeValue);
6940
+ if (vnodeValueAsString === value) {
6941
+ return true;
6942
+ }
6943
+ // If the expected value is null, this means that the attribute does not exist. In that case,
6944
+ // we accept any nullish value (undefined or null).
6945
+ if (isNull(value) && (isUndefined$1(vnodeValue) || isNull(vnodeValue))) {
6946
+ return true;
6947
+ }
6948
+ // In all other cases, the two values are not considered equal
6949
+ return false;
6950
+ }
6891
6951
  function validateAttrs(vnode, elm, renderer) {
6892
6952
  const { data: { attrs = {} }, } = vnode;
6893
6953
  let nodesAreCompatible = true;
@@ -6897,10 +6957,10 @@
6897
6957
  const { owner } = vnode;
6898
6958
  const { getAttribute } = renderer;
6899
6959
  const elmAttrValue = getAttribute(elm, attrName);
6900
- if (String(attrValue) !== elmAttrValue) {
6960
+ if (!attributeValuesAreEqual(attrValue, elmAttrValue)) {
6901
6961
  if (process.env.NODE_ENV !== 'production') {
6902
6962
  const { getProperty } = renderer;
6903
- logError(`Mismatch hydrating element <${getProperty(elm, 'tagName').toLowerCase()}>: attribute "${attrName}" has different values, expected "${attrValue}" but found "${elmAttrValue}"`, owner);
6963
+ logError(`Mismatch hydrating element <${getProperty(elm, 'tagName').toLowerCase()}>: attribute "${attrName}" has different values, expected "${attrValue}" but found ${isNull(elmAttrValue) ? 'null' : `"${elmAttrValue}"`}`, owner);
6904
6964
  }
6905
6965
  nodesAreCompatible = false;
6906
6966
  }
@@ -7294,7 +7354,7 @@
7294
7354
  }
7295
7355
  return ctor;
7296
7356
  }
7297
- /* version: 2.37.2 */
7357
+ /* version: 2.37.3 */
7298
7358
 
7299
7359
  /*
7300
7360
  * Copyright (c) 2018, salesforce.com, inc.
@@ -7722,7 +7782,7 @@
7722
7782
  function isNull(obj) {
7723
7783
  return obj === null;
7724
7784
  }
7725
- /** version: 2.37.2 */
7785
+ /** version: 2.37.3 */
7726
7786
 
7727
7787
  /*
7728
7788
  * Copyright (c) 2018, salesforce.com, inc.
@@ -8275,7 +8335,7 @@
8275
8335
  });
8276
8336
  freeze(LightningElement);
8277
8337
  seal(LightningElement.prototype);
8278
- /* version: 2.37.2 */
8338
+ /* version: 2.37.3 */
8279
8339
 
8280
8340
  exports.LightningElement = LightningElement;
8281
8341
  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,fail:function(e){throw new Error(e)},invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)}});const{assign:n,create:r,defineProperties:o,defineProperty:s,freeze:i,getOwnPropertyDescriptor:l,getOwnPropertyNames:c,getPrototypeOf:a,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{concat:g,copyWithin:w,fill:y,filter:b,find:v,indexOf:E,join:C,map:S,pop:M,push:T,reduce:k,reverse:A,shift:N,slice:L,some:_,sort:x,splice:O,unshift:P,forEach:R}=Array.prototype,{fromCharCode:D}=String,{charCodeAt:F,replace:I,split:$,slice:H,toLowerCase:B}=String.prototype;function W(e){return void 0===e}function V(e){return null===e}function j(e){return!0===e}function G(e){return!1===e}function U(e){return"function"==typeof e}function Y(e){return"object"==typeof e}function K(e){return"string"==typeof e}function z(){}const q={}.toString;function X(e){return e&&e.toString?m(e)?C.call(S.call(e,X),","):e.toString():"object"==typeof e?q.call(e):e+""}function Z(e,t){do{const n=l(e,t);if(!W(n))return n;e=a(e)}while(null!==e)}const Q=["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:J,AriaPropNameToAttrNameMap:ee}=(()=>{const e=r(null),t=r(null);return R.call(Q,(n=>{const r=B.call(I.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),te=new Set(["aria-activedescendant","aria-controls","aria-describedby","aria-details","aria-errormessage","aria-flowto","aria-labelledby","aria-owns","for"]),ne="object"==typeof globalThis?globalThis:window,re="$shadowResolver$",oe="$shadowStaticNode$",se="$shadowToken$",ie="$$lwc-synthetic-mode",le="$scoped$",ce="http://www.w3.org/XML/1998/namespace",ae="http://www.w3.org/2000/svg",ue="http://www.w3.org/1999/xlink",de=/-([a-z])/g,{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:fe,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:he}=(()=>{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}})(),pe=new Map,me=new Map;function ge(e){const t=ee[e];if(!W(t))return t;const n=he.get(e);if(!W(n))return n;const r=pe.get(e);if(!W(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=F.call(e,t);o+=n>=65&&n<=90?"-"+D(n+32):D(n)}return pe.set(e,o),o}function we(e){const t=J[e];if(!W(t))return t;const n=fe.get(e);if(!W(n))return n;const r=me.get(e);if(!W(r))return r;const o=I.call(e,de,(e=>e[1].toUpperCase()));return me.set(e,o),o}const ye={DUMMY_TEST_FLAG:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_WIRE_SYNC_EMIT:null,ENABLE_LIGHT_GET_ROOT_NODE_PATCH:null,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null,ENABLE_FROZEN_TEMPLATE:null,DISABLE_ARIA_REFLECTION_POLYFILL:null};ne.lwcRuntimeFlags||Object.defineProperty(ne,"lwcRuntimeFlags",{value:r(null)});const be=ne.lwcRuntimeFlags;function ve(e,t){return W(l(t,e))}function Ee(e,t){const n=function(e){return{get(){return this.hasAttribute(e)?this.getAttribute(e):null},set(t){V(t)?this.removeAttribute(e):this.setAttribute(e,t)},configurable:!0,enumerable:!0}}(ee[e]);s(t,e,n)}function Ce(e=Element.prototype){const t=f(ee);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];ve(r,e)&&Ee(r,e)}}lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL||Ce();const Se=[];let Me=z,Te=!1;const ke={attachDispatcher(e){Te=!0,Me=e;for(const e of Se)try{e()}catch(e){console.error("Could not invoke callback",e)}Se.length=0},detachDispatcher(){Te=!1,Me=z}};function Ae(e){Te?e():Se.push(e)}function Ne(e,t){Te&&Me(e,t)}function Le(e){return`<${B.call(e.tagName)}>`}function _e(e,t){if(!d(t)&&W(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!V(n);)T.call(t,Le(n)),n=n.owner;return t.reverse().join("\n\t")}(e);s(t,"wcStack",{get:()=>n})}}const xe=new Set;function Oe(e,t,n,r){let o=`[LWC ${e}]: ${t}`;if(W(n)||(o=`${o}\n${function(e){const t=[];let n="";for(;!V(e.owner);)T.call(t,n+Le(e)),e=e.owner,n+="\t";return C.call(t,"\n")}(n)}`),r){if(xe.has(o))return;xe.add(o)}try{throw new Error(o)}catch(t){console[e](t)}}function Pe(e,t){Oe("error",e,t,!1)}const Re=new WeakMap;let De=null;function Fe(e,t){const n=Re.get(e);if(!W(n)){const e=n[t];if(!W(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function Ie(e,t){if(null===De)return;const n=De,o=function(e){let t=Re.get(e);if(W(t)){const n=r(null);t=n,Re.set(e,n)}return t}(e);let s=o[t];if(W(s))s=[],o[t]=s;else if(s[0]===n)return;-1===E.call(s,n)&&n.link(s)}class $e{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=De;let n;De=this;try{e()}catch(e){n=Object(e)}finally{if(De=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=E.call(e[n],this);O.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){T.call(e,this),T.call(this.listeners,e)}}function He(e,t){Fe(e.component,t)}function Be(e,t){Ie(e.component,t)}function We(e){return new $e(e)}let Ve=[];const je=32,Ge=h(r(null)),Ue=h([]);function Ye(){const e=Ve;Ve=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function Ke(e){0===Ve.length&&Promise.resolve().then(Ye),T.call(Ve,e)}const ze=/;(?![^(]*\))/g,qe=/:(.+)/;function Xe(e,t){const n={};for(const r of f(e))r!==t&&(n[r]=e[r]);return n}function Ze(e){const t=[];for(const n of e)m(n)?t.push(...Ze(n)):t.push(n);return t}function Qe(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}function Je(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function et(e){return U(e)&&u.call(e,"__circular__")}const tt="undefined"!=typeof HTMLElement?HTMLElement:function(){},nt=tt.prototype;let rt,ot=null;function st(e,t){ot=null,rt=void 0}function it(e,t){ot=e,rt=t}const lt=r(null);function ct(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n,He(e,t))}R.call(f(ee),(e=>{const t=Z(nt,e);W(t)||(lt[e]=t)})),R.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=Z(nt,e);W(t)||(lt[e]=t)}));const{isArray:at}=Array,{prototype:ut,getPrototypeOf:dt,create:ft,defineProperty:ht,isExtensible:pt,getOwnPropertyDescriptor:mt,getOwnPropertyNames:gt,getOwnPropertySymbols:wt,preventExtensions:yt,hasOwnProperty:bt}=Object,{push:vt,concat:Et}=Array.prototype;function Ct(e){return void 0===e}function St(e){return"function"==typeof e}const Mt=new WeakMap;function Tt(e,t){Mt.set(e,t)}const kt=e=>Mt.get(e)||e;class At{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(bt.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;Ct(n)||(e.get=this.wrapGetter(n)),Ct(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=mt(n,t);if(!Ct(r)){const n=this.wrapDescriptor(r);ht(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;Et.call(gt(t),wt(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;Ct(n)||bt.call(e,n)||ht(e,n,ft(null)),yt(e)}apply(e,t,n){}construct(e,t,n){}get(e,t){const{originalTarget:n,membrane:{valueObserved:r}}=this,o=n[t];return r(n,t),this.wrapValue(o)}has(e,t){const{originalTarget:n,membrane:{tagPropertyKey:r,valueObserved:o}}=this;return o(n,t),t in n||t===r}ownKeys(e){const{originalTarget:t,membrane:{tagPropertyKey:n}}=this,r=Ct(n)||bt.call(t,n)?[]:[n];return vt.apply(r,gt(t)),vt.apply(r,wt(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!pt(e)&&(!!pt(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return dt(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let s=mt(n,t);if(Ct(s)){if(t!==o)return;return s={value:void 0,writable:!1,configurable:!1,enumerable:!1},ht(e,o,s),s}return!1===s.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(s)}}const Nt=new WeakMap,Lt=new WeakMap,_t=new WeakMap,xt=new WeakMap;class Ot extends At{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Nt.get(e);if(!Ct(t))return t;const n=this,r=function(){return n.wrapValue(e.call(kt(this)))};return Nt.set(e,r),_t.set(r,e),r}wrapSetter(e){const t=Lt.get(e);if(!Ct(t))return t;const n=function(t){e.call(kt(this),kt(t))};return Lt.set(e,n),xt.set(n,e),n}unwrapDescriptor(e){if(bt.call(e,"value"))e.value=kt(e.value);else{const{set:t,get:n}=e;Ct(n)||(e.get=this.unwrapGetter(n)),Ct(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=_t.get(e);if(!Ct(t))return t;const n=this,r=function(){return kt(e.call(n.wrapValue(this)))};return Nt.set(r,e),_t.set(e,r),r}unwrapSetter(e){const t=xt.get(e);if(!Ct(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Lt.set(r,e),xt.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&&at(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(pt(e)){const{originalTarget:t}=this;if(yt(t),pt(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:s}}=this;return t===s&&!bt.call(r,t)||(ht(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const Pt=new WeakMap,Rt=new WeakMap;class Dt extends At{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=Pt.get(e);if(!Ct(t))return t;const n=this,r=function(){return n.wrapValue(e.call(kt(this)))};return Pt.set(e,r),r}wrapSetter(e){const t=Rt.get(e);if(!Ct(t))return t;const n=function(e){};return Rt.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 Ft(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(at(e))return!0;const t=dt(e);return t===ut||null===t||null===dt(t)}const It=(e,t)=>{},$t=(e,t)=>{};function Ht(e){return at(e)?[]:{}}const Bt=Symbol.for("@@lockerLiveValue"),Wt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=St(t)?t:$t,this.valueObserved=St(n)?n:It,this.valueIsObservable=St(r)?r:Ft,this.tagPropertyKey=o}getProxy(e){const t=kt(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=kt(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return kt(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(Ct(t)){const n=new Ot(this,e);t=new Proxy(Ht(e),n),Tt(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(Ct(t)){const n=new Dt(this,e);t=new Proxy(Ht(e),n),Tt(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:Ie,valueMutated:Fe,tagPropertyKey:Bt});function Vt(e){return Wt.getReadOnlyProxy(e)}function jt(e){return Wt.getProxy(e)}function Gt(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!U(n))throw new TypeError;if(!U(r))throw new TypeError;return{enumerable:o,configurable:s,get(){const t=io(this);if(!$r(t))return Be(t,e),n.call(t.elm)},set(t){const n=io(this);return ct(n,e,t),r.call(n.elm,t)}}}const Ut=new WeakMap,Yt=function(){if(V(Ir))throw new TypeError("Illegal constructor");const e=Ir,{def:t,elm:n}=e,{bridge:r}=t;if(p(n,r.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return this[Bt]=void 0,so(this,e),so(n,e),1===e.renderMode?e.renderRoot=function(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:s}}=e,i=s(t,{[ie]:1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=i,so(i,e),i}(e):e.renderRoot=n,this};Yt.prototype={constructor:Yt,dispatchEvent(e){const t=io(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=io(this),{elm:o,renderer:{addEventListener:s}}=r;s(o,e,Yr(r,t),n)},removeEventListener(e,t,n){const r=io(this),{elm:o,renderer:{removeEventListener:s}}=r;s(o,e,Yr(r,t),n)},hasAttribute(e){const t=io(this),{elm:n,renderer:{getAttribute:r}}=t;return!V(r(n,e))},hasAttributeNS(e,t){const n=io(this),{elm:r,renderer:{getAttribute:o}}=n;return!V(o(r,t,e))},removeAttribute(e){const t=io(this),{elm:n,renderer:{removeAttribute:r}}=t;it(n,e),r(n,e),st()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=io(this);it(n,t),r(n,t,e),st()},getAttribute(e){const t=io(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=io(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=io(this),{elm:r,renderer:{setAttribute:o}}=n;it(r,e),o(r,e,t),st()},setAttributeNS(e,t,n){const r=io(this),{elm:o,renderer:{setAttribute:s}}=r;it(o,t),s(o,t,n,e),st()},getBoundingClientRect(){const e=io(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=io(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=io(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return io(this).shadowRoot},get refs(){const e=io(this);if(kr)return;const{refVNodes:t,cmpTemplate:n}=e;if(V(t))return;let o=Ut.get(t);if(W(o)){o=r(null);for(const e of f(t))o[e]=t[e].elm;i(o),Ut.set(t,o)}return o},set refs(e){s(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=io(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=io(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=io(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=io(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=io(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=io(this);return e.renderer.getLastElementChild(e.elm)},render(){return io(this).def.template},toString(){return`[object ${io(this).def.name}]`}};const Kt=r(null),zt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of zt)Kt[e]={value(t){const n=io(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};o(Yt.prototype,Kt);const qt=r(null);for(const e in lt)qt[e]=Gt(e,lt[e]);function Xt(e){return{get(){const t=io(this);return Be(t,e),t.cmpFields[e]},set(t){ct(io(this),e,t)},enumerable:!0,configurable:!0}}o(Yt.prototype,qt),lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL&&Ce(Yt.prototype),s(Yt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const Zt="$$DeprecatedWiredElementHostKey$$",Qt="$$DeprecatedWiredParamsMetaKey$$",Jt=new Map;class en extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),o(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function tn(e,t,n){const{method:r,adapter:o,configCallback:i,dynamic:l}=n;const c=W(r)?function(e,t){return n=>{ct(e,t,n)}}(e,t):function(e,t){return n=>{yo(e,e.owner,z,(()=>{t.call(e.component,n)}),z)}}(e,r),a=e=>{c(e)};let u,d;s(a,Zt,{value:e.elm}),s(a,Qt,{value:l}),yo(e,e,z,(()=>{d=new o(a)}),z);const{computeConfigAndUpdate:f,ro:h}=function(e,t,n){let r=!1;const o=We((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),s()})))})),s=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:s,ro:o}}(e.component,i,(t=>{yo(e,e,z,(()=>{d.update(t,u)}),z)}));return W(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=rn(r);if(W(o))return;const{elm:s,context:{wiredConnecting:i,wiredDisconnecting:l},renderer:{dispatchEvent:c}}=e;T.call(i,(()=>{const e=new en(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){T.call(l,e)}});c(s,e)}))}(e,n,(t=>{u!==t&&(u=t,1===e.state&&f())})),{connector:d,computeConfigAndUpdate:f,resetConfigWatcher:()=>h.reset()}}const nn=new Map;function rn(e){return nn.get(e)}function on(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Jt.set(e,o)}function sn(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Jt.set(e,o)}function ln(e){return{get(){const t=io(this);if(!$r(t))return Be(t,e),t.cmpProps[e]},set(t){const n=io(this);n.cmpProps[e]=t,He(n,e)},enumerable:!0,configurable:!0}}function cn(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!U(n))throw new Error;return{get(){return n.call(this)},set(e){io(this),r&&r.call(this,e)},enumerable:o,configurable:s}}function an(e){return{get(){const t=io(this);return Be(t,e),t.cmpFields[e]},set(t){const n=io(this),r=jt(t);ct(n,e,r)},enumerable:!0,configurable:!0}}function un(e){return{get(){const t=io(this);return Be(t,e),t.cmpFields[e]},set(t){ct(io(this),e,t)},enumerable:!0,configurable:!0}}const dn=new Map;const fn={apiMethods:Ge,apiFields:Ge,apiFieldsConfig:Ge,wiredMethods:Ge,wiredFields:Ge,observedFields:Ge};const hn=new Set;function pn(){return[]}hn.add(pn);const mn=r(null),gn=r(null);function wn(e){let t=mn[e];return W(t)&&(t=mn[e]=function(){const t=io(this),{getHook:n}=t;return n(t.component,e)}),t}function yn(e){let t=gn[e];return W(t)&&(t=gn[e]=function(t){const n=io(this),{setHook:r}=n;t=Vt(t),r(n.component,e,t)}),t}function bn(e){return function(){const t=io(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,L.call(arguments))}}function vn(e,t){return function(n,r,o){if(r===o)return;const s=e[n];W(s)?W(t)||t.apply(this,arguments):function(e,t){return e!==ot||t!==rt}(this,n)&&(this[s]=o)}}function En(e,t,n){let i;U(e)?i=class extends e{}:(i=function(){throw new TypeError("Illegal constructor")},p(i,e),p(i.prototype,e.prototype),s(i.prototype,"constructor",{writable:!0,configurable:!0,value:i}));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[ge(n)]=n,u[n]={get:wn(n),set:yn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:bn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:vn(l,c)},s(i,"observedAttributes",{get:()=>[...a,...f(l)]}),o(i.prototype,u),i}const Cn=En(tt,c(lt),[]);lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL&&Ce(Cn.prototype),i(Cn),h(Cn.prototype);new WeakMap,new WeakMap,new WeakMap,new WeakMap;const Sn=new WeakMap;function Mn(e){const{shadowSupportMode:t,renderMode:s}=e,i=function(e){const t=dn.get(e);return W(t)?fn:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=i,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=a(e);if(V(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(et(t)){const e=Je(t);t=e===t?Yt:e}return t}(e),C=E!==Yt?kn(E):An,S=En(C.bridge,f(l),f(u)),M=n(r(null),C.props,l),T=n(r(null),C.propsConfig,c),k=n(r(null),C.methods,u),A=n(r(null),C.wire,d,h);g=g||C.connectedCallback,w=w||C.disconnectedCallback,y=y||C.renderedCallback,b=b||C.errorCallback,v=v||C.render;let N=C.shadowSupportMode;W(t)||(N=t);let L=C.renderMode;W(s)||(L="light"===s?0:1);const _=function(e){return Wr.get(e)}(e)||C.template,x=e.name||C.name;o(m,p);return{ctor:e,name:x,wire:A,props:M,propsConfig:T,methods:k,bridge:S,template:_,renderMode:L,shadowSupportMode:N,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function Tn(e){if(!U(e))return!1;if(e.prototype instanceof Yt)return!0;let t=e;do{if(et(t)){const e=Je(t);if(e===t)return!0;t=e}if(t===Yt)return!0}while(!V(t)&&(t=a(t)));return!1}function kn(e){let t=Sn.get(e);if(W(t)){if(et(e)){return t=kn(Je(e)),Sn.set(e,t),t}if(!Tn(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=Mn(e),Sn.set(e,t)}return t}const An={ctor:Yt,name:Yt.name,props:qt,propsConfig:Ge,methods:Ge,renderMode:1,shadowSupportMode:"reset",wire:Ge,bridge:Cn,template:pn,render:Yt.prototype.render};function Nn(e){return`${e}-host`}function Ln(e){return yr.h("style",{key:"style",attrs:{type:"text/css"}},[yr.t(e)])}function _n(e,t,n){const r=[];let o;for(let s=0;s<e.length;s++){let i=e[s];if(m(i))T.apply(r,_n(i,t,n));else{const e=i[le];if(lwcRuntimeFlags.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){Pe("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}const s=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let c;1===n.renderMode?c=0===n.shadowMode:(W(o)&&(o=xn(n)),c=V(o)||0===o.shadowMode),T.call(r,i(s,l,c))}}return r}function xn(e){let t=e;for(;!V(t);){if(1===t.renderMode)return t;t=t.owner}return t}function On(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}function Pn(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 S.call(t,Ln);{const n=function(e){const t=xn(e);return V(t)||1!==t.shadowMode?t:null}(e),r=V(n)?void 0:n.shadowRoot;for(let e=0;e<t.length;e++)o(t[e],r)}}return null}function Rn(e){const{type:t}=e;return 2===t||3===t}function Dn(e,t){return e.key===t.key&&e.sel===t.sel}function Fn(e){return 5===e.type}function In(e){return 6===e.type}const $n=58;const Hn=58;function Bn(e,t){return"input"===e&&("value"===t||"checked"===t)}function Wn(e,t,r){let{props:o}=t.data;const{spread:s}=t.data;if(W(o)&&W(s))return;let i;if(!V(e)){i=e.data.props;const t=e.data.spread;if(i===o&&t===s)return;W(i)&&(i=Ge),W(t)||(i=n({},i,t))}W(s)||(o=n({},o,s));const l=V(e),{elm:c,sel:a}=t,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(Bn(a,e)?u(c,e):i[e])&&e in i||d(c,e,t)}}const Vn=r(null);function jn(e){if(null==e)return Ge;e=K(e)?e:e+"";let t=Vn[e];if(t)return t;t=r(null);let n,o=0;const s=e.length;for(n=0;n<s;n++)F.call(e,n)===je&&(n>o&&(t[H.call(e,o,n)]=!0),o=n+1);return n>o&&(t[H.call(e,o,n)]=!0),Vn[e]=t,t}function Gn(e,t){const{elm:n,data:{on:r}}=e;if(W(r))return;const{addEventListener:o}=t;for(const e in r){o(n,e,r[e])}}function Un(e,t,n,r){cr(t)?ur(e,t,n,r):dr(e,t,n,r)}function Yn(e,t,n,r){var o,s;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&er(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:s}=t;s?dr(e.children,o,n,r):ur(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;rr(e,t,n),Un(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);Xn(e,n,r,!0),zn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;if(rr(e,t,r),!W(o)){sr(t,o);const{shadowMode:n,renderMode:r}=o;0==n&&0!==r&&cr(e.children)&&lr(t.children)}Un(e.children,t.children,n,r),W(o)||function(e){co(e)}(o)}}(e,t,n,null!==(s=t.data.renderer)&&void 0!==s?s:r)}}function Kn(e,t,n,r){var o,s;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:s}=r,i=e.elm=s(e.text);Jn(i,o,r),tr(i,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:s}=r,i=e.elm=s(e.text);Jn(i,o,r),tr(i,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:s,isSyntheticShadowDefined:i}=r,l=e.elm=s(e.fragment,!0);Jn(l,o,r);const{renderMode:c,shadowMode:a}=o;i&&(1!==a&&0!==c||(l[oe]=!0));tr(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;qn(o,t,r,n),e.elm=o[o.length-1].elm}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:s,data:{svg:i}}=e,{createElement:l}=r,c=j(i)?ae:void 0,a=e.elm=l(o,c);Jn(a,s,r),or(a,s,r),function(e,t){var n;const{owner:r,data:{context:o}}=t;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(a,e),rr(null,e,r),tr(a,t,n,r),qn(e.children,a,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:zn(e,t,r,null!==(s=e.data.renderer)&&void 0!==s?s:n)}}function zn(e,t,n,r){const{sel:o,owner:s}=e,{createCustomElement:i}=r;let l;let c,a;lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(c=e=>{to(e)},a=e=>{no(e)});const u=i(o.toLowerCase(),(t=>{l=function(e,t,n){let r=lo(e);if(!W(r))return r;const{sel:o,mode:s,ctor:i,owner:l}=t;return r=oo(e,i,n,{mode:s,owner:l,tagName:o}),r}(t,e,r)}),c,a);e.elm=u,e.vm=l,Jn(u,s,r),or(u,s,r),l&&sr(e,l),rr(null,e,r),tr(u,t,n,r),l&&(lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||ho(l)),qn(e.children,u,r,null),l&&function(e){co(e)}(l)}function qn(e,t,n,r,o=0,s=e.length){for(;o<s;++o){const s=e[o];Qn(s)&&Kn(s,t,n,r)}}function Xn(e,t,n,r=!1){const{type:o,elm:s,sel:i}=e;switch(r&&(5===o?Zn(e.children,t,n,r):nr(s,t,n)),o){case 2:{const t="slot"===i&&1===e.owner.shadowMode;Zn(e.children,s,n,t);break}case 3:{const{vm:t}=e;W(t)||function(e){ro(e)}(t)}}}function Zn(e,t,n,r=!1,o=0,s=e.length){for(;o<s;++o){const s=e[o];Qn(s)&&Xn(s,t,n,r)}}function Qn(e){return null!=e}function Jn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:s}=t,{isSyntheticShadowDefined:i}=n;i&&(1!==s&&0!==o||(e[re]=r[re]))}function er(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function tr(e,t,n,r){r.insert(e,t,n)}function nr(e,t,n){n.remove(e,t)}function rr(e,t,n){V(e)&&(Gn(t,n),function(e,t){const{elm:n,data:{classMap:r}}=e;if(W(r))return;const{getClassList:o}=t,s=o(n);for(const e in r)s.add(e)}(t,n),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(W(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,s,i]=r[e];o(n,t,s,i)}}(t,n)),function(e,t,n){const{elm:r,data:{className:o}}=t,s=V(e)?void 0:e.data.className;if(s===o)return;const{getClassList:i}=n,l=i(r),c=jn(o),a=jn(s);let u;for(u in a)W(c[u])&&l.remove(u);for(u in c)W(a[u])&&l.add(u)}(e,t,n),function(e,t,n){const{elm:r,data:{style:o}}=t;if((V(e)?void 0:e.data.style)===o)return;const{setAttribute:s,removeAttribute:i}=n;K(o)&&""!==o?s(r,"style",o):i(r,"style")}(e,t,n),t.data.external?function(e,t,n){const{data:{attrs:r},elm:o}=t;if(W(r))return;const{removeAttribute:s,setAttribute:i,setProperty:l}=n,c=V(e)?Ge:e.data.attrs;for(const e in r){const t=r[e];c[e]!==t&&(we(e)in o?l(o,e,t):F.call(e,3)===Hn?i(o,e,t,ce):F.call(e,5)===Hn?i(o,e,t,ue):V(t)||W(t)?s(o,e):i(o,e,t))}}(e,t,n):function(e,t,n){const{attrs:r}=t.data;if(W(r))return;const o=V(e)?Ge:e.data.attrs;if(o===r)return;const{elm:s}=t,{setAttribute:i,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(it(s,e),F.call(e,3)===$n?i(s,e,t,ce):F.call(e,5)===$n?i(s,e,t,ue):V(t)||W(t)?l(s,e):i(s,e,t),st())}}(e,t,n),Wn(e,t,n)}function or(e,t,n){const r=On(t);if(!V(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||W(o)||(e.$shadowToken$=o)}function sr(e,t){const n=e.aChildren||e.children,{renderMode:o,shadowMode:s}=t,i=function(e){const t=[],n=[];let r,o=!1;for(let t=e.length-1;t>-1;t-=1){const r=e[t];T.call(n,r),o=o||!(!r||!Fn(r))}if(!o)return e;for(;!W(r=M.call(n));)if(!V(r)&&Fn(r)){const e=r.children;for(let t=e.length-2;t>0;t-=1)T.call(n,e[t])}else T.call(t,r);return lr(t),t}(n);e.children=i,t.aChildren=i,1!==s&&0!==o||(!function(e,t,n){var o,s;const{cmpSlots:{slotAssignments:i}}=e,l=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(V(n))continue;let r="";Rn(n)?r=null!==(s=null===(o=n.data.attrs)||void 0===o?void 0:o.slot)&&void 0!==s?s:"":In(n)&&(r=n.slotName);const i=""+r,c=l[i]=l[i]||[];T.call(c,n)}if(e.cmpSlots={owner:n,slotAssignments:l},G(e.isDirty)){const t=f(i);if(t.length!==f(l).length)return void Gr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(W(l[r])||i[r].length!==l[r].length)return void Gr(e);const o=i[r],s=l[r];for(let t=0,n=l[r].length;t<n;t+=1)if(o[t]!==s[t])return void Gr(e)}}}(t,i,e.owner),e.aChildren=i,e.children=Ue)}const ir=new WeakMap;function lr(e){ir.set(e,1)}function cr(e){return ir.has(e)}function ar(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(Qn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function ur(e,t,n,r){let o=0,s=0,i=e.length-1,l=e[0],c=e[i];const a=t.length-1;let u,d,f,h,p=a,m=t[0],g=t[p],w=!1;for(;o<=i&&s<=p;)Qn(l)?Qn(c)?Qn(m)?Qn(g)?Dn(l,m)?(Yn(l,m,n,r),l=e[++o],m=t[++s]):Dn(c,g)?(Yn(c,g,n,r),c=e[--i],g=t[--p]):Dn(l,g)?(Yn(l,g,n,r),tr(l.elm,n,r.nextSibling(c.elm),r),l=e[++o],g=t[--p]):Dn(c,m)?(Yn(c,m,n,r),tr(m.elm,n,l.elm,r),c=e[--i],m=t[++s]):(void 0===u&&(u=ar(e,o,i)),d=u[m.key],W(d)?(Kn(m,n,r,l.elm),m=t[++s]):(f=e[d],Qn(f)&&(f.sel!==m.sel?Kn(m,n,r,l.elm):(Yn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,tr(f.elm,n,l.elm,r))),m=t[++s])):g=t[--p]:m=t[++s]:c=e[--i]:l=e[++o];if(o<=i||s<=p)if(o>i){let e,o=p;do{e=t[++o]}while(!Qn(e)&&o<a);h=Qn(e)?e.elm:null,qn(t,n,r,h,s,p+1)}else Zn(e,n,r,!0,o,i+1)}function dr(e,t,n,r){const o=e.length,s=t.length;if(0===o)return void qn(t,n,r,null);if(0===s)return void Zn(e,n,r,!0);let i=null;for(let o=s-1;o>=0;o-=1){const s=e[o],l=t[o];l!==s&&(Qn(s)?Qn(l)?(Yn(s,l,n,r),i=l.elm):Xn(s,n,r,!0):Qn(l)&&(Kn(l,n,r,i),i=l.elm))}}const fr=Symbol.iterator;function hr(e,t,n=Ue){const r=Nr(),{key:o,ref:s}=t,i={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return W(s)||Qe(r,s,i),i}function pr(e,t,n,r=Ue){const o=Nr(),{key:s,ref:i}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:s,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){T.call(Nr().velements,e)}(l),W(i)||Qe(o,i,l),l}function mr(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:Nr()}}function gr(e){return lr(e),e}let wr=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const yr=i({s:function(e,t,n,r){if(!W(r)&&!W(r.slotAssignments)&&!W(r.slotAssignments[e])&&0!==r.slotAssignments[e].length){const o=[],s=r.slotAssignments[e];for(let e=0;e<s.length;e++){const n=s[e];if(!V(n)){const e=In(n);if(e!==!W(t.slotData))continue;if(e){const e=Nr();Lr(r.owner);try{T.call(o,n.factory(t.slotData,t.key))}finally{Lr(e)}}else T.call(o,n)}}n=o}const o=Nr(),{renderMode:s,shadowMode:i}=o;return 0===s?(gr(n),n):(1===i&&gr(n),hr("slot",t,n))},h:hr,c:pr,i:function(e,t){const n=[];if(gr(n),W(e)||null===e)return n;const r=e[fr]();let o=r.next(),s=0,{value:i,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(i,s,0===s,!0===l);m(e)?T.apply(n,e):T.call(n,e),s+=1,i=o.value}return n},f:function(e){const t=e.length,n=[];gr(n);for(let r=0;r<t;r+=1){const t=e[r];m(t)?T.apply(n,t):T.call(n,t)}return n},t:mr,d:function(e){return null==e?"":String(e)},b:function(e){const t=Nr();if(V(t))throw new Error;const n=t;return function(t){Br(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:Nr()}},dc:function(e,t,n,r=Ue){if(null==t)return null;if(!Tn(t))throw new Error(`Invalid LWC Constructor ${X(t)} for custom element <${e}>.`);return pr(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[mr(""),...t,mr("")],stable:n,owner:Nr()}},ti:function(e){return e>0&&!(j(e)||G(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:Nr()}},gid:function(e){const t=Nr();if(W(e)||""===e)return e;if(V(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=Nr();if(W(e)||""===e)return e;if(V(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return wr(e)},ssf:function(e,t){return{type:6,factory:t,owner:Nr(),elm:void 0,sel:void 0,key:void 0,slotName:e}}});let br=!1,vr=z;const Er={enableProfiler(){br=!0},disableProfiler(){br=!1},attachDispatcher(e){vr=e,this.enableProfiler()},detachDispatcher(){const e=vr;return vr=z,this.disableProfiler(),e}};function Cr(e,t){br&&vr(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Sr(e,t){br&&vr(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Mr(e,t){br&&vr(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 Tr(e,t){br&&vr(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 kr=!1,Ar=null;function Nr(){return Ar}function Lr(e){Ar=e}function _r(e){return(t,...n)=>{const o=r(null);return function(){const{context:{hasScopedStyles:r,stylesheetToken:s},shadowMode:i,renderer:l}=Nr(),c=!W(s),a=1===i;let u=0;if(c&&r&&(u|=1),c&&a&&(u|=2),!W(o[u]))return o[u];const d=r&&c?" "+s:"",f=r&&c?` class="${s}"`:"",h=c&&a?" "+s:"";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 xr=_r(((e,t)=>{const{createFragment:n}=t;return n(e)})),Or=_r(((e,t)=>{const{createFragment:n,getFirstChild:r}=t;return r(n("<svg>"+e+"</svg>"))}));function Pr(e,t){const n=kr,o=Ar;let s=[];return yo(e,e.owner,(()=>{Ar=e,Cr(1,e)}),(()=>{const{component:n,context:o,cmpSlots:i,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(V(l)||wo(e),c=t,!hn.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: ${X(t)}.`);e.cmpTemplate=t,o.tplCache=r(null),o.hasScopedStyles=Dr(t,e),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:s,renderer:{getClassList:i,removeAttribute:l,setAttribute:c}}=e,{stylesheets:a,stylesheetToken:u}=t,{stylesheets:d}=e,f=1===o&&1===s,{hasScopedStyles:h}=r;let p,m,g;const{stylesheetToken:w,hasTokenInClass:y,hasTokenInAttribute:b}=r;W(w)||(y&&i(n).remove(Nn(w)),b&&l(n,Nn(w)));const v=Fr(a),E=Fr(d);(v||E)&&(p=u),W(p)||(h&&(i(n).add(Nn(p)),m=!0),f&&(c(n,Nn(p),""),g=!0)),r.stylesheetToken=p,r.hasTokenInClass=m,r.hasTokenInAttribute=g}(e,t);const n=function(e,t){const{stylesheets:n,stylesheetToken:r}=t,{stylesheets:o}=e;let s=[];return Fr(n)&&(s=_n(n,r,e)),Fr(o)&&T.apply(s,_n(o,r,e)),s}(e,t);o.styleVNodes=0===n.length?null:Pn(e,n)}var c;e.refVNodes=t.hasRefs?r(null):null,e.velements=[],kr=!0,s=t.call(void 0,yr,n,i,o.tplCache);const{styleVNodes:a}=o;V(a)||P.apply(s,a)}))}),(()=>{kr=n,Ar=o,Sr(1,e)})),s}function Rr(e){if(Fr(e))for(let t=0;t<e.length;t++)if(j(e[t][le]))return!0;return!1}function Dr(e,t){const{stylesheets:n}=e,r=W(t)?null:t.stylesheets;return Rr(n)||Rr(r)}function Fr(e){return!W(e)&&!V(e)&&e.length>0}let Ir=null;function $r(e){return Ir===e}function Hr(e,t,n){const{component:r,callHook:o,owner:s}=e;yo(e,s,z,(()=>{o(r,t,n)}),z)}function Br(e,t,n,r){const{callHook:o,owner:s}=e;yo(e,s,z,(()=>{o(n,t,[r])}),z)}const Wr=new Map;function Vr(e){return We((()=>{const{isDirty:t}=e;G(t)&&(Gr(e),function(e){if(j(e.isScheduled))return;e.isScheduled=!0,0===uo.length&&Ke(fo);T.call(uo,e)}(e))}))}function jr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,s=Nr();let i,l=!1;return yo(e,o,(()=>{Lr(e)}),(()=>{e.tro.observe((()=>{i=n(r,t),l=!0}))}),(()=>{Lr(s)})),l?Pr(e,i):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Gr(e){e.isDirty=!0}const Ur=new WeakMap;function Yr(e,t){if(!U(t))throw new TypeError("Expected an EventListener but received "+typeof t);let n=Ur.get(t);return W(n)&&(n=function(n){Br(e,t,void 0,n)},Ur.set(t,n)),n}const Kr=r(null),zr=["rendered","connected","disconnected"];function qr(e,t){const{component:n,def:r,context:o}=e;for(let e=0,s=t.length;e<s;++e)t[e].call(void 0,n,{},r,o)}let Xr=0;const Zr=new WeakMap;function Qr(e,t,n=[]){return t.apply(e,n)}function Jr(e,t,n){e[t]=n}function eo(e,t){return e[t]}function to(e){const t=io(e);Mr(7,t),1===t.state&&no(e),ho(t),co(t),Tr(7,t)}function no(e){ro(io(e))}function ro(e){const{state:t}=e;if(2!==t){const{tro:t}=e;t.reset(),function(e){G(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=Kr;t&&qr(e,t);po(e)&&function(e){const{wiredDisconnecting:t}=e.context;yo(e,e,z,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),z)}(e);const{disconnectedCallback:n}=e.def;W(n)||(Cr(5,e),Hr(e,n),Sr(5,e))}(e),mo(e),function(e){const{aChildren:t}=e;go(t)}(e)}}function oo(e,t,n,o){const{mode:s,owner:i,tagName:l,hydrated:c}=o,a=kn(t),u={elm:e,def:a,idx:Xr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:s,owner:i,refVNodes:null,children:Ue,aChildren:Ue,velements:Ue,cmpProps:r(null),cmpFields:r(null),cmpSlots:{slotAssignments: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:Ge,wiredConnecting:Ue,wiredDisconnecting:Ue},tro:null,shadowMode:null,stylesheets:null,component:null,shadowRoot:null,renderRoot:null,callHook:Qr,setHook:Jr,getHook:eo,renderer:n};return u.stylesheets=function(e,t){const{stylesheets:n}=t;if(!W(n)){const e=function(e,t){let n=!0;const r=e=>{if(m(e))for(let t=0;t<e.length;t++)r(e[t]);else U(e)||(n=!1)};m(t)?r(t):n=!1;return n}(0,n);if(e)return Ze(n)}return null}(0,a.ctor),u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let s;if(r)if(0===n.renderMode)s=0;else if(o)if(lwcRuntimeFlags.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)s=0;else{const t=function(e){let t=e.owner;for(;!V(t)&&0===t.renderMode;)t=t.owner;return t}(e);s=V(t)||0!==t.shadowMode?1:0}else s=1;else s=1;else s=0;return s}(u,n),u.tro=Vr(u),function(e,t){const n=Ir;let r;Cr(0,e),Ir=e;try{const o=new t;if(Ir.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Sr(0,e),Ir=n,!W(r))throw _e(e,r),r}}(u,a.ctor),po(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const s=n[t],i=Jt.get(s);if(!W(i)){const{connector:n,computeConfigAndUpdate:s,resetConfigWatcher:l}=tn(e,t,i),c=i.dynamic.length>0;T.call(r,(()=>{n.connect(),lwcRuntimeFlags.ENABLE_WIRE_SYNC_EMIT||!c?s():Promise.resolve().then(s)})),T.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function so(e,t){Zr.set(e,t)}function io(e){return Zr.get(e)}function lo(e){return Zr.get(e)}function co(e){if(j(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&yo(e,e,(()=>{Cr(2,e)}),(()=>{Un(r,t,n,o)}),(()=>{Sr(2,e)}));1===e.state&&ao(e)}(e,jr(e))}}function ao(e){const{def:{renderedCallback:t}}=e,{rendered:n}=Kr;n&&qr(e,n),W(t)||(Cr(4,e),Hr(e,t),Sr(4,e))}let uo=[];function fo(){Mr(8);const e=uo.sort(((e,t)=>e.idx-t.idx));uo=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{co(r)}catch(r){throw t+1<n&&(0===uo.length&&Ke(fo),P.apply(uo,L.call(e,t+1))),Tr(8),r}}Tr(8)}function ho(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Kr;n&&qr(e,n),po(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;W(r)||(Cr(3,e),Hr(e,r),Sr(3,e))}function po(e){return c(e.def.wire).length>0}function mo(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!W(n)){const e=lo(n);W(e)||ro(e)}}}function go(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!V(n)&&!W(n.elm))switch(n.type){case 2:go(n.children);break;case 3:ro(io(n.elm));break}}}function wo(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];V(o)||W(o.elm)||r(o.elm,n)}e.children=Ue,mo(e),e.velements=Ue}function yo(e,t,n,r,o){let s;n();try{r()}catch(e){s=Object(e)}finally{if(o(),!W(s)){_e(e,s);const n=V(t)?void 0:function(e){let t=e;for(;!V(t);){if(!W(t.def.errorCallback))return t;t=t.owner}}(t);if(W(n))throw s;wo(e),Cr(6,e);Hr(n,n.def.errorCallback,[s,s.wcStack]),Sr(6,e)}}}const bo=ne.$nativeGetElementById$,vo=ne.$nativeQuerySelectorAll$;function Eo(e,t,n){let r=lo(e.getRootNode().host);W(r)&&(r=lo(t.getRootNode().host)),W(r)||Ne("CrossRootAriaInSyntheticShadow",{tagName:r.tagName,attributeName:n})}function Co(e,t,n){const r=e.getRootNode();var o;if((o=r)!==document&&j(o.synthetic))if("id"===t){if(!K(n)||0===n.length)return;for(const t of te){const o=`[${t}~="${CSS.escape(n)}"]`,s=vo.call(document,o);for(let n=0;n<s.length;n++){const o=s[n];if(o.getRootNode()!==r){Eo(o,e,t);break}}}}else{const o=function(e){return K(e)?b.call($.call(e,/\s+/),Boolean):[]}(n);for(const n of o){const o=bo.call(document,n);if(!V(o)){o.getRootNode()!==r&&Eo(e,o,t)}}}}let So=!1;"undefined"!=typeof CSS&&U(CSS.escape)&&u.call(Element.prototype,se)&&Ae((function(){if(So)return;So=!0;const{setAttribute:e}=Element.prototype;n(Element.prototype,{setAttribute(t,n){e.call(this,t,n),("id"===t||te.has(t))&&Co(this,t,n)}});const t=l(Element.prototype,"id");if(!W(t)){const{get:e,set:n}=t;U(e)&&U(n)&&s(Element.prototype,"id",{get(){return e.call(this)},set(e){n.call(this,e),Co(this,"id",e)},enumerable:!0,configurable:!0})}}));const Mo=["ariaActiveDescendant","ariaControls","ariaDescribedBy","ariaDetails","ariaErrorMessage","ariaFlowTo","ariaLabelledBy","ariaOwns"];function To(e){return e instanceof Yt||e instanceof Cn}function ko(e,t,n,r){if(!To(e)){const o=function(e){const{host:t}=e.getRootNode(),n=W(t)?void 0:lo(t);if(!W(n))return n;let r=e;for(;!V(r=r.parentElement);)if(To(r)){const e=lo(r);if(!W(e))return e}}(e);let s;n&&(s=V(r)?"null":typeof r),Ne("NonStandardAriaReflection",{tagName:null==o?void 0:o.tagName,propertyName:t,isSetter:n,setValueType:s})}}lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL||Ae((function(){const{prototype:e}=Element;for(const t of Mo){const n=l(e,t),{get:r,set:o}=n;s(e,t,{get(){return ko(this,t,!1,void 0),r.call(this)},set(e){return ko(this,t,!0,e),o.call(this,e)},configurable:!0,enumerable:!0})}}));let Ao=!1;function No(e){const t=jr(e);e.children=t;const{renderRoot:n,renderer:{getFirstChild:r}}=e;xo(r(n),t,n,e),ao(e)}function Lo(e,t,n){var r,o;let s;switch(t.type){case 0:s=function(e,t,n){var r;if(!Ro(t,e,3,n))return Oo(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:s=function(e,t,n){var r;if(!Ro(t,e,8,n))return Oo(e,t,n);const{setProperty:o}=n;return o(e,_o,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 4:s=function(e,t,n){if(!function(e,t,n,r){const{getProperty:o,getAttribute:s}=r;if(3===o(e,"nodeType"))return!!Ro(n,t,3,r)&&o(e,_o)===o(t,_o);if(8===o(e,"nodeType"))return!!Ro(n,t,8,r)&&o(e,_o)===o(t,_o);if(!Ro(n,t,1,r))return!1;let i=!0;if(o(e,"tagName")!==o(t,"tagName"))return!1;return o(e,"getAttributeNames").call(e).forEach((r=>{s(e,r)!==s(t,r)&&(Pe(`Mismatch hydrating element <${o(e,"tagName").toLowerCase()}>: attribute "${r}" has different values, expected "${s(e,r)}" but found "${s(t,r)}"`,n.owner),i=!1)})),i}(t.fragment,e,t,n))return Oo(e,t,n);return t.elm=e,e}(e,t,n);break;case 5:s=function(e,t,n){const{children:r,owner:o}=t;return xo(e,r,n.getProperty(e,"parentNode"),o),t.elm=r[r.length-1].elm}(e,t,n);break;case 2:s=function(e,t,n){if(!Ro(t,e,1,n)||!Do(t,e,n))return Oo(e,t,n);t.elm=e;const{owner:r}=t,{context:o}=t.data,s=Boolean(!W(o)&&!W(o.lwc)&&"manual"===o.lwc.dom);if(s){const{data:{props:r}}=t,{getProperty:o}=n;W(r)||W(r.innerHTML)||o(e,"innerHTML")===r.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:Xe(r,"innerHTML")}))}if(Po(t,n),!s){const{getFirstChild:o}=n;xo(o(e),t.children,e,r)}return e}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:s=function(e,t,n){if(!Ro(t,e,1,n)||!Do(t,e,n))return Oo(e,t,n);const{sel:r,mode:o,ctor:s,owner:i}=t,l=oo(e,s,n,{mode:o,owner:i,tagName:r,hydrated:!0});if(t.elm=e,t.vm=l,sr(t,l),Po(t,n),ho(l),0!==l.renderMode){const{getFirstChild:r}=n;xo(r(e),t.children,e,l)}return No(l),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(s)}const _o="nodeValue";function xo(e,t,n,r){let o=e,s=null;const{renderer:i}=r;for(let e=0;e<t.length;e++){const r=t[e];V(r)||(o?(o=Lo(o,r,i),s=r.elm):(Ao=!0,Kn(r,n,i,s),s=r.elm))}if(o){Ao=!0;const{nextSibling:e}=i;do{const t=o;o=e(o),nr(t,n,i)}while(o)}}function Oo(e,t,n){Ao=!0;const{getProperty:r}=n,o=r(e,"parentNode");return Kn(t,o,n,e),nr(e,o,n),t.elm}function Po(e,t){Gn(e,t),Wn(null,e,t)}function Ro(e,t,n,r){const{getProperty:o}=r;return o(t,"nodeType")===n}function Do(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,s]of Object.entries(r)){const{getAttribute:r}=n,i=r(t,e);String(s)!==i&&(o=!1)}return o}(e,t,n),s=function(e,t,n){const{data:r,owner:o}=e;let{className:s,classMap:i}=r;const{getProperty:l,getClassList:c}=n,a=On(o),u=function(e){return 3===e.type}(e)?function(e){const{template:t}=kn(e.ctor),{vm:n}=e,{stylesheetToken:r}=t;return!W(r)&&Dr(t,n)?Nn(r):null}(e):null;if(!V(a)||!V(u))if(W(s))if(W(i)){const e=[a,u],t=b.call(e,(e=>!V(e)));t.length&&(s=C.call(t," "))}else i=Object.assign(Object.assign(Object.assign({},i),V(a)?{}:{[a]:!0}),V(u)?{}:{[u]:!0});else{const e=[a,s,u],t=b.call(e,(e=>!V(e)));s=C.call(t," ")}let d=!0;const h=l(t,"className");if(W(s)||String(s)===h)if(W(i))W(s)&&""!==h&&(d=!1);else{const e=c(t);let n="";for(const t in i)n+=" "+t,e.contains(t)||(d=!1);n.trim(),e.length>f(i).length&&(d=!1)}else d=!1;return d}(e,t,n),i=function(e,t,n){const{data:{style:r,styleDecls:o}}=e,{getAttribute:s}=n,i=s(t,"style")||"";let l=!0;if(W(r)||r===i){if(!W(o)){const e=function(e){const t={},n=e.split(ze);for(const e of n)if(e){const[n,r]=e.split(qe);void 0!==n&&void 0!==r&&(t[n.trim()]=r.trim())}return t}(i),t=[];for(let n=0,r=o.length;n<r;n++){const[r,s,i]=o[n];t.push(`${r}: ${s+(i?" important!":"")}`);const c=e[r];W(c)?l=!1:c.startsWith(s)?i&&!c.endsWith("!important")&&(l=!1):l=!1}f(e).length>o.length&&(l=!1),C.call(t,";")}}else l=!1;return l}(e,t,n);return o&&s&&i}let Fo=!1;const Io=["slots","stylesheetToken","stylesheets","renderMode"],$o=["$scoped$"],Ho=["pop","push","shift","unshift","reverse","sort","fill","splice","copyWithin"];let Bo=!1;function Wo(e){switch(e){case"pop":return M;case"push":return T;case"shift":return N;case"unshift":return P;case"reverse":return A;case"sort":return x;case"fill":return y;case"splice":return O;case"copyWithin":return w}}function Vo(e,t,n){Ne(t,{propertyName:n})}function jo(e){Vo(0,"TemplateMutation",e)}function Go(e){Vo(0,"StylesheetMutation",e)}function Uo(e){Yo(e,(e=>{m(e)?function(e){for(const t of Ho){const n=Wo(t);e[t]=function(){return jo("stylesheets"),n.apply(this,arguments)}}}(e):function(e){for(const t of $o){let n=e[t];s(e,t,{enumerable:!0,configurable:!0,get:()=>n,set(e){Go(t),n=e}})}}(e)}))}function Yo(e,t){t(e);for(let n=0;n<e.length;n++){const r=e[n];m(r)?Yo(r,t):t(r)}}const Ko=U(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),zo=Ko&&l(document.adoptedStyleSheets,"length").writable,qo=!W(document.documentMode),Xo=new Map;function Zo(e){const t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function Qo(e,t,n){const r=function(e,t){const{element:n,usedElement:r}=t;return r?qo?Zo(e):n.cloneNode(!0):(t.usedElement=!0,n)}(e,n);t.appendChild(r)}function Jo(e,t){let n=Xo.get(e);return W(n)&&(n={stylesheet:void 0,element:void 0,roots:void 0,global:!1,usedElement:!1},Xo.set(e,n)),t&&W(n.stylesheet)?n.stylesheet=function(e){const t=new CSSStyleSheet;return t.replaceSync(e),t}(e):!t&&W(n.element)&&(n.element=Zo(e)),n}function es(e,t){const n=Jo(e,Ko);let{roots:r}=n;if(W(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),Ko?function(e,t,n){const{adoptedStyleSheets:r}=t,{stylesheet:o}=n;zo?r.push(o):t.adoptedStyleSheets=[...r,o]}(0,t,n):Qo(e,t,n)}const ts=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}}(),ns=(e,t)=>{const n=document.createElement(e);return t(n),n},rs=new Map,os=new WeakSet;let ss=!1;const is=(e,t)=>{const n=!W(e),r=!W(t);class o extends HTMLElement{constructor(e){super(),ss?e(this):(n||r)&&os.add(this)}}return n&&(o.prototype.connectedCallback=function(){os.has(this)||e(this)}),r&&(o.prototype.disconnectedCallback=function(){os.has(this)||t(this)}),o};let ls;function cs(e){const t=function(e){var t=Object.freeze({__proto__:null,fail:function(e){throw new Error(e)},invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)}});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 s=document.implementation.createHTMLDocument("");s.body.innerHTML=e;let i=s.body;if(!n(o))for(let e=0;e<o.length;e++)i=i.firstChild;return i.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}ls=ts?(e,t,n,r)=>{let o=rs.get(e);if(W(o)){if(!W(customElements.get(e)))throw new Error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`);o=is(n,r),customElements.define(e,o),rs.set(e,o)}ss=!0;try{return new o(t)}finally{ss=!1}}:ns;const as=n(cs(null),{insertStylesheet:function(e,t){W(t)?function(e){const t=Jo(e,!1);t.global||(t.global=!0,Qo(e,document.head,t))}(e):es(e,t)},createCustomElement:ls,isNativeShadowDefined:ne.$isNativeShadowRootDefined$,isSyntheticShadowDefined:u.call(Element.prototype,se)});function us(e,t,n){const r=oo(e,t,as,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0});for(const[t,r]of Object.entries(n))e[t]=r;return r}function ds(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(!Y(n)||V(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);if(lo(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{!function(e){Ao=!1,ho(e),No(e),Ao&&Pe("Hydration completed with errors.",e)}(us(e,t,n))}catch(r){console.error("Recovering from error while hydrating: ",r),function(e,t){if(e.shadowRoot){const t=e.shadowRoot;for(;!V(t.firstChild);)t.removeChild(t.firstChild)}if("light"===t.renderMode)for(;!V(e.firstChild);)e.removeChild(e.firstChild)}(e,t),us(e,t,n),to(e)}}const fs=new WeakSet;function hs(e){var t;const n=function(e){return kn(e).bridge}(e),{observedAttributes:r}=n,{attributeChangedCallback:o}=n.prototype;return(t=class extends HTMLElement{constructor(){super(),this.isConnected?(ds(this,e,{}),fs.add(this)):oo(this,e,as,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){fs.has(this)?fs.delete(this):to(this)}disconnectedCallback(){no(this)}attributeChangedCallback(e,t,n){o.call(this,e,t,n)}}).observedAttributes=r,t}const ps=Node,ms=new WeakMap,gs=new WeakMap;function ws(e,t){const n=t.get(e);return W(n)||n(e),e}if(!lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE){const{appendChild:e,insertBefore:t,removeChild:r,replaceChild:o}=ps.prototype;n(ps.prototype,{appendChild(t){return ws(e.call(this,t),ms)},insertBefore(e,n){return ws(t.call(this,e,n),ms)},removeChild(e){return ws(r.call(this,e),gs)},replaceChild(e,t){const n=o.call(this,e,t);return ws(n,gs),ws(e,ms),n}})}const ys=Node;const bs=new Map;s(Yt,"CustomElementConstructor",{get(){return function(e){if(e===Yt)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=bs.get(e);return W(t)&&(t=hs(e),bs.set(e,t)),t}(this)}}),i(Yt),h(Yt.prototype),e.LightningElement=Yt,e.__unstable__ProfilerControl=Er,e.__unstable__ReportingControl=ke,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=rn(e);if(!W(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){nn.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:s}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{W(s)||s(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!Y(t)||V(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${X(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}=as,o=B.call(e);let s,i;return lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(s=e=>{to(e)},i=e=>{no(e)}),r(o,(e=>{oo(e,n,as,{tagName:o,mode:"closed"!==t.mode?"open":"closed",owner:null}),lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||(ms.set(e,to),gs.set(e,no))}),s,i)},e.freezeTemplate=function(e){lwcRuntimeFlags.ENABLE_FROZEN_TEMPLATE?(i(e),W(e.stylesheets)||Yo(e.stylesheets,(e=>{i(e)}))):(!function(e){s(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return W(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=W(e)?void 0:e.shadowAttribute}})}(e),Ae((()=>{!function(e){W(e.stylesheets)||Uo(e.stylesheets);for(const t of Io){let n=e[t];s(e,t,{enumerable:!0,configurable:!0,get:()=>n,set(e){Bo||jo(t),n=e}})}const t=l(e,"stylesheetTokens");s(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get:t.get,set(e){jo("stylesheetTokens"),Bo=!0,t.set.call(this,e),Bo=!1}})}(e)})))},e.getComponentConstructor=function(e){let t=null;if(!W(e)){const n=lo(e);W(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=kn(e),{ctor:n,name:r,props:o,propsConfig:s,methods:i}=t,l={};for(const e in o)l[e]={config:s[e]||0,type:"any",attr:ge(e)};const c={};for(const e in i)c[e]=i[e].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=ds,e.isComponentConstructor=Tn,e.isNodeFromTemplate=function(e){if(G(e instanceof ys))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&G(u.call(a(t),"synthetic")))||as.isSyntheticShadowDefined&&!W(e[re])},e.parseFragment=xr,e.parseSVGFragment=Or,e.readonly=function(e){return Vt(e)},e.register=function(e){for(let t=0;t<zr.length;++t){const n=zr[t];if(n in e){let t=Kr[n];W(t)&&(Kr[n]=t=[]),T.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return U(e)&&Wr.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:o,publicMethods:i,wire:c,track:a,fields:u}=t,d=r(null),f=r(null),h=r(null),p=r(null),m=r(null),g=r(null);let w;if(!W(o))for(const e in o){const t=o[e];if(g[e]=t.config,w=l(n,e),t.config>0){if(W(w))throw new Error;w=cn(0,w)}else w=W(w)||W(w.get)?ln(e):cn(0,w);f[e]=w,s(n,e,w)}if(W(i)||R.call(i,(e=>{if(w=l(n,e),W(w))throw new Error;d[e]=w})),!W(c))for(const e in c){const{adapter:t,method:r,config:o,dynamic:i=[]}=c[e];if(w=l(n,e),1===r){if(W(w))throw new Error;h[e]=w,on(w,t,o,i)}else w=un(e),p[e]=w,sn(w,t,o,i),s(n,e,w)}if(!W(a))for(const e in a)w=l(n,e),w=an(e),s(n,e,w);if(!W(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(n,t);const r=!W(o)&&t in o,s=!W(a)&&t in a;r||s||(m[t]=Xt(t))}return function(e,t){dn.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return hn.add(e),e},e.renderer=as,e.rendererFactory=cs,e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(W(ye[e])){const n=f(ye).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=be[e];if(!W(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}".`);s(be,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(Fo,"Hooks are already overridden, only one definition is allowed."),Fo=!0,n=e.sanitizeHtmlContent,wr=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 jt(e);throw new Error},e.unwrap=function(e){return Wt.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,fail:function(e){throw new Error(e)},invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)}});const{assign:n,create:r,defineProperties:o,defineProperty:s,freeze:i,getOwnPropertyDescriptor:l,getOwnPropertyNames:c,getPrototypeOf:a,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{concat:g,copyWithin:w,fill:y,filter:b,find:v,indexOf:E,join:C,map:S,pop:M,push:T,reduce:k,reverse:A,shift:N,slice:L,some:_,sort:x,splice:O,unshift:P,forEach:R}=Array.prototype,{fromCharCode:D}=String,{charCodeAt:F,replace:I,split:$,slice:H,toLowerCase:B}=String.prototype;function W(e){return void 0===e}function V(e){return null===e}function j(e){return!0===e}function G(e){return!1===e}function U(e){return"function"==typeof e}function Y(e){return"object"==typeof e}function K(e){return"string"==typeof e}function z(){}const q={}.toString;function X(e){return e&&e.toString?m(e)?C.call(S.call(e,X),","):e.toString():"object"==typeof e?q.call(e):e+""}function Z(e,t){do{const n=l(e,t);if(!W(n))return n;e=a(e)}while(null!==e)}const Q=["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:J,AriaPropNameToAttrNameMap:ee}=(()=>{const e=r(null),t=r(null);return R.call(Q,(n=>{const r=B.call(I.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),te=new Set(["aria-activedescendant","aria-controls","aria-describedby","aria-details","aria-errormessage","aria-flowto","aria-labelledby","aria-owns","for"]),ne="object"==typeof globalThis?globalThis:window,re="$shadowResolver$",oe="$shadowStaticNode$",se="$shadowToken$",ie="$$lwc-synthetic-mode",le="$scoped$",ce="http://www.w3.org/XML/1998/namespace",ae="http://www.w3.org/2000/svg",ue="http://www.w3.org/1999/xlink",de=/-([a-z])/g,{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:fe,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:he}=(()=>{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}})(),pe=new Map,me=new Map;function ge(e){const t=ee[e];if(!W(t))return t;const n=he.get(e);if(!W(n))return n;const r=pe.get(e);if(!W(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=F.call(e,t);o+=n>=65&&n<=90?"-"+D(n+32):D(n)}return pe.set(e,o),o}function we(e){const t=J[e];if(!W(t))return t;const n=fe.get(e);if(!W(n))return n;const r=me.get(e);if(!W(r))return r;const o=I.call(e,de,(e=>e[1].toUpperCase()));return me.set(e,o),o}const ye={DUMMY_TEST_FLAG:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_WIRE_SYNC_EMIT:null,ENABLE_LIGHT_GET_ROOT_NODE_PATCH:null,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null,ENABLE_FROZEN_TEMPLATE:null,DISABLE_ARIA_REFLECTION_POLYFILL:null};ne.lwcRuntimeFlags||Object.defineProperty(ne,"lwcRuntimeFlags",{value:r(null)});const be=ne.lwcRuntimeFlags;function ve(e,t){return W(l(t,e))}function Ee(e,t){const n=function(e){return{get(){return this.hasAttribute(e)?this.getAttribute(e):null},set(t){V(t)?this.removeAttribute(e):this.setAttribute(e,t)},configurable:!0,enumerable:!0}}(ee[e]);s(t,e,n)}function Ce(e=Element.prototype){const t=f(ee);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];ve(r,e)&&Ee(r,e)}}lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL||Ce();const Se=[];let Me=z,Te=!1;const ke={attachDispatcher(e){Te=!0,Me=e;for(const e of Se)try{e()}catch(e){console.error("Could not invoke callback",e)}Se.length=0},detachDispatcher(){Te=!1,Me=z}};function Ae(e){Te?e():Se.push(e)}function Ne(e,t){Te&&Me(e,t)}function Le(e){return`<${B.call(e.tagName)}>`}function _e(e,t){if(!d(t)&&W(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!V(n);)T.call(t,Le(n)),n=n.owner;return t.reverse().join("\n\t")}(e);s(t,"wcStack",{get:()=>n})}}const xe=new Set;function Oe(e,t,n,r){let o=`[LWC ${e}]: ${t}`;if(W(n)||(o=`${o}\n${function(e){const t=[];let n="";for(;!V(e.owner);)T.call(t,n+Le(e)),e=e.owner,n+="\t";return C.call(t,"\n")}(n)}`),r){if(xe.has(o))return;xe.add(o)}try{throw new Error(o)}catch(t){console[e](t)}}function Pe(e,t){Oe("error",e,t,!1)}const Re=new WeakMap;let De=null;function Fe(e,t){const n=Re.get(e);if(!W(n)){const e=n[t];if(!W(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function Ie(e,t){if(null===De)return;const n=De,o=function(e){let t=Re.get(e);if(W(t)){const n=r(null);t=n,Re.set(e,n)}return t}(e);let s=o[t];if(W(s))s=[],o[t]=s;else if(s[0]===n)return;-1===E.call(s,n)&&n.link(s)}class $e{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=De;let n;De=this;try{e()}catch(e){n=Object(e)}finally{if(De=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=E.call(e[n],this);O.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){T.call(e,this),T.call(this.listeners,e)}}function He(e,t){Fe(e.component,t)}function Be(e,t){Ie(e.component,t)}function We(e){return new $e(e)}let Ve=[];const je=32,Ge=h(r(null)),Ue=h([]);function Ye(){const e=Ve;Ve=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function Ke(e){0===Ve.length&&Promise.resolve().then(Ye),T.call(Ve,e)}const ze=/;(?![^(]*\))/g,qe=/:(.+)/;function Xe(e,t){const n={};for(const r of f(e))r!==t&&(n[r]=e[r]);return n}function Ze(e){const t=[];for(const n of e)m(n)?t.push(...Ze(n)):t.push(n);return t}function Qe(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}function Je(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function et(e){return U(e)&&u.call(e,"__circular__")}const tt="undefined"!=typeof HTMLElement?HTMLElement:function(){},nt=tt.prototype;let rt,ot=null;function st(e,t){ot=null,rt=void 0}function it(e,t){ot=e,rt=t}const lt=r(null);function ct(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n,He(e,t))}R.call(f(ee),(e=>{const t=Z(nt,e);W(t)||(lt[e]=t)})),R.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=Z(nt,e);W(t)||(lt[e]=t)}));const{isArray:at}=Array,{prototype:ut,getPrototypeOf:dt,create:ft,defineProperty:ht,isExtensible:pt,getOwnPropertyDescriptor:mt,getOwnPropertyNames:gt,getOwnPropertySymbols:wt,preventExtensions:yt,hasOwnProperty:bt}=Object,{push:vt,concat:Et}=Array.prototype;function Ct(e){return void 0===e}function St(e){return"function"==typeof e}const Mt=new WeakMap;function Tt(e,t){Mt.set(e,t)}const kt=e=>Mt.get(e)||e;class At{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(bt.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;Ct(n)||(e.get=this.wrapGetter(n)),Ct(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=mt(n,t);if(!Ct(r)){const n=this.wrapDescriptor(r);ht(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;Et.call(gt(t),wt(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;Ct(n)||bt.call(e,n)||ht(e,n,ft(null)),yt(e)}apply(e,t,n){}construct(e,t,n){}get(e,t){const{originalTarget:n,membrane:{valueObserved:r}}=this,o=n[t];return r(n,t),this.wrapValue(o)}has(e,t){const{originalTarget:n,membrane:{tagPropertyKey:r,valueObserved:o}}=this;return o(n,t),t in n||t===r}ownKeys(e){const{originalTarget:t,membrane:{tagPropertyKey:n}}=this,r=Ct(n)||bt.call(t,n)?[]:[n];return vt.apply(r,gt(t)),vt.apply(r,wt(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!pt(e)&&(!!pt(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return dt(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let s=mt(n,t);if(Ct(s)){if(t!==o)return;return s={value:void 0,writable:!1,configurable:!1,enumerable:!1},ht(e,o,s),s}return!1===s.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(s)}}const Nt=new WeakMap,Lt=new WeakMap,_t=new WeakMap,xt=new WeakMap;class Ot extends At{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=Nt.get(e);if(!Ct(t))return t;const n=this,r=function(){return n.wrapValue(e.call(kt(this)))};return Nt.set(e,r),_t.set(r,e),r}wrapSetter(e){const t=Lt.get(e);if(!Ct(t))return t;const n=function(t){e.call(kt(this),kt(t))};return Lt.set(e,n),xt.set(n,e),n}unwrapDescriptor(e){if(bt.call(e,"value"))e.value=kt(e.value);else{const{set:t,get:n}=e;Ct(n)||(e.get=this.unwrapGetter(n)),Ct(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=_t.get(e);if(!Ct(t))return t;const n=this,r=function(){return kt(e.call(n.wrapValue(this)))};return Nt.set(r,e),_t.set(e,r),r}unwrapSetter(e){const t=xt.get(e);if(!Ct(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Lt.set(r,e),xt.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&&at(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(pt(e)){const{originalTarget:t}=this;if(yt(t),pt(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:s}}=this;return t===s&&!bt.call(r,t)||(ht(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const Pt=new WeakMap,Rt=new WeakMap;class Dt extends At{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=Pt.get(e);if(!Ct(t))return t;const n=this,r=function(){return n.wrapValue(e.call(kt(this)))};return Pt.set(e,r),r}wrapSetter(e){const t=Rt.get(e);if(!Ct(t))return t;const n=function(e){};return Rt.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 Ft(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(at(e))return!0;const t=dt(e);return t===ut||null===t||null===dt(t)}const It=(e,t)=>{},$t=(e,t)=>{};function Ht(e){return at(e)?[]:{}}const Bt=Symbol.for("@@lockerLiveValue"),Wt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=St(t)?t:$t,this.valueObserved=St(n)?n:It,this.valueIsObservable=St(r)?r:Ft,this.tagPropertyKey=o}getProxy(e){const t=kt(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=kt(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return kt(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(Ct(t)){const n=new Ot(this,e);t=new Proxy(Ht(e),n),Tt(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(Ct(t)){const n=new Dt(this,e);t=new Proxy(Ht(e),n),Tt(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:Ie,valueMutated:Fe,tagPropertyKey:Bt});function Vt(e){return Wt.getReadOnlyProxy(e)}function jt(e){return Wt.getProxy(e)}function Gt(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!U(n))throw new TypeError;if(!U(r))throw new TypeError;return{enumerable:o,configurable:s,get(){const t=io(this);if(!$r(t))return Be(t,e),n.call(t.elm)},set(t){const n=io(this);return ct(n,e,t),r.call(n.elm,t)}}}const Ut=new WeakMap,Yt=function(){if(V(Ir))throw new TypeError("Illegal constructor");const e=Ir,{def:t,elm:n}=e,{bridge:r}=t;if(p(n,r.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return this[Bt]=void 0,so(this,e),so(n,e),1===e.renderMode?e.renderRoot=function(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:s}}=e,i=s(t,{[ie]:1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=i,so(i,e),i}(e):e.renderRoot=n,this};Yt.prototype={constructor:Yt,dispatchEvent(e){const t=io(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=io(this),{elm:o,renderer:{addEventListener:s}}=r;s(o,e,Yr(r,t),n)},removeEventListener(e,t,n){const r=io(this),{elm:o,renderer:{removeEventListener:s}}=r;s(o,e,Yr(r,t),n)},hasAttribute(e){const t=io(this),{elm:n,renderer:{getAttribute:r}}=t;return!V(r(n,e))},hasAttributeNS(e,t){const n=io(this),{elm:r,renderer:{getAttribute:o}}=n;return!V(o(r,t,e))},removeAttribute(e){const t=io(this),{elm:n,renderer:{removeAttribute:r}}=t;it(n,e),r(n,e),st()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=io(this);it(n,t),r(n,t,e),st()},getAttribute(e){const t=io(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=io(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=io(this),{elm:r,renderer:{setAttribute:o}}=n;it(r,e),o(r,e,t),st()},setAttributeNS(e,t,n){const r=io(this),{elm:o,renderer:{setAttribute:s}}=r;it(o,t),s(o,t,n,e),st()},getBoundingClientRect(){const e=io(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=io(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=io(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return io(this).shadowRoot},get refs(){const e=io(this);if(kr)return;const{refVNodes:t,cmpTemplate:n}=e;if(V(t))return;let o=Ut.get(t);if(W(o)){o=r(null);for(const e of f(t))o[e]=t[e].elm;i(o),Ut.set(t,o)}return o},set refs(e){s(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=io(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=io(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=io(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=io(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=io(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=io(this);return e.renderer.getLastElementChild(e.elm)},render(){return io(this).def.template},toString(){return`[object ${io(this).def.name}]`}};const Kt=r(null),zt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of zt)Kt[e]={value(t){const n=io(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};o(Yt.prototype,Kt);const qt=r(null);for(const e in lt)qt[e]=Gt(e,lt[e]);function Xt(e){return{get(){const t=io(this);return Be(t,e),t.cmpFields[e]},set(t){ct(io(this),e,t)},enumerable:!0,configurable:!0}}o(Yt.prototype,qt),lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL&&Ce(Yt.prototype),s(Yt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});const Zt="$$DeprecatedWiredElementHostKey$$",Qt="$$DeprecatedWiredParamsMetaKey$$",Jt=new Map;class en extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),o(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function tn(e,t,n){const{method:r,adapter:o,configCallback:i,dynamic:l}=n;const c=W(r)?function(e,t){return n=>{ct(e,t,n)}}(e,t):function(e,t){return n=>{yo(e,e.owner,z,(()=>{t.call(e.component,n)}),z)}}(e,r),a=e=>{c(e)};let u,d;s(a,Zt,{value:e.elm}),s(a,Qt,{value:l}),yo(e,e,z,(()=>{d=new o(a)}),z);const{computeConfigAndUpdate:f,ro:h}=function(e,t,n){let r=!1;const o=We((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),s()})))})),s=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:s,ro:o}}(e.component,i,(t=>{yo(e,e,z,(()=>{d.update(t,u)}),z)}));return W(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=rn(r);if(W(o))return;const{elm:s,context:{wiredConnecting:i,wiredDisconnecting:l},renderer:{dispatchEvent:c}}=e;T.call(i,(()=>{const e=new en(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){T.call(l,e)}});c(s,e)}))}(e,n,(t=>{u!==t&&(u=t,1===e.state&&f())})),{connector:d,computeConfigAndUpdate:f,resetConfigWatcher:()=>h.reset()}}const nn=new Map;function rn(e){return nn.get(e)}function on(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Jt.set(e,o)}function sn(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Jt.set(e,o)}function ln(e){return{get(){const t=io(this);if(!$r(t))return Be(t,e),t.cmpProps[e]},set(t){const n=io(this);n.cmpProps[e]=t,He(n,e)},enumerable:!0,configurable:!0}}function cn(e,t){const{get:n,set:r,enumerable:o,configurable:s}=t;if(!U(n))throw new Error;return{get(){return n.call(this)},set(e){io(this),r&&r.call(this,e)},enumerable:o,configurable:s}}function an(e){return{get(){const t=io(this);return Be(t,e),t.cmpFields[e]},set(t){const n=io(this),r=jt(t);ct(n,e,r)},enumerable:!0,configurable:!0}}function un(e){return{get(){const t=io(this);return Be(t,e),t.cmpFields[e]},set(t){ct(io(this),e,t)},enumerable:!0,configurable:!0}}const dn=new Map;const fn={apiMethods:Ge,apiFields:Ge,apiFieldsConfig:Ge,wiredMethods:Ge,wiredFields:Ge,observedFields:Ge};const hn=new Set;function pn(){return[]}hn.add(pn);const mn=r(null),gn=r(null);function wn(e){let t=mn[e];return W(t)&&(t=mn[e]=function(){const t=io(this),{getHook:n}=t;return n(t.component,e)}),t}function yn(e){let t=gn[e];return W(t)&&(t=gn[e]=function(t){const n=io(this),{setHook:r}=n;t=Vt(t),r(n.component,e,t)}),t}function bn(e){return function(){const t=io(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,L.call(arguments))}}function vn(e,t){return function(n,r,o){if(r===o)return;const s=e[n];W(s)?W(t)||t.apply(this,arguments):function(e,t){return e!==ot||t!==rt}(this,n)&&(this[s]=o)}}function En(e,t,n){let i;U(e)?i=class extends e{}:(i=function(){throw new TypeError("Illegal constructor")},p(i,e),p(i.prototype,e.prototype),s(i.prototype,"constructor",{writable:!0,configurable:!0,value:i}));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[ge(n)]=n,u[n]={get:wn(n),set:yn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:bn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:vn(l,c)},s(i,"observedAttributes",{get:()=>[...a,...f(l)]}),o(i.prototype,u),i}const Cn=En(tt,c(lt),[]);lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL&&Ce(Cn.prototype),i(Cn),h(Cn.prototype);new WeakMap,new WeakMap,new WeakMap,new WeakMap;const Sn=new WeakMap;function Mn(e){const{shadowSupportMode:t,renderMode:s}=e,i=function(e){const t=dn.get(e);return W(t)?fn:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=i,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=a(e);if(V(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(et(t)){const e=Je(t);t=e===t?Yt:e}return t}(e),C=E!==Yt?kn(E):An,S=En(C.bridge,f(l),f(u)),M=n(r(null),C.props,l),T=n(r(null),C.propsConfig,c),k=n(r(null),C.methods,u),A=n(r(null),C.wire,d,h);g=g||C.connectedCallback,w=w||C.disconnectedCallback,y=y||C.renderedCallback,b=b||C.errorCallback,v=v||C.render;let N=C.shadowSupportMode;W(t)||(N=t);let L=C.renderMode;W(s)||(L="light"===s?0:1);const _=function(e){return Wr.get(e)}(e)||C.template,x=e.name||C.name;o(m,p);return{ctor:e,name:x,wire:A,props:M,propsConfig:T,methods:k,bridge:S,template:_,renderMode:L,shadowSupportMode:N,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function Tn(e){if(!U(e))return!1;if(e.prototype instanceof Yt)return!0;let t=e;do{if(et(t)){const e=Je(t);if(e===t)return!0;t=e}if(t===Yt)return!0}while(!V(t)&&(t=a(t)));return!1}function kn(e){let t=Sn.get(e);if(W(t)){if(et(e)){return t=kn(Je(e)),Sn.set(e,t),t}if(!Tn(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=Mn(e),Sn.set(e,t)}return t}const An={ctor:Yt,name:Yt.name,props:qt,propsConfig:Ge,methods:Ge,renderMode:1,shadowSupportMode:"reset",wire:Ge,bridge:Cn,template:pn,render:Yt.prototype.render};function Nn(e){return`${e}-host`}function Ln(e){return yr.h("style",{key:"style",attrs:{type:"text/css"}},[yr.t(e)])}function _n(e,t,n){const r=[];let o;for(let s=0;s<e.length;s++){let i=e[s];if(m(i))T.apply(r,_n(i,t,n));else{const e=i[le];if(lwcRuntimeFlags.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){Pe("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}const s=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let c;1===n.renderMode?c=0===n.shadowMode:(W(o)&&(o=xn(n)),c=V(o)||0===o.shadowMode),T.call(r,i(s,l,c))}}return r}function xn(e){let t=e;for(;!V(t);){if(1===t.renderMode)return t;t=t.owner}return t}function On(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}function Pn(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 S.call(t,Ln);{const n=function(e){const t=xn(e);return V(t)||1!==t.shadowMode?t:null}(e),r=V(n)?void 0:n.shadowRoot;for(let e=0;e<t.length;e++)o(t[e],r)}}return null}function Rn(e){const{type:t}=e;return 2===t||3===t}function Dn(e,t){return e.key===t.key&&e.sel===t.sel}function Fn(e){return 5===e.type}function In(e){return 6===e.type}const $n=58;const Hn=58;function Bn(e,t){return"input"===e&&("value"===t||"checked"===t)}function Wn(e,t,r){let{props:o}=t.data;const{spread:s}=t.data;if(W(o)&&W(s))return;let i;if(!V(e)){i=e.data.props;const t=e.data.spread;if(i===o&&t===s)return;W(i)&&(i=Ge),W(t)||(i=n({},i,t))}W(s)||(o=n({},o,s));const l=V(e),{elm:c,sel:a}=t,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(Bn(a,e)?u(c,e):i[e])&&e in i||d(c,e,t)}}const Vn=r(null);function jn(e){if(null==e)return Ge;e=K(e)?e:e+"";let t=Vn[e];if(t)return t;t=r(null);let n,o=0;const s=e.length;for(n=0;n<s;n++)F.call(e,n)===je&&(n>o&&(t[H.call(e,o,n)]=!0),o=n+1);return n>o&&(t[H.call(e,o,n)]=!0),Vn[e]=t,t}function Gn(e,t){const{elm:n,data:{on:r}}=e;if(W(r))return;const{addEventListener:o}=t;for(const e in r){o(n,e,r[e])}}function Un(e,t,n,r){cr(t)?ur(e,t,n,r):dr(e,t,n,r)}function Yn(e,t,n,r){var o,s;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&er(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:s}=t;s?dr(e.children,o,n,r):ur(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;rr(e,t,n),Un(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);Xn(e,n,r,!0),zn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;if(rr(e,t,r),!W(o)){sr(t,o);const{shadowMode:n,renderMode:r}=o;0==n&&0!==r&&cr(e.children)&&lr(t.children)}Un(e.children,t.children,n,r),W(o)||function(e){co(e)}(o)}}(e,t,n,null!==(s=t.data.renderer)&&void 0!==s?s:r)}}function Kn(e,t,n,r){var o,s;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:s}=r,i=e.elm=s(e.text);Jn(i,o,r),tr(i,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:s}=r,i=e.elm=s(e.text);Jn(i,o,r),tr(i,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:s,isSyntheticShadowDefined:i}=r,l=e.elm=s(e.fragment,!0);Jn(l,o,r);const{renderMode:c,shadowMode:a}=o;i&&(1!==a&&0!==c||(l[oe]=!0));tr(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;qn(o,t,r,n),e.elm=o[o.length-1].elm}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:s,data:{svg:i}}=e,{createElement:l}=r,c=j(i)?ae:void 0,a=e.elm=l(o,c);Jn(a,s,r),or(a,s,r),function(e,t){var n;const{owner:r,data:{context:o}}=t;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(a,e),rr(null,e,r),tr(a,t,n,r),qn(e.children,a,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:zn(e,t,r,null!==(s=e.data.renderer)&&void 0!==s?s:n)}}function zn(e,t,n,r){const{sel:o,owner:s}=e,{createCustomElement:i}=r;let l;let c,a;lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(c=e=>{to(e)},a=e=>{no(e)});const u=i(o.toLowerCase(),(t=>{l=function(e,t,n){let r=lo(e);if(!W(r))return r;const{sel:o,mode:s,ctor:i,owner:l}=t;return r=oo(e,i,n,{mode:s,owner:l,tagName:o}),r}(t,e,r)}),c,a);e.elm=u,e.vm=l,Jn(u,s,r),or(u,s,r),l&&sr(e,l),rr(null,e,r),tr(u,t,n,r),l&&(lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||ho(l)),qn(e.children,u,r,null),l&&function(e){co(e)}(l)}function qn(e,t,n,r,o=0,s=e.length){for(;o<s;++o){const s=e[o];Qn(s)&&Kn(s,t,n,r)}}function Xn(e,t,n,r=!1){const{type:o,elm:s,sel:i}=e;switch(r&&(5===o?Zn(e.children,t,n,r):nr(s,t,n)),o){case 2:{const t="slot"===i&&1===e.owner.shadowMode;Zn(e.children,s,n,t);break}case 3:{const{vm:t}=e;W(t)||function(e){ro(e)}(t)}}}function Zn(e,t,n,r=!1,o=0,s=e.length){for(;o<s;++o){const s=e[o];Qn(s)&&Xn(s,t,n,r)}}function Qn(e){return null!=e}function Jn(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:s}=t,{isSyntheticShadowDefined:i}=n;i&&(1!==s&&0!==o||(e[re]=r[re]))}function er(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function tr(e,t,n,r){r.insert(e,t,n)}function nr(e,t,n){n.remove(e,t)}function rr(e,t,n){V(e)&&(Gn(t,n),function(e,t){const{elm:n,data:{classMap:r}}=e;if(W(r))return;const{getClassList:o}=t,s=o(n);for(const e in r)s.add(e)}(t,n),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(W(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,s,i]=r[e];o(n,t,s,i)}}(t,n)),function(e,t,n){const{elm:r,data:{className:o}}=t,s=V(e)?void 0:e.data.className;if(s===o)return;const{getClassList:i}=n,l=i(r),c=jn(o),a=jn(s);let u;for(u in a)W(c[u])&&l.remove(u);for(u in c)W(a[u])&&l.add(u)}(e,t,n),function(e,t,n){const{elm:r,data:{style:o}}=t;if((V(e)?void 0:e.data.style)===o)return;const{setAttribute:s,removeAttribute:i}=n;K(o)&&""!==o?s(r,"style",o):i(r,"style")}(e,t,n),t.data.external?function(e,t,n){const{data:{attrs:r},elm:o}=t;if(W(r))return;const{removeAttribute:s,setAttribute:i,setProperty:l}=n,c=V(e)?Ge:e.data.attrs;for(const e in r){const t=r[e];c[e]!==t&&(we(e)in o?l(o,e,t):F.call(e,3)===Hn?i(o,e,t,ce):F.call(e,5)===Hn?i(o,e,t,ue):V(t)||W(t)?s(o,e):i(o,e,t))}}(e,t,n):function(e,t,n){const{attrs:r}=t.data;if(W(r))return;const o=V(e)?Ge:e.data.attrs;if(o===r)return;const{elm:s}=t,{setAttribute:i,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(it(s,e),F.call(e,3)===$n?i(s,e,t,ce):F.call(e,5)===$n?i(s,e,t,ue):V(t)||W(t)?l(s,e):i(s,e,t),st())}}(e,t,n),Wn(e,t,n)}function or(e,t,n){const r=On(t);if(!V(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||W(o)||(e.$shadowToken$=o)}function sr(e,t){const n=e.aChildren||e.children,{renderMode:o,shadowMode:s}=t,i=function(e){const t=[],n=[];let r,o=!1;for(let t=e.length-1;t>-1;t-=1){const r=e[t];T.call(n,r),o=o||!(!r||!Fn(r))}if(!o)return e;for(;!W(r=M.call(n));)if(!V(r)&&Fn(r)){const e=r.children;for(let t=e.length-2;t>0;t-=1)T.call(n,e[t])}else T.call(t,r);return lr(t),t}(n);e.children=i,t.aChildren=i,1!==s&&0!==o||(!function(e,t,n){var o,s;const{cmpSlots:{slotAssignments:i}}=e,l=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(V(n))continue;let r="";Rn(n)?r=null!==(s=null===(o=n.data.attrs)||void 0===o?void 0:o.slot)&&void 0!==s?s:"":In(n)&&(r=n.slotName);const i=""+r,c=l[i]=l[i]||[];T.call(c,n)}if(e.cmpSlots={owner:n,slotAssignments:l},G(e.isDirty)){const t=f(i);if(t.length!==f(l).length)return void Gr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(W(l[r])||i[r].length!==l[r].length)return void Gr(e);const o=i[r],s=l[r];for(let t=0,n=l[r].length;t<n;t+=1)if(o[t]!==s[t])return void Gr(e)}}}(t,i,e.owner),e.aChildren=i,e.children=Ue)}const ir=new WeakMap;function lr(e){ir.set(e,1)}function cr(e){return ir.has(e)}function ar(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(Qn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function ur(e,t,n,r){let o=0,s=0,i=e.length-1,l=e[0],c=e[i];const a=t.length-1;let u,d,f,h,p=a,m=t[0],g=t[p],w=!1;for(;o<=i&&s<=p;)Qn(l)?Qn(c)?Qn(m)?Qn(g)?Dn(l,m)?(Yn(l,m,n,r),l=e[++o],m=t[++s]):Dn(c,g)?(Yn(c,g,n,r),c=e[--i],g=t[--p]):Dn(l,g)?(Yn(l,g,n,r),tr(l.elm,n,r.nextSibling(c.elm),r),l=e[++o],g=t[--p]):Dn(c,m)?(Yn(c,m,n,r),tr(m.elm,n,l.elm,r),c=e[--i],m=t[++s]):(void 0===u&&(u=ar(e,o,i)),d=u[m.key],W(d)?(Kn(m,n,r,l.elm),m=t[++s]):(f=e[d],Qn(f)&&(f.sel!==m.sel?Kn(m,n,r,l.elm):(Yn(f,m,n,r),w||(w=!0,e=[...e]),e[d]=void 0,tr(f.elm,n,l.elm,r))),m=t[++s])):g=t[--p]:m=t[++s]:c=e[--i]:l=e[++o];if(o<=i||s<=p)if(o>i){let e,o=p;do{e=t[++o]}while(!Qn(e)&&o<a);h=Qn(e)?e.elm:null,qn(t,n,r,h,s,p+1)}else Zn(e,n,r,!0,o,i+1)}function dr(e,t,n,r){const o=e.length,s=t.length;if(0===o)return void qn(t,n,r,null);if(0===s)return void Zn(e,n,r,!0);let i=null;for(let o=s-1;o>=0;o-=1){const s=e[o],l=t[o];l!==s&&(Qn(s)?Qn(l)?(Yn(s,l,n,r),i=l.elm):Xn(s,n,r,!0):Qn(l)&&(Kn(l,n,r,i),i=l.elm))}}const fr=Symbol.iterator;function hr(e,t,n=Ue){const r=Nr(),{key:o,ref:s}=t,i={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return W(s)||Qe(r,s,i),i}function pr(e,t,n,r=Ue){const o=Nr(),{key:s,ref:i}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:s,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){T.call(Nr().velements,e)}(l),W(i)||Qe(o,i,l),l}function mr(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:Nr()}}function gr(e){return lr(e),e}let wr=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const yr=i({s:function(e,t,n,r){if(!W(r)&&!W(r.slotAssignments)&&!W(r.slotAssignments[e])&&0!==r.slotAssignments[e].length){const o=[],s=r.slotAssignments[e];for(let e=0;e<s.length;e++){const n=s[e];if(!V(n)){const e=In(n);if(e!==!W(t.slotData))continue;if(e){const e=Nr();Lr(r.owner);try{T.call(o,n.factory(t.slotData,t.key))}finally{Lr(e)}}else T.call(o,n)}}n=o}const o=Nr(),{renderMode:s,shadowMode:i}=o;return 0===s?(gr(n),n):(1===i&&gr(n),hr("slot",t,n))},h:hr,c:pr,i:function(e,t){const n=[];if(gr(n),W(e)||null===e)return n;const r=e[fr]();let o=r.next(),s=0,{value:i,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(i,s,0===s,!0===l);m(e)?T.apply(n,e):T.call(n,e),s+=1,i=o.value}return n},f:function(e){const t=e.length,n=[];gr(n);for(let r=0;r<t;r+=1){const t=e[r];m(t)?T.apply(n,t):T.call(n,t)}return n},t:mr,d:function(e){return null==e?"":String(e)},b:function(e){const t=Nr();if(V(t))throw new Error;const n=t;return function(t){Br(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:Nr()}},dc:function(e,t,n,r=Ue){if(null==t)return null;if(!Tn(t))throw new Error(`Invalid LWC Constructor ${X(t)} for custom element <${e}>.`);return pr(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[mr(""),...t,mr("")],stable:n,owner:Nr()}},ti:function(e){return e>0&&!(j(e)||G(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:Nr()}},gid:function(e){const t=Nr();if(W(e)||""===e)return e;if(V(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=Nr();if(W(e)||""===e)return e;if(V(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return wr(e)},ssf:function(e,t){return{type:6,factory:t,owner:Nr(),elm:void 0,sel:void 0,key:void 0,slotName:e}}});let br=!1,vr=z;const Er={enableProfiler(){br=!0},disableProfiler(){br=!1},attachDispatcher(e){vr=e,this.enableProfiler()},detachDispatcher(){const e=vr;return vr=z,this.disableProfiler(),e}};function Cr(e,t){br&&vr(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Sr(e,t){br&&vr(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Mr(e,t){br&&vr(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 Tr(e,t){br&&vr(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 kr=!1,Ar=null;function Nr(){return Ar}function Lr(e){Ar=e}function _r(e){return(t,...n)=>{const o=r(null);return function(){const{context:{hasScopedStyles:r,stylesheetToken:s},shadowMode:i,renderer:l}=Nr(),c=!W(s),a=1===i;let u=0;if(c&&r&&(u|=1),c&&a&&(u|=2),!W(o[u]))return o[u];const d=r&&c?" "+s:"",f=r&&c?` class="${s}"`:"",h=c&&a?" "+s:"";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 xr=_r(((e,t)=>{const{createFragment:n}=t;return n(e)})),Or=_r(((e,t)=>{const{createFragment:n,getFirstChild:r}=t;return r(n("<svg>"+e+"</svg>"))}));function Pr(e,t){const n=kr,o=Ar;let s=[];return yo(e,e.owner,(()=>{Ar=e,Cr(1,e)}),(()=>{const{component:n,context:o,cmpSlots:i,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(V(l)||wo(e),c=t,!hn.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: ${X(t)}.`);e.cmpTemplate=t,o.tplCache=r(null),o.hasScopedStyles=Dr(t,e),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:s,renderer:{getClassList:i,removeAttribute:l,setAttribute:c}}=e,{stylesheets:a,stylesheetToken:u}=t,{stylesheets:d}=e,f=1===o&&1===s,{hasScopedStyles:h}=r;let p,m,g;const{stylesheetToken:w,hasTokenInClass:y,hasTokenInAttribute:b}=r;W(w)||(y&&i(n).remove(Nn(w)),b&&l(n,Nn(w)));const v=Fr(a),E=Fr(d);(v||E)&&(p=u),W(p)||(h&&(i(n).add(Nn(p)),m=!0),f&&(c(n,Nn(p),""),g=!0)),r.stylesheetToken=p,r.hasTokenInClass=m,r.hasTokenInAttribute=g}(e,t);const n=function(e,t){const{stylesheets:n,stylesheetToken:r}=t,{stylesheets:o}=e;let s=[];return Fr(n)&&(s=_n(n,r,e)),Fr(o)&&T.apply(s,_n(o,r,e)),s}(e,t);o.styleVNodes=0===n.length?null:Pn(e,n)}var c;e.refVNodes=t.hasRefs?r(null):null,e.velements=[],kr=!0,s=t.call(void 0,yr,n,i,o.tplCache);const{styleVNodes:a}=o;V(a)||P.apply(s,a)}))}),(()=>{kr=n,Ar=o,Sr(1,e)})),s}function Rr(e){if(Fr(e))for(let t=0;t<e.length;t++)if(j(e[t][le]))return!0;return!1}function Dr(e,t){const{stylesheets:n}=e,r=W(t)?null:t.stylesheets;return Rr(n)||Rr(r)}function Fr(e){return!W(e)&&!V(e)&&e.length>0}let Ir=null;function $r(e){return Ir===e}function Hr(e,t,n){const{component:r,callHook:o,owner:s}=e;yo(e,s,z,(()=>{o(r,t,n)}),z)}function Br(e,t,n,r){const{callHook:o,owner:s}=e;yo(e,s,z,(()=>{o(n,t,[r])}),z)}const Wr=new Map;function Vr(e){return We((()=>{const{isDirty:t}=e;G(t)&&(Gr(e),function(e){if(j(e.isScheduled))return;e.isScheduled=!0,0===uo.length&&Ke(fo);T.call(uo,e)}(e))}))}function jr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,s=Nr();let i,l=!1;return yo(e,o,(()=>{Lr(e)}),(()=>{e.tro.observe((()=>{i=n(r,t),l=!0}))}),(()=>{Lr(s)})),l?Pr(e,i):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Gr(e){e.isDirty=!0}const Ur=new WeakMap;function Yr(e,t){if(!U(t))throw new TypeError("Expected an EventListener but received "+typeof t);let n=Ur.get(t);return W(n)&&(n=function(n){Br(e,t,void 0,n)},Ur.set(t,n)),n}const Kr=r(null),zr=["rendered","connected","disconnected"];function qr(e,t){const{component:n,def:r,context:o}=e;for(let e=0,s=t.length;e<s;++e)t[e].call(void 0,n,{},r,o)}let Xr=0;const Zr=new WeakMap;function Qr(e,t,n=[]){return t.apply(e,n)}function Jr(e,t,n){e[t]=n}function eo(e,t){return e[t]}function to(e){const t=io(e);Mr(7,t),1===t.state&&no(e),ho(t),co(t),Tr(7,t)}function no(e){ro(io(e))}function ro(e){const{state:t}=e;if(2!==t){const{tro:t}=e;t.reset(),function(e){G(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=Kr;t&&qr(e,t);po(e)&&function(e){const{wiredDisconnecting:t}=e.context;yo(e,e,z,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),z)}(e);const{disconnectedCallback:n}=e.def;W(n)||(Cr(5,e),Hr(e,n),Sr(5,e))}(e),mo(e),function(e){const{aChildren:t}=e;go(t)}(e)}}function oo(e,t,n,o){const{mode:s,owner:i,tagName:l,hydrated:c}=o,a=kn(t),u={elm:e,def:a,idx:Xr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:s,owner:i,refVNodes:null,children:Ue,aChildren:Ue,velements:Ue,cmpProps:r(null),cmpFields:r(null),cmpSlots:{slotAssignments: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:Ge,wiredConnecting:Ue,wiredDisconnecting:Ue},tro:null,shadowMode:null,stylesheets:null,component:null,shadowRoot:null,renderRoot:null,callHook:Qr,setHook:Jr,getHook:eo,renderer:n};return u.stylesheets=function(e,t){const{stylesheets:n}=t;if(!W(n)){const e=function(e,t){let n=!0;const r=e=>{if(m(e))for(let t=0;t<e.length;t++)r(e[t]);else U(e)||(n=!1)};m(t)?r(t):n=!1;return n}(0,n);if(e)return Ze(n)}return null}(0,a.ctor),u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let s;if(r)if(0===n.renderMode)s=0;else if(o)if(lwcRuntimeFlags.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)s=0;else{const t=function(e){let t=e.owner;for(;!V(t)&&0===t.renderMode;)t=t.owner;return t}(e);s=V(t)||0!==t.shadowMode?1:0}else s=1;else s=1;else s=0;return s}(u,n),u.tro=Vr(u),function(e,t){const n=Ir;let r;Cr(0,e),Ir=e;try{const o=new t;if(Ir.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Sr(0,e),Ir=n,!W(r))throw _e(e,r),r}}(u,a.ctor),po(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const s=n[t],i=Jt.get(s);if(!W(i)){const{connector:n,computeConfigAndUpdate:s,resetConfigWatcher:l}=tn(e,t,i),c=i.dynamic.length>0;T.call(r,(()=>{n.connect(),lwcRuntimeFlags.ENABLE_WIRE_SYNC_EMIT||!c?s():Promise.resolve().then(s)})),T.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function so(e,t){Zr.set(e,t)}function io(e){return Zr.get(e)}function lo(e){return Zr.get(e)}function co(e){if(j(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&yo(e,e,(()=>{Cr(2,e)}),(()=>{Un(r,t,n,o)}),(()=>{Sr(2,e)}));1===e.state&&ao(e)}(e,jr(e))}}function ao(e){const{def:{renderedCallback:t}}=e,{rendered:n}=Kr;n&&qr(e,n),W(t)||(Cr(4,e),Hr(e,t),Sr(4,e))}let uo=[];function fo(){Mr(8);const e=uo.sort(((e,t)=>e.idx-t.idx));uo=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{co(r)}catch(r){throw t+1<n&&(0===uo.length&&Ke(fo),P.apply(uo,L.call(e,t+1))),Tr(8),r}}Tr(8)}function ho(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Kr;n&&qr(e,n),po(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;W(r)||(Cr(3,e),Hr(e,r),Sr(3,e))}function po(e){return c(e.def.wire).length>0}function mo(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!W(n)){const e=lo(n);W(e)||ro(e)}}}function go(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!V(n)&&!W(n.elm))switch(n.type){case 2:go(n.children);break;case 3:ro(io(n.elm));break}}}function wo(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];V(o)||W(o.elm)||r(o.elm,n)}e.children=Ue,mo(e),e.velements=Ue}function yo(e,t,n,r,o){let s;n();try{r()}catch(e){s=Object(e)}finally{if(o(),!W(s)){_e(e,s);const n=V(t)?void 0:function(e){let t=e;for(;!V(t);){if(!W(t.def.errorCallback))return t;t=t.owner}}(t);if(W(n))throw s;wo(e),Cr(6,e);Hr(n,n.def.errorCallback,[s,s.wcStack]),Sr(6,e)}}}const bo=ne.$nativeGetElementById$,vo=ne.$nativeQuerySelectorAll$;function Eo(e,t,n){let r=lo(e.getRootNode().host);W(r)&&(r=lo(t.getRootNode().host)),W(r)||Ne("CrossRootAriaInSyntheticShadow",{tagName:r.tagName,attributeName:n})}function Co(e,t,n){const r=e.getRootNode();var o;if((o=r)!==document&&j(o.synthetic))if("id"===t){if(!K(n)||0===n.length)return;for(const t of te){const o=`[${t}~="${CSS.escape(n)}"]`,s=vo.call(document,o);for(let n=0;n<s.length;n++){const o=s[n];if(o.getRootNode()!==r){Eo(o,e,t);break}}}}else{const o=function(e){return K(e)?b.call($.call(e,/\s+/),Boolean):[]}(n);for(const n of o){const o=bo.call(document,n);if(!V(o)){o.getRootNode()!==r&&Eo(e,o,t)}}}}let So=!1;"undefined"!=typeof CSS&&U(CSS.escape)&&u.call(Element.prototype,se)&&Ae((function(){if(So)return;So=!0;const{setAttribute:e}=Element.prototype;n(Element.prototype,{setAttribute(t,n){e.call(this,t,n),("id"===t||te.has(t))&&Co(this,t,n)}});const t=l(Element.prototype,"id");if(!W(t)){const{get:e,set:n}=t;U(e)&&U(n)&&s(Element.prototype,"id",{get(){return e.call(this)},set(e){n.call(this,e),Co(this,"id",e)},enumerable:!0,configurable:!0})}}));const Mo=["ariaActiveDescendant","ariaControls","ariaDescribedBy","ariaDetails","ariaErrorMessage","ariaFlowTo","ariaLabelledBy","ariaOwns"];function To(e){return e instanceof Yt||e instanceof Cn}function ko(e,t,n,r){if(!To(e)){const o=function(e){const{host:t}=e.getRootNode(),n=W(t)?void 0:lo(t);if(!W(n))return n;let r=e;for(;!V(r=r.parentElement);)if(To(r)){const e=lo(r);if(!W(e))return e}}(e);let s;n&&(s=V(r)?"null":typeof r),Ne("NonStandardAriaReflection",{tagName:null==o?void 0:o.tagName,propertyName:t,isSetter:n,setValueType:s})}}lwcRuntimeFlags.DISABLE_ARIA_REFLECTION_POLYFILL||Ae((function(){const{prototype:e}=Element;for(const t of Mo){const n=l(e,t),{get:r,set:o}=n;s(e,t,{get(){return ko(this,t,!1,void 0),r.call(this)},set(e){return ko(this,t,!0,e),o.call(this,e)},configurable:!0,enumerable:!0})}}));let Ao=!1;function No(e){const t=jr(e);e.children=t;const{renderRoot:n,renderer:{getFirstChild:r}}=e;xo(r(n),t,n,e),ao(e)}function Lo(e,t,n){var r,o;let s;switch(t.type){case 0:s=function(e,t,n){var r;if(!Ro(t,e,3,n))return Oo(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:s=function(e,t,n){var r;if(!Ro(t,e,8,n))return Oo(e,t,n);const{setProperty:o}=n;return o(e,_o,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 4:s=function(e,t,n){if(!function(e,t,n,r){const{getProperty:o,getAttribute:s}=r;if(3===o(e,"nodeType"))return!!Ro(n,t,3,r)&&o(e,_o)===o(t,_o);if(8===o(e,"nodeType"))return!!Ro(n,t,8,r)&&o(e,_o)===o(t,_o);if(!Ro(n,t,1,r))return!1;let i=!0;if(o(e,"tagName")!==o(t,"tagName"))return!1;return o(e,"getAttributeNames").call(e).forEach((r=>{s(e,r)!==s(t,r)&&(Pe(`Mismatch hydrating element <${o(e,"tagName").toLowerCase()}>: attribute "${r}" has different values, expected "${s(e,r)}" but found "${s(t,r)}"`,n.owner),i=!1)})),i}(t.fragment,e,t,n))return Oo(e,t,n);return t.elm=e,e}(e,t,n);break;case 5:s=function(e,t,n){const{children:r,owner:o}=t;return xo(e,r,n.getProperty(e,"parentNode"),o),t.elm=r[r.length-1].elm}(e,t,n);break;case 2:s=function(e,t,n){if(!Ro(t,e,1,n)||!Do(t,e,n))return Oo(e,t,n);t.elm=e;const{owner:r}=t,{context:o}=t.data,s=Boolean(!W(o)&&!W(o.lwc)&&"manual"===o.lwc.dom);if(s){const{data:{props:r}}=t,{getProperty:o}=n;W(r)||W(r.innerHTML)||o(e,"innerHTML")===r.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:Xe(r,"innerHTML")}))}if(Po(t,n),!s){const{getFirstChild:o}=n;xo(o(e),t.children,e,r)}return e}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:s=function(e,t,n){if(!Ro(t,e,1,n)||!Do(t,e,n))return Oo(e,t,n);const{sel:r,mode:o,ctor:s,owner:i}=t,l=oo(e,s,n,{mode:o,owner:i,tagName:r,hydrated:!0});if(t.elm=e,t.vm=l,sr(t,l),Po(t,n),ho(l),0!==l.renderMode){const{getFirstChild:r}=n;xo(r(e),t.children,e,l)}return No(l),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(s)}const _o="nodeValue";function xo(e,t,n,r){let o=e,s=null;const{renderer:i}=r;for(let e=0;e<t.length;e++){const r=t[e];V(r)||(o?(o=Lo(o,r,i),s=r.elm):(Ao=!0,Kn(r,n,i,s),s=r.elm))}if(o){Ao=!0;const{nextSibling:e}=i;do{const t=o;o=e(o),nr(t,n,i)}while(o)}}function Oo(e,t,n){Ao=!0;const{getProperty:r}=n,o=r(e,"parentNode");return Kn(t,o,n,e),nr(e,o,n),t.elm}function Po(e,t){Gn(e,t),Wn(null,e,t)}function Ro(e,t,n,r){const{getProperty:o}=r;return o(t,"nodeType")===n}function Do(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,s]of Object.entries(r)){const{getAttribute:r}=n;Fo(s,r(t,e))||(o=!1)}return o}(e,t,n),s=function(e,t,n){const{data:r,owner:o}=e;let{className:s,classMap:i}=r;const{getProperty:l,getClassList:c}=n,a=On(o),u=function(e){return 3===e.type}(e)?function(e){const{template:t}=kn(e.ctor),{vm:n}=e,{stylesheetToken:r}=t;return!W(r)&&Dr(t,n)?Nn(r):null}(e):null;if(!V(a)||!V(u))if(W(s))if(W(i)){const e=[a,u],t=b.call(e,(e=>!V(e)));t.length&&(s=C.call(t," "))}else i=Object.assign(Object.assign(Object.assign({},i),V(a)?{}:{[a]:!0}),V(u)?{}:{[u]:!0});else{const e=[a,s,u],t=b.call(e,(e=>!V(e)));s=C.call(t," ")}let d=!0;const h=l(t,"className");if(W(s)||String(s)===h)if(W(i))W(s)&&""!==h&&(d=!1);else{const e=c(t);let n="";for(const t in i)n+=" "+t,e.contains(t)||(d=!1);n.trim(),e.length>f(i).length&&(d=!1)}else d=!1;return d}(e,t,n),i=function(e,t,n){const{data:{style:r,styleDecls:o}}=e,{getAttribute:s}=n,i=s(t,"style")||"";let l=!0;if(W(r)||r===i){if(!W(o)){const e=function(e){const t={},n=e.split(ze);for(const e of n)if(e){const[n,r]=e.split(qe);void 0!==n&&void 0!==r&&(t[n.trim()]=r.trim())}return t}(i),t=[];for(let n=0,r=o.length;n<r;n++){const[r,s,i]=o[n];t.push(`${r}: ${s+(i?" important!":"")}`);const c=e[r];W(c)?l=!1:c.startsWith(s)?i&&!c.endsWith("!important")&&(l=!1):l=!1}f(e).length>o.length&&(l=!1),C.call(t,";")}}else l=!1;return l}(e,t,n);return o&&s&&i}function Fo(e,t){return String(e)===t||!(!V(t)||!W(e)&&!V(e))}let Io=!1;const $o=["slots","stylesheetToken","stylesheets","renderMode"],Ho=["$scoped$"],Bo=["pop","push","shift","unshift","reverse","sort","fill","splice","copyWithin"];let Wo=!1;function Vo(e){switch(e){case"pop":return M;case"push":return T;case"shift":return N;case"unshift":return P;case"reverse":return A;case"sort":return x;case"fill":return y;case"splice":return O;case"copyWithin":return w}}function jo(e,t,n){Ne(t,{propertyName:n})}function Go(e){jo(0,"TemplateMutation",e)}function Uo(e){jo(0,"StylesheetMutation",e)}function Yo(e){Ko(e,(e=>{m(e)?function(e){for(const t of Bo){const n=Vo(t);e[t]=function(){return Go("stylesheets"),n.apply(this,arguments)}}}(e):function(e){for(const t of Ho){let n=e[t];s(e,t,{enumerable:!0,configurable:!0,get:()=>n,set(e){Uo(t),n=e}})}}(e)}))}function Ko(e,t){t(e);for(let n=0;n<e.length;n++){const r=e[n];m(r)?Ko(r,t):t(r)}}const zo=U(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),qo=zo&&l(document.adoptedStyleSheets,"length").writable,Xo=!W(document.documentMode),Zo=new Map;function Qo(e){const t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function Jo(e,t,n){const r=function(e,t){const{element:n,usedElement:r}=t;return r?Xo?Qo(e):n.cloneNode(!0):(t.usedElement=!0,n)}(e,n);t.appendChild(r)}function es(e,t){let n=Zo.get(e);return W(n)&&(n={stylesheet:void 0,element:void 0,roots:void 0,global:!1,usedElement:!1},Zo.set(e,n)),t&&W(n.stylesheet)?n.stylesheet=function(e){const t=new CSSStyleSheet;return t.replaceSync(e),t}(e):!t&&W(n.element)&&(n.element=Qo(e)),n}function ts(e,t){const n=es(e,zo);let{roots:r}=n;if(W(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),zo?function(e,t,n){const{adoptedStyleSheets:r}=t,{stylesheet:o}=n;qo?r.push(o):t.adoptedStyleSheets=[...r,o]}(0,t,n):Jo(e,t,n)}const ns=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}}(),rs=(e,t)=>{const n=document.createElement(e);return t(n),n},os=new Map,ss=new WeakSet;let is=!1;const ls=(e,t)=>{const n=!W(e),r=!W(t);class o extends HTMLElement{constructor(e){super(),is?e(this):(n||r)&&ss.add(this)}}return n&&(o.prototype.connectedCallback=function(){ss.has(this)||e(this)}),r&&(o.prototype.disconnectedCallback=function(){ss.has(this)||t(this)}),o};let cs;function as(e){const t=function(e){var t=Object.freeze({__proto__:null,fail:function(e){throw new Error(e)},invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)}});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 s=document.implementation.createHTMLDocument("");s.body.innerHTML=e;let i=s.body;if(!n(o))for(let e=0;e<o.length;e++)i=i.firstChild;return i.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}cs=ns?(e,t,n,r)=>{let o=os.get(e);if(W(o)){if(!W(customElements.get(e)))throw new Error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`);o=ls(n,r),customElements.define(e,o),os.set(e,o)}is=!0;try{return new o(t)}finally{is=!1}}:rs;const us=n(as(null),{insertStylesheet:function(e,t){W(t)?function(e){const t=es(e,!1);t.global||(t.global=!0,Jo(e,document.head,t))}(e):ts(e,t)},createCustomElement:cs,isNativeShadowDefined:ne.$isNativeShadowRootDefined$,isSyntheticShadowDefined:u.call(Element.prototype,se)});function ds(e,t,n){const r=oo(e,t,us,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0});for(const[t,r]of Object.entries(n))e[t]=r;return r}function fs(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(!Y(n)||V(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);if(lo(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{!function(e){Ao=!1,ho(e),No(e),Ao&&Pe("Hydration completed with errors.",e)}(ds(e,t,n))}catch(r){console.error("Recovering from error while hydrating: ",r),function(e,t){if(e.shadowRoot){const t=e.shadowRoot;for(;!V(t.firstChild);)t.removeChild(t.firstChild)}if("light"===t.renderMode)for(;!V(e.firstChild);)e.removeChild(e.firstChild)}(e,t),ds(e,t,n),to(e)}}const hs=new WeakSet;function ps(e){var t;const n=function(e){return kn(e).bridge}(e),{observedAttributes:r}=n,{attributeChangedCallback:o}=n.prototype;return(t=class extends HTMLElement{constructor(){super(),this.isConnected?(fs(this,e,{}),hs.add(this)):oo(this,e,us,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){hs.has(this)?hs.delete(this):to(this)}disconnectedCallback(){no(this)}attributeChangedCallback(e,t,n){o.call(this,e,t,n)}}).observedAttributes=r,t}const ms=Node,gs=new WeakMap,ws=new WeakMap;function ys(e,t){const n=t.get(e);return W(n)||n(e),e}if(!lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE){const{appendChild:e,insertBefore:t,removeChild:r,replaceChild:o}=ms.prototype;n(ms.prototype,{appendChild(t){return ys(e.call(this,t),gs)},insertBefore(e,n){return ys(t.call(this,e,n),gs)},removeChild(e){return ys(r.call(this,e),ws)},replaceChild(e,t){const n=o.call(this,e,t);return ys(n,ws),ys(e,gs),n}})}const bs=Node;const vs=new Map;s(Yt,"CustomElementConstructor",{get(){return function(e){if(e===Yt)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=vs.get(e);return W(t)&&(t=ps(e),vs.set(e,t)),t}(this)}}),i(Yt),h(Yt.prototype),e.LightningElement=Yt,e.__unstable__ProfilerControl=Er,e.__unstable__ReportingControl=ke,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=rn(e);if(!W(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){nn.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:s}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{W(s)||s(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!Y(t)||V(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${X(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}=us,o=B.call(e);let s,i;return lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(s=e=>{to(e)},i=e=>{no(e)}),r(o,(e=>{oo(e,n,us,{tagName:o,mode:"closed"!==t.mode?"open":"closed",owner:null}),lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||(gs.set(e,to),ws.set(e,no))}),s,i)},e.freezeTemplate=function(e){lwcRuntimeFlags.ENABLE_FROZEN_TEMPLATE?(i(e),W(e.stylesheets)||Ko(e.stylesheets,(e=>{i(e)}))):(!function(e){s(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return W(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=W(e)?void 0:e.shadowAttribute}})}(e),Ae((()=>{!function(e){W(e.stylesheets)||Yo(e.stylesheets);for(const t of $o){let n=e[t];s(e,t,{enumerable:!0,configurable:!0,get:()=>n,set(e){Wo||Go(t),n=e}})}const t=l(e,"stylesheetTokens");s(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get:t.get,set(e){Go("stylesheetTokens"),Wo=!0,t.set.call(this,e),Wo=!1}})}(e)})))},e.getComponentConstructor=function(e){let t=null;if(!W(e)){const n=lo(e);W(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=kn(e),{ctor:n,name:r,props:o,propsConfig:s,methods:i}=t,l={};for(const e in o)l[e]={config:s[e]||0,type:"any",attr:ge(e)};const c={};for(const e in i)c[e]=i[e].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=fs,e.isComponentConstructor=Tn,e.isNodeFromTemplate=function(e){if(G(e instanceof bs))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&G(u.call(a(t),"synthetic")))||us.isSyntheticShadowDefined&&!W(e[re])},e.parseFragment=xr,e.parseSVGFragment=Or,e.readonly=function(e){return Vt(e)},e.register=function(e){for(let t=0;t<zr.length;++t){const n=zr[t];if(n in e){let t=Kr[n];W(t)&&(Kr[n]=t=[]),T.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return U(e)&&Wr.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:o,publicMethods:i,wire:c,track:a,fields:u}=t,d=r(null),f=r(null),h=r(null),p=r(null),m=r(null),g=r(null);let w;if(!W(o))for(const e in o){const t=o[e];if(g[e]=t.config,w=l(n,e),t.config>0){if(W(w))throw new Error;w=cn(0,w)}else w=W(w)||W(w.get)?ln(e):cn(0,w);f[e]=w,s(n,e,w)}if(W(i)||R.call(i,(e=>{if(w=l(n,e),W(w))throw new Error;d[e]=w})),!W(c))for(const e in c){const{adapter:t,method:r,config:o,dynamic:i=[]}=c[e];if(w=l(n,e),1===r){if(W(w))throw new Error;h[e]=w,on(w,t,o,i)}else w=un(e),p[e]=w,sn(w,t,o,i),s(n,e,w)}if(!W(a))for(const e in a)w=l(n,e),w=an(e),s(n,e,w);if(!W(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(n,t);const r=!W(o)&&t in o,s=!W(a)&&t in a;r||s||(m[t]=Xt(t))}return function(e,t){dn.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return hn.add(e),e},e.renderer=us,e.rendererFactory=as,e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(W(ye[e])){const n=f(ye).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=be[e];if(!W(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}".`);s(be,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(Io,"Hooks are already overridden, only one definition is allowed."),Io=!0,n=e.sanitizeHtmlContent,wr=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 jt(e);throw new Error},e.unwrap=function(e){return Wt.unwrapProxy(e)},e.wire=function(e,t){throw new Error}}));
@@ -324,7 +324,7 @@
324
324
  CACHED_ATTRIBUTE_PROPERTY_MAPPING.set(attrName, propertyName);
325
325
  return propertyName;
326
326
  }
327
- /** version: 2.37.2 */
327
+ /** version: 2.37.3 */
328
328
 
329
329
  /**
330
330
  * Copyright (C) 2018 salesforce.com, inc.
@@ -392,7 +392,7 @@
392
392
  */
393
393
  function setFeatureFlagForTest(name, value) {
394
394
  }
395
- /** version: 2.37.2 */
395
+ /** version: 2.37.3 */
396
396
 
397
397
  /**
398
398
  * Copyright (C) 2018 salesforce.com, inc.
@@ -456,7 +456,7 @@
456
456
  }
457
457
  }
458
458
  }
459
- /** version: 2.37.2 */
459
+ /** version: 2.37.3 */
460
460
 
461
461
  /*
462
462
  * Copyright (c) 2018, salesforce.com, inc.
@@ -5396,6 +5396,19 @@
5396
5396
  const hasIncompatibleStyle = validateStyleAttr(vnode, elm, renderer);
5397
5397
  return hasIncompatibleAttrs && hasIncompatibleClass && hasIncompatibleStyle;
5398
5398
  }
5399
+ function attributeValuesAreEqual(vnodeValue, value) {
5400
+ const vnodeValueAsString = String(vnodeValue);
5401
+ if (vnodeValueAsString === value) {
5402
+ return true;
5403
+ }
5404
+ // If the expected value is null, this means that the attribute does not exist. In that case,
5405
+ // we accept any nullish value (undefined or null).
5406
+ if (isNull(value) && (isUndefined$1(vnodeValue) || isNull(vnodeValue))) {
5407
+ return true;
5408
+ }
5409
+ // In all other cases, the two values are not considered equal
5410
+ return false;
5411
+ }
5399
5412
  function validateAttrs(vnode, elm, renderer) {
5400
5413
  const { data: { attrs = {} }, } = vnode;
5401
5414
  let nodesAreCompatible = true;
@@ -5404,7 +5417,7 @@
5404
5417
  for (const [attrName, attrValue] of Object.entries(attrs)) {
5405
5418
  const { getAttribute } = renderer;
5406
5419
  const elmAttrValue = getAttribute(elm, attrName);
5407
- if (String(attrValue) !== elmAttrValue) {
5420
+ if (!attributeValuesAreEqual(attrValue, elmAttrValue)) {
5408
5421
  nodesAreCompatible = false;
5409
5422
  }
5410
5423
  }
@@ -6107,7 +6120,7 @@
6107
6120
  function isNull(obj) {
6108
6121
  return obj === null;
6109
6122
  }
6110
- /** version: 2.37.2 */
6123
+ /** version: 2.37.3 */
6111
6124
 
6112
6125
  /*
6113
6126
  * Copyright (c) 2018, salesforce.com, inc.
@@ -6652,7 +6665,7 @@
6652
6665
  });
6653
6666
  freeze(LightningElement);
6654
6667
  seal(LightningElement.prototype);
6655
- /* version: 2.37.2 */
6668
+ /* version: 2.37.3 */
6656
6669
 
6657
6670
  exports.LightningElement = LightningElement;
6658
6671
  exports.__unstable__ProfilerControl = profilerControl;