lwc 2.14.0 → 2.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +48 -22
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +48 -22
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +44 -19
  5. package/dist/engine-dom/iife/es5/engine-dom.js +49 -25
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +45 -21
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +48 -22
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +44 -19
  11. package/dist/engine-dom/umd/es5/engine-dom.js +49 -25
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +45 -21
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +48 -22
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
  16. package/dist/engine-server/esm/es2017/engine-server.js +48 -22
  17. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +3 -3
  18. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +3 -3
  19. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +3 -3
  20. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +3 -3
  21. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
  22. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +3 -3
  23. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +3 -3
  24. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3 -3
  25. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3 -3
  26. package/dist/wire-service/esm/es2017/wire-service.js +2 -2
  27. package/dist/wire-service/iife/es2017/wire-service.js +2 -2
  28. package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
  29. package/dist/wire-service/iife/es5/wire-service.js +2 -2
  30. package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
  31. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  32. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  33. package/dist/wire-service/umd/es5/wire-service.js +2 -2
  34. package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
  35. package/package.json +7 -7
@@ -293,7 +293,7 @@
293
293
  const XML_NAMESPACE = 'http://www.w3.org/XML/1998/namespace';
294
294
  const SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
295
295
  const XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';
296
- /** version: 2.14.0 */
296
+ /** version: 2.14.1 */
297
297
 
298
298
  /*
299
299
  * Copyright (c) 2018, salesforce.com, inc.
@@ -2869,11 +2869,14 @@
2869
2869
  if (doRemove) {
2870
2870
  removeNode(elm, parent);
2871
2871
  }
2872
- const removeChildren = sel === 'slot'; // slot content is removed to trigger slotchange event when removing slot
2873
2872
  switch (type) {
2874
- case 2 /* Element */:
2873
+ case 2 /* Element */: {
2874
+ // Slot content is removed to trigger slotchange event when removing slot.
2875
+ // Only required for synthetic shadow.
2876
+ const removeChildren = sel === 'slot' && vnode.owner.shadowMode === 1 /* Synthetic */;
2875
2877
  unmountVNodes(vnode.children, elm, removeChildren);
2876
2878
  break;
2879
+ }
2877
2880
  case 3 /* CustomElement */: {
2878
2881
  const { vm } = vnode;
2879
2882
  // No need to unmount the children here, `removeVM` will take care of removing the
@@ -4056,9 +4059,20 @@
4056
4059
 
4057
4060
  resetComponentStateWhenRemoved(vm);
4058
4061
  }
4059
- function createVM(elm, ctor, options) {
4060
- var _a;
4061
4062
 
4063
+ function getNearestShadowAncestor(vm) {
4064
+ let ancestor = vm.owner;
4065
+
4066
+ while (!isNull(ancestor) && ancestor.renderMode === 0
4067
+ /* Light */
4068
+ ) {
4069
+ ancestor = ancestor.owner;
4070
+ }
4071
+
4072
+ return ancestor;
4073
+ }
4074
+
4075
+ function createVM(elm, ctor, options) {
4062
4076
  const {
4063
4077
  mode,
4064
4078
  owner,
@@ -4088,8 +4102,6 @@
4088
4102
  cmpTemplate: null,
4089
4103
  hydrated: Boolean(hydrated),
4090
4104
  renderMode: def.renderMode,
4091
- shadowMode: computeShadowMode(def, owner),
4092
- nearestShadowMode: (owner === null || owner === void 0 ? void 0 : owner.shadowRoot) ? owner.shadowMode : (_a = owner === null || owner === void 0 ? void 0 : owner.nearestShadowMode) !== null && _a !== void 0 ? _a : null,
4093
4105
  context: {
4094
4106
  stylesheetToken: undefined,
4095
4107
  hasTokenInClass: undefined,
@@ -4102,6 +4114,7 @@
4102
4114
  },
4103
4115
  // Properties set right after VM creation.
4104
4116
  tro: null,
4117
+ shadowMode: null,
4105
4118
  // Properties set by the LightningElement constructor.
4106
4119
  component: null,
4107
4120
  shadowRoot: null,
@@ -4110,6 +4123,7 @@
4110
4123
  setHook,
4111
4124
  getHook
4112
4125
  };
4126
+ vm.shadowMode = computeShadowMode(vm);
4113
4127
  vm.tro = getTemplateReactiveObserver(vm);
4114
4128
 
4115
4129
 
@@ -4122,9 +4136,10 @@
4122
4136
  return vm;
4123
4137
  }
4124
4138
 
4125
- function computeShadowMode(def, owner) {
4126
- var _a;
4127
-
4139
+ function computeShadowMode(vm) {
4140
+ const {
4141
+ def
4142
+ } = vm;
4128
4143
  let shadowMode;
4129
4144
 
4130
4145
  if (isSyntheticShadowDefined$1) {
@@ -4147,13 +4162,23 @@
4147
4162
  /* Native */
4148
4163
  ;
4149
4164
  } else {
4150
- // Transitive support for native Shadow DOM. A component in native mode
4151
- // transitively opts all of its descendants into native.
4152
- // Synthetic if neither this component nor any of its ancestors are configured
4153
- // to be native.
4154
- shadowMode = (_a = owner === null || owner === void 0 ? void 0 : owner.nearestShadowMode) !== null && _a !== void 0 ? _a : 1
4155
- /* Synthetic */
4156
- ;
4165
+ const shadowAncestor = getNearestShadowAncestor(vm);
4166
+
4167
+ if (!isNull(shadowAncestor) && shadowAncestor.shadowMode === 0
4168
+ /* Native */
4169
+ ) {
4170
+ // Transitive support for native Shadow DOM. A component in native mode
4171
+ // transitively opts all of its descendants into native.
4172
+ shadowMode = 0
4173
+ /* Native */
4174
+ ;
4175
+ } else {
4176
+ // Synthetic if neither this component nor any of its ancestors are configured
4177
+ // to be native.
4178
+ shadowMode = 1
4179
+ /* Synthetic */
4180
+ ;
4181
+ }
4157
4182
  }
4158
4183
  } else {
4159
4184
  shadowMode = 1
@@ -5157,7 +5182,7 @@
5157
5182
  }
5158
5183
  return ctor;
5159
5184
  }
5160
- /* version: 2.14.0 */
5185
+ /* version: 2.14.1 */
5161
5186
 
5162
5187
  /*
5163
5188
  * Copyright (c) 2018, salesforce.com, inc.
@@ -5795,7 +5820,7 @@
5795
5820
  });
5796
5821
  freeze(LightningElement);
5797
5822
  seal(LightningElement.prototype);
5798
- /* version: 2.14.0 */
5823
+ /* version: 2.14.1 */
5799
5824
 
5800
5825
  exports.LightningElement = LightningElement;
5801
5826
  exports.__unstable__ProfilerControl = profilerControl;
@@ -368,9 +368,9 @@
368
368
  */
369
369
  // Increment whenever the LWC template compiler changes
370
370
 
371
- var LWC_VERSION = "2.14.0";
371
+ var LWC_VERSION = "2.14.1";
372
372
  var LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
373
- /** version: 2.14.0 */
373
+ /** version: 2.14.1 */
374
374
 
375
375
  /*
376
376
  * Copyright (c) 2018, salesforce.com, inc.
@@ -549,7 +549,7 @@
549
549
  setFeatureFlag(name, value);
550
550
  }
551
551
  }
552
- /** version: 2.14.0 */
552
+ /** version: 2.14.1 */
553
553
 
554
554
  /* proxy-compat-disable */
555
555
 
@@ -3475,9 +3475,9 @@
3475
3475
  */
3476
3476
 
3477
3477
 
3478
- var warned = false;
3478
+ var warned = false; // @ts-ignore
3479
3479
 
3480
- if (process.env.NODE_ENV === 'development') {
3480
+ if (process.env.NODE_ENV !== 'production' && typeof __karma__ !== 'undefined') {
3481
3481
  // @ts-ignore
3482
3482
  window.__lwcResetWarnedOnVersionMismatch = function () {
3483
3483
  warned = false;
@@ -4881,14 +4881,19 @@
4881
4881
  removeNode(elm, parent);
4882
4882
  }
4883
4883
 
4884
- var removeChildren = sel === 'slot'; // slot content is removed to trigger slotchange event when removing slot
4885
-
4886
4884
  switch (type) {
4887
4885
  case 2
4888
4886
  /* Element */
4889
4887
  :
4890
- unmountVNodes(vnode.children, elm, removeChildren);
4891
- break;
4888
+ {
4889
+ // Slot content is removed to trigger slotchange event when removing slot.
4890
+ // Only required for synthetic shadow.
4891
+ var removeChildren = sel === 'slot' && vnode.owner.shadowMode === 1
4892
+ /* Synthetic */
4893
+ ;
4894
+ unmountVNodes(vnode.children, elm, removeChildren);
4895
+ break;
4896
+ }
4892
4897
 
4893
4898
  case 3
4894
4899
  /* CustomElement */
@@ -6692,9 +6697,19 @@
6692
6697
  resetComponentStateWhenRemoved(vm);
6693
6698
  }
6694
6699
 
6695
- function createVM(elm, ctor, options) {
6696
- var _a;
6700
+ function getNearestShadowAncestor(vm) {
6701
+ var ancestor = vm.owner;
6702
+
6703
+ while (!isNull(ancestor) && ancestor.renderMode === 0
6704
+ /* Light */
6705
+ ) {
6706
+ ancestor = ancestor.owner;
6707
+ }
6708
+
6709
+ return ancestor;
6710
+ }
6697
6711
 
6712
+ function createVM(elm, ctor, options) {
6698
6713
  var mode = options.mode,
6699
6714
  owner = options.owner,
6700
6715
  tagName = options.tagName,
@@ -6722,8 +6737,6 @@
6722
6737
  cmpTemplate: null,
6723
6738
  hydrated: Boolean(hydrated),
6724
6739
  renderMode: def.renderMode,
6725
- shadowMode: computeShadowMode(def, owner),
6726
- nearestShadowMode: (owner === null || owner === void 0 ? void 0 : owner.shadowRoot) ? owner.shadowMode : (_a = owner === null || owner === void 0 ? void 0 : owner.nearestShadowMode) !== null && _a !== void 0 ? _a : null,
6727
6740
  context: {
6728
6741
  stylesheetToken: undefined,
6729
6742
  hasTokenInClass: undefined,
@@ -6736,6 +6749,7 @@
6736
6749
  },
6737
6750
  // Properties set right after VM creation.
6738
6751
  tro: null,
6752
+ shadowMode: null,
6739
6753
  // Properties set by the LightningElement constructor.
6740
6754
  component: null,
6741
6755
  shadowRoot: null,
@@ -6744,6 +6758,7 @@
6744
6758
  setHook: setHook,
6745
6759
  getHook: getHook
6746
6760
  };
6761
+ vm.shadowMode = computeShadowMode(vm);
6747
6762
  vm.tro = getTemplateReactiveObserver(vm);
6748
6763
 
6749
6764
  if (process.env.NODE_ENV !== 'production') {
@@ -6768,9 +6783,8 @@
6768
6783
  return vm;
6769
6784
  }
6770
6785
 
6771
- function computeShadowMode(def, owner) {
6772
- var _a;
6773
-
6786
+ function computeShadowMode(vm) {
6787
+ var def = vm.def;
6774
6788
  var shadowMode;
6775
6789
 
6776
6790
  if (isSyntheticShadowDefined$1) {
@@ -6793,13 +6807,23 @@
6793
6807
  /* Native */
6794
6808
  ;
6795
6809
  } else {
6796
- // Transitive support for native Shadow DOM. A component in native mode
6797
- // transitively opts all of its descendants into native.
6798
- // Synthetic if neither this component nor any of its ancestors are configured
6799
- // to be native.
6800
- shadowMode = (_a = owner === null || owner === void 0 ? void 0 : owner.nearestShadowMode) !== null && _a !== void 0 ? _a : 1
6801
- /* Synthetic */
6802
- ;
6810
+ var shadowAncestor = getNearestShadowAncestor(vm);
6811
+
6812
+ if (!isNull(shadowAncestor) && shadowAncestor.shadowMode === 0
6813
+ /* Native */
6814
+ ) {
6815
+ // Transitive support for native Shadow DOM. A component in native mode
6816
+ // transitively opts all of its descendants into native.
6817
+ shadowMode = 0
6818
+ /* Native */
6819
+ ;
6820
+ } else {
6821
+ // Synthetic if neither this component nor any of its ancestors are configured
6822
+ // to be native.
6823
+ shadowMode = 1
6824
+ /* Synthetic */
6825
+ ;
6826
+ }
6803
6827
  }
6804
6828
  } else {
6805
6829
  shadowMode = 1
@@ -8148,7 +8172,7 @@
8148
8172
 
8149
8173
  return ctor;
8150
8174
  }
8151
- /* version: 2.14.0 */
8175
+ /* version: 2.14.1 */
8152
8176
 
8153
8177
  /*
8154
8178
  * Copyright (c) 2018, salesforce.com, inc.
@@ -8982,7 +9006,7 @@
8982
9006
  });
8983
9007
  freeze(LightningElement);
8984
9008
  seal(LightningElement.prototype);
8985
- /* version: 2.14.0 */
9009
+ /* version: 2.14.1 */
8986
9010
 
8987
9011
  exports.LightningElement = LightningElement;
8988
9012
  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";function t(e){var r="function"==typeof Map?new Map:void 0;return t=function(e){if(null===e||(t=e,-1===Function.toString.call(t).indexOf("[native code]")))return e;var t;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(e))return r.get(e);r.set(e,o)}function o(){return n(e,arguments,d(this).constructor)}return o.prototype=Object.create(e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),l(o,e)},t(e)}function n(e,t,r){return n=f()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&l(o,n.prototype),o},n.apply(null,arguments)}function r(){return r="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=o(e,t);if(r){var a=Object.getOwnPropertyDescriptor(r,t);return a.get?a.get.call(arguments.length<3?e:n):a.value}},r.apply(this,arguments)}function o(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=d(e)););return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}function l(e,t){return l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},l(e,t)}function u(e){var t=f();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){if(t&&("object"===b(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return s(e)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t,n){return t&&h(e.prototype,t),n&&h(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function m(e){return function(e){if(Array.isArray(e))return w(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||g(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw o}}return a}(e,t)||g(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){if(e){if("string"==typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(e,t):void 0}}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function b(e){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},b(e)}var k=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error("Invariant Violation: ".concat(t))},isTrue:function(e,t){if(!e)throw new Error("Assert Violation: ".concat(t))},isFalse:function(e,t){if(e)throw new Error("Assert Violation: ".concat(t))},fail:function(e){throw new Error(e)}}),E=Object.assign,C=Object.create,M=Object.defineProperties,S=Object.defineProperty,O=Object.freeze,T=Object.getOwnPropertyDescriptor,x=Object.getOwnPropertyNames,A=Object.getPrototypeOf,P=Object.hasOwnProperty,N=Object.isFrozen,j=Object.keys,_=Object.seal,R=Object.setPrototypeOf,L=Array.isArray,D=Array.prototype,I=D.indexOf,H=D.join,F=D.map,W=D.push,B=D.slice,$=D.splice,V=D.unshift,K=D.forEach,G=String.fromCharCode,U=String.prototype,z=U.charCodeAt,q=U.replace,X=U.slice,Y=U.toLowerCase;function J(e){return void 0===e}function Q(e){return null===e}function Z(e){return!0===e}function ee(e){return!1===e}function te(e){return"function"==typeof e}function ne(e){return"object"===b(e)}function re(e){return"string"==typeof e}function oe(){}var ae={}.toString;function ie(e){return e&&e.toString?L(e)?H.call(F.call(e,ie),","):e.toString():"object"===b(e)?ae.call(e):e+""}function le(e,t){do{var n=T(e,t);if(!J(n))return n;e=A(e)}while(null!==e)}var ue=["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"],ce=function(){var e=C(null),t=C(null);return K.call(ue,(function(n){var r=Y.call(q.call(n,/^aria/,(function(){return"aria-"})));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}}(),se=ce.AriaPropNameToAttrNameMap,fe=function(){if("object"===("undefined"==typeof globalThis?"undefined":b(globalThis)))return globalThis;var e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),de=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"]]),ve=new Map;function he(e){var t=se[e];if(!J(t))return t;var n=de.get(e);if(!J(n))return n;var r=ve.get(e);if(!J(r))return r;for(var o="",a=0,i=e.length;a<i;a++){var l=z.call(e,a);o+=l>=65&&l<=90?"-"+G(l+32):G(l)}return ve.set(e,o),o}var pe="http://www.w3.org/2000/svg";function me(e){return void 0===Object.getOwnPropertyDescriptor(Element.prototype,e)}var ye=new WeakMap;function ge(e){var t=ye.get(e);return void 0===t&&(t={},ye.set(e,t)),t}function we(e,t){return{get:function(){var n=ge(this);return P.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set:function(n){var r,o=null==(r=n)?null:String(r);ge(this)[e]=o,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function be(e){var t=we(e,se[e]);Object.defineProperty(Element.prototype,e,t)}for(var ke=j(se),Ee=0,Ce=ke.length;Ee<Ce;Ee+=1){me(jn=ke[Ee])&&be(jn)}var Me={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HMR:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null};fe.lwcRuntimeFlags||Object.defineProperty(fe,"lwcRuntimeFlags",{value:C(null)});var Se=fe.lwcRuntimeFlags;var Oe=[],Te=_(C(null)),xe=_([]);function Ae(){var e=Oe;Oe=[];for(var t=0,n=e.length;t<n;t+=1)e[t]()}function Pe(e){0===Oe.length&&Promise.resolve().then(Ae),W.call(Oe,e)}var Ne,je,_e,Re,Le,De,Ie,He,Fe,We,Be,$e,Ve,Ke,Ge,Ue,ze,qe,Xe,Ye,Je,Qe,Ze,et,tt,nt,rt,ot,at,it,lt,ut,ct,st,ft,dt,vt,ht=/;(?![^(]*\))/g,pt=/:(.+)/;function mt(e){var t,n={},r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=g(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){l=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(l)throw a}}}}(e.split(ht));try{for(r.s();!(t=r.n()).done;){var o=t.value;if(o){var a=y(o.split(pt),2),i=a[0],l=a[1];void 0!==i&&void 0!==l&&(n[i.trim()]=l.trim())}}}catch(e){r.e(e)}finally{r.f()}return n}function yt(e,t){for(var n={},r=0,o=Object.keys(e);r<o.length;r++){var a=o[r];a!==t&&(n[a]=e[a])}return n}var gt=new WeakMap;var wt=null;function bt(e,t){var n=gt.get(e);if(!J(n)){var r=n[t];if(!J(r))for(var o=0,a=r.length;o<a;o+=1){r[o].notify()}}}function kt(e,t){if(null!==wt){var n=wt,r=function(e){var t=gt.get(e);if(J(t)){var n=C(null);t=n,gt.set(e,n)}return t}(e),o=r[t];if(J(o))o=[],r[t]=o;else if(o[0]===n)return;-1===I.call(o,n)&&n.link(o)}}var Et=function(){function e(t){v(this,e),this.listeners=[],this.callback=t}return p(e,[{key:"observe",value:function(e){var t,n=wt;wt=this;try{e()}catch(e){t=Object(e)}finally{if(wt=n,void 0!==t)throw t}}},{key:"reset",value:function(){var e=this.listeners,t=e.length;if(t>0){for(var n=0;n<t;n+=1){var r=e[n],o=I.call(e[n],this);$.call(r,o,1)}e.length=0}}},{key:"notify",value:function(){this.callback.call(void 0,this)}},{key:"link",value:function(e){W.call(e,this),W.call(this.listeners,e)}}]),e}();function Ct(e,t){bt(e.component,t)}function Mt(e,t){kt(e.component,t)}function St(e){return"<".concat(Y.call(e.tagName),">")}function Ot(e,t){if(!N(t)&&J(t.wcStack)){var n=function(e){for(var t=[],n=e;!Q(n);)W.call(t,St(n)),n=n.owner;return t.reverse().join("\n\t")}(e);S(t,"wcStack",{get:function(){return n}})}}function Tt(e,t,n){var r="[LWC ".concat(e,"]: ").concat(t);J(n)||(r="".concat(r,"\n").concat(function(e){for(var t=[],n="";!Q(e.owner);)W.call(t,n+St(e)),e=e.owner,n+="\t";return H.call(t,"\n")}(n)));try{throw new Error(r)}catch(t){console[e](t)}}function xt(e){var t=e();return(null==t?void 0:t.__esModule)?t.default:t}function At(e){return te(e)&&P.call(e,"__circular__")}var Pt="undefined"!=typeof HTMLElement?HTMLElement:function(){},Nt=Pt.prototype;function jt(e){return"Using the `".concat(e,"` property is an anti-pattern because it rounds the value to an integer. Instead, use the `getBoundingClientRect` method to obtain fractional values for the size of an element and its position relative to the viewport.")}E(C(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:jt("offsetHeight")},offsetLeft:{readOnly:!0,error:jt("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:jt("offsetTop")},offsetWidth:{readOnly:!0,error:jt("offsetWidth")},role:{attribute:"role"}});var _t,Rt=null;function Lt(e,t){return e!==Rt||t!==_t}function Dt(e,t){Rt=null,_t=void 0}function It(e,t){Rt=e,_t=t}var Ht=C(null);K.call(j(se),(function(e){var t=le(Nt,e);J(t)||(Ht[e]=t)})),K.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(function(e){var t=le(Nt,e);J(t)||(Ht[e]=t)}));var Ft=Array.isArray,Wt=Object.prototype,Bt=Object.getPrototypeOf,$t=Object.create,Vt=Object.defineProperty,Kt=Object.isExtensible,Gt=Object.getOwnPropertyDescriptor,Ut=Object.getOwnPropertyNames,zt=Object.getOwnPropertySymbols,qt=Object.preventExtensions,Xt=Object.hasOwnProperty,Yt=Array.prototype,Jt=Yt.push,Qt=Yt.concat;function Zt(e){return void 0===e}function en(e){return"function"==typeof e}var tn=new WeakMap;function nn(e,t){tn.set(e,t)}var rn=function(e){return tn.get(e)||e},on=function(){function e(t,n){v(this,e),this.originalTarget=n,this.membrane=t}return p(e,[{key:"wrapDescriptor",value:function(e){if(Xt.call(e,"value"))e.value=this.wrapValue(e.value);else{var t=e.set,n=e.get;Zt(n)||(e.get=this.wrapGetter(n)),Zt(t)||(e.set=this.wrapSetter(t))}return e}},{key:"copyDescriptorIntoShadowTarget",value:function(e,t){var n=this.originalTarget,r=Gt(n,t);if(!Zt(r)){var o=this.wrapDescriptor(r);Vt(e,t,o)}}},{key:"lockShadowTarget",value:function(e){var t=this,n=this.originalTarget;Qt.call(Ut(n),zt(n)).forEach((function(n){t.copyDescriptorIntoShadowTarget(e,n)}));var r=this.membrane.tagPropertyKey;Zt(r)||Xt.call(e,r)||Vt(e,r,$t(null)),qt(e)}},{key:"apply",value:function(e,t,n){}},{key:"construct",value:function(e,t,n){}},{key:"get",value:function(e,t){var n=this.originalTarget,r=this.membrane.valueObserved,o=n[t];return r(n,t),this.wrapValue(o)}},{key:"has",value:function(e,t){var n=this.originalTarget,r=this.membrane,o=r.tagPropertyKey;return(0,r.valueObserved)(n,t),t in n||t===o}},{key:"ownKeys",value:function(e){var t=this.originalTarget,n=this.membrane.tagPropertyKey,r=Zt(n)||Xt.call(t,n)?[]:[n];return Jt.apply(r,Ut(t)),Jt.apply(r,zt(t)),r}},{key:"isExtensible",value:function(e){var t=this.originalTarget;return!!Kt(e)&&(!!Kt(t)||(this.lockShadowTarget(e),!1))}},{key:"getPrototypeOf",value:function(e){var t=this.originalTarget;return Bt(t)}},{key:"getOwnPropertyDescriptor",value:function(e,t){var n=this.originalTarget,r=this.membrane,o=r.valueObserved,a=r.tagPropertyKey;o(n,t);var i=Gt(n,t);if(Zt(i)){if(t!==a)return;return Vt(e,a,i={value:void 0,writable:!1,configurable:!1,enumerable:!1}),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}]),e}(),an=new WeakMap,ln=new WeakMap,un=new WeakMap,cn=new WeakMap,sn=function(e){i(n,e);var t=u(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n,[{key:"wrapValue",value:function(e){return this.membrane.getProxy(e)}},{key:"wrapGetter",value:function(e){var t=an.get(e);if(!Zt(t))return t;var n=this,r=function(){return n.wrapValue(e.call(rn(this)))};return an.set(e,r),un.set(r,e),r}},{key:"wrapSetter",value:function(e){var t=ln.get(e);if(!Zt(t))return t;var n=function(t){e.call(rn(this),rn(t))};return ln.set(e,n),cn.set(n,e),n}},{key:"unwrapDescriptor",value:function(e){if(Xt.call(e,"value"))e.value=rn(e.value);else{var t=e.set,n=e.get;Zt(n)||(e.get=this.unwrapGetter(n)),Zt(t)||(e.set=this.unwrapSetter(t))}return e}},{key:"unwrapGetter",value:function(e){var t=un.get(e);if(!Zt(t))return t;var n=this,r=function(){return rn(e.call(n.wrapValue(this)))};return an.set(r,e),un.set(e,r),r}},{key:"unwrapSetter",value:function(e){var t=cn.get(e);if(!Zt(t))return t;var n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return ln.set(r,e),cn.set(e,r),r}},{key:"set",value:function(e,t,n){var r=this.originalTarget,o=this.membrane.valueMutated;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&Ft(r)&&o(r,t),!0}},{key:"deleteProperty",value:function(e,t){var n=this.originalTarget,r=this.membrane.valueMutated;return delete n[t],r(n,t),!0}},{key:"setPrototypeOf",value:function(e,t){}},{key:"preventExtensions",value:function(e){if(Kt(e)){var t=this.originalTarget;if(qt(t),Kt(t))return!1;this.lockShadowTarget(e)}return!0}},{key:"defineProperty",value:function(e,t,n){var r=this.originalTarget,o=this.membrane,a=o.valueMutated;return t===o.tagPropertyKey&&!Xt.call(r,t)||(Vt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),a(r,t),!0)}}]),n}(on),fn=new WeakMap,dn=new WeakMap,vn=function(e){i(n,e);var t=u(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n,[{key:"wrapValue",value:function(e){return this.membrane.getReadOnlyProxy(e)}},{key:"wrapGetter",value:function(e){var t=fn.get(e);if(!Zt(t))return t;var n=this,r=function(){return n.wrapValue(e.call(rn(this)))};return fn.set(e,r),r}},{key:"wrapSetter",value:function(e){var t=dn.get(e);if(!Zt(t))return t;var n=function(e){};return dn.set(e,n),n}},{key:"set",value:function(e,t,n){return!1}},{key:"deleteProperty",value:function(e,t){return!1}},{key:"setPrototypeOf",value:function(e,t){}},{key:"preventExtensions",value:function(e){return!1}},{key:"defineProperty",value:function(e,t,n){return!1}}]),n}(on);function hn(e){if(null===e)return!1;if("object"!==b(e))return!1;if(Ft(e))return!0;var t=Bt(e);return t===Wt||null===t||null===Bt(t)}var pn=function(e,t){},mn=function(e,t){};function yn(e){return Ft(e)?[]:{}}var gn=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};v(this,e),this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;var n=t.valueMutated,r=t.valueObserved,o=t.valueIsObservable,a=t.tagPropertyKey;this.valueMutated=en(n)?n:mn,this.valueObserved=en(r)?r:pn,this.valueIsObservable=en(o)?o:hn,this.tagPropertyKey=a}return p(e,[{key:"getProxy",value:function(e){var t=rn(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}},{key:"getReadOnlyProxy",value:function(e){return e=rn(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}},{key:"unwrapProxy",value:function(e){return rn(e)}},{key:"getReactiveHandler",value:function(e){var t=this.reactiveObjectGraph.get(e);if(Zt(t)){var n=new sn(this,e);nn(t=new Proxy(yn(e),n),e),this.reactiveObjectGraph.set(e,t)}return t}},{key:"getReadOnlyHandler",value:function(e){var t=this.readOnlyObjectGraph.get(e);if(Zt(t)){var n=new vn(this,e);nn(t=new Proxy(yn(e),n),e),this.readOnlyObjectGraph.set(e,t)}return t}}]),e}(),wn=Symbol.for("@@lockerLiveValue"),bn=new gn({valueObserved:kt,valueMutated:bt,tagPropertyKey:wn});function kn(e,t){var n=t.get,r=t.set,o=t.enumerable,a=t.configurable;if(!te(n))throw new TypeError;if(!te(r))throw new TypeError;return{enumerable:o,configurable:a,get:function(){var t=Oo(this);if(!eo(t))return Mt(t,e),n.call(t.elm)},set:function(t){var n=Oo(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,Ct(n,e)),r.call(n.elm,t)}}}var En=function(){if(Q(Zr))throw new ReferenceError("Illegal constructor");var e=Zr,t=e.def,n=e.elm,r=t.bridge,o=this;if(R(n,r.prototype),e.component=this,1===arguments.length){var a=arguments[0],i=a.callHook,l=a.setHook,u=a.getHook;e.callHook=i,e.setHook=l,e.getHook=u}return this[wn]=void 0,So(o,e),So(n,e),1===e.renderMode?e.renderRoot=Cn(e):e.renderRoot=n,this};function Cn(e){var t,n=e.elm,r=e.mode,o=e.shadowMode,i=e.def.ctor,l=Be(n,(a(t={},"$$lwc-synthetic-mode",1===o),a(t,"delegatesFocus",Boolean(i.delegatesFocus)),a(t,"mode",r),t));return e.shadowRoot=l,So(l,e),l}En.prototype={constructor:En,dispatchEvent:function(e){var t=Oo(this).elm;return Ye(t,e)},addEventListener:function(e,t,n){var r=Oo(this),o=r.elm,a=uo(r,t);qe(o,e,a,n)},removeEventListener:function(e,t,n){var r=Oo(this),o=r.elm,a=uo(r,t);Xe(o,e,a,n)},hasAttribute:function(e){var t=Oo(this).elm;return!Q(Ge(t,e))},hasAttributeNS:function(e,t){var n=Oo(this).elm;return!Q(Ge(n,t,e))},removeAttribute:function(e){var t=Oo(this).elm;It(t,e),ze(t,e),Dt()},removeAttributeNS:function(e,t){var n=Oo(this).elm;It(n,t),ze(n,t,e),Dt()},getAttribute:function(e){var t=Oo(this).elm;return Ge(t,e)},getAttributeNS:function(e,t){var n=Oo(this).elm;return Ge(n,t,e)},setAttribute:function(e,t){var n=Oo(this).elm;It(n,e),Ue(n,e,t),Dt()},setAttributeNS:function(e,t,n){var r=Oo(this).elm;It(r,t),Ue(r,t,n,e),Dt()},getBoundingClientRect:function(){var e=Oo(this).elm;return Ze(e)},get isConnected(){var e=Oo(this).elm;return st(e)},get classList(){var e=Oo(this).elm;return Je(e)},get template(){return Oo(this).shadowRoot},get shadowRoot(){return null},render:function(){return Oo(this).def.template},toString:function(){var e=Oo(this);return"[object ".concat(e.def.name,"]")}};var Mn=C(null);for(var Sn=function(){var e=Tn[On];Mn[e]={get:function(){var t=Oo(this).elm;return function(e){switch(e){case"children":return ot;case"childNodes":return at;case"firstChild":return it;case"firstElementChild":return lt;case"lastChild":return ut;case"lastElementChild":return ct}}(e)(t)},configurable:!0,enumerable:!0}},On=0,Tn=["children","childNodes","firstChild","firstElementChild","lastChild","lastElementChild"];On<Tn.length;On++)Sn();for(var xn=function(){var e=Pn[An];Mn[e]={value:function(t){var n=Oo(this).elm;return function(e){switch(e){case"getElementsByClassName":return rt;case"getElementsByTagName":return nt;case"querySelector":return et;case"querySelectorAll":return tt}}(e)(n,t)},configurable:!0,enumerable:!0,writable:!0}},An=0,Pn=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];An<Pn.length;An++)xn();M(En.prototype,Mn);var Nn=C(null);for(var jn in Ht)Nn[jn]=kn(jn,Ht[jn]);function _n(e){return{get:function(){var t=Oo(this);return Mt(t,e),t.cmpFields[e]},set:function(t){var n=Oo(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,Ct(n,e))},enumerable:!0,configurable:!0}}function Rn(e){return{get:function(){var t=Oo(this);if(!eo(t))return Mt(t,e),t.cmpProps[e]},set:function(t){var n=Oo(this);n.cmpProps[e]=t,Ct(n,e)},enumerable:!0,configurable:!0}}M(En.prototype,Nn),S(En,"CustomElementConstructor",{get:function(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});var Ln=function(e){i(n,e);var t=u(n);function n(e,r){var o;return v(this,n),(o=t.call(this,(function(){ee(o.debouncing)&&(o.debouncing=!0,Pe((function(){if(Z(o.debouncing)){var t=s(o).value,n=e.isDirty,a=e.component,i=e.idx;r.call(a,t),o.debouncing=!1,Z(e.isDirty)&&ee(n)&&i>0&&go(e)}})))}))).debouncing=!1,o}return p(n,[{key:"reset",value:function(e){r(d(n.prototype),"reset",this).call(this),this.debouncing=!1,arguments.length>0&&(this.value=e)}}]),n}(Et);function Dn(e,t){var n=t.get,r=t.set,o=t.enumerable,a=t.configurable;if(!te(n))throw new Error;return{get:function(){return n.call(this)},set:function(t){var n=this,o=Oo(this);if(r)if(Se.ENABLE_REACTIVE_SETTER){var a=o.oar[e];J(a)&&(a=o.oar[e]=new Ln(o,r)),a.reset(t),a.observe((function(){r.call(n,t)}))}else r.call(this,t)},enumerable:o,configurable:a}}function In(e){return{get:function(){var t=Oo(this);return Mt(t,e),t.cmpFields[e]},set:function(t){var n=Oo(this),r=bn.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,Ct(n,e))},enumerable:!0,configurable:!0}}function Hn(e){return{get:function(){var t=Oo(this);return Mt(t,e),t.cmpFields[e]},set:function(t){var n=Oo(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,Ct(n,e))},enumerable:!0,configurable:!0}}var Fn=new Map;var Wn={apiMethods:Te,apiFields:Te,apiFieldsConfig:Te,wiredMethods:Te,wiredFields:Te,observedFields:Te};var Bn=new Set;function $n(){return[]}Bn.add($n);var Vn=C(null),Kn=C(null);function Gn(e){var t=Vn[e];return J(t)&&(t=Vn[e]=function(){var t=Oo(this);return(0,t.getHook)(t.component,e)}),t}function Un(e){var t=Kn[e];return J(t)&&(t=Kn[e]=function(t){var n=Oo(this),r=n.setHook;t=bn.getReadOnlyProxy(t),r(n.component,e,t)}),t}function zn(e){return function(){var t=Oo(this),n=t.callHook,r=t.component,o=r[e];return n(t.component,o,B.call(arguments))}}function qn(e,t){return function(n,r,o){if(r!==o){var a=e[n];J(a)?J(t)||t.apply(this,arguments):Lt(this,n)&&(this[a]=o)}}}function Xn(e,t,n){var r;te(e)?r=function(e){i(n,e);var t=u(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n)}(e):(R(r=function(){throw new TypeError("Illegal constructor")},e),R(r.prototype,e.prototype),S(r.prototype,"constructor",{writable:!0,configurable:!0,value:r}));for(var o=C(null),a=e.prototype.attributeChangedCallback,l=e.observedAttributes,c=void 0===l?[]:l,s=C(null),f=0,d=t.length;f<d;f+=1){var h=t[f];o[he(h)]=h,s[h]={get:Gn(h),set:Un(h),enumerable:!0,configurable:!0}}for(var y=0,g=n.length;y<g;y+=1){var w=n[y];s[w]={value:zn(w),writable:!0,configurable:!0}}return s.attributeChangedCallback={value:qn(o,a)},S(r,"observedAttributes",{get:function(){return[].concat(m(c),m(j(o)))}}),M(r.prototype,s),r}var Yn=Xn(Pt,x(Ht),[]);O(Yn),_(Yn.prototype);var Jn=new WeakMap;function Qn(e){var t=e.shadowSupportMode,n=e.renderMode,r=function(e){var t=Fn.get(e);return J(t)?Wn:t}(e),o=r.apiFields,a=r.apiFieldsConfig,i=r.apiMethods,l=r.wiredFields,u=r.wiredMethods,c=r.observedFields,s=e.prototype,f=s.connectedCallback,d=s.disconnectedCallback,v=s.renderedCallback,h=s.errorCallback,p=s.render,m=function(e){var t=A(e);if(Q(t))throw new ReferenceError("Invalid prototype chain for ".concat(e.name,", you must extend LightningElement."));if(At(t)){var n=xt(t);t=n===t?En:n}return t}(e),y=m!==En?er(m):tr,g=Xn(y.bridge,j(o),j(i)),w=E(C(null),y.props,o),b=E(C(null),y.propsConfig,a),k=E(C(null),y.methods,i),S=E(C(null),y.wire,l,u);f=f||y.connectedCallback,d=d||y.disconnectedCallback,v=v||y.renderedCallback,h=h||y.errorCallback,p=p||y.render;var O=y.shadowSupportMode;J(t)||(O=t);var T=y.renderMode;J(n)||(T="light"===n?0:1);var x=function(e){return ro.get(e)}(e)||y.template,P=e.name||y.name;return M(s,c),{ctor:e,name:P,wire:S,props:w,propsConfig:b,methods:k,bridge:g,template:x,renderMode:T,shadowSupportMode:O,connectedCallback:f,disconnectedCallback:d,renderedCallback:v,errorCallback:h,render:p}}function Zn(e){if(!te(e))return!1;if(e.prototype instanceof En)return!0;var t=e;do{if(At(t)){var n=xt(t);if(n===t)return!0;t=n}if(t===En)return!0}while(!Q(t)&&(t=A(t)));return!1}function er(e){var t=Jn.get(e);if(J(t)){if(At(e))return t=er(xt(e)),Jn.set(e,t),t;if(!Zn(e))throw new TypeError("".concat(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=Qn(e),Jn.set(e,t)}return t}var tr={ctor:En,name:En.name,props:Nn,propsConfig:Te,methods:Te,renderMode:1,shadowSupportMode:"reset",wire:Te,bridge:Yn,template:$n,render:En.prototype.render};function nr(e){e=e.toLowerCase();var t=vt(e);return J(t)?(dt(e,t=function(e){i(n,e);var t=u(n);function n(e){var r;return v(this,n),r=t.call(this),te(e)&&e(s(r)),r}return p(n)}(Re)),t):t}function rr(e){var t=e.type;return 2===t||3===t}function or(e,t){return e.key===t.key&&e.sel===t.sel}function ar(e,t){return"input"===e&&("value"===t||"checked"===t)}function ir(e,t){var n=t.data.props;if(!J(n)){var r=Q(e)?Te:e.data.props;if(r!==n){var o=Q(e),a=t.elm,i=t.sel;for(var l in n){var u=n[l];(o||u!==(ar(i,l)?$e(a,l):r[l]))&&Ve(a,l,u)}}}}var lr=C(null);function ur(e){if(null==e)return Te;e=re(e)?e:e+"";var t=lr[e];if(t)return t;t=C(null);var n,r=0,o=e.length;for(n=0;n<o;n++)32===z.call(e,n)&&(n>r&&(t[X.call(e,r,n)]=!0),r=n+1);return n>r&&(t[X.call(e,r,n)]=!0),lr[e]=t,t}function cr(e){var t=e.elm,n=e.data.on;if(!J(n))for(var r in n){var o=n[r];qe(t,r,o)}}function sr(e,t,n){var r;r=t,Sr.has(r)?function(e,t,n){var r,o,a,i=0,l=0,u=e.length-1,c=e[0],s=e[u],f=t.length-1,d=f,v=t[0],h=t[d],p=!1;for(;i<=u&&l<=d;)mr(c)?mr(s)?mr(v)?mr(h)?or(c,v)?(fr(c,v),c=e[++i],v=t[++l]):or(s,h)?(fr(s,h),s=e[--u],h=t[--d]):or(c,h)?(fr(c,h),kr(c.elm,n,We(s.elm)),c=e[++i],h=t[--d]):or(s,v)?(fr(s,v),kr(v.elm,n,c.elm),s=e[--u],v=t[++l]):(void 0===r&&(r=Or(e,i,u)),J(o=r[v.key])?(dr(v,n,c.elm),v=t[++l]):(mr(a=e[o])&&(a.sel!==v.sel?dr(v,n,c.elm):(fr(a,v),p||(p=!0,e=m(e)),e[o]=void 0,kr(a.elm,n,c.elm))),v=t[++l])):h=t[--d]:v=t[++l]:s=e[--u]:c=e[++i];if(i<=u||l<=d)if(i>u){var y,g=d;do{y=t[++g]}while(!mr(y)&&g<f);vr(t,n,mr(y)?y.elm:null,l,d+1)}else pr(e,n,!0,i,u+1)}(e,t,n):function(e,t,n){var r=e.length,o=t.length;if(0===r)return void vr(t,n,null);if(0===o)return void pr(e,n,!0);for(var a=null,i=o-1;i>=0;i-=1){var l=e[i],u=t[i];u!==l&&(mr(l)?mr(u)?(fr(l,u),a=u.elm):hr(l,n,!0):mr(u)&&(dr(u,n,a),a=u.elm))}}(e,t,n)}function fr(e,t){if(e!==t)switch(t.type){case 0:case 1:!function(e,t){t.elm=e.elm,t.text!==e.text&&br(t)}(e,t);break;case 2:!function(e,t){var n=t.elm=e.elm;Cr(e,t),sr(e.children,t.children,n)}(e,t);break;case 3:!function(e,t){var n=t.elm=e.elm,r=t.vm=e.vm;Cr(e,t),J(r)||Mr(t,r);sr(e.children,t.children,n),J(r)||go(r)}(e,t)}}function dr(e,t,n){switch(e.type){case 0:!function(e,t,n){var r=e.owner,o=e.elm=He(e.text);wr(o,r),kr(o,t,n)}(e,t,n);break;case 1:!function(e,t,n){var r=e.owner,o=e.elm=Fe(e.text);wr(o,r),kr(o,t,n)}(e,t,n);break;case 2:!function(e,t,n){var r=e.sel,o=e.owner,a=Z(e.data.svg)?pe:void 0,i=Ie(r,a);wr(i,o),function(e,t){var n=t.owner;if(gr(e,n),1===n.shadowMode){var r=t.data.context,o=n.context.stylesheetToken;J(r)||J(r.lwc)||"manual"!==r.lwc.dom||function(e){e.$domManual$=!0}(e),J(o)||yr(e,o)}}(i,e),e.elm=i,Cr(null,e),kr(i,t,n),vr(e.children,i,null)}(e,t,n);break;case 3:!function(e,t,n){var r,o=e.sel,a=e.owner,i=nr(o),l=new i((function(t){r=function(e,t){var n=To(e);if(!J(n))return n;var r=t.sel,o=t.mode,a=t.ctor,i=t.owner;if(gr(e,i),1===i.shadowMode){var l=i.context.stylesheetToken;J(l)||yr(e,l)}return n=Co(e,a,{mode:o,owner:i,tagName:r})}(t,e)}));if(wr(l,a),e.elm=l,e.vm=r,r)Mr(e,r);else if(e.ctor!==i)throw new TypeError("Incorrect Component Constructor");Cr(null,e),kr(l,t,n),r&&jo(r);vr(e.children,l,null),r&&function(e){xo(e)}(r)}(e,t,n)}}function vr(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:e.length;r<o;++r){var a=e[r];mr(a)&&dr(a,t,n)}}function hr(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e.type,o=e.elm,a=e.sel;n&&Er(o,t);var i="slot"===a;switch(r){case 2:pr(e.children,o,i);break;case 3:var l=e.vm;J(l)||Eo(l)}}function pr(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:e.length;r<o;++r){var a=e[r];mr(a)&&hr(a,t,n)}}function mr(e){return null!=e}function yr(e,t){e.$shadowToken$=t}function gr(e,t){var n=t.cmpTemplate,r=t.context,o=null==n?void 0:n.stylesheetToken;!J(o)&&r.hasScopedStyles&&Je(e).add(o)}function wr(e,t){var n=t.renderRoot,r=t.renderMode,o=t.shadowMode;_e&&(1!==o&&0!==r||(e.$shadowResolver$=n.$shadowResolver$))}function br(e){var t=e.elm,n=e.text;Ke(t,n)}function kr(e,t,n){Le(e,t,n)}function Er(e,t){De(e,t)}function Cr(e,t){Q(e)&&(cr(t),function(e){var t=e.elm,n=e.data.classMap;if(!J(n)){var r=Je(t);for(var o in n)r.add(o)}}(t),function(e){var t=e.elm,n=e.data.styleDecls;if(!J(n))for(var r=0;r<n.length;r++){var o=y(n[r],3),a=o[0],i=o[1],l=o[2];Qe(t,a,i,l)}}(t)),function(e,t){var n=t.elm,r=t.data.className,o=Q(e)?void 0:e.data.className;if(o!==r){var a,i=Je(n),l=ur(r),u=ur(o);for(a in u)J(l[a])&&i.remove(a);for(a in l)J(u[a])&&i.add(a)}}(e,t),function(e,t){var n=t.elm,r=t.data.style;(Q(e)?void 0:e.data.style)!==r&&(re(r)&&""!==r?Ue(n,"style",r):ze(n,"style"))}(e,t),function(e,t){var n=t.data.attrs;if(!J(n)){var r=Q(e)?Te:e.data.attrs;if(r!==n){var o=t.elm;for(var a in n){var i=n[a];r[a]!==i&&(It(o,a),58===z.call(a,3)?Ue(o,a,i,"http://www.w3.org/XML/1998/namespace"):58===z.call(a,5)?Ue(o,a,i,"http://www.w3.org/1999/xlink"):Q(i)||J(i)?ze(o,a):Ue(o,a,i),Dt())}}}}(e,t),ir(e,t)}function Mr(e,t){var n=e.aChildren||e.children;t.aChildren=n;var r=t.renderMode;1!==t.shadowMode&&0!==r||(!function(e,t){for(var n,r=e.cmpSlots,o=e.cmpSlots=C(null),a=0,i=t.length;a<i;a+=1){var l=t[a];if(!Q(l)){var u="";rr(l)&&(u=(null===(n=l.data.attrs)||void 0===n?void 0:n.slot)||"");var c=o[u]=o[u]||[];W.call(c,l)}}if(ee(e.isDirty)){var s=j(r);if(s.length!==j(o).length)return void io(e);for(var f=0,d=s.length;f<d;f+=1){var v=s[f];if(J(o[v])||r[v].length!==o[v].length)return void io(e);for(var h=r[v],p=o[v],m=0,y=o[v].length;m<y;m+=1)if(h[m]!==p[m])return void io(e)}}}(t,n),e.aChildren=n,e.children=xe)}var Sr=new WeakMap;function Or(e,t,n){for(var r={},o=t;o<=n;++o){var a=e[o];if(mr(a)){var i=a.key;void 0!==i&&(r[i]=o)}}return r}var Tr=Symbol.iterator;function xr(e){W.call(Yr().velements,e)}function Ar(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:xe,o=Yr(),a=t.key;return{type:2,sel:e,data:t,children:r,elm:n,key:a,owner:o}}function Pr(e,t,n){var r,o,a,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:xe,l=Yr(),u=n.key,c={type:3,sel:e,data:n,children:i,elm:r,key:u,ctor:t,owner:l,mode:"open",aChildren:o,vm:a};return xr(c),c}var Nr=new Map,jr=0;function _r(e){var t;return t=e,Sr.set(t,1),e}var Rr=function(){throw new Error("sanitizeHtmlContent hook must be implemented.")};var Lr=O({s:function(e,t,n,r){J(r)||J(r[e])||0===r[e].length||(n=r[e]);var o=Yr(),a=o.renderMode,i=o.shadowMode;return 0===a?(_r(n),n):(1===i&&_r(n),Ar("slot",t,n))},h:Ar,c:Pr,i:function(e,t){var n=[];if(_r(n),J(e)||null===e)return n;for(var r=e[Tr](),o=r.next(),a=0,i=o,l=i.value,u=i.done;!1===u;){var c=t(l,a,0===a,!0===(u=(o=r.next()).done));L(c)?W.apply(n,c):W.call(n,c),a+=1,l=o.value}return n},f:function(e){var t=e.length,n=[];_r(n);for(var r=0;r<t;r+=1){var o=e[r];L(o)?W.apply(n,o):W.call(n,o)}return n},t:function(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:Yr()}},d:function(e){return null==e?"":String(e)},b:function(e){var t=Yr();if(Q(t))throw new Error;var n=t;return function(t){no(n,e,n.component,t)}},k:function(e,t){switch(b(t)){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:undefined,owner:Yr()}},dc:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:xe;if(null==t)return null;if(!Zn(t))throw new Error("Invalid LWC Constructor ".concat(ie(t)," for custom element <").concat(e,">."));var o=Nr.get(t);J(o)&&(o=jr++,Nr.set(t,o));var a=Object.assign(Object.assign({},n),{key:"dc:".concat(o,":").concat(n.key)});return Pr(e,t,a,r)},ti:function(e){return e>0&&!(Z(e)||ee(e))?0:e},gid:function(e){var t=Yr();if(J(e)||""===e)return e;if(Q(e))return null;var n=t.idx;return 1===t.shadowMode?q.call(e,/\S+/g,(function(e){return"".concat(e,"-").concat(n)})):e},fid:function(e){var t=Yr();if(J(e)||""===e)return e;if(Q(e))return null;var n=t.idx;return 1===t.shadowMode&&/^#/.test(e)?"".concat(e,"-").concat(n):e},shc:function(e){return Rr(e)}});function Dr(e){return"".concat(e,"-host")}function Ir(e,t,n){for(var r,o=[],a=0;a<e.length;a++){var i=e[a];if(L(i))W.apply(o,Ir(i,t,n));else{var l=i.$scoped$,u=l||1===n.shadowMode&&1===n.renderMode?t:void 0,c=0===n.renderMode?!l:0===n.shadowMode,s=void 0;1===n.renderMode?s=0===n.shadowMode:(J(r)&&(r=Fr(n)),s=Q(r)||0===r.shadowMode),W.call(o,i(u,c,s))}}return o}function Hr(e,t){var n=t.stylesheets,r=t.stylesheetToken,o=[];return J(n)||0===n.length||(o=Ir(n,r,e)),o}function Fr(e){for(var t=e;!Q(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Wr(e,t){var n,r=e.renderMode,o=e.shadowMode;if(1===r&&1===o)for(var a=0;a<t.length;a++)ft(t[a]);else{if(Ne||e.hydrated){var i=H.call(t,"\n");return n=i,Lr.h("style",{key:"style",attrs:{type:"text/css"}},[Lr.t(n)])}for(var l=function(e){var t=Fr(e);return Q(t)||1!==t.shadowMode?t:null}(e),u=Q(l)?void 0:l.shadowRoot,c=0;c<t.length;c++)ft(t[c],u)}return null}var Br=!1,$r=oe,Vr={enableProfiler:function(){Br=!0},disableProfiler:function(){Br=!1},attachDispatcher:function(e){$r=e,this.enableProfiler()},detachDispatcher:function(){var e=$r;return $r=oe,this.disableProfiler(),e}};function Kr(e,t){Br&&$r(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Gr(e,t){Br&&$r(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Ur(e,t){Br&&$r(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 zr(e,t){Br&&$r(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)}var qr=!1,Xr=null;function Yr(){return Xr}function Jr(e){Xr=e}function Qr(e,t){var n=qr,r=Xr,o=[];return Io(e,e.owner,(function(){Xr=e,Kr(1,e)}),(function(){var n=e.component,r=e.context,a=e.cmpSlots,i=e.cmpTemplate;e.tro.observe((function(){if(t!==i){if(Q(i)||Do(e),u=t,!Bn.has(u))throw new TypeError("Invalid template returned by the render() method on ".concat(e,'. It must return an imported template (e.g.: `import html from "./').concat(e.def.name,'.html"`), instead, it has returned: ').concat(ie(t),"."));e.cmpTemplate=t,r.tplCache=C(null),r.hasScopedStyles=function(e){var t=e.stylesheets;if(!J(t))for(var n=0;n<t.length;n++)if(Z(t[n].$scoped$))return!0;return!1}(t),function(e,t){var n,r,o,a=e.elm,i=e.context,l=e.renderMode,u=e.shadowMode,c=t.stylesheets,s=t.stylesheetToken,f=1===l&&1===u,d=i.hasScopedStyles,v=i.stylesheetToken,h=i.hasTokenInClass,p=i.hasTokenInAttribute;J(v)||(h&&Je(a).remove(Dr(v)),p&&ze(a,Dr(v))),J(c)||0===c.length||(n=s),J(n)||(d&&(Je(a).add(Dr(n)),r=!0),f&&(Ue(a,Dr(n),""),o=!0)),i.stylesheetToken=n,i.hasTokenInClass=r,i.hasTokenInAttribute=o}(e,t);var l=Hr(e,t);r.styleVNode=0===l.length?null:Wr(e,l)}var u;e.velements=[],qr=!0,o=t.call(void 0,Lr,n,a,r.tplCache);var c=r.styleVNode;Q(c)||V.call(o,c)}))}),(function(){qr=n,Xr=r,Gr(1,e)})),o}var Zr=null;function eo(e){return Zr===e}function to(e,t,n){var r=e.component,o=e.callHook;Io(e,e.owner,oe,(function(){o(r,t,n)}),oe)}function no(e,t,n,r){var o=e.callHook;Io(e,e.owner,oe,(function(){o(n,t,[r])}),oe)}var ro=new Map;function oo(e){return new Et((function(){ee(e.isDirty)&&(io(e),function(e){if(Z(Ne)||Z(e.isScheduled))return;e.isScheduled=!0,0===Po.length&&Pe(No);W.call(Po,e)}(e))}))}function ao(e){e.tro.reset();var t=function(e){var t,n=e.def.render,r=e.callHook,o=e.component,a=e.owner,i=Yr(),l=!1;return Io(e,a,(function(){Jr(e)}),(function(){e.tro.observe((function(){t=r(o,n),l=!0}))}),(function(){Jr(i)})),l?Qr(e,t):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function io(e){e.isDirty=!0}var lo=new WeakMap;function uo(e,t){if(!te(t))throw new TypeError;var n=lo.get(t);return J(n)&&(n=function(n){no(e,t,void 0,n)},lo.set(t,n)),n}var co=C(null),so=["rendered","connected","disconnected"];function fo(e,t){for(var n=e.component,r=e.def,o=e.context,a=0,i=t.length;a<i;++a)t[a].call(void 0,n,{},r,o)}var vo=0,ho=new WeakMap;function po(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t.apply(e,n)}function mo(e,t,n){e[t]=n}function yo(e,t){return e[t]}function go(e){xo(e)}function wo(e){var t=Oo(e);Ur(7,t),1===t.state&&bo(e),jo(t),xo(t),zr(7,t)}function bo(e){ko(Oo(e))}function ko(e){if(2!==e.state){var t=e.oar,n=e.tro;for(var r in n.reset(),t)t[r].reset();!function(e){ee(e.isDirty)&&(e.isDirty=!0);e.state=2;var t=co.disconnected;t&&fo(e,t);_o(e)&&function(e){var t=e.context.wiredDisconnecting;Io(e,e,oe,(function(){for(var e=0,n=t.length;e<n;e+=1)t[e]()}),oe)}(e);var n=e.def.disconnectedCallback;J(n)||(Kr(5,e),to(e,n),Gr(5,e))}(e),Ro(e),function(e){Lo(e.aChildren)}(e)}}function Eo(e){ko(e)}function Co(e,t,n){var r,o=n.mode,a=n.owner,i=n.tagName,l=n.hydrated,u=er(t),c={elm:e,def:u,idx:vo++,state:0,isScheduled:!1,isDirty:!0,tagName:i,mode:o,owner:a,children:xe,aChildren:xe,velements:xe,cmpProps:C(null),cmpFields:C(null),cmpSlots:C(null),oar:C(null),cmpTemplate:null,hydrated:Boolean(l),renderMode:u.renderMode,shadowMode:Mo(u,a),nearestShadowMode:(null==a?void 0:a.shadowRoot)?a.shadowMode:null!==(r=null==a?void 0:a.nearestShadowMode)&&void 0!==r?r:null,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:Te,wiredConnecting:xe,wiredDisconnecting:xe},tro:null,component:null,shadowRoot:null,renderRoot:null,callHook:po,setHook:mo,getHook:yo};return c.tro=oo(c),function(e,t){var n,r=Zr;Kr(0,e),Zr=e;try{var o=new t;if(Zr.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){n=Object(e)}finally{if(Gr(0,e),Zr=r,!J(n))throw Ot(e,n),n}}(c,u.ctor),_o(c)&&function(e){var t=e.context,n=e.def.wire,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(var a in n){var i=n[a],l=Ho.get(i);J(l)||function(){var t=Wo(e,a,l),n=t.connector,i=t.computeConfigAndUpdate,u=t.resetConfigWatcher,c=l.dynamic.length>0;W.call(r,(function(){n.connect(),Se.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),W.call(o,(function(){n.disconnect(),u()}))}()}}(c),c}function Mo(e,t){var n;return _e?0===e.renderMode?0:je&&Se.ENABLE_MIXED_SHADOW_MODE?"any"===e.shadowSupportMode?0:null!==(n=null==t?void 0:t.nearestShadowMode)&&void 0!==n?n:1:1:0}function So(e,t){ho.set(e,t)}function Oo(e){return ho.get(e)}function To(e){return ho.get(e)}function xo(e){Z(e.isDirty)&&function(e,t){var n=e.renderRoot,r=e.children;e.children=t,(t.length>0||r.length>0)&&r!==t&&Io(e,e,(function(){Kr(2,e)}),(function(){sr(r,t,n)}),(function(){Gr(2,e)}));1===e.state&&Ao(e)}(e,ao(e))}function Ao(e){var t=e.def.renderedCallback;if(!Z(Ne)){var n=co.rendered;n&&fo(e,n),J(t)||(Kr(4,e),to(e,t),Gr(4,e))}}var Po=[];function No(){Ur(8);var e=Po.sort((function(e,t){return e.idx-t.idx}));Po=[];for(var t=0,n=e.length;t<n;t+=1){var r=e[t];try{xo(r)}catch(r){throw t+1<n&&(0===Po.length&&Pe(No),V.apply(Po,B.call(e,t+1))),zr(8),r}}zr(8)}function jo(e){if(1!==e.state){e.state=1;var t=co.connected;t&&fo(e,t),_o(e)&&function(e){for(var t=e.context.wiredConnecting,n=0,r=t.length;n<r;n+=1)t[n]()}(e);var n=e.def.connectedCallback;J(n)||(Kr(3,e),to(e,n),Gr(3,e))}}function _o(e){return x(e.def.wire).length>0}function Ro(e){for(var t=e.velements,n=t.length-1;n>=0;n-=1){var r=t[n].elm;if(!J(r)){var o=To(r);J(o)||ko(o)}}}function Lo(e){for(var t=0,n=e.length;t<n;t+=1){var r=e[t];if(!Q(r)&&!J(r.elm))switch(r.type){case 2:Lo(r.children);break;case 3:ko(Oo(r.elm))}}}function Do(e){for(var t=e.children,n=e.renderRoot,r=0,o=t.length;r<o;r++){var a=t[r];Q(a)||J(a.elm)||De(a.elm,n)}e.children=xe,Ro(e),e.velements=xe}function Io(e,t,n,r,o){var a;n();try{r()}catch(e){a=Object(e)}finally{if(o(),!J(a)){Ot(e,a);var i=Q(t)?void 0:function(e){for(var t=e;!Q(t);){if(!J(t.def.errorCallback))return t;t=t.owner}}(t);if(J(i))throw a;Do(e),Kr(6,e),to(i,i.def.errorCallback,[a,a.wcStack]),Gr(6,e)}}}var Ho=new Map,Fo=function(e){i(n,e);var t=u(n);function n(e,r){var o,a=r.setNewContext,i=r.setDisconnectedCallback;return v(this,n),o=t.call(this,e,{bubbles:!0,composed:!0}),M(s(o),{setNewContext:{value:a},setDisconnectedCallback:{value:i}}),o}return p(n)}(t(CustomEvent));function Wo(e,t,n){var r,o,a=n.method,i=n.adapter,l=n.configCallback,u=n.dynamic,c=J(a)?function(e,t){var n=e.cmpFields;return function(r){r!==e.cmpFields[t]&&(n[t]=r,Ct(e,t))}}(e,t):function(e,t){return function(n){Io(e,e.owner,oe,(function(){t.call(e.component,n)}),oe)}}(e,a);S(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),S(c,"$$DeprecatedWiredParamsMetaKey$$",{value:u}),Io(e,e,oe,(function(){o=new i(c)}),oe);var s=function(e,t,n){var r=!1,o=new Et((function(){!1===r&&(r=!0,Promise.resolve().then((function(){r=!1,o.reset(),a()})))})),a=function(){var r;o.observe((function(){return r=t(e)})),n(r)};return{computeConfigAndUpdate:a,ro:o}}(e.component,l,(function(t){Io(e,e,oe,(function(){o.update(t,r)}),oe)})),f=s.computeConfigAndUpdate,d=s.ro;return J(i.contextSchema)||function(e,t,n){var r=$o(t.adapter);if(!J(r)){var o=e.elm,a=e.context,i=a.wiredConnecting,l=a.wiredDisconnecting;W.call(i,(function(){var e=new Fo(r,{setNewContext:function(e){n(e)},setDisconnectedCallback:function(e){W.call(l,e)}});Ye(o,e)}))}}(e,n,(function(t){r!==t&&(r=t,1===e.state&&f())})),{connector:o,computeConfigAndUpdate:f,resetConfigWatcher:function(){return d.reset()}}}var Bo=new Map;function $o(e){return Bo.get(e)}function Vo(e,t,n,r){t.adapter&&(t=t.adapter);var o={adapter:t,method:e.value,configCallback:n,dynamic:r};Ho.set(e,o)}function Ko(e,t,n,r){t.adapter&&(t=t.adapter);var o={adapter:t,configCallback:n,dynamic:r};Ho.set(e,o)}var Go=!1;function Uo(e){Go=!1,jo(e),zo(e),Go&&function(e,t){Tt("error",e,t)}("Hydration completed with errors.",e)}function zo(e){var t=ao(e);e.children=t;var n=e.renderRoot;Xo(it(n),t,n),Ao(e)}function qo(e,t){var n;switch(t.type){case 0:n=function(e,t){var n;if(!Qo(t,e,3))return Yo(e,t);return Ke(e,null!==(n=t.text)&&void 0!==n?n:null),t.elm=e,e}(e,t);break;case 1:n=function(e,t){var n;if(!Qo(t,e,8))return Yo(e,t);return Ve(e,"nodeValue",null!==(n=t.text)&&void 0!==n?n:null),t.elm=e,e}(e,t);break;case 2:n=function(e,t){if(!Qo(t,e,1)||!Zo(t,e))return Yo(e,t);t.elm=e;var n=t.data.context,r=Boolean(!J(n)&&!J(n.lwc)&&"manual"===n.lwc.dom);if(r){var o=t.data.props;J(o)||J(o.innerHTML)||$e(e,"innerHTML")===o.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:yt(o,"innerHTML")}))}Jo(t),r||Xo(it(e),t.children,e,t.owner);return e}(e,t);break;case 3:n=function(e,t){if(!Qo(t,e,1)||!Zo(t,e))return Yo(e,t);var n=t.sel,r=t.mode,o=t.ctor,a=t.owner,i=Co(e,o,{mode:r,owner:a,tagName:n,hydrated:!0});t.elm=e,t.vm=i,Mr(t,i),Jo(t),jo(i),0!==i.renderMode&&Xo(it(e),t.children,e);return zo(i),e}(e,t)}return We(n)}function Xo(e,t,n,r){for(var o=e,a=null,i=0;i<t.length;i++){var l=t[i];Q(l)||(o?(o=qo(o,l),a=l.elm):(Go=!0,dr(l,n,a),a=l.elm))}if(o){Go=!0;do{var u=o;o=We(o),Er(u,n)}while(o)}}function Yo(e,t,n){Go=!0;var r=$e(e,"parentNode");return dr(t,r,e),Er(e,r),t.elm}function Jo(e){cr(e),ir(null,e)}function Qo(e,t,n){return $e(t,"nodeType")===n}function Zo(e,t){if(e.sel.toLowerCase()!==$e(t,"tagName").toLowerCase())return!1;var n=function(e,t){for(var n=e.data.attrs,r=void 0===n?{}:n,o=!0,a=0,i=Object.entries(r);a<i.length;a++){var l=y(i[a],2),u=l[0],c=l[1],s=Ge(t,u);String(c)!==s&&(o=!1)}return o}(e,t),r=function(e,t){var n=e.data,r=n.className,o=n.classMap,a=!0;if(J(r)||String(r)===$e(t,"className")){if(!J(o)){var i=Je(t),l="";for(var u in o)l+=" "+u,i.contains(u)||(a=!1);l.trim(),i.length>j(o).length&&(a=!1)}}else a=!1;return a}(e,t),o=function(e,t){var n=e.data,r=n.style,o=n.styleDecls,a=Ge(t,"style")||"",i=!0;if(J(r)||r===a){if(!J(o)){for(var l=mt(a),u=[],c=0,s=o.length;c<s;c++){var f=y(o[c],3),d=f[0],v=f[1],h=f[2];u.push("".concat(d,": ").concat(v+(h?" important!":"")));var p=l[d];J(p)?i=!1:p.startsWith(v)?h&&!p.endsWith("!important")&&(i=!1):i=!1}j(l).length>o.length&&(i=!1),H.call(u,";")}}else i=!1;return i}(e,t);return n&&r&&o}var ea=!1;var ta,na,ra,oa=te(CSSStyleSheet.prototype.replaceSync)&&L(document.adoptedStyleSheets),aa=oa&&T(document.adoptedStyleSheets,"length").writable,ia=!J(document.documentMode),la=new Map;function ua(e){var t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function ca(e){var t=new CSSStyleSheet;return t.replaceSync(e),t}function sa(e,t,n){var r=function(e,t){var n=t.stylesheet;return t.used?ia?ua(e):n.cloneNode(!0):(t.used=!0,n)}(e,n);(function(e){return!J(e.head)}(t)?t.head:t).appendChild(r)}function fa(e,t,n){oa?function(e,t,n){var r=t.adoptedStyleSheets,o=n.stylesheet;aa?r.push(o):t.adoptedStyleSheets=[].concat(m(r),[o])}(0,t,n):sa(e,t,n)}function da(e){var t=la.get(e);return J(t)&&(t={stylesheet:oa?ca(e):ua(e),roots:void 0,global:!1,used:!1},la.set(e,t)),t}if(function(){if("undefined"==typeof customElements)return!1;try{var e=function(e){i(n,e);var t=u(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n)}(HTMLElement);return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),e),new e,!0}catch(e){return!1}}())ta=customElements.get.bind(customElements),na=customElements.define.bind(customElements),ra=HTMLElement;else{var va=C(null),ha=new WeakMap;na=function(e,t){if(e!==Y.call(e)||va[e])throw new TypeError("Invalid Registration");va[e]=t,ha.set(t,e)},ta=function(e){return va[e]},(ra=function e(){if(!(this instanceof e))throw new TypeError("Invalid Invocation");var t=this.constructor,n=ha.get(t);if(!n)throw new TypeError("Invalid Construction");var r=document.createElement(n);return R(r,t.prototype),r}).prototype=HTMLElement.prototype}var pa=!1;function ma(e){pa=e}var ya=fe.$isNativeShadowRootDefined$,ga=P.call(Element.prototype,"$shadowToken$");function wa(e,t){if(e.shadowRoot)for(var n=e.shadowRoot;!Q(n.firstChild);)n.removeChild(n.firstChild);if("light"===t.renderMode)for(;!Q(e.firstChild);)e.removeChild(e.firstChild)}function ba(e,t,n){for(var r=Co(e,t,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0}),o=0,a=Object.entries(n);o<a.length;o++){var i=y(a[o],2),l=i[0],u=i[1];e[l]=u}return r}function ka(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!(e instanceof Element))throw new TypeError('"hydrateComponent" expects a valid DOM element as the first parameter but instead received '.concat(e,"."));if(!te(t))throw new TypeError('"hydrateComponent" expects a valid component constructor as the second parameter but instead received '.concat(t,"."));if(!ne(n)||Q(n))throw new TypeError('"hydrateComponent" expects an object as the third parameter but instead received '.concat(n,"."));if(To(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{ma(!0);var r=ba(e,t,n);Uo(r),ma(!1)}catch(r){console.error("Recovering from error while hydrating: ",r),wa(e,t),ba(e,t,n),ma(!1),wo(e)}finally{ma(!1)}}Be=function(e,t){return pa?e.shadowRoot:e.attachShadow(t)},Fe=function(e){return document.createComment(e)},Ie=function(e,t){return J(t)?document.createElement(e):document.createElementNS(t,e)},He=function(e){return document.createTextNode(e)},dt=na,Ye=function(e,t){return e.dispatchEvent(t)},Ge=function(e,t,n){return J(n)?e.getAttribute(t):e.getAttributeNS(n,t)},Ze=function(e){return e.getBoundingClientRect()},at=function(e){return e.childNodes},ot=function(e){return e.children},Je=function(e){return e.classList},vt=ta,rt=function(e,t){return e.getElementsByClassName(t)},nt=function(e,t){return e.getElementsByTagName(t)},it=function(e){return e.firstChild},lt=function(e){return e.firstElementChild},ut=function(e){return e.lastChild},ct=function(e){return e.lastElementChild},$e=function(e,t){return e[t]},Re=ra,Le=function(e,t,n){t.insertBefore(e,n)},st=function(e){return e.isConnected},je=ya,_e=ga,We=function(e){return e.nextSibling},et=function(e,t){return e.querySelector(t)},tt=function(e,t){return e.querySelectorAll(t)},De=function(e,t){t.removeChild(e)},ze=function(e,t,n){J(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)},Xe=function(e,t,n,r){e.removeEventListener(t,n,r)},Ue=function(e,t,n,r){return J(r)?e.setAttribute(t,n):e.setAttributeNS(r,t,n)},Qe=function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},Ve=function(e,t,n){e[t]=n},Ke=function(e,t){e.nodeValue=t},Ne=!1,qe=function(e,t,n,r){e.addEventListener(t,n,r)},ft=function(e,t){J(t)?function(e){var t=da(e);t.global||(t.global=!0,fa(e,document,t))}(e):function(e,t){var n=da(e),r=n.roots;if(J(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),fa(e,t,n)}(e,t)};var Ea=new WeakSet;function Ca(e){var t=function(e){return er(e).bridge}(e);return function(t){i(r,t);var n=u(r);function r(){var t;return v(this,r),(t=n.call(this)).isConnected?(ka(s(t),e,{}),Ea.add(s(t))):Co(s(t),e,{mode:"open",owner:null,tagName:t.tagName}),t}return p(r,[{key:"connectedCallback",value:function(){Ea.has(this)?Ea.delete(this):wo(this)}},{key:"disconnectedCallback",value:function(){bo(this)}}]),r}(t)}var Ma=Node,Sa=new WeakMap,Oa=new WeakMap;function Ta(e,t){var n=t.get(e);return J(n)||n(e),e}var xa=Ma.prototype,Aa=xa.appendChild,Pa=xa.insertBefore,Na=xa.removeChild,ja=xa.replaceChild;E(Ma.prototype,{appendChild:function(e){return Ta(Aa.call(this,e),Sa)},insertBefore:function(e,t){return Ta(Pa.call(this,e,t),Sa)},removeChild:function(e){return Ta(Na.call(this,e),Oa)},replaceChild:function(e,t){var n=ja.call(this,e,t);return Ta(n,Oa),Ta(e,Sa),n}});var _a=Node;var Ra=new Map;S(En,"CustomElementConstructor",{get:function(){return function(e){if(e===En)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");var t=Ra.get(e);return J(t)&&(t=Ca(e),Ra.set(e,t)),t}(this)}}),O(En),_(En.prototype),e.LightningElement=En,e.__unstable__ProfilerControl=Vr,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){var t=$o(e);if(!J(t))throw new Error("Adapter already has a context provider.");!function(e,t){Bo.set(e,t)}(e,t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}());var n=new WeakSet;return function(e,r){if(n.has(e))throw new Error("Adapter was already installed on ".concat(e,"."));n.add(e);var o=r.consumerConnectedCallback,a=r.consumerDisconnectedCallback;e.addEventListener(t,(function(e){var t=e.setNewContext,n=e.setDisconnectedCallback,r={provide:function(e){t(e)}};n((function(){J(a)||a(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!ne(t)||Q(t))throw new TypeError('"createElement" function expects an object as second parameter but received "'.concat(ie(t),'".'));var n=t.is;if(!te(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');var r=nr(e),o=!1,a=new r((function(r){Co(r,n,{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null}),Sa.set(r,wo),Oa.set(r,bo),o=!0}));return o||console.error('Unexpected tag name "'.concat(e,'". This name is a registered custom element, preventing LWC to upgrade the element.')),a},e.freezeTemplate=function(e){},e.getComponentConstructor=function(e){var t=null;if(!J(e)){var n=To(e);J(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){var t=er(e),n=t.ctor,r=t.name,o=t.props,a=t.propsConfig,i=t.methods,l={};for(var u in o)l[u]={config:a[u]||0,type:"any",attr:he(u)};var c={};for(var s in i)c[s]=i[s].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=ka,e.isComponentConstructor=Zn,e.isNodeFromTemplate=function(e){if(ee(e instanceof _a))return!1;if(e instanceof ShadowRoot)return!1;var t=e.getRootNode();return!!(t instanceof ShadowRoot&&ee(P.call(A(t),"synthetic")))||ga&&!J(e.$shadowResolver$)},e.readonly=function(e){return bn.getReadOnlyProxy(e)},e.register=function(e){for(var t=0;t<so.length;++t){var n=so[t];if(n in e){var r=co[n];J(r)&&(co[n]=r=[]),W.call(r,e[n])}}},e.registerComponent=function(e,t){var n=t.tmpl;return te(e)&&ro.set(e,n),e},e.registerDecorators=function(e,t){var n,r=e.prototype,o=t.publicProps,a=t.publicMethods,i=t.wire,l=t.track,u=t.fields,c=C(null),s=C(null),f=C(null),d=C(null),v=C(null),h=C(null);if(!J(o))for(var p in o){var m=o[p];if(h[p]=m.config,n=T(r,p),m.config>0){if(J(n))throw new Error;n=Dn(p,n)}else n=J(n)||J(n.get)?Rn(p):Dn(p,n);s[p]=n,S(r,p,n)}if(J(a)||K.call(a,(function(e){if(J(n=T(r,e)))throw new Error;c[e]=n})),!J(i))for(var y in i){var g=i[y],w=g.adapter,b=g.method,k=g.config,E=g.dynamic,M=void 0===E?[]:E;if(n=T(r,y),1===b){if(J(n))throw new Error;f[y]=n,Vo(n,w,k,M)}else n=Hn(y),d[y]=n,Ko(n,w,k,M),S(r,y,n)}if(!J(l))for(var O in l)n=T(r,O),n=In(O),S(r,O,n);if(!J(u))for(var x=0,A=u.length;x<A;x++){var P=u[x];n=T(r,P);var N=!J(o)&&P in o,j=!J(l)&&P in l;N||j||(v[P]=_n(P))}return function(e,t){Fn.set(e,t)}(e,{apiMethods:c,apiFields:s,apiFieldsConfig:h,wiredMethods:f,wiredFields:d,observedFields:v}),e},e.registerTemplate=function(e){return Bn.add(e),S(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get:function(){var e=this.stylesheetToken;return J(e)?e:{hostAttribute:"".concat(e,"-host"),shadowAttribute:e}},set:function(e){this.stylesheetToken=J(e)?void 0:e.shadowAttribute}}),e},e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(J(Me[e])){var n=j(Me).map((function(e){return'"'.concat(e,'"')})).join(", ");console.warn('Failed to set the value "'.concat(t,'" for the runtime feature flag "').concat(e,'" because it is undefined. Available flags: ').concat(n,"."))}else{var r=Se[e];J(r)?S(Se,e,{value:t}):console.error('Failed to set the value "'.concat(t,'" for the runtime feature flag "').concat(e,'". "').concat(e,'" has already been set with the value "').concat(r,'".'))}}else{var o='Failed to set the value "'.concat(t,'" for the runtime feature flag "').concat(e,'". Runtime feature flags can only be set to a boolean value.');console.error(o)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){var t;k.isFalse(ea,"Hooks are already overridden, only one definition is allowed."),ea=!0,t=e.sanitizeHtmlContent,Rr=t},e.swapComponent=function(e,t){if(!Se.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapStyle=function(e,t){if(!Se.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapTemplate=function(e,t){if(!Se.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.track=function(e){if(1===arguments.length)return bn.getProxy(e);throw new Error},e.unwrap=function(e){return bn.unwrapProxy(e)},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0})}));
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";function t(e){var r="function"==typeof Map?new Map:void 0;return t=function(e){if(null===e||(t=e,-1===Function.toString.call(t).indexOf("[native code]")))return e;var t;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(e))return r.get(e);r.set(e,o)}function o(){return n(e,arguments,d(this).constructor)}return o.prototype=Object.create(e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),l(o,e)},t(e)}function n(e,t,r){return n=f()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&l(o,n.prototype),o},n.apply(null,arguments)}function r(){return r="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=o(e,t);if(r){var a=Object.getOwnPropertyDescriptor(r,t);return a.get?a.get.call(arguments.length<3?e:n):a.value}},r.apply(this,arguments)}function o(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=d(e)););return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}function l(e,t){return l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},l(e,t)}function u(e){var t=f();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){if(t&&("object"===b(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return s(e)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t,n){return t&&h(e.prototype,t),n&&h(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function m(e){return function(e){if(Array.isArray(e))return w(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||g(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw o}}return a}(e,t)||g(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){if(e){if("string"==typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(e,t):void 0}}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function b(e){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},b(e)}var k=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error("Invariant Violation: ".concat(t))},isTrue:function(e,t){if(!e)throw new Error("Assert Violation: ".concat(t))},isFalse:function(e,t){if(e)throw new Error("Assert Violation: ".concat(t))},fail:function(e){throw new Error(e)}}),E=Object.assign,C=Object.create,M=Object.defineProperties,S=Object.defineProperty,O=Object.freeze,T=Object.getOwnPropertyDescriptor,x=Object.getOwnPropertyNames,A=Object.getPrototypeOf,P=Object.hasOwnProperty,N=Object.isFrozen,j=Object.keys,_=Object.seal,R=Object.setPrototypeOf,L=Array.isArray,D=Array.prototype,I=D.indexOf,H=D.join,F=D.map,W=D.push,B=D.slice,$=D.splice,V=D.unshift,K=D.forEach,G=String.fromCharCode,U=String.prototype,z=U.charCodeAt,q=U.replace,X=U.slice,Y=U.toLowerCase;function J(e){return void 0===e}function Q(e){return null===e}function Z(e){return!0===e}function ee(e){return!1===e}function te(e){return"function"==typeof e}function ne(e){return"object"===b(e)}function re(e){return"string"==typeof e}function oe(){}var ae={}.toString;function ie(e){return e&&e.toString?L(e)?H.call(F.call(e,ie),","):e.toString():"object"===b(e)?ae.call(e):e+""}function le(e,t){do{var n=T(e,t);if(!J(n))return n;e=A(e)}while(null!==e)}var ue=["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"],ce=function(){var e=C(null),t=C(null);return K.call(ue,(function(n){var r=Y.call(q.call(n,/^aria/,(function(){return"aria-"})));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}}(),se=ce.AriaPropNameToAttrNameMap,fe=function(){if("object"===("undefined"==typeof globalThis?"undefined":b(globalThis)))return globalThis;var e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),de=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"]]),ve=new Map;function he(e){var t=se[e];if(!J(t))return t;var n=de.get(e);if(!J(n))return n;var r=ve.get(e);if(!J(r))return r;for(var o="",a=0,i=e.length;a<i;a++){var l=z.call(e,a);o+=l>=65&&l<=90?"-"+G(l+32):G(l)}return ve.set(e,o),o}var pe="http://www.w3.org/2000/svg";function me(e){return void 0===Object.getOwnPropertyDescriptor(Element.prototype,e)}var ye=new WeakMap;function ge(e){var t=ye.get(e);return void 0===t&&(t={},ye.set(e,t)),t}function we(e,t){return{get:function(){var n=ge(this);return P.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set:function(n){var r,o=null==(r=n)?null:String(r);ge(this)[e]=o,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function be(e){var t=we(e,se[e]);Object.defineProperty(Element.prototype,e,t)}for(var ke=j(se),Ee=0,Ce=ke.length;Ee<Ce;Ee+=1){me(jn=ke[Ee])&&be(jn)}var Me={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HMR:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null};fe.lwcRuntimeFlags||Object.defineProperty(fe,"lwcRuntimeFlags",{value:C(null)});var Se=fe.lwcRuntimeFlags;var Oe=[],Te=_(C(null)),xe=_([]);function Ae(){var e=Oe;Oe=[];for(var t=0,n=e.length;t<n;t+=1)e[t]()}function Pe(e){0===Oe.length&&Promise.resolve().then(Ae),W.call(Oe,e)}var Ne,je,_e,Re,Le,De,Ie,He,Fe,We,Be,$e,Ve,Ke,Ge,Ue,ze,qe,Xe,Ye,Je,Qe,Ze,et,tt,nt,rt,ot,at,it,lt,ut,ct,st,ft,dt,vt,ht=/;(?![^(]*\))/g,pt=/:(.+)/;function mt(e){var t,n={},r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=g(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){l=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(l)throw a}}}}(e.split(ht));try{for(r.s();!(t=r.n()).done;){var o=t.value;if(o){var a=y(o.split(pt),2),i=a[0],l=a[1];void 0!==i&&void 0!==l&&(n[i.trim()]=l.trim())}}}catch(e){r.e(e)}finally{r.f()}return n}function yt(e,t){for(var n={},r=0,o=Object.keys(e);r<o.length;r++){var a=o[r];a!==t&&(n[a]=e[a])}return n}var gt=new WeakMap;var wt=null;function bt(e,t){var n=gt.get(e);if(!J(n)){var r=n[t];if(!J(r))for(var o=0,a=r.length;o<a;o+=1){r[o].notify()}}}function kt(e,t){if(null!==wt){var n=wt,r=function(e){var t=gt.get(e);if(J(t)){var n=C(null);t=n,gt.set(e,n)}return t}(e),o=r[t];if(J(o))o=[],r[t]=o;else if(o[0]===n)return;-1===I.call(o,n)&&n.link(o)}}var Et=function(){function e(t){v(this,e),this.listeners=[],this.callback=t}return p(e,[{key:"observe",value:function(e){var t,n=wt;wt=this;try{e()}catch(e){t=Object(e)}finally{if(wt=n,void 0!==t)throw t}}},{key:"reset",value:function(){var e=this.listeners,t=e.length;if(t>0){for(var n=0;n<t;n+=1){var r=e[n],o=I.call(e[n],this);$.call(r,o,1)}e.length=0}}},{key:"notify",value:function(){this.callback.call(void 0,this)}},{key:"link",value:function(e){W.call(e,this),W.call(this.listeners,e)}}]),e}();function Ct(e,t){bt(e.component,t)}function Mt(e,t){kt(e.component,t)}function St(e){return"<".concat(Y.call(e.tagName),">")}function Ot(e,t){if(!N(t)&&J(t.wcStack)){var n=function(e){for(var t=[],n=e;!Q(n);)W.call(t,St(n)),n=n.owner;return t.reverse().join("\n\t")}(e);S(t,"wcStack",{get:function(){return n}})}}function Tt(e,t,n){var r="[LWC ".concat(e,"]: ").concat(t);J(n)||(r="".concat(r,"\n").concat(function(e){for(var t=[],n="";!Q(e.owner);)W.call(t,n+St(e)),e=e.owner,n+="\t";return H.call(t,"\n")}(n)));try{throw new Error(r)}catch(t){console[e](t)}}function xt(e){var t=e();return(null==t?void 0:t.__esModule)?t.default:t}function At(e){return te(e)&&P.call(e,"__circular__")}var Pt="undefined"!=typeof HTMLElement?HTMLElement:function(){},Nt=Pt.prototype;function jt(e){return"Using the `".concat(e,"` property is an anti-pattern because it rounds the value to an integer. Instead, use the `getBoundingClientRect` method to obtain fractional values for the size of an element and its position relative to the viewport.")}E(C(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:jt("offsetHeight")},offsetLeft:{readOnly:!0,error:jt("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:jt("offsetTop")},offsetWidth:{readOnly:!0,error:jt("offsetWidth")},role:{attribute:"role"}});var _t,Rt=null;function Lt(e,t){return e!==Rt||t!==_t}function Dt(e,t){Rt=null,_t=void 0}function It(e,t){Rt=e,_t=t}var Ht=C(null);K.call(j(se),(function(e){var t=le(Nt,e);J(t)||(Ht[e]=t)})),K.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(function(e){var t=le(Nt,e);J(t)||(Ht[e]=t)}));var Ft=Array.isArray,Wt=Object.prototype,Bt=Object.getPrototypeOf,$t=Object.create,Vt=Object.defineProperty,Kt=Object.isExtensible,Gt=Object.getOwnPropertyDescriptor,Ut=Object.getOwnPropertyNames,zt=Object.getOwnPropertySymbols,qt=Object.preventExtensions,Xt=Object.hasOwnProperty,Yt=Array.prototype,Jt=Yt.push,Qt=Yt.concat;function Zt(e){return void 0===e}function en(e){return"function"==typeof e}var tn=new WeakMap;function nn(e,t){tn.set(e,t)}var rn=function(e){return tn.get(e)||e},on=function(){function e(t,n){v(this,e),this.originalTarget=n,this.membrane=t}return p(e,[{key:"wrapDescriptor",value:function(e){if(Xt.call(e,"value"))e.value=this.wrapValue(e.value);else{var t=e.set,n=e.get;Zt(n)||(e.get=this.wrapGetter(n)),Zt(t)||(e.set=this.wrapSetter(t))}return e}},{key:"copyDescriptorIntoShadowTarget",value:function(e,t){var n=this.originalTarget,r=Gt(n,t);if(!Zt(r)){var o=this.wrapDescriptor(r);Vt(e,t,o)}}},{key:"lockShadowTarget",value:function(e){var t=this,n=this.originalTarget;Qt.call(Ut(n),zt(n)).forEach((function(n){t.copyDescriptorIntoShadowTarget(e,n)}));var r=this.membrane.tagPropertyKey;Zt(r)||Xt.call(e,r)||Vt(e,r,$t(null)),qt(e)}},{key:"apply",value:function(e,t,n){}},{key:"construct",value:function(e,t,n){}},{key:"get",value:function(e,t){var n=this.originalTarget,r=this.membrane.valueObserved,o=n[t];return r(n,t),this.wrapValue(o)}},{key:"has",value:function(e,t){var n=this.originalTarget,r=this.membrane,o=r.tagPropertyKey;return(0,r.valueObserved)(n,t),t in n||t===o}},{key:"ownKeys",value:function(e){var t=this.originalTarget,n=this.membrane.tagPropertyKey,r=Zt(n)||Xt.call(t,n)?[]:[n];return Jt.apply(r,Ut(t)),Jt.apply(r,zt(t)),r}},{key:"isExtensible",value:function(e){var t=this.originalTarget;return!!Kt(e)&&(!!Kt(t)||(this.lockShadowTarget(e),!1))}},{key:"getPrototypeOf",value:function(e){var t=this.originalTarget;return Bt(t)}},{key:"getOwnPropertyDescriptor",value:function(e,t){var n=this.originalTarget,r=this.membrane,o=r.valueObserved,a=r.tagPropertyKey;o(n,t);var i=Gt(n,t);if(Zt(i)){if(t!==a)return;return Vt(e,a,i={value:void 0,writable:!1,configurable:!1,enumerable:!1}),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}]),e}(),an=new WeakMap,ln=new WeakMap,un=new WeakMap,cn=new WeakMap,sn=function(e){i(n,e);var t=u(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n,[{key:"wrapValue",value:function(e){return this.membrane.getProxy(e)}},{key:"wrapGetter",value:function(e){var t=an.get(e);if(!Zt(t))return t;var n=this,r=function(){return n.wrapValue(e.call(rn(this)))};return an.set(e,r),un.set(r,e),r}},{key:"wrapSetter",value:function(e){var t=ln.get(e);if(!Zt(t))return t;var n=function(t){e.call(rn(this),rn(t))};return ln.set(e,n),cn.set(n,e),n}},{key:"unwrapDescriptor",value:function(e){if(Xt.call(e,"value"))e.value=rn(e.value);else{var t=e.set,n=e.get;Zt(n)||(e.get=this.unwrapGetter(n)),Zt(t)||(e.set=this.unwrapSetter(t))}return e}},{key:"unwrapGetter",value:function(e){var t=un.get(e);if(!Zt(t))return t;var n=this,r=function(){return rn(e.call(n.wrapValue(this)))};return an.set(r,e),un.set(e,r),r}},{key:"unwrapSetter",value:function(e){var t=cn.get(e);if(!Zt(t))return t;var n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return ln.set(r,e),cn.set(e,r),r}},{key:"set",value:function(e,t,n){var r=this.originalTarget,o=this.membrane.valueMutated;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&Ft(r)&&o(r,t),!0}},{key:"deleteProperty",value:function(e,t){var n=this.originalTarget,r=this.membrane.valueMutated;return delete n[t],r(n,t),!0}},{key:"setPrototypeOf",value:function(e,t){}},{key:"preventExtensions",value:function(e){if(Kt(e)){var t=this.originalTarget;if(qt(t),Kt(t))return!1;this.lockShadowTarget(e)}return!0}},{key:"defineProperty",value:function(e,t,n){var r=this.originalTarget,o=this.membrane,a=o.valueMutated;return t===o.tagPropertyKey&&!Xt.call(r,t)||(Vt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),a(r,t),!0)}}]),n}(on),fn=new WeakMap,dn=new WeakMap,vn=function(e){i(n,e);var t=u(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n,[{key:"wrapValue",value:function(e){return this.membrane.getReadOnlyProxy(e)}},{key:"wrapGetter",value:function(e){var t=fn.get(e);if(!Zt(t))return t;var n=this,r=function(){return n.wrapValue(e.call(rn(this)))};return fn.set(e,r),r}},{key:"wrapSetter",value:function(e){var t=dn.get(e);if(!Zt(t))return t;var n=function(e){};return dn.set(e,n),n}},{key:"set",value:function(e,t,n){return!1}},{key:"deleteProperty",value:function(e,t){return!1}},{key:"setPrototypeOf",value:function(e,t){}},{key:"preventExtensions",value:function(e){return!1}},{key:"defineProperty",value:function(e,t,n){return!1}}]),n}(on);function hn(e){if(null===e)return!1;if("object"!==b(e))return!1;if(Ft(e))return!0;var t=Bt(e);return t===Wt||null===t||null===Bt(t)}var pn=function(e,t){},mn=function(e,t){};function yn(e){return Ft(e)?[]:{}}var gn=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};v(this,e),this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;var n=t.valueMutated,r=t.valueObserved,o=t.valueIsObservable,a=t.tagPropertyKey;this.valueMutated=en(n)?n:mn,this.valueObserved=en(r)?r:pn,this.valueIsObservable=en(o)?o:hn,this.tagPropertyKey=a}return p(e,[{key:"getProxy",value:function(e){var t=rn(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}},{key:"getReadOnlyProxy",value:function(e){return e=rn(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}},{key:"unwrapProxy",value:function(e){return rn(e)}},{key:"getReactiveHandler",value:function(e){var t=this.reactiveObjectGraph.get(e);if(Zt(t)){var n=new sn(this,e);nn(t=new Proxy(yn(e),n),e),this.reactiveObjectGraph.set(e,t)}return t}},{key:"getReadOnlyHandler",value:function(e){var t=this.readOnlyObjectGraph.get(e);if(Zt(t)){var n=new vn(this,e);nn(t=new Proxy(yn(e),n),e),this.readOnlyObjectGraph.set(e,t)}return t}}]),e}(),wn=Symbol.for("@@lockerLiveValue"),bn=new gn({valueObserved:kt,valueMutated:bt,tagPropertyKey:wn});function kn(e,t){var n=t.get,r=t.set,o=t.enumerable,a=t.configurable;if(!te(n))throw new TypeError;if(!te(r))throw new TypeError;return{enumerable:o,configurable:a,get:function(){var t=So(this);if(!eo(t))return Mt(t,e),n.call(t.elm)},set:function(t){var n=So(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,Ct(n,e)),r.call(n.elm,t)}}}var En=function(){if(Q(Zr))throw new ReferenceError("Illegal constructor");var e=Zr,t=e.def,n=e.elm,r=t.bridge,o=this;if(R(n,r.prototype),e.component=this,1===arguments.length){var a=arguments[0],i=a.callHook,l=a.setHook,u=a.getHook;e.callHook=i,e.setHook=l,e.getHook=u}return this[wn]=void 0,Mo(o,e),Mo(n,e),1===e.renderMode?e.renderRoot=Cn(e):e.renderRoot=n,this};function Cn(e){var t,n=e.elm,r=e.mode,o=e.shadowMode,i=e.def.ctor,l=Be(n,(a(t={},"$$lwc-synthetic-mode",1===o),a(t,"delegatesFocus",Boolean(i.delegatesFocus)),a(t,"mode",r),t));return e.shadowRoot=l,Mo(l,e),l}En.prototype={constructor:En,dispatchEvent:function(e){var t=So(this).elm;return Ye(t,e)},addEventListener:function(e,t,n){var r=So(this),o=r.elm,a=uo(r,t);qe(o,e,a,n)},removeEventListener:function(e,t,n){var r=So(this),o=r.elm,a=uo(r,t);Xe(o,e,a,n)},hasAttribute:function(e){var t=So(this).elm;return!Q(Ge(t,e))},hasAttributeNS:function(e,t){var n=So(this).elm;return!Q(Ge(n,t,e))},removeAttribute:function(e){var t=So(this).elm;It(t,e),ze(t,e),Dt()},removeAttributeNS:function(e,t){var n=So(this).elm;It(n,t),ze(n,t,e),Dt()},getAttribute:function(e){var t=So(this).elm;return Ge(t,e)},getAttributeNS:function(e,t){var n=So(this).elm;return Ge(n,t,e)},setAttribute:function(e,t){var n=So(this).elm;It(n,e),Ue(n,e,t),Dt()},setAttributeNS:function(e,t,n){var r=So(this).elm;It(r,t),Ue(r,t,n,e),Dt()},getBoundingClientRect:function(){var e=So(this).elm;return Ze(e)},get isConnected(){var e=So(this).elm;return st(e)},get classList(){var e=So(this).elm;return Je(e)},get template(){return So(this).shadowRoot},get shadowRoot(){return null},render:function(){return So(this).def.template},toString:function(){var e=So(this);return"[object ".concat(e.def.name,"]")}};var Mn=C(null);for(var Sn=function(){var e=Tn[On];Mn[e]={get:function(){var t=So(this).elm;return function(e){switch(e){case"children":return ot;case"childNodes":return at;case"firstChild":return it;case"firstElementChild":return lt;case"lastChild":return ut;case"lastElementChild":return ct}}(e)(t)},configurable:!0,enumerable:!0}},On=0,Tn=["children","childNodes","firstChild","firstElementChild","lastChild","lastElementChild"];On<Tn.length;On++)Sn();for(var xn=function(){var e=Pn[An];Mn[e]={value:function(t){var n=So(this).elm;return function(e){switch(e){case"getElementsByClassName":return rt;case"getElementsByTagName":return nt;case"querySelector":return et;case"querySelectorAll":return tt}}(e)(n,t)},configurable:!0,enumerable:!0,writable:!0}},An=0,Pn=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];An<Pn.length;An++)xn();M(En.prototype,Mn);var Nn=C(null);for(var jn in Ht)Nn[jn]=kn(jn,Ht[jn]);function _n(e){return{get:function(){var t=So(this);return Mt(t,e),t.cmpFields[e]},set:function(t){var n=So(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,Ct(n,e))},enumerable:!0,configurable:!0}}function Rn(e){return{get:function(){var t=So(this);if(!eo(t))return Mt(t,e),t.cmpProps[e]},set:function(t){var n=So(this);n.cmpProps[e]=t,Ct(n,e)},enumerable:!0,configurable:!0}}M(En.prototype,Nn),S(En,"CustomElementConstructor",{get:function(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});var Ln=function(e){i(n,e);var t=u(n);function n(e,r){var o;return v(this,n),(o=t.call(this,(function(){ee(o.debouncing)&&(o.debouncing=!0,Pe((function(){if(Z(o.debouncing)){var t=s(o).value,n=e.isDirty,a=e.component,i=e.idx;r.call(a,t),o.debouncing=!1,Z(e.isDirty)&&ee(n)&&i>0&&go(e)}})))}))).debouncing=!1,o}return p(n,[{key:"reset",value:function(e){r(d(n.prototype),"reset",this).call(this),this.debouncing=!1,arguments.length>0&&(this.value=e)}}]),n}(Et);function Dn(e,t){var n=t.get,r=t.set,o=t.enumerable,a=t.configurable;if(!te(n))throw new Error;return{get:function(){return n.call(this)},set:function(t){var n=this,o=So(this);if(r)if(Se.ENABLE_REACTIVE_SETTER){var a=o.oar[e];J(a)&&(a=o.oar[e]=new Ln(o,r)),a.reset(t),a.observe((function(){r.call(n,t)}))}else r.call(this,t)},enumerable:o,configurable:a}}function In(e){return{get:function(){var t=So(this);return Mt(t,e),t.cmpFields[e]},set:function(t){var n=So(this),r=bn.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,Ct(n,e))},enumerable:!0,configurable:!0}}function Hn(e){return{get:function(){var t=So(this);return Mt(t,e),t.cmpFields[e]},set:function(t){var n=So(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,Ct(n,e))},enumerable:!0,configurable:!0}}var Fn=new Map;var Wn={apiMethods:Te,apiFields:Te,apiFieldsConfig:Te,wiredMethods:Te,wiredFields:Te,observedFields:Te};var Bn=new Set;function $n(){return[]}Bn.add($n);var Vn=C(null),Kn=C(null);function Gn(e){var t=Vn[e];return J(t)&&(t=Vn[e]=function(){var t=So(this);return(0,t.getHook)(t.component,e)}),t}function Un(e){var t=Kn[e];return J(t)&&(t=Kn[e]=function(t){var n=So(this),r=n.setHook;t=bn.getReadOnlyProxy(t),r(n.component,e,t)}),t}function zn(e){return function(){var t=So(this),n=t.callHook,r=t.component,o=r[e];return n(t.component,o,B.call(arguments))}}function qn(e,t){return function(n,r,o){if(r!==o){var a=e[n];J(a)?J(t)||t.apply(this,arguments):Lt(this,n)&&(this[a]=o)}}}function Xn(e,t,n){var r;te(e)?r=function(e){i(n,e);var t=u(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n)}(e):(R(r=function(){throw new TypeError("Illegal constructor")},e),R(r.prototype,e.prototype),S(r.prototype,"constructor",{writable:!0,configurable:!0,value:r}));for(var o=C(null),a=e.prototype.attributeChangedCallback,l=e.observedAttributes,c=void 0===l?[]:l,s=C(null),f=0,d=t.length;f<d;f+=1){var h=t[f];o[he(h)]=h,s[h]={get:Gn(h),set:Un(h),enumerable:!0,configurable:!0}}for(var y=0,g=n.length;y<g;y+=1){var w=n[y];s[w]={value:zn(w),writable:!0,configurable:!0}}return s.attributeChangedCallback={value:qn(o,a)},S(r,"observedAttributes",{get:function(){return[].concat(m(c),m(j(o)))}}),M(r.prototype,s),r}var Yn=Xn(Pt,x(Ht),[]);O(Yn),_(Yn.prototype);var Jn=new WeakMap;function Qn(e){var t=e.shadowSupportMode,n=e.renderMode,r=function(e){var t=Fn.get(e);return J(t)?Wn:t}(e),o=r.apiFields,a=r.apiFieldsConfig,i=r.apiMethods,l=r.wiredFields,u=r.wiredMethods,c=r.observedFields,s=e.prototype,f=s.connectedCallback,d=s.disconnectedCallback,v=s.renderedCallback,h=s.errorCallback,p=s.render,m=function(e){var t=A(e);if(Q(t))throw new ReferenceError("Invalid prototype chain for ".concat(e.name,", you must extend LightningElement."));if(At(t)){var n=xt(t);t=n===t?En:n}return t}(e),y=m!==En?er(m):tr,g=Xn(y.bridge,j(o),j(i)),w=E(C(null),y.props,o),b=E(C(null),y.propsConfig,a),k=E(C(null),y.methods,i),S=E(C(null),y.wire,l,u);f=f||y.connectedCallback,d=d||y.disconnectedCallback,v=v||y.renderedCallback,h=h||y.errorCallback,p=p||y.render;var O=y.shadowSupportMode;J(t)||(O=t);var T=y.renderMode;J(n)||(T="light"===n?0:1);var x=function(e){return ro.get(e)}(e)||y.template,P=e.name||y.name;return M(s,c),{ctor:e,name:P,wire:S,props:w,propsConfig:b,methods:k,bridge:g,template:x,renderMode:T,shadowSupportMode:O,connectedCallback:f,disconnectedCallback:d,renderedCallback:v,errorCallback:h,render:p}}function Zn(e){if(!te(e))return!1;if(e.prototype instanceof En)return!0;var t=e;do{if(At(t)){var n=xt(t);if(n===t)return!0;t=n}if(t===En)return!0}while(!Q(t)&&(t=A(t)));return!1}function er(e){var t=Jn.get(e);if(J(t)){if(At(e))return t=er(xt(e)),Jn.set(e,t),t;if(!Zn(e))throw new TypeError("".concat(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=Qn(e),Jn.set(e,t)}return t}var tr={ctor:En,name:En.name,props:Nn,propsConfig:Te,methods:Te,renderMode:1,shadowSupportMode:"reset",wire:Te,bridge:Yn,template:$n,render:En.prototype.render};function nr(e){e=e.toLowerCase();var t=vt(e);return J(t)?(dt(e,t=function(e){i(n,e);var t=u(n);function n(e){var r;return v(this,n),r=t.call(this),te(e)&&e(s(r)),r}return p(n)}(Re)),t):t}function rr(e){var t=e.type;return 2===t||3===t}function or(e,t){return e.key===t.key&&e.sel===t.sel}function ar(e,t){return"input"===e&&("value"===t||"checked"===t)}function ir(e,t){var n=t.data.props;if(!J(n)){var r=Q(e)?Te:e.data.props;if(r!==n){var o=Q(e),a=t.elm,i=t.sel;for(var l in n){var u=n[l];(o||u!==(ar(i,l)?$e(a,l):r[l]))&&Ve(a,l,u)}}}}var lr=C(null);function ur(e){if(null==e)return Te;e=re(e)?e:e+"";var t=lr[e];if(t)return t;t=C(null);var n,r=0,o=e.length;for(n=0;n<o;n++)32===z.call(e,n)&&(n>r&&(t[X.call(e,r,n)]=!0),r=n+1);return n>r&&(t[X.call(e,r,n)]=!0),lr[e]=t,t}function cr(e){var t=e.elm,n=e.data.on;if(!J(n))for(var r in n){var o=n[r];qe(t,r,o)}}function sr(e,t,n){var r;r=t,Sr.has(r)?function(e,t,n){var r,o,a,i=0,l=0,u=e.length-1,c=e[0],s=e[u],f=t.length-1,d=f,v=t[0],h=t[d],p=!1;for(;i<=u&&l<=d;)mr(c)?mr(s)?mr(v)?mr(h)?or(c,v)?(fr(c,v),c=e[++i],v=t[++l]):or(s,h)?(fr(s,h),s=e[--u],h=t[--d]):or(c,h)?(fr(c,h),kr(c.elm,n,We(s.elm)),c=e[++i],h=t[--d]):or(s,v)?(fr(s,v),kr(v.elm,n,c.elm),s=e[--u],v=t[++l]):(void 0===r&&(r=Or(e,i,u)),J(o=r[v.key])?(dr(v,n,c.elm),v=t[++l]):(mr(a=e[o])&&(a.sel!==v.sel?dr(v,n,c.elm):(fr(a,v),p||(p=!0,e=m(e)),e[o]=void 0,kr(a.elm,n,c.elm))),v=t[++l])):h=t[--d]:v=t[++l]:s=e[--u]:c=e[++i];if(i<=u||l<=d)if(i>u){var y,g=d;do{y=t[++g]}while(!mr(y)&&g<f);vr(t,n,mr(y)?y.elm:null,l,d+1)}else pr(e,n,!0,i,u+1)}(e,t,n):function(e,t,n){var r=e.length,o=t.length;if(0===r)return void vr(t,n,null);if(0===o)return void pr(e,n,!0);for(var a=null,i=o-1;i>=0;i-=1){var l=e[i],u=t[i];u!==l&&(mr(l)?mr(u)?(fr(l,u),a=u.elm):hr(l,n,!0):mr(u)&&(dr(u,n,a),a=u.elm))}}(e,t,n)}function fr(e,t){if(e!==t)switch(t.type){case 0:case 1:!function(e,t){t.elm=e.elm,t.text!==e.text&&br(t)}(e,t);break;case 2:!function(e,t){var n=t.elm=e.elm;Cr(e,t),sr(e.children,t.children,n)}(e,t);break;case 3:!function(e,t){var n=t.elm=e.elm,r=t.vm=e.vm;Cr(e,t),J(r)||Mr(t,r);sr(e.children,t.children,n),J(r)||go(r)}(e,t)}}function dr(e,t,n){switch(e.type){case 0:!function(e,t,n){var r=e.owner,o=e.elm=He(e.text);wr(o,r),kr(o,t,n)}(e,t,n);break;case 1:!function(e,t,n){var r=e.owner,o=e.elm=Fe(e.text);wr(o,r),kr(o,t,n)}(e,t,n);break;case 2:!function(e,t,n){var r=e.sel,o=e.owner,a=Z(e.data.svg)?pe:void 0,i=Ie(r,a);wr(i,o),function(e,t){var n=t.owner;if(gr(e,n),1===n.shadowMode){var r=t.data.context,o=n.context.stylesheetToken;J(r)||J(r.lwc)||"manual"!==r.lwc.dom||function(e){e.$domManual$=!0}(e),J(o)||yr(e,o)}}(i,e),e.elm=i,Cr(null,e),kr(i,t,n),vr(e.children,i,null)}(e,t,n);break;case 3:!function(e,t,n){var r,o=e.sel,a=e.owner,i=nr(o),l=new i((function(t){r=function(e,t){var n=Oo(e);if(!J(n))return n;var r=t.sel,o=t.mode,a=t.ctor,i=t.owner;if(gr(e,i),1===i.shadowMode){var l=i.context.stylesheetToken;J(l)||yr(e,l)}return n=Co(e,a,{mode:o,owner:i,tagName:r})}(t,e)}));if(wr(l,a),e.elm=l,e.vm=r,r)Mr(e,r);else if(e.ctor!==i)throw new TypeError("Incorrect Component Constructor");Cr(null,e),kr(l,t,n),r&&No(r);vr(e.children,l,null),r&&function(e){To(e)}(r)}(e,t,n)}}function vr(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:e.length;r<o;++r){var a=e[r];mr(a)&&dr(a,t,n)}}function hr(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e.type,o=e.elm,a=e.sel;switch(n&&Er(o,t),r){case 2:var i="slot"===a&&1===e.owner.shadowMode;pr(e.children,o,i);break;case 3:var l=e.vm;J(l)||Eo(l)}}function pr(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:e.length;r<o;++r){var a=e[r];mr(a)&&hr(a,t,n)}}function mr(e){return null!=e}function yr(e,t){e.$shadowToken$=t}function gr(e,t){var n=t.cmpTemplate,r=t.context,o=null==n?void 0:n.stylesheetToken;!J(o)&&r.hasScopedStyles&&Je(e).add(o)}function wr(e,t){var n=t.renderRoot,r=t.renderMode,o=t.shadowMode;_e&&(1!==o&&0!==r||(e.$shadowResolver$=n.$shadowResolver$))}function br(e){var t=e.elm,n=e.text;Ke(t,n)}function kr(e,t,n){Le(e,t,n)}function Er(e,t){De(e,t)}function Cr(e,t){Q(e)&&(cr(t),function(e){var t=e.elm,n=e.data.classMap;if(!J(n)){var r=Je(t);for(var o in n)r.add(o)}}(t),function(e){var t=e.elm,n=e.data.styleDecls;if(!J(n))for(var r=0;r<n.length;r++){var o=y(n[r],3),a=o[0],i=o[1],l=o[2];Qe(t,a,i,l)}}(t)),function(e,t){var n=t.elm,r=t.data.className,o=Q(e)?void 0:e.data.className;if(o!==r){var a,i=Je(n),l=ur(r),u=ur(o);for(a in u)J(l[a])&&i.remove(a);for(a in l)J(u[a])&&i.add(a)}}(e,t),function(e,t){var n=t.elm,r=t.data.style;(Q(e)?void 0:e.data.style)!==r&&(re(r)&&""!==r?Ue(n,"style",r):ze(n,"style"))}(e,t),function(e,t){var n=t.data.attrs;if(!J(n)){var r=Q(e)?Te:e.data.attrs;if(r!==n){var o=t.elm;for(var a in n){var i=n[a];r[a]!==i&&(It(o,a),58===z.call(a,3)?Ue(o,a,i,"http://www.w3.org/XML/1998/namespace"):58===z.call(a,5)?Ue(o,a,i,"http://www.w3.org/1999/xlink"):Q(i)||J(i)?ze(o,a):Ue(o,a,i),Dt())}}}}(e,t),ir(e,t)}function Mr(e,t){var n=e.aChildren||e.children;t.aChildren=n;var r=t.renderMode;1!==t.shadowMode&&0!==r||(!function(e,t){for(var n,r=e.cmpSlots,o=e.cmpSlots=C(null),a=0,i=t.length;a<i;a+=1){var l=t[a];if(!Q(l)){var u="";rr(l)&&(u=(null===(n=l.data.attrs)||void 0===n?void 0:n.slot)||"");var c=o[u]=o[u]||[];W.call(c,l)}}if(ee(e.isDirty)){var s=j(r);if(s.length!==j(o).length)return void io(e);for(var f=0,d=s.length;f<d;f+=1){var v=s[f];if(J(o[v])||r[v].length!==o[v].length)return void io(e);for(var h=r[v],p=o[v],m=0,y=o[v].length;m<y;m+=1)if(h[m]!==p[m])return void io(e)}}}(t,n),e.aChildren=n,e.children=xe)}var Sr=new WeakMap;function Or(e,t,n){for(var r={},o=t;o<=n;++o){var a=e[o];if(mr(a)){var i=a.key;void 0!==i&&(r[i]=o)}}return r}var Tr=Symbol.iterator;function xr(e){W.call(Yr().velements,e)}function Ar(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:xe,o=Yr(),a=t.key;return{type:2,sel:e,data:t,children:r,elm:n,key:a,owner:o}}function Pr(e,t,n){var r,o,a,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:xe,l=Yr(),u=n.key,c={type:3,sel:e,data:n,children:i,elm:r,key:u,ctor:t,owner:l,mode:"open",aChildren:o,vm:a};return xr(c),c}var Nr=new Map,jr=0;function _r(e){var t;return t=e,Sr.set(t,1),e}var Rr=function(){throw new Error("sanitizeHtmlContent hook must be implemented.")};var Lr=O({s:function(e,t,n,r){J(r)||J(r[e])||0===r[e].length||(n=r[e]);var o=Yr(),a=o.renderMode,i=o.shadowMode;return 0===a?(_r(n),n):(1===i&&_r(n),Ar("slot",t,n))},h:Ar,c:Pr,i:function(e,t){var n=[];if(_r(n),J(e)||null===e)return n;for(var r=e[Tr](),o=r.next(),a=0,i=o,l=i.value,u=i.done;!1===u;){var c=t(l,a,0===a,!0===(u=(o=r.next()).done));L(c)?W.apply(n,c):W.call(n,c),a+=1,l=o.value}return n},f:function(e){var t=e.length,n=[];_r(n);for(var r=0;r<t;r+=1){var o=e[r];L(o)?W.apply(n,o):W.call(n,o)}return n},t:function(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:Yr()}},d:function(e){return null==e?"":String(e)},b:function(e){var t=Yr();if(Q(t))throw new Error;var n=t;return function(t){no(n,e,n.component,t)}},k:function(e,t){switch(b(t)){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:undefined,owner:Yr()}},dc:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:xe;if(null==t)return null;if(!Zn(t))throw new Error("Invalid LWC Constructor ".concat(ie(t)," for custom element <").concat(e,">."));var o=Nr.get(t);J(o)&&(o=jr++,Nr.set(t,o));var a=Object.assign(Object.assign({},n),{key:"dc:".concat(o,":").concat(n.key)});return Pr(e,t,a,r)},ti:function(e){return e>0&&!(Z(e)||ee(e))?0:e},gid:function(e){var t=Yr();if(J(e)||""===e)return e;if(Q(e))return null;var n=t.idx;return 1===t.shadowMode?q.call(e,/\S+/g,(function(e){return"".concat(e,"-").concat(n)})):e},fid:function(e){var t=Yr();if(J(e)||""===e)return e;if(Q(e))return null;var n=t.idx;return 1===t.shadowMode&&/^#/.test(e)?"".concat(e,"-").concat(n):e},shc:function(e){return Rr(e)}});function Dr(e){return"".concat(e,"-host")}function Ir(e,t,n){for(var r,o=[],a=0;a<e.length;a++){var i=e[a];if(L(i))W.apply(o,Ir(i,t,n));else{var l=i.$scoped$,u=l||1===n.shadowMode&&1===n.renderMode?t:void 0,c=0===n.renderMode?!l:0===n.shadowMode,s=void 0;1===n.renderMode?s=0===n.shadowMode:(J(r)&&(r=Fr(n)),s=Q(r)||0===r.shadowMode),W.call(o,i(u,c,s))}}return o}function Hr(e,t){var n=t.stylesheets,r=t.stylesheetToken,o=[];return J(n)||0===n.length||(o=Ir(n,r,e)),o}function Fr(e){for(var t=e;!Q(t);){if(1===t.renderMode)return t;t=t.owner}return t}function Wr(e,t){var n,r=e.renderMode,o=e.shadowMode;if(1===r&&1===o)for(var a=0;a<t.length;a++)ft(t[a]);else{if(Ne||e.hydrated){var i=H.call(t,"\n");return n=i,Lr.h("style",{key:"style",attrs:{type:"text/css"}},[Lr.t(n)])}for(var l=function(e){var t=Fr(e);return Q(t)||1!==t.shadowMode?t:null}(e),u=Q(l)?void 0:l.shadowRoot,c=0;c<t.length;c++)ft(t[c],u)}return null}var Br=!1,$r=oe,Vr={enableProfiler:function(){Br=!0},disableProfiler:function(){Br=!1},attachDispatcher:function(e){$r=e,this.enableProfiler()},detachDispatcher:function(){var e=$r;return $r=oe,this.disableProfiler(),e}};function Kr(e,t){Br&&$r(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Gr(e,t){Br&&$r(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Ur(e,t){Br&&$r(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 zr(e,t){Br&&$r(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)}var qr=!1,Xr=null;function Yr(){return Xr}function Jr(e){Xr=e}function Qr(e,t){var n=qr,r=Xr,o=[];return Do(e,e.owner,(function(){Xr=e,Kr(1,e)}),(function(){var n=e.component,r=e.context,a=e.cmpSlots,i=e.cmpTemplate;e.tro.observe((function(){if(t!==i){if(Q(i)||Lo(e),u=t,!Bn.has(u))throw new TypeError("Invalid template returned by the render() method on ".concat(e,'. It must return an imported template (e.g.: `import html from "./').concat(e.def.name,'.html"`), instead, it has returned: ').concat(ie(t),"."));e.cmpTemplate=t,r.tplCache=C(null),r.hasScopedStyles=function(e){var t=e.stylesheets;if(!J(t))for(var n=0;n<t.length;n++)if(Z(t[n].$scoped$))return!0;return!1}(t),function(e,t){var n,r,o,a=e.elm,i=e.context,l=e.renderMode,u=e.shadowMode,c=t.stylesheets,s=t.stylesheetToken,f=1===l&&1===u,d=i.hasScopedStyles,v=i.stylesheetToken,h=i.hasTokenInClass,p=i.hasTokenInAttribute;J(v)||(h&&Je(a).remove(Dr(v)),p&&ze(a,Dr(v))),J(c)||0===c.length||(n=s),J(n)||(d&&(Je(a).add(Dr(n)),r=!0),f&&(Ue(a,Dr(n),""),o=!0)),i.stylesheetToken=n,i.hasTokenInClass=r,i.hasTokenInAttribute=o}(e,t);var l=Hr(e,t);r.styleVNode=0===l.length?null:Wr(e,l)}var u;e.velements=[],qr=!0,o=t.call(void 0,Lr,n,a,r.tplCache);var c=r.styleVNode;Q(c)||V.call(o,c)}))}),(function(){qr=n,Xr=r,Gr(1,e)})),o}var Zr=null;function eo(e){return Zr===e}function to(e,t,n){var r=e.component,o=e.callHook;Do(e,e.owner,oe,(function(){o(r,t,n)}),oe)}function no(e,t,n,r){var o=e.callHook;Do(e,e.owner,oe,(function(){o(n,t,[r])}),oe)}var ro=new Map;function oo(e){return new Et((function(){ee(e.isDirty)&&(io(e),function(e){if(Z(Ne)||Z(e.isScheduled))return;e.isScheduled=!0,0===Ao.length&&Pe(Po);W.call(Ao,e)}(e))}))}function ao(e){e.tro.reset();var t=function(e){var t,n=e.def.render,r=e.callHook,o=e.component,a=e.owner,i=Yr(),l=!1;return Do(e,a,(function(){Jr(e)}),(function(){e.tro.observe((function(){t=r(o,n),l=!0}))}),(function(){Jr(i)})),l?Qr(e,t):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function io(e){e.isDirty=!0}var lo=new WeakMap;function uo(e,t){if(!te(t))throw new TypeError;var n=lo.get(t);return J(n)&&(n=function(n){no(e,t,void 0,n)},lo.set(t,n)),n}var co=C(null),so=["rendered","connected","disconnected"];function fo(e,t){for(var n=e.component,r=e.def,o=e.context,a=0,i=t.length;a<i;++a)t[a].call(void 0,n,{},r,o)}var vo=0,ho=new WeakMap;function po(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t.apply(e,n)}function mo(e,t,n){e[t]=n}function yo(e,t){return e[t]}function go(e){To(e)}function wo(e){var t=So(e);Ur(7,t),1===t.state&&bo(e),No(t),To(t),zr(7,t)}function bo(e){ko(So(e))}function ko(e){if(2!==e.state){var t=e.oar,n=e.tro;for(var r in n.reset(),t)t[r].reset();!function(e){ee(e.isDirty)&&(e.isDirty=!0);e.state=2;var t=co.disconnected;t&&fo(e,t);jo(e)&&function(e){var t=e.context.wiredDisconnecting;Do(e,e,oe,(function(){for(var e=0,n=t.length;e<n;e+=1)t[e]()}),oe)}(e);var n=e.def.disconnectedCallback;J(n)||(Kr(5,e),to(e,n),Gr(5,e))}(e),_o(e),function(e){Ro(e.aChildren)}(e)}}function Eo(e){ko(e)}function Co(e,t,n){var r=n.mode,o=n.owner,a=n.tagName,i=n.hydrated,l=er(t),u={elm:e,def:l,idx:vo++,state:0,isScheduled:!1,isDirty:!0,tagName:a,mode:r,owner:o,children:xe,aChildren:xe,velements:xe,cmpProps:C(null),cmpFields:C(null),cmpSlots:C(null),oar:C(null),cmpTemplate:null,hydrated:Boolean(i),renderMode:l.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:Te,wiredConnecting:xe,wiredDisconnecting:xe},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:po,setHook:mo,getHook:yo};return u.shadowMode=function(e){var t,n=e.def;if(_e)if(0===n.renderMode)t=0;else if(je)if(Se.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)t=0;else{var r=function(e){for(var t=e.owner;!Q(t)&&0===t.renderMode;)t=t.owner;return t}(e);t=Q(r)||0!==r.shadowMode?1:0}else t=1;else t=1;else t=0;return t}(u),u.tro=oo(u),function(e,t){var n,r=Zr;Kr(0,e),Zr=e;try{var o=new t;if(Zr.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){n=Object(e)}finally{if(Gr(0,e),Zr=r,!J(n))throw Ot(e,n),n}}(u,l.ctor),jo(u)&&function(e){var t=e.context,n=e.def.wire,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(var a in n){var i=n[a],l=Io.get(i);J(l)||function(){var t=Fo(e,a,l),n=t.connector,i=t.computeConfigAndUpdate,u=t.resetConfigWatcher,c=l.dynamic.length>0;W.call(r,(function(){n.connect(),Se.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),W.call(o,(function(){n.disconnect(),u()}))}()}}(u),u}function Mo(e,t){ho.set(e,t)}function So(e){return ho.get(e)}function Oo(e){return ho.get(e)}function To(e){Z(e.isDirty)&&function(e,t){var n=e.renderRoot,r=e.children;e.children=t,(t.length>0||r.length>0)&&r!==t&&Do(e,e,(function(){Kr(2,e)}),(function(){sr(r,t,n)}),(function(){Gr(2,e)}));1===e.state&&xo(e)}(e,ao(e))}function xo(e){var t=e.def.renderedCallback;if(!Z(Ne)){var n=co.rendered;n&&fo(e,n),J(t)||(Kr(4,e),to(e,t),Gr(4,e))}}var Ao=[];function Po(){Ur(8);var e=Ao.sort((function(e,t){return e.idx-t.idx}));Ao=[];for(var t=0,n=e.length;t<n;t+=1){var r=e[t];try{To(r)}catch(r){throw t+1<n&&(0===Ao.length&&Pe(Po),V.apply(Ao,B.call(e,t+1))),zr(8),r}}zr(8)}function No(e){if(1!==e.state){e.state=1;var t=co.connected;t&&fo(e,t),jo(e)&&function(e){for(var t=e.context.wiredConnecting,n=0,r=t.length;n<r;n+=1)t[n]()}(e);var n=e.def.connectedCallback;J(n)||(Kr(3,e),to(e,n),Gr(3,e))}}function jo(e){return x(e.def.wire).length>0}function _o(e){for(var t=e.velements,n=t.length-1;n>=0;n-=1){var r=t[n].elm;if(!J(r)){var o=Oo(r);J(o)||ko(o)}}}function Ro(e){for(var t=0,n=e.length;t<n;t+=1){var r=e[t];if(!Q(r)&&!J(r.elm))switch(r.type){case 2:Ro(r.children);break;case 3:ko(So(r.elm))}}}function Lo(e){for(var t=e.children,n=e.renderRoot,r=0,o=t.length;r<o;r++){var a=t[r];Q(a)||J(a.elm)||De(a.elm,n)}e.children=xe,_o(e),e.velements=xe}function Do(e,t,n,r,o){var a;n();try{r()}catch(e){a=Object(e)}finally{if(o(),!J(a)){Ot(e,a);var i=Q(t)?void 0:function(e){for(var t=e;!Q(t);){if(!J(t.def.errorCallback))return t;t=t.owner}}(t);if(J(i))throw a;Lo(e),Kr(6,e),to(i,i.def.errorCallback,[a,a.wcStack]),Gr(6,e)}}}var Io=new Map,Ho=function(e){i(n,e);var t=u(n);function n(e,r){var o,a=r.setNewContext,i=r.setDisconnectedCallback;return v(this,n),o=t.call(this,e,{bubbles:!0,composed:!0}),M(s(o),{setNewContext:{value:a},setDisconnectedCallback:{value:i}}),o}return p(n)}(t(CustomEvent));function Fo(e,t,n){var r,o,a=n.method,i=n.adapter,l=n.configCallback,u=n.dynamic,c=J(a)?function(e,t){var n=e.cmpFields;return function(r){r!==e.cmpFields[t]&&(n[t]=r,Ct(e,t))}}(e,t):function(e,t){return function(n){Do(e,e.owner,oe,(function(){t.call(e.component,n)}),oe)}}(e,a);S(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),S(c,"$$DeprecatedWiredParamsMetaKey$$",{value:u}),Do(e,e,oe,(function(){o=new i(c)}),oe);var s=function(e,t,n){var r=!1,o=new Et((function(){!1===r&&(r=!0,Promise.resolve().then((function(){r=!1,o.reset(),a()})))})),a=function(){var r;o.observe((function(){return r=t(e)})),n(r)};return{computeConfigAndUpdate:a,ro:o}}(e.component,l,(function(t){Do(e,e,oe,(function(){o.update(t,r)}),oe)})),f=s.computeConfigAndUpdate,d=s.ro;return J(i.contextSchema)||function(e,t,n){var r=Bo(t.adapter);if(!J(r)){var o=e.elm,a=e.context,i=a.wiredConnecting,l=a.wiredDisconnecting;W.call(i,(function(){var e=new Ho(r,{setNewContext:function(e){n(e)},setDisconnectedCallback:function(e){W.call(l,e)}});Ye(o,e)}))}}(e,n,(function(t){r!==t&&(r=t,1===e.state&&f())})),{connector:o,computeConfigAndUpdate:f,resetConfigWatcher:function(){return d.reset()}}}var Wo=new Map;function Bo(e){return Wo.get(e)}function $o(e,t,n,r){t.adapter&&(t=t.adapter);var o={adapter:t,method:e.value,configCallback:n,dynamic:r};Io.set(e,o)}function Vo(e,t,n,r){t.adapter&&(t=t.adapter);var o={adapter:t,configCallback:n,dynamic:r};Io.set(e,o)}var Ko=!1;function Go(e){Ko=!1,No(e),Uo(e),Ko&&function(e,t){Tt("error",e,t)}("Hydration completed with errors.",e)}function Uo(e){var t=ao(e);e.children=t;var n=e.renderRoot;qo(it(n),t,n),xo(e)}function zo(e,t){var n;switch(t.type){case 0:n=function(e,t){var n;if(!Jo(t,e,3))return Xo(e,t);return Ke(e,null!==(n=t.text)&&void 0!==n?n:null),t.elm=e,e}(e,t);break;case 1:n=function(e,t){var n;if(!Jo(t,e,8))return Xo(e,t);return Ve(e,"nodeValue",null!==(n=t.text)&&void 0!==n?n:null),t.elm=e,e}(e,t);break;case 2:n=function(e,t){if(!Jo(t,e,1)||!Qo(t,e))return Xo(e,t);t.elm=e;var n=t.data.context,r=Boolean(!J(n)&&!J(n.lwc)&&"manual"===n.lwc.dom);if(r){var o=t.data.props;J(o)||J(o.innerHTML)||$e(e,"innerHTML")===o.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:yt(o,"innerHTML")}))}Yo(t),r||qo(it(e),t.children,e,t.owner);return e}(e,t);break;case 3:n=function(e,t){if(!Jo(t,e,1)||!Qo(t,e))return Xo(e,t);var n=t.sel,r=t.mode,o=t.ctor,a=t.owner,i=Co(e,o,{mode:r,owner:a,tagName:n,hydrated:!0});t.elm=e,t.vm=i,Mr(t,i),Yo(t),No(i),0!==i.renderMode&&qo(it(e),t.children,e);return Uo(i),e}(e,t)}return We(n)}function qo(e,t,n,r){for(var o=e,a=null,i=0;i<t.length;i++){var l=t[i];Q(l)||(o?(o=zo(o,l),a=l.elm):(Ko=!0,dr(l,n,a),a=l.elm))}if(o){Ko=!0;do{var u=o;o=We(o),Er(u,n)}while(o)}}function Xo(e,t,n){Ko=!0;var r=$e(e,"parentNode");return dr(t,r,e),Er(e,r),t.elm}function Yo(e){cr(e),ir(null,e)}function Jo(e,t,n){return $e(t,"nodeType")===n}function Qo(e,t){if(e.sel.toLowerCase()!==$e(t,"tagName").toLowerCase())return!1;var n=function(e,t){for(var n=e.data.attrs,r=void 0===n?{}:n,o=!0,a=0,i=Object.entries(r);a<i.length;a++){var l=y(i[a],2),u=l[0],c=l[1],s=Ge(t,u);String(c)!==s&&(o=!1)}return o}(e,t),r=function(e,t){var n=e.data,r=n.className,o=n.classMap,a=!0;if(J(r)||String(r)===$e(t,"className")){if(!J(o)){var i=Je(t),l="";for(var u in o)l+=" "+u,i.contains(u)||(a=!1);l.trim(),i.length>j(o).length&&(a=!1)}}else a=!1;return a}(e,t),o=function(e,t){var n=e.data,r=n.style,o=n.styleDecls,a=Ge(t,"style")||"",i=!0;if(J(r)||r===a){if(!J(o)){for(var l=mt(a),u=[],c=0,s=o.length;c<s;c++){var f=y(o[c],3),d=f[0],v=f[1],h=f[2];u.push("".concat(d,": ").concat(v+(h?" important!":"")));var p=l[d];J(p)?i=!1:p.startsWith(v)?h&&!p.endsWith("!important")&&(i=!1):i=!1}j(l).length>o.length&&(i=!1),H.call(u,";")}}else i=!1;return i}(e,t);return n&&r&&o}var Zo=!1;var ea,ta,na,ra=te(CSSStyleSheet.prototype.replaceSync)&&L(document.adoptedStyleSheets),oa=ra&&T(document.adoptedStyleSheets,"length").writable,aa=!J(document.documentMode),ia=new Map;function la(e){var t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function ua(e){var t=new CSSStyleSheet;return t.replaceSync(e),t}function ca(e,t,n){var r=function(e,t){var n=t.stylesheet;return t.used?aa?la(e):n.cloneNode(!0):(t.used=!0,n)}(e,n);(function(e){return!J(e.head)}(t)?t.head:t).appendChild(r)}function sa(e,t,n){ra?function(e,t,n){var r=t.adoptedStyleSheets,o=n.stylesheet;oa?r.push(o):t.adoptedStyleSheets=[].concat(m(r),[o])}(0,t,n):ca(e,t,n)}function fa(e){var t=ia.get(e);return J(t)&&(t={stylesheet:ra?ua(e):la(e),roots:void 0,global:!1,used:!1},ia.set(e,t)),t}if(function(){if("undefined"==typeof customElements)return!1;try{var e=function(e){i(n,e);var t=u(n);function n(){return v(this,n),t.apply(this,arguments)}return p(n)}(HTMLElement);return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),e),new e,!0}catch(e){return!1}}())ea=customElements.get.bind(customElements),ta=customElements.define.bind(customElements),na=HTMLElement;else{var da=C(null),va=new WeakMap;ta=function(e,t){if(e!==Y.call(e)||da[e])throw new TypeError("Invalid Registration");da[e]=t,va.set(t,e)},ea=function(e){return da[e]},(na=function e(){if(!(this instanceof e))throw new TypeError("Invalid Invocation");var t=this.constructor,n=va.get(t);if(!n)throw new TypeError("Invalid Construction");var r=document.createElement(n);return R(r,t.prototype),r}).prototype=HTMLElement.prototype}var ha=!1;function pa(e){ha=e}var ma=fe.$isNativeShadowRootDefined$,ya=P.call(Element.prototype,"$shadowToken$");function ga(e,t){if(e.shadowRoot)for(var n=e.shadowRoot;!Q(n.firstChild);)n.removeChild(n.firstChild);if("light"===t.renderMode)for(;!Q(e.firstChild);)e.removeChild(e.firstChild)}function wa(e,t,n){for(var r=Co(e,t,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0}),o=0,a=Object.entries(n);o<a.length;o++){var i=y(a[o],2),l=i[0],u=i[1];e[l]=u}return r}function ba(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!(e instanceof Element))throw new TypeError('"hydrateComponent" expects a valid DOM element as the first parameter but instead received '.concat(e,"."));if(!te(t))throw new TypeError('"hydrateComponent" expects a valid component constructor as the second parameter but instead received '.concat(t,"."));if(!ne(n)||Q(n))throw new TypeError('"hydrateComponent" expects an object as the third parameter but instead received '.concat(n,"."));if(Oo(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{pa(!0);var r=wa(e,t,n);Go(r),pa(!1)}catch(r){console.error("Recovering from error while hydrating: ",r),ga(e,t),wa(e,t,n),pa(!1),wo(e)}finally{pa(!1)}}Be=function(e,t){return ha?e.shadowRoot:e.attachShadow(t)},Fe=function(e){return document.createComment(e)},Ie=function(e,t){return J(t)?document.createElement(e):document.createElementNS(t,e)},He=function(e){return document.createTextNode(e)},dt=ta,Ye=function(e,t){return e.dispatchEvent(t)},Ge=function(e,t,n){return J(n)?e.getAttribute(t):e.getAttributeNS(n,t)},Ze=function(e){return e.getBoundingClientRect()},at=function(e){return e.childNodes},ot=function(e){return e.children},Je=function(e){return e.classList},vt=ea,rt=function(e,t){return e.getElementsByClassName(t)},nt=function(e,t){return e.getElementsByTagName(t)},it=function(e){return e.firstChild},lt=function(e){return e.firstElementChild},ut=function(e){return e.lastChild},ct=function(e){return e.lastElementChild},$e=function(e,t){return e[t]},Re=na,Le=function(e,t,n){t.insertBefore(e,n)},st=function(e){return e.isConnected},je=ma,_e=ya,We=function(e){return e.nextSibling},et=function(e,t){return e.querySelector(t)},tt=function(e,t){return e.querySelectorAll(t)},De=function(e,t){t.removeChild(e)},ze=function(e,t,n){J(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)},Xe=function(e,t,n,r){e.removeEventListener(t,n,r)},Ue=function(e,t,n,r){return J(r)?e.setAttribute(t,n):e.setAttributeNS(r,t,n)},Qe=function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},Ve=function(e,t,n){e[t]=n},Ke=function(e,t){e.nodeValue=t},Ne=!1,qe=function(e,t,n,r){e.addEventListener(t,n,r)},ft=function(e,t){J(t)?function(e){var t=fa(e);t.global||(t.global=!0,sa(e,document,t))}(e):function(e,t){var n=fa(e),r=n.roots;if(J(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),sa(e,t,n)}(e,t)};var ka=new WeakSet;function Ea(e){var t=function(e){return er(e).bridge}(e);return function(t){i(r,t);var n=u(r);function r(){var t;return v(this,r),(t=n.call(this)).isConnected?(ba(s(t),e,{}),ka.add(s(t))):Co(s(t),e,{mode:"open",owner:null,tagName:t.tagName}),t}return p(r,[{key:"connectedCallback",value:function(){ka.has(this)?ka.delete(this):wo(this)}},{key:"disconnectedCallback",value:function(){bo(this)}}]),r}(t)}var Ca=Node,Ma=new WeakMap,Sa=new WeakMap;function Oa(e,t){var n=t.get(e);return J(n)||n(e),e}var Ta=Ca.prototype,xa=Ta.appendChild,Aa=Ta.insertBefore,Pa=Ta.removeChild,Na=Ta.replaceChild;E(Ca.prototype,{appendChild:function(e){return Oa(xa.call(this,e),Ma)},insertBefore:function(e,t){return Oa(Aa.call(this,e,t),Ma)},removeChild:function(e){return Oa(Pa.call(this,e),Sa)},replaceChild:function(e,t){var n=Na.call(this,e,t);return Oa(n,Sa),Oa(e,Ma),n}});var ja=Node;var _a=new Map;S(En,"CustomElementConstructor",{get:function(){return function(e){if(e===En)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");var t=_a.get(e);return J(t)&&(t=Ea(e),_a.set(e,t)),t}(this)}}),O(En),_(En.prototype),e.LightningElement=En,e.__unstable__ProfilerControl=Vr,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){var t=Bo(e);if(!J(t))throw new Error("Adapter already has a context provider.");!function(e,t){Wo.set(e,t)}(e,t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}());var n=new WeakSet;return function(e,r){if(n.has(e))throw new Error("Adapter was already installed on ".concat(e,"."));n.add(e);var o=r.consumerConnectedCallback,a=r.consumerDisconnectedCallback;e.addEventListener(t,(function(e){var t=e.setNewContext,n=e.setDisconnectedCallback,r={provide:function(e){t(e)}};n((function(){J(a)||a(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!ne(t)||Q(t))throw new TypeError('"createElement" function expects an object as second parameter but received "'.concat(ie(t),'".'));var n=t.is;if(!te(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');var r=nr(e),o=!1,a=new r((function(r){Co(r,n,{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null}),Ma.set(r,wo),Sa.set(r,bo),o=!0}));return o||console.error('Unexpected tag name "'.concat(e,'". This name is a registered custom element, preventing LWC to upgrade the element.')),a},e.freezeTemplate=function(e){},e.getComponentConstructor=function(e){var t=null;if(!J(e)){var n=Oo(e);J(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){var t=er(e),n=t.ctor,r=t.name,o=t.props,a=t.propsConfig,i=t.methods,l={};for(var u in o)l[u]={config:a[u]||0,type:"any",attr:he(u)};var c={};for(var s in i)c[s]=i[s].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=ba,e.isComponentConstructor=Zn,e.isNodeFromTemplate=function(e){if(ee(e instanceof ja))return!1;if(e instanceof ShadowRoot)return!1;var t=e.getRootNode();return!!(t instanceof ShadowRoot&&ee(P.call(A(t),"synthetic")))||ya&&!J(e.$shadowResolver$)},e.readonly=function(e){return bn.getReadOnlyProxy(e)},e.register=function(e){for(var t=0;t<so.length;++t){var n=so[t];if(n in e){var r=co[n];J(r)&&(co[n]=r=[]),W.call(r,e[n])}}},e.registerComponent=function(e,t){var n=t.tmpl;return te(e)&&ro.set(e,n),e},e.registerDecorators=function(e,t){var n,r=e.prototype,o=t.publicProps,a=t.publicMethods,i=t.wire,l=t.track,u=t.fields,c=C(null),s=C(null),f=C(null),d=C(null),v=C(null),h=C(null);if(!J(o))for(var p in o){var m=o[p];if(h[p]=m.config,n=T(r,p),m.config>0){if(J(n))throw new Error;n=Dn(p,n)}else n=J(n)||J(n.get)?Rn(p):Dn(p,n);s[p]=n,S(r,p,n)}if(J(a)||K.call(a,(function(e){if(J(n=T(r,e)))throw new Error;c[e]=n})),!J(i))for(var y in i){var g=i[y],w=g.adapter,b=g.method,k=g.config,E=g.dynamic,M=void 0===E?[]:E;if(n=T(r,y),1===b){if(J(n))throw new Error;f[y]=n,$o(n,w,k,M)}else n=Hn(y),d[y]=n,Vo(n,w,k,M),S(r,y,n)}if(!J(l))for(var O in l)n=T(r,O),n=In(O),S(r,O,n);if(!J(u))for(var x=0,A=u.length;x<A;x++){var P=u[x];n=T(r,P);var N=!J(o)&&P in o,j=!J(l)&&P in l;N||j||(v[P]=_n(P))}return function(e,t){Fn.set(e,t)}(e,{apiMethods:c,apiFields:s,apiFieldsConfig:h,wiredMethods:f,wiredFields:d,observedFields:v}),e},e.registerTemplate=function(e){return Bn.add(e),S(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get:function(){var e=this.stylesheetToken;return J(e)?e:{hostAttribute:"".concat(e,"-host"),shadowAttribute:e}},set:function(e){this.stylesheetToken=J(e)?void 0:e.shadowAttribute}}),e},e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(J(Me[e])){var n=j(Me).map((function(e){return'"'.concat(e,'"')})).join(", ");console.warn('Failed to set the value "'.concat(t,'" for the runtime feature flag "').concat(e,'" because it is undefined. Available flags: ').concat(n,"."))}else{var r=Se[e];J(r)?S(Se,e,{value:t}):console.error('Failed to set the value "'.concat(t,'" for the runtime feature flag "').concat(e,'". "').concat(e,'" has already been set with the value "').concat(r,'".'))}}else{var o='Failed to set the value "'.concat(t,'" for the runtime feature flag "').concat(e,'". Runtime feature flags can only be set to a boolean value.');console.error(o)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){var t;k.isFalse(Zo,"Hooks are already overridden, only one definition is allowed."),Zo=!0,t=e.sanitizeHtmlContent,Rr=t},e.swapComponent=function(e,t){if(!Se.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapStyle=function(e,t){if(!Se.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapTemplate=function(e,t){if(!Se.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.track=function(e){if(1===arguments.length)return bn.getProxy(e);throw new Error},e.unwrap=function(e){return bn.unwrapProxy(e)},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0})}));