lwc 2.5.6 → 2.5.7

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 +35 -58
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +34 -58
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +2 -2
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +33 -54
  5. package/dist/engine-dom/iife/es5/engine-dom.js +34 -58
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +2 -2
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +33 -54
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +34 -58
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +2 -2
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +33 -54
  11. package/dist/engine-dom/umd/es5/engine-dom.js +34 -58
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +2 -2
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +33 -54
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +42 -66
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +2 -2
  16. package/dist/engine-server/esm/es2017/engine-server.js +43 -66
  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 +8 -8
@@ -299,7 +299,7 @@ function htmlPropertyToAttribute(propName) {
299
299
  CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);
300
300
  return attributeName;
301
301
  }
302
- /** version: 2.5.6 */
302
+ /** version: 2.5.7 */
303
303
 
304
304
  /*
305
305
  * Copyright (c) 2018, salesforce.com, inc.
@@ -479,7 +479,7 @@ function setFeatureFlagForTest(name, value) {
479
479
  setFeatureFlag(name, value);
480
480
  }
481
481
  }
482
- /** version: 2.5.6 */
482
+ /** version: 2.5.7 */
483
483
 
484
484
  /* proxy-compat-disable */
485
485
 
@@ -3095,8 +3095,10 @@ for (const [elementProp, rendererMethod] of childGetters) {
3095
3095
  }
3096
3096
 
3097
3097
  return renderer[rendererMethod](elm);
3098
- }
3098
+ },
3099
3099
 
3100
+ configurable: true,
3101
+ enumerable: true
3100
3102
  };
3101
3103
  }
3102
3104
 
@@ -3116,8 +3118,11 @@ for (const queryMethod of queryMethods) {
3116
3118
  }
3117
3119
 
3118
3120
  return renderer[queryMethod](elm, arg);
3119
- }
3121
+ },
3120
3122
 
3123
+ configurable: true,
3124
+ enumerable: true,
3125
+ writable: true
3121
3126
  };
3122
3127
  }
3123
3128
 
@@ -4275,7 +4280,7 @@ function createComponentDef(Ctor) {
4275
4280
  if (!isUndefined$1(ctorShadowSupportMode)) {
4276
4281
  assert.invariant(ctorShadowSupportMode === "any"
4277
4282
  /* Any */
4278
- || ctorShadowSupportMode === "default"
4283
+ || ctorShadowSupportMode === "reset"
4279
4284
  /* Default */
4280
4285
  , `Invalid value for static property shadowSupportMode: '${ctorShadowSupportMode}'`);
4281
4286
  }
@@ -4437,7 +4442,7 @@ const lightingElementDef = {
4437
4442
  renderMode: 1
4438
4443
  /* Shadow */
4439
4444
  ,
4440
- shadowSupportMode: "default"
4445
+ shadowSupportMode: "reset"
4441
4446
  /* Default */
4442
4447
  ,
4443
4448
  wire: EmptyObject,
@@ -4840,38 +4845,6 @@ function getUpgradableConstructor(tagName, renderer) {
4840
4845
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
4841
4846
  */
4842
4847
 
4843
- /**
4844
- * EXPERIMENTAL: This function acts like a hook for Lightning Locker Service and other similar
4845
- * libraries to sanitize HTML content. This hook process the content passed via the template to
4846
- * lwc:inner-html directive.
4847
- * It is meant to be overridden with setSanitizeHtmlContentHook
4848
- */
4849
-
4850
-
4851
- let sanitizeHtmlContentHook = () => {
4852
- // locker-service patches this function during runtime to sanitize HTML content.
4853
- throw new Error('sanitizeHtmlContent hook must be implemented.');
4854
- };
4855
- /**
4856
- * Sets the sanitizeHtmlContentHook.
4857
- *
4858
- * @param newHookImpl
4859
- * @returns oldHookImplementation.
4860
- */
4861
-
4862
-
4863
- function setSanitizeHtmlContentHook(newHookImpl) {
4864
- const currentHook = sanitizeHtmlContentHook;
4865
- sanitizeHtmlContentHook = newHookImpl;
4866
- return currentHook;
4867
- }
4868
- /*
4869
- * Copyright (c) 2018, salesforce.com, inc.
4870
- * All rights reserved.
4871
- * SPDX-License-Identifier: MIT
4872
- * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
4873
- */
4874
-
4875
4848
 
4876
4849
  const SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
4877
4850
  const SymbolIterator = Symbol.iterator;
@@ -5513,6 +5486,26 @@ function sc(vnodes) {
5513
5486
 
5514
5487
  markAsDynamicChildren(vnodes);
5515
5488
  return vnodes;
5489
+ }
5490
+ /**
5491
+ * EXPERIMENTAL: This function acts like a hook for Lightning Locker Service and other similar
5492
+ * libraries to sanitize HTML content. This hook process the content passed via the template to
5493
+ * lwc:inner-html directive.
5494
+ * It is meant to be overridden with setSanitizeHtmlContentHook, it throws an error by default.
5495
+ */
5496
+
5497
+
5498
+ let sanitizeHtmlContentHook = () => {
5499
+ // locker-service patches this function during runtime to sanitize HTML content.
5500
+ throw new Error('sanitizeHtmlContent hook must be implemented.');
5501
+ };
5502
+ /**
5503
+ * Sets the sanitizeHtmlContentHook.
5504
+ */
5505
+
5506
+
5507
+ function setSanitizeHtmlContentHook(newHookImpl) {
5508
+ sanitizeHtmlContentHook = newHookImpl;
5516
5509
  } // [s]anitize [h]tml [c]ontent
5517
5510
 
5518
5511
 
@@ -7398,28 +7391,12 @@ function readonly(obj) {
7398
7391
 
7399
7392
  let hooksAreSet = false;
7400
7393
 
7401
- function overrideHooks(hooks) {
7402
- const oldHooks = {};
7403
-
7404
- if (!isUndefined$1(hooks.sanitizeHtmlContent)) {
7405
- oldHooks.sanitizeHtmlContent = setSanitizeHtmlContentHook(hooks.sanitizeHtmlContent);
7406
- }
7407
-
7408
- return oldHooks;
7409
- }
7410
-
7411
7394
  function setHooks(hooks) {
7412
7395
  assert.isFalse(hooksAreSet, 'Hooks are already overridden, only one definition is allowed.');
7413
- overrideHooks(hooks);
7414
7396
  hooksAreSet = true;
7397
+ setSanitizeHtmlContentHook(hooks.sanitizeHtmlContent);
7415
7398
  }
7416
-
7417
- function setHooksForTest(hooks) {
7418
- if (process.env.NODE_ENV !== 'production') {
7419
- return overrideHooks(hooks);
7420
- }
7421
- }
7422
- /* version: 2.5.6 */
7399
+ /* version: 2.5.7 */
7423
7400
 
7424
7401
  /*
7425
7402
  * Copyright (c) 2018, salesforce.com, inc.
@@ -8004,6 +7981,6 @@ defineProperty(LightningElement, 'CustomElementConstructor', {
8004
7981
  });
8005
7982
  freeze(LightningElement);
8006
7983
  seal(LightningElement.prototype);
8007
- /* version: 2.5.6 */
7984
+ /* version: 2.5.7 */
8008
7985
 
8009
- export { LightningElement, profilerControl as __unstable__ProfilerControl, api$1 as api, deprecatedBuildCustomElementConstructor as buildCustomElementConstructor, createContextProvider, createElement, getComponentConstructor, getComponentDef, isComponentConstructor, isNodeFromTemplate, readonly, register, registerComponent, registerDecorators, registerTemplate, sanitizeAttribute, setFeatureFlag, setFeatureFlagForTest, setHooks, setHooksForTest, swapComponent, swapStyle, swapTemplate, track, unwrap, wire };
7986
+ export { LightningElement, profilerControl as __unstable__ProfilerControl, api$1 as api, deprecatedBuildCustomElementConstructor as buildCustomElementConstructor, createContextProvider, createElement, getComponentConstructor, getComponentDef, isComponentConstructor, isNodeFromTemplate, readonly, register, registerComponent, registerDecorators, registerTemplate, sanitizeAttribute, setFeatureFlag, setFeatureFlagForTest, setHooks, swapComponent, swapStyle, swapTemplate, track, unwrap, wire };
@@ -302,7 +302,7 @@ var LWC = (function (exports) {
302
302
  CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);
303
303
  return attributeName;
304
304
  }
305
- /** version: 2.5.6 */
305
+ /** version: 2.5.7 */
306
306
 
307
307
  /*
308
308
  * Copyright (c) 2018, salesforce.com, inc.
@@ -482,7 +482,7 @@ var LWC = (function (exports) {
482
482
  setFeatureFlag(name, value);
483
483
  }
484
484
  }
485
- /** version: 2.5.6 */
485
+ /** version: 2.5.7 */
486
486
 
487
487
  /* proxy-compat-disable */
488
488
 
@@ -3098,8 +3098,10 @@ var LWC = (function (exports) {
3098
3098
  }
3099
3099
 
3100
3100
  return renderer[rendererMethod](elm);
3101
- }
3101
+ },
3102
3102
 
3103
+ configurable: true,
3104
+ enumerable: true
3103
3105
  };
3104
3106
  }
3105
3107
 
@@ -3119,8 +3121,11 @@ var LWC = (function (exports) {
3119
3121
  }
3120
3122
 
3121
3123
  return renderer[queryMethod](elm, arg);
3122
- }
3124
+ },
3123
3125
 
3126
+ configurable: true,
3127
+ enumerable: true,
3128
+ writable: true
3124
3129
  };
3125
3130
  }
3126
3131
 
@@ -4278,7 +4283,7 @@ var LWC = (function (exports) {
4278
4283
  if (!isUndefined$1(ctorShadowSupportMode)) {
4279
4284
  assert.invariant(ctorShadowSupportMode === "any"
4280
4285
  /* Any */
4281
- || ctorShadowSupportMode === "default"
4286
+ || ctorShadowSupportMode === "reset"
4282
4287
  /* Default */
4283
4288
  , `Invalid value for static property shadowSupportMode: '${ctorShadowSupportMode}'`);
4284
4289
  }
@@ -4440,7 +4445,7 @@ var LWC = (function (exports) {
4440
4445
  renderMode: 1
4441
4446
  /* Shadow */
4442
4447
  ,
4443
- shadowSupportMode: "default"
4448
+ shadowSupportMode: "reset"
4444
4449
  /* Default */
4445
4450
  ,
4446
4451
  wire: EmptyObject,
@@ -4843,38 +4848,6 @@ var LWC = (function (exports) {
4843
4848
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
4844
4849
  */
4845
4850
 
4846
- /**
4847
- * EXPERIMENTAL: This function acts like a hook for Lightning Locker Service and other similar
4848
- * libraries to sanitize HTML content. This hook process the content passed via the template to
4849
- * lwc:inner-html directive.
4850
- * It is meant to be overridden with setSanitizeHtmlContentHook
4851
- */
4852
-
4853
-
4854
- let sanitizeHtmlContentHook = () => {
4855
- // locker-service patches this function during runtime to sanitize HTML content.
4856
- throw new Error('sanitizeHtmlContent hook must be implemented.');
4857
- };
4858
- /**
4859
- * Sets the sanitizeHtmlContentHook.
4860
- *
4861
- * @param newHookImpl
4862
- * @returns oldHookImplementation.
4863
- */
4864
-
4865
-
4866
- function setSanitizeHtmlContentHook(newHookImpl) {
4867
- const currentHook = sanitizeHtmlContentHook;
4868
- sanitizeHtmlContentHook = newHookImpl;
4869
- return currentHook;
4870
- }
4871
- /*
4872
- * Copyright (c) 2018, salesforce.com, inc.
4873
- * All rights reserved.
4874
- * SPDX-License-Identifier: MIT
4875
- * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
4876
- */
4877
-
4878
4851
 
4879
4852
  const SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
4880
4853
  const SymbolIterator = Symbol.iterator;
@@ -5516,6 +5489,26 @@ var LWC = (function (exports) {
5516
5489
 
5517
5490
  markAsDynamicChildren(vnodes);
5518
5491
  return vnodes;
5492
+ }
5493
+ /**
5494
+ * EXPERIMENTAL: This function acts like a hook for Lightning Locker Service and other similar
5495
+ * libraries to sanitize HTML content. This hook process the content passed via the template to
5496
+ * lwc:inner-html directive.
5497
+ * It is meant to be overridden with setSanitizeHtmlContentHook, it throws an error by default.
5498
+ */
5499
+
5500
+
5501
+ let sanitizeHtmlContentHook = () => {
5502
+ // locker-service patches this function during runtime to sanitize HTML content.
5503
+ throw new Error('sanitizeHtmlContent hook must be implemented.');
5504
+ };
5505
+ /**
5506
+ * Sets the sanitizeHtmlContentHook.
5507
+ */
5508
+
5509
+
5510
+ function setSanitizeHtmlContentHook(newHookImpl) {
5511
+ sanitizeHtmlContentHook = newHookImpl;
5519
5512
  } // [s]anitize [h]tml [c]ontent
5520
5513
 
5521
5514
 
@@ -7401,28 +7394,12 @@ var LWC = (function (exports) {
7401
7394
 
7402
7395
  let hooksAreSet = false;
7403
7396
 
7404
- function overrideHooks(hooks) {
7405
- const oldHooks = {};
7406
-
7407
- if (!isUndefined$1(hooks.sanitizeHtmlContent)) {
7408
- oldHooks.sanitizeHtmlContent = setSanitizeHtmlContentHook(hooks.sanitizeHtmlContent);
7409
- }
7410
-
7411
- return oldHooks;
7412
- }
7413
-
7414
7397
  function setHooks(hooks) {
7415
7398
  assert.isFalse(hooksAreSet, 'Hooks are already overridden, only one definition is allowed.');
7416
- overrideHooks(hooks);
7417
7399
  hooksAreSet = true;
7400
+ setSanitizeHtmlContentHook(hooks.sanitizeHtmlContent);
7418
7401
  }
7419
-
7420
- function setHooksForTest(hooks) {
7421
- if (process.env.NODE_ENV !== 'production') {
7422
- return overrideHooks(hooks);
7423
- }
7424
- }
7425
- /* version: 2.5.6 */
7402
+ /* version: 2.5.7 */
7426
7403
 
7427
7404
  /*
7428
7405
  * Copyright (c) 2018, salesforce.com, inc.
@@ -8007,7 +7984,7 @@ var LWC = (function (exports) {
8007
7984
  });
8008
7985
  freeze(LightningElement);
8009
7986
  seal(LightningElement.prototype);
8010
- /* version: 2.5.6 */
7987
+ /* version: 2.5.7 */
8011
7988
 
8012
7989
  exports.LightningElement = LightningElement;
8013
7990
  exports.__unstable__ProfilerControl = profilerControl;
@@ -8028,7 +8005,6 @@ var LWC = (function (exports) {
8028
8005
  exports.setFeatureFlag = setFeatureFlag;
8029
8006
  exports.setFeatureFlagForTest = setFeatureFlagForTest;
8030
8007
  exports.setHooks = setHooks;
8031
- exports.setHooksForTest = setHooksForTest;
8032
8008
  exports.swapComponent = swapComponent;
8033
8009
  exports.swapStyle = swapStyle;
8034
8010
  exports.swapTemplate = swapTemplate;
@@ -1,4 +1,4 @@
1
- var LWC=function(e){"use strict";var t=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:n,create:r,defineProperties:o,defineProperty:i,freeze:s,getOwnPropertyDescriptor:l,getOwnPropertyNames:c,getPrototypeOf:a,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{filter:g,find:w,indexOf:y,join:b,map:v,push:C,reduce:E,reverse:k,slice:S,splice:M,unshift:T,forEach:A}=Array.prototype,{fromCharCode:x}=String,{charCodeAt:N,replace:P,slice:O,toLowerCase:L}=String.prototype;function _(e){return void 0===e}function D(e){return null===e}function $(e){return!0===e}function R(e){return!1===e}function H(e){return"function"==typeof e}function I(e){return"string"==typeof e}function F(){}const B={}.toString;function W(e){return e&&e.toString?m(e)?b.call(v.call(e,W),","):e.toString():"object"==typeof e?B.call(e):e+""}function V(e,t){do{const n=l(e,t);if(!_(n))return n;e=a(e)}while(null!==e)}const j=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],{AriaAttrNameToPropNameMap:K,AriaPropNameToAttrNameMap:z}=(()=>{const e=r(null),t=r(null);return A.call(j,(n=>{const r=L.call(P.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),G=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),U=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"]]),q=new Map;function X(e){const t=z[e];if(!_(t))return t;const n=U.get(e);if(!_(n))return n;const r=q.get(e);if(!_(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=N.call(e,t);o+=n>=65&&n<=90?"-"+x(n+32):x(n)}return q.set(e,o),o}function Y(e){return void 0===Object.getOwnPropertyDescriptor(Element.prototype,e)}const J=new WeakMap;function Q(e){let t=J.get(e);return void 0===t&&(t={},J.set(e,t)),t}function Z(e,t){return{get(){const n=Q(this);return u.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set(n){const r=null==(o=n)?null:String(o);var o;Q(this)[e]=r,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function ee(e){const t=Z(e,z[e]);Object.defineProperty(Element.prototype,e,t)}const te=f(z);for(let e=0,t=te.length;e<t;e+=1){const t=te[e];Y(t)&&ee(t)}const ne={ENABLE_REACTIVE_SETTER:null,ENABLE_HMR:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_NON_COMPOSED_EVENTS_LEAKAGE:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_WIRE_SYNC_EMIT:null};G.lwcRuntimeFlags||Object.defineProperty(G,"lwcRuntimeFlags",{value:r(null)});const re=G.lwcRuntimeFlags;let oe=[];const ie=h(r(null)),se=h([]);function le(){const e=oe;oe=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function ce(e){0===oe.length&&Promise.resolve().then(le),C.call(oe,e)}const ae=new WeakMap;let ue=null;function de(e,t){const n=ae.get(e);if(!_(n)){const e=n[t];if(!_(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function fe(e,t){if(null===ue)return;const n=ue,o=function(e){let t=ae.get(e);if(_(t)){const n=r(null);t=n,ae.set(e,n)}return t}(e);let i=o[t];if(_(i))i=[],o[t]=i;else if(i[0]===n)return;-1===y.call(i,n)&&n.link(i)}class he{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=ue;let n;ue=this;try{e()}catch(e){n=Object(e)}finally{if(ue=t,void 0!==n)throw n}}reset(){const{listeners:e}=this,t=e.length;if(t>0){for(let n=0;n<t;n+=1){const t=e[n],r=y.call(e[n],this);M.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){C.call(e,this),C.call(this.listeners,e)}}function pe(e,t){de(e.component,t)}function me(e,t){fe(e.component,t)}function ge(e){return`<${L.call(e.tagName)}>`}function we(e){const{elm:t,data:{on:n},owner:{renderer:r}}=e;if(_(n))return;const o=e.listener=function e(t){!function(e,t){const{type:n}=e,{data:{on:r}}=t,o=r&&r[n];o&&o.call(void 0,e)}(t,e.vnode)};let i;for(i in o.vnode=e,n)r.addEventListener(t,i,o)}var ye={update:function(e,t){_(e.listener)?we(t):(t.listener=e.listener,t.listener.vnode=t)},create:we};function be(e){return`Using the \`${e}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}n(r(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:be("offsetHeight")},offsetLeft:{readOnly:!0,error:be("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:be("offsetTop")},offsetWidth:{readOnly:!0,error:be("offsetWidth")},role:{attribute:"role"}});let ve,Ce=null;function Ee(e,t){return e!==Ce||t!==ve}function ke(e,t){Ce=null,ve=void 0}function Se(e,t){Ce=e,ve=t}function Me(e,t){const{data:{attrs:n},owner:{renderer:r}}=t;if(_(n))return;let{data:{attrs:o}}=e;if(o===n)return;const i=t.elm,{setAttribute:s,removeAttribute:l}=r;let c;for(c in o=_(o)?ie:o,n){const e=n[c];o[c]!==e&&(Se(i,c),58===N.call(c,3)?s(i,c,e,"http://www.w3.org/XML/1998/namespace"):58===N.call(c,5)?s(i,c,e,"http://www.w3.org/1999/xlink"):D(e)?l(i,c):s(i,c,e),ke())}}const Te={data:{}};var Ae={create:e=>Me(Te,e),update:Me};function xe(e,t){return"input"===e&&("value"===t||"checked"===t)}function Ne(e,t){const n=t.data.props;if(_(n))return;const r=e.data.props;if(r===n)return;const o=_(r),{elm:i,sel:s,owner:{renderer:l}}=t;for(const e in n){const t=n[e];(o||t!==(xe(s,e)?l.getProperty(i,e):r[e]))&&l.setProperty(i,e,t)}}const Pe={data:{}};var Oe={create:e=>Ne(Pe,e),update:Ne};const Le=r(null);function _e(e){if(null==e)return ie;e=I(e)?e:e+"";let t=Le[e];if(t)return t;t=r(null);let n,o=0;const i=e.length;for(n=0;n<i;n++)32===N.call(e,n)&&(n>o&&(t[O.call(e,o,n)]=!0),o=n+1);return n>o&&(t[O.call(e,o,n)]=!0),Le[e]=t,t}function De(e,t){const{elm:n,data:{className:r},owner:{renderer:o}}=t,{data:{className:i}}=e;if(i===r)return;const s=o.getClassList(n),l=_e(r),c=_e(i);let a;for(a in c)_(l[a])&&s.remove(a);for(a in l)_(c[a])&&s.add(a)}const $e={data:{}};var Re={create:e=>De($e,e),update:De};function He(e,t){const{elm:n,data:{style:r},owner:{renderer:o}}=t,{setAttribute:i,removeAttribute:s}=o;e.data.style!==r&&(I(r)&&""!==r?i(n,"style",r):s(n,"style"))}const Ie={data:{}};var Fe={create:e=>He(Ie,e),update:He};var Be={create:function(e){const{elm:t,data:{classMap:n},owner:{renderer:r}}=e;if(_(n))return;const o=r.getClassList(t);for(const e in n)o.add(e)}};var We={create:function(e){const{elm:t,data:{styleDecls:n},owner:{renderer:r}}=e;if(!_(n))for(let e=0;e<n.length;e++){const[o,i,s]=n[e];r.setCSSStyleProperty(t,o,i,s)}}};
1
+ var LWC=function(e){"use strict";var t=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:n,create:r,defineProperties:o,defineProperty:i,freeze:s,getOwnPropertyDescriptor:l,getOwnPropertyNames:a,getPrototypeOf:c,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{filter:g,find:w,indexOf:y,join:b,map:v,push:E,reduce:C,reverse:k,slice:S,splice:M,unshift:T,forEach:A}=Array.prototype,{fromCharCode:x}=String,{charCodeAt:N,replace:P,slice:O,toLowerCase:L}=String.prototype;function _(e){return void 0===e}function D(e){return null===e}function $(e){return!0===e}function R(e){return!1===e}function I(e){return"function"==typeof e}function F(e){return"string"==typeof e}function H(){}const B={}.toString;function W(e){return e&&e.toString?m(e)?b.call(v.call(e,W),","):e.toString():"object"==typeof e?B.call(e):e+""}function V(e,t){do{const n=l(e,t);if(!_(n))return n;e=c(e)}while(null!==e)}const j=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],{AriaAttrNameToPropNameMap:K,AriaPropNameToAttrNameMap:z}=(()=>{const e=r(null),t=r(null);return A.call(j,(n=>{const r=L.call(P.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),G=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),U=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"]]),q=new Map;function X(e){const t=z[e];if(!_(t))return t;const n=U.get(e);if(!_(n))return n;const r=q.get(e);if(!_(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=N.call(e,t);o+=n>=65&&n<=90?"-"+x(n+32):x(n)}return q.set(e,o),o}function Y(e){return void 0===Object.getOwnPropertyDescriptor(Element.prototype,e)}const J=new WeakMap;function Q(e){let t=J.get(e);return void 0===t&&(t={},J.set(e,t)),t}function Z(e,t){return{get(){const n=Q(this);return u.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set(n){const r=null==(o=n)?null:String(o);var o;Q(this)[e]=r,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function ee(e){const t=Z(e,z[e]);Object.defineProperty(Element.prototype,e,t)}const te=f(z);for(let e=0,t=te.length;e<t;e+=1){const t=te[e];Y(t)&&ee(t)}const ne={ENABLE_REACTIVE_SETTER:null,ENABLE_HMR:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_NON_COMPOSED_EVENTS_LEAKAGE:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_WIRE_SYNC_EMIT:null};G.lwcRuntimeFlags||Object.defineProperty(G,"lwcRuntimeFlags",{value:r(null)});const re=G.lwcRuntimeFlags;let oe=[];const ie=h(r(null)),se=h([]);function le(){const e=oe;oe=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function ae(e){0===oe.length&&Promise.resolve().then(le),E.call(oe,e)}const ce=new WeakMap;let ue=null;function de(e,t){const n=ce.get(e);if(!_(n)){const e=n[t];if(!_(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function fe(e,t){if(null===ue)return;const n=ue,o=function(e){let t=ce.get(e);if(_(t)){const n=r(null);t=n,ce.set(e,n)}return t}(e);let i=o[t];if(_(i))i=[],o[t]=i;else if(i[0]===n)return;-1===y.call(i,n)&&n.link(i)}class he{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=ue;let n;ue=this;try{e()}catch(e){n=Object(e)}finally{if(ue=t,void 0!==n)throw n}}reset(){const{listeners:e}=this,t=e.length;if(t>0){for(let n=0;n<t;n+=1){const t=e[n],r=y.call(e[n],this);M.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){E.call(e,this),E.call(this.listeners,e)}}function pe(e,t){de(e.component,t)}function me(e,t){fe(e.component,t)}function ge(e){return`<${L.call(e.tagName)}>`}function we(e){const{elm:t,data:{on:n},owner:{renderer:r}}=e;if(_(n))return;const o=e.listener=function e(t){!function(e,t){const{type:n}=e,{data:{on:r}}=t,o=r&&r[n];o&&o.call(void 0,e)}(t,e.vnode)};let i;for(i in o.vnode=e,n)r.addEventListener(t,i,o)}var ye={update:function(e,t){_(e.listener)?we(t):(t.listener=e.listener,t.listener.vnode=t)},create:we};function be(e){return`Using the \`${e}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}n(r(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:be("offsetHeight")},offsetLeft:{readOnly:!0,error:be("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:be("offsetTop")},offsetWidth:{readOnly:!0,error:be("offsetWidth")},role:{attribute:"role"}});let ve,Ee=null;function Ce(e,t){return e!==Ee||t!==ve}function ke(e,t){Ee=null,ve=void 0}function Se(e,t){Ee=e,ve=t}function Me(e,t){const{data:{attrs:n},owner:{renderer:r}}=t;if(_(n))return;let{data:{attrs:o}}=e;if(o===n)return;const i=t.elm,{setAttribute:s,removeAttribute:l}=r;let a;for(a in o=_(o)?ie:o,n){const e=n[a];o[a]!==e&&(Se(i,a),58===N.call(a,3)?s(i,a,e,"http://www.w3.org/XML/1998/namespace"):58===N.call(a,5)?s(i,a,e,"http://www.w3.org/1999/xlink"):D(e)?l(i,a):s(i,a,e),ke())}}const Te={data:{}};var Ae={create:e=>Me(Te,e),update:Me};function xe(e,t){return"input"===e&&("value"===t||"checked"===t)}function Ne(e,t){const n=t.data.props;if(_(n))return;const r=e.data.props;if(r===n)return;const o=_(r),{elm:i,sel:s,owner:{renderer:l}}=t;for(const e in n){const t=n[e];(o||t!==(xe(s,e)?l.getProperty(i,e):r[e]))&&l.setProperty(i,e,t)}}const Pe={data:{}};var Oe={create:e=>Ne(Pe,e),update:Ne};const Le=r(null);function _e(e){if(null==e)return ie;e=F(e)?e:e+"";let t=Le[e];if(t)return t;t=r(null);let n,o=0;const i=e.length;for(n=0;n<i;n++)32===N.call(e,n)&&(n>o&&(t[O.call(e,o,n)]=!0),o=n+1);return n>o&&(t[O.call(e,o,n)]=!0),Le[e]=t,t}function De(e,t){const{elm:n,data:{className:r},owner:{renderer:o}}=t,{data:{className:i}}=e;if(i===r)return;const s=o.getClassList(n),l=_e(r),a=_e(i);let c;for(c in a)_(l[c])&&s.remove(c);for(c in l)_(a[c])&&s.add(c)}const $e={data:{}};var Re={create:e=>De($e,e),update:De};function Ie(e,t){const{elm:n,data:{style:r},owner:{renderer:o}}=t,{setAttribute:i,removeAttribute:s}=o;e.data.style!==r&&(F(r)&&""!==r?i(n,"style",r):s(n,"style"))}const Fe={data:{}};var He={create:e=>Ie(Fe,e),update:Ie};var Be={create:function(e){const{elm:t,data:{classMap:n},owner:{renderer:r}}=e;if(_(n))return;const o=r.getClassList(t);for(const e in n)o.add(e)}};var We={create:function(e){const{elm:t,data:{styleDecls:n},owner:{renderer:r}}=e;if(!_(n))for(let e=0;e<n.length;e++){const[o,i,s]=n[e];r.setCSSStyleProperty(t,o,i,s)}}};
2
2
  /**
3
3
  @license
4
4
  Copyright (c) 2015 Simon Friis Vindum.
@@ -6,4 +6,4 @@ var LWC=function(e){"use strict";var t=Object.freeze({__proto__:null,invariant:f
6
6
  https://github.com/snabbdom/snabbdom/blob/master/LICENSE
7
7
  Code distributed by Snabbdom as part of the Snabbdom project at
8
8
  https://github.com/snabbdom/snabbdom/
9
- */function Ve(e){return void 0===e}function je(e,t){return e.key===t.key&&e.sel===t.sel}function Ke(e){return null!=e}function ze(e,t,n){const r={};let o,i,s;for(o=t;o<=n;++o)s=e[o],Ke(s)&&(i=s.key,void 0!==i&&(r[i]=o));return r}function Ge(e,t,n,r,o){for(;r<=o;++r){const o=n[r];Ke(o)&&(o.hook.create(o),o.hook.insert(o,e,t))}}function Ue(e,t,n,r){for(;n<=r;++n){const r=t[n];Ke(r)&&r.hook.remove(r,e)}}function qe(e,t,n){let r=0,o=0,i=t.length-1,s=t[0],l=t[i];const c=n.length-1;let a,u,d,f,h=c,p=n[0],m=n[h];for(;r<=i&&o<=h;)Ke(s)?Ke(l)?Ke(p)?Ke(m)?je(s,p)?(Ye(s,p),s=t[++r],p=n[++o]):je(l,m)?(Ye(l,m),l=t[--i],m=n[--h]):je(s,m)?(Ye(s,m),m.hook.move(s,e,l.owner.renderer.nextSibling(l.elm)),s=t[++r],m=n[--h]):je(l,p)?(Ye(l,p),p.hook.move(l,e,s.elm),l=t[--i],p=n[++o]):(void 0===a&&(a=ze(t,r,i)),u=a[p.key],Ve(u)?(p.hook.create(p),p.hook.insert(p,e,s.elm),p=n[++o]):(d=t[u],Ke(d)&&(d.sel!==p.sel?(p.hook.create(p),p.hook.insert(p,e,s.elm)):(Ye(d,p),t[u]=void 0,p.hook.move(d,e,s.elm))),p=n[++o])):m=n[--h]:p=n[++o]:l=t[--i]:s=t[++r];if(r<=i||o<=h)if(r>i){let t,r=h;do{t=n[++r]}while(!Ke(t)&&r<c);f=Ke(t)?t.elm:null,Ge(e,f,n,o,h)}else Ue(e,t,r,i)}function Xe(e,t,n){const r=t.length,o=n.length;if(0===r)return void Ge(e,null,n,0,o);if(0===o)return void Ue(e,t,0,r);let i=null;for(let r=o-1;r>=0;r-=1){const o=n[r],s=t[r];o!==s&&(Ke(s)?Ke(o)?(Ye(s,o),i=o.elm):s.hook.remove(s,e):Ke(o)&&(o.hook.create(o),o.hook.insert(o,e,i),i=o.elm))}}function Ye(e,t){e!==t&&(t.elm=e.elm,t.hook.update(e,t))}const Je="undefined"!=typeof HTMLElement?HTMLElement:function(){},Qe=Je.prototype,Ze=r(null);A.call(f(z),(e=>{const t=V(Qe,e);_(t)||(Ze[e]=t)})),A.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=V(Qe,e);_(t)||(Ze[e]=t)}));const{isArray:et}=Array,{getPrototypeOf:tt,create:nt,defineProperty:rt,defineProperties:ot,isExtensible:it,getOwnPropertyDescriptor:st,getOwnPropertyNames:lt,getOwnPropertySymbols:ct,preventExtensions:at,hasOwnProperty:ut}=Object,{push:dt,concat:ft,map:ht}=Array.prototype;function pt(e){return void 0===e}function mt(e){return"function"==typeof e}const gt=new WeakMap;function wt(e,t){gt.set(e,t)}const yt=e=>gt.get(e)||e;class bt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(ut.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;pt(n)||(e.get=this.wrapGetter(n)),pt(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=st(n,t);if(!pt(r)){const n=this.wrapDescriptor(r);rt(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;ft.call(lt(t),ct(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;pt(n)||ut.call(e,n)||rt(e,n,nt(null)),at(e)}apply(e,t,n){}construct(e,t,n){}get(e,t){const{originalTarget:n,membrane:{valueObserved:r}}=this,o=n[t];return r(n,t),this.wrapValue(o)}has(e,t){const{originalTarget:n,membrane:{tagPropertyKey:r,valueObserved:o}}=this;return o(n,t),t in n||t===r}ownKeys(e){const{originalTarget:t,membrane:{tagPropertyKey:n}}=this,r=pt(n)||ut.call(t,n)?[]:[n];return dt.apply(r,lt(t)),dt.apply(r,ct(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!it(e)&&(!!it(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return tt(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=st(n,t);if(pt(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},rt(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const vt=new WeakMap,Ct=new WeakMap,Et=new WeakMap,kt=new WeakMap;class St extends bt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=vt.get(e);if(!pt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(yt(this)))};return vt.set(e,r),Et.set(r,e),r}wrapSetter(e){const t=Ct.get(e);if(!pt(t))return t;const n=function(t){e.call(yt(this),yt(t))};return Ct.set(e,n),kt.set(n,e),n}unwrapDescriptor(e){if(ut.call(e,"value"))e.value=yt(e.value);else{const{set:t,get:n}=e;pt(n)||(e.get=this.unwrapGetter(n)),pt(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=Et.get(e);if(!pt(t))return t;const n=this,r=function(){return yt(e.call(n.wrapValue(this)))};return vt.set(r,e),Et.set(e,r),r}unwrapSetter(e){const t=kt.get(e);if(!pt(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Ct.set(r,e),kt.set(e,r),r}set(e,t,n){const{originalTarget:r,membrane:{valueMutated:o}}=this;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&et(r)&&o(r,t),!0}deleteProperty(e,t){const{originalTarget:n,membrane:{valueMutated:r}}=this;return delete n[t],r(n,t),!0}setPrototypeOf(e,t){}preventExtensions(e){if(it(e)){const{originalTarget:t}=this;if(at(t),it(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!ut.call(r,t)||(rt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const Mt=new WeakMap,Tt=new WeakMap;class At extends bt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=Mt.get(e);if(!pt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(yt(this)))};return Mt.set(e,r),r}wrapSetter(e){const t=Tt.get(e);if(!pt(t))return t;const n=function(e){};return Tt.set(e,n),n}set(e,t,n){return!1}deleteProperty(e,t){return!1}setPrototypeOf(e,t){}preventExtensions(e){return!1}defineProperty(e,t,n){return!1}}const xt=Object.prototype;function Nt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(et(e))return!0;const t=tt(e);return t===xt||null===t||null===tt(t)}const Pt=(e,t)=>{},Ot=(e,t)=>{},Lt=e=>e;function _t(e){return et(e)?[]:{}}const Dt=Symbol.for("@@lockerLiveValue");function $t(e){return e}const Rt=new class{constructor(e){if(this.valueDistortion=Lt,this.valueMutated=Ot,this.valueObserved=Pt,this.valueIsObservable=Nt,this.objectGraph=new WeakMap,!pt(e)){const{valueDistortion:t,valueMutated:n,valueObserved:r,valueIsObservable:o,tagPropertyKey:i}=e;this.valueDistortion=mt(t)?t:Lt,this.valueMutated=mt(n)?n:Ot,this.valueObserved=mt(r)?r:Pt,this.valueIsObservable=mt(o)?o:Nt,this.tagPropertyKey=i}}getProxy(e){const t=yt(e),n=this.valueDistortion(t);if(this.valueIsObservable(n)){const r=this.getReactiveState(t,n);return r.readOnly===e?e:r.reactive}return n}getReadOnlyProxy(e){e=yt(e);const t=this.valueDistortion(e);return this.valueIsObservable(t)?this.getReactiveState(e,t).readOnly:t}unwrapProxy(e){return yt(e)}getReactiveState(e,t){const{objectGraph:n}=this;let r=n.get(t);if(r)return r;const o=this;return r={get reactive(){const n=new St(o,t),r=new Proxy(_t(t),n);return wt(r,e),rt(this,"reactive",{value:r}),r},get readOnly(){const n=new At(o,t),r=new Proxy(_t(t),n);return wt(r,e),rt(this,"readOnly",{value:r}),r}},n.set(t,r),r}}({valueObserved:fe,valueMutated:de,valueDistortion:$t,tagPropertyKey:Dt});function Ht(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!H(n))throw new TypeError;if(!H(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const t=Ar(this);if(!or(t))return me(t,e),n.call(t.elm)},set(t){const n=Ar(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,pe(n,e)),r.call(n.elm,t)}}}const It=function(){if(D(rr))throw new ReferenceError("Illegal constructor");const e=rr,{def:t,elm:n,renderer:r}=e,{bridge:o}=t,i=this;if(p(n,o.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return this[Dt]=void 0,Tr(i,e),Tr(n,e),1===e.renderMode&&Ft(e),this};function Ft(e){const{elm:t,mode:n,renderer:r,shadowMode:o,def:{ctor:i}}=e,s=r.attachShadow(t,{"$$lwc-synthetic-mode":1===o,delegatesFocus:Boolean(i.delegatesFocus),mode:n});e.cmpRoot=s,Tr(s,e)}It.prototype={constructor:It,dispatchEvent(e){const{elm:t,renderer:{dispatchEvent:n}}=Ar(this);return n(t,e)},addEventListener(e,t,n){const r=Ar(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,fr(r,t),n)},removeEventListener(e,t,n){const r=Ar(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,fr(r,t),n)},hasAttribute(e){const{elm:t,renderer:{getAttribute:n}}=Ar(this);return!D(n(t,e))},hasAttributeNS(e,t){const{elm:n,renderer:{getAttribute:r}}=Ar(this);return!D(r(n,t,e))},removeAttribute(e){const{elm:t,renderer:{removeAttribute:n}}=Ar(this);Se(t,e),n(t,e),ke()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=Ar(this);Se(n,t),r(n,t,e),ke()},getAttribute(e){const{elm:t,renderer:{getAttribute:n}}=Ar(this);return n(t,e)},getAttributeNS(e,t){const{elm:n,renderer:{getAttribute:r}}=Ar(this);return r(n,t,e)},setAttribute(e,t){const n=Ar(this),{elm:r,renderer:{setAttribute:o}}=n;Se(r,e),o(r,e,t),ke()},setAttributeNS(e,t,n){const r=Ar(this),{elm:o,renderer:{setAttribute:i}}=r;Se(o,t),i(o,t,n,e),ke()},getBoundingClientRect(){const e=Ar(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const{elm:e,renderer:{isConnected:t}}=Ar(this);return t(e)},get classList(){const e=Ar(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return Ar(this).cmpRoot},get shadowRoot(){return null},render(){return Ar(this).def.template},toString(){return`[object ${Ar(this).def.name}]`}};const Bt=r(null),Wt=[["children","getChildren"],["childNodes","getChildNodes"],["firstChild","getFirstChild"],["firstElementChild","getFirstElementChild"],["lastChild","getLastChild"],["lastElementChild","getLastElementChild"]];for(const[e,t]of Wt)Bt[e]={get(){const e=Ar(this),{elm:n,renderer:r}=e;return r[t](n)}};const Vt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of Vt)Bt[e]={value(t){const n=Ar(this),{elm:r,renderer:o}=n;return o[e](r,t)}};o(It.prototype,Bt);const jt=r(null);for(const e in Ze)jt[e]=Ht(e,Ze[e]);function Kt(e){return{get(){const t=Ar(this);return me(t,e),t.cmpFields[e]},set(t){const n=Ar(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,pe(n,e))},enumerable:!0,configurable:!0}}function zt(e){return{get(){const t=Ar(this);return me(t,e),t.cmpFields[e]},set(t){const n=Ar(this),r=Rt.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,pe(n,e))},enumerable:!0,configurable:!0}}function Gt(e){return{get(){const t=Ar(this);if(!or(t))return me(t,e),t.cmpProps[e]},set(t){const n=Ar(this);n.cmpProps[e]=t,pe(n,e)},enumerable:!0,configurable:!0}}o(It.prototype,jt),i(It,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class Ut extends he{constructor(e,t){super((()=>{R(this.debouncing)&&(this.debouncing=!0,ce((()=>{if($(this.debouncing)){const{value:n}=this,{isDirty:r,component:o,idx:i}=e;t.call(o,n),this.debouncing=!1,$(e.isDirty)&&R(r)&&i>0&&Cr(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function qt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!H(n))throw new Error;return{get(){return n.call(this)},set(t){const n=Ar(this);if(r)if(re.ENABLE_REACTIVE_SETTER){let o=n.oar[e];_(o)&&(o=n.oar[e]=new Ut(n,r)),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function Xt(e){return{get(){const t=Ar(this);return me(t,e),t.cmpFields[e]},set(t){const n=Ar(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,pe(n,e))},enumerable:!0,configurable:!0}}const Yt=new Map;const Jt={apiMethods:ie,apiFields:ie,apiFieldsConfig:ie,wiredMethods:ie,wiredFields:ie,observedFields:ie};const Qt=new Set;function Zt(){return[]}Qt.add(Zt);const en=r(null),tn=r(null);function nn(e){let t=en[e];return _(t)&&(t=en[e]=function(){const t=Ar(this),{getHook:n}=t;return n(t.component,e)}),t}function rn(e){let t=tn[e];return _(t)&&(t=tn[e]=function(t){const n=Ar(this),{setHook:r}=n;t=Rt.getReadOnlyProxy(t),r(n.component,e,t)}),t}function on(e){return function(){const t=Ar(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,S.call(arguments))}}function sn(e,t){return function(n,r,o){if(r===o)return;const i=e[n];_(i)?_(t)||t.apply(this,arguments):Ee(this,n)&&(this[i]=o)}}function ln(e,t,n){let s;H(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),i(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const l=r(null),{attributeChangedCallback:c}=e.prototype,{observedAttributes:a=[]}=e,u=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[X(n)]=n,u[n]={get:nn(n),set:rn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:on(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:sn(l,c)},i(s,"observedAttributes",{get:()=>[...a,...f(l)]}),o(s.prototype,u),s}const cn=ln(Je,c(Ze),[]);function an(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function un(e){return H(e)&&u.call(e,"__circular__")}s(cn),h(cn.prototype);const dn=new WeakMap;function fn(e){const{shadowSupportMode:t,renderMode:i}=e,s=function(e){const t=Yt.get(e);return _(t)?Jt:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const C=function(e){let t=a(e);if(D(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(un(t)){const e=an(t);t=e===t?It:e}return t}(e),E=C!==It?pn(C):mn,k=ln(E.bridge,f(l),f(u)),S=n(r(null),E.props,l),M=n(r(null),E.propsConfig,c),T=n(r(null),E.methods,u),A=n(r(null),E.wire,d,h);g=g||E.connectedCallback,w=w||E.disconnectedCallback,y=y||E.renderedCallback,b=b||E.errorCallback,v=v||E.render;let x=E.shadowSupportMode;_(t)||(x=t);let N=E.renderMode;_(i)||(N="light"===i?0:1);const P=function(e){return lr.get(e)}(e)||E.template,O=e.name||E.name;o(m,p);return{ctor:e,name:O,wire:A,props:S,propsConfig:M,methods:T,bridge:k,template:P,renderMode:N,shadowSupportMode:x,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function hn(e){if(!H(e))return!1;if(e.prototype instanceof It)return!0;let t=e;do{if(un(t)){const e=an(t);if(e===t)return!0;t=e}if(t===It)return!0}while(!D(t)&&(t=a(t)));return!1}function pn(e){let t=dn.get(e);if(_(t)){if(un(e)){return t=pn(an(e)),dn.set(e,t),t}if(!hn(e))throw new TypeError(`${e} is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.`);t=fn(e),dn.set(e,t)}return t}const mn={ctor:It,name:It.name,props:jt,propsConfig:ie,methods:ie,renderMode:1,shadowSupportMode:"default",wire:ie,bridge:cn,template:Zt,render:It.prototype.render};function gn(e,t){e.$shadowToken$=t}function wn(e,t){const{cmpTemplate:n,context:r}=t,o=null==n?void 0:n.stylesheetToken;!_(o)&&r.hasScopedStyles&&t.renderer.getClassList(e).add(o)}function yn(e,t){const{elm:n,text:r,owner:{renderer:o}}=t;e.text!==r&&o.setText(n,r)}function bn(e,t,n){const{renderer:r}=e.owner;r.insert(e.elm,t,n)}function vn(e,t){const{renderer:n}=e.owner;n.remove(e.elm,t)}function Cn(e,t){const{children:n,owner:r}=t,o=Mn(n)?qe:Xe;Hr(r,r.owner,F,(()=>{o(t.elm,e.children,n)}),F)}function En(e,t){const n=e.aChildren||e.children;t.aChildren=n;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t){const{cmpSlots:n}=e,o=e.cmpSlots=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(D(n))continue;const{data:r}=n,i=r.attrs&&r.attrs.slot||"",s=o[i]=o[i]||[];_(n.key)||(n.key=`@${i}:${n.key}`),C.call(s,n)}if(R(e.isDirty)){const t=f(n);if(t.length!==f(o).length)return void ur(e);for(let r=0,i=t.length;r<i;r+=1){const i=t[r];if(_(o[i])||n[i].length!==o[i].length)return void ur(e);const s=n[i],l=o[i];for(let t=0,n=o[i].length;t<n;t+=1)if(s[t]!==l[t])return void ur(e)}}}(t,n),e.aChildren=n,e.children=se)}function kn(e){const{elm:t,children:n}=e;for(let e=0;e<n.length;++e){const r=n[e];null!=r&&(r.hook.create(r),r.hook.insert(r,t,null))}}const Sn=new WeakMap;function Mn(e){return Sn.has(e)}function Tn(e,t){e=e.toLowerCase();let n=t.getCustomElement(e);return _(n)?(n=class extends t.HTMLElement{constructor(e){super(),H(e)&&e(this)}},t.defineCustomElement(e,n),n):n}let An=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const xn=Symbol.iterator,Nn={create:e=>{const{owner:t}=e,{renderer:n}=t,r=n.createText(e.text);_n(r,t),e.elm=r},update:yn,insert:bn,move:bn,remove:vn},Pn={create:e=>{const{owner:t,text:n}=e,{renderer:r}=t,o=r.createComment(n);_n(o,t),e.elm=o},update:yn,insert:bn,move:bn,remove:vn},On={create:e=>{const{sel:t,owner:n,data:{svg:r}}=e,{renderer:o}=n,i=$(r)?"http://www.w3.org/2000/svg":void 0,s=o.createElement(t,i);_n(s,n),function(e,t){const{owner:n}=t;if(wn(e,n),1===n.shadowMode){const{data:{context:r}}=t,{stylesheetToken:o}=n.context;_(r)||_(r.lwc)||"manual"!==r.lwc.dom||function(e){e.$domManual$=!0}(e),gn(e,o)}}(s,e),e.elm=s,function(e){ye.create(e),Ae.create(e),Oe.create(e),Be.create(e),We.create(e),Re.create(e),Fe.create(e)}(e)},update:(e,t)=>{!function(e,t){Ae.update(e,t),Oe.update(e,t),Re.update(e,t),Fe.update(e,t)}(e,t),Cn(e,t)},insert:(e,t,n)=>{bn(e,t,n),kn(e)},move:(e,t,n)=>{bn(e,t,n)},remove:(e,t)=>{vn(e,t),function(e){const{children:t,elm:n}=e;for(let e=0,r=t.length;e<r;++e){const r=t[e];D(r)||r.hook.remove(r,n)}}(e)}},Ln={create:e=>{const{sel:t,owner:n}=e,{renderer:r}=n,o=Tn(t,r),i=new o((t=>{!function(e,t){if(!_(xr(e)))return;const{sel:n,mode:r,ctor:o,owner:i}=t;if(wn(e,i),1===i.shadowMode){const{stylesheetToken:t}=i.context;gn(e,t)}Mr(e,pn(o),{mode:r,owner:i,tagName:n,renderer:i.renderer})}(t,e)}));_n(i,n),e.elm=i;const s=xr(i);if(s)En(e,s);else if(e.ctor!==o)throw new TypeError("Incorrect Component Constructor");!function(e){ye.create(e),Ae.create(e),Oe.create(e),Be.create(e),We.create(e),Re.create(e),Fe.create(e)}(e)},update:(e,t)=>{!function(e,t){Ae.update(e,t),Oe.update(e,t),Re.update(e,t),Fe.update(e,t)}(e,t);const n=xr(t.elm);n&&En(t,n),Cn(e,t),n&&Cr(n)},insert:(e,t,n)=>{bn(e,t,n);const r=xr(e.elm);r&&Lr(r),kn(e),r&&function(e){Nr(e)}(r)},move:(e,t,n)=>{bn(e,t,n)},remove:(e,t)=>{vn(e,t);const n=xr(e.elm);n&&function(e){Sr(e)}(n)}};function _n(e,t){const{renderer:n,renderMode:r,shadowMode:o}=t;n.isSyntheticShadowDefined&&(1!==o&&0!==r||(e.$shadowResolver$=Ir(t).$shadowResolver$))}function Dn(e,t,n){const r=Zn();const{key:o}=t;return{sel:e,data:t,children:n,text:undefined,elm:undefined,key:o,hook:On,owner:r}}function $n(e,t,n,r=se){const o=Zn(),{key:i}=n;const s={sel:e,data:n,children:r,text:undefined,elm:undefined,key:i,hook:Ln,ctor:t,owner:o,mode:"open"};return function(e){C.call(Zn().velements,e)}(s),s}const Rn=new Map;let Hn=0;function In(e){var t;return t=e,Sn.set(t,1),e}const Fn=s({s:function(e,t,n,r){_(r)||_(r[e])||0===r[e].length||(n=r[e]);const o=Zn(),{renderMode:i,shadowMode:s}=o;return 0===i?(In(n),n):(1===s&&In(n),Dn("slot",t,n))},h:Dn,c:$n,i:function(e,t){const n=[];if(In(n),_(e)||null===e)return n;const r=e[xn]();let o=r.next(),i=0,{value:s,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(s,i,0===i,!0===l);m(e)?C.apply(n,e):C.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];In(n);for(let r=0;r<t;r+=1){const t=e[r];m(t)?C.apply(n,t):C.call(n,t)}return n},t:function(e){return{sel:undefined,data:ie,children:undefined,text:e,elm:undefined,key:undefined,hook:Nn,owner:Zn()}},d:function(e){return null==e?"":e},b:function(e){const t=Zn();if(D(t))throw new Error;const n=t;return function(t){sr(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{sel:undefined,data:ie,children:undefined,text:e,elm:undefined,key:undefined,hook:Pn,owner:Zn()}},dc:function(e,t,n,r){if(null==t)return null;if(!hn(t))throw new Error(`Invalid LWC Constructor ${W(t)} for custom element <${e}>.`);let o=Rn.get(t);return _(o)&&(o=Hn++,Rn.set(t,o)),n.key=`dc:${o}:${n.key}`,$n(e,t,n,r)},ti:function(e){return e>0&&!($(e)||R(e))?0:e},gid:function(e){const t=Zn();if(_(e)||""===e)return e;if(D(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?P.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=Zn();if(_(e)||""===e)return e;if(D(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return An(e)}});function Bn(e){return`${e}-host`}function Wn(e,t,n){const r=[];for(let o=0;o<e.length;o++){let i=e[o];if(m(i))C.apply(r,Wn(i,t,n));else{const e=i.$scoped$,o=0===n.renderMode?!e:0===n.shadowMode,s=e||1===n.shadowMode&&1===n.renderMode?t:void 0;C.call(r,i(o,s))}}return r}function Vn(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return _(n)||0===n.length||(o=Wn(n,r,e)),o}function jn(e,t){const{renderer:n,renderMode:r,shadowMode:o}=e;if(1===r&&1===o)for(let e=0;e<t.length;e++)n.insertGlobalStylesheet(t[e]);else{if(n.ssr){const e=b.call(t,"\n");return i=e,Fn.h("style",{key:"style",attrs:{type:"text/css"}},[Fn.t(i)])}{const r=function(e){let t=e;for(;!D(t);){if(1===t.renderMode&&0===t.shadowMode)return t;t=t.owner}return t}(e),o=D(r);for(let e=0;e<t.length;e++)o?n.insertGlobalStylesheet(t[e]):n.insertStylesheet(t[e],r.cmpRoot)}}var i;return null}let Kn=!1,zn=F;const Gn={enableProfiler(){Kn=!0},disableProfiler(){Kn=!1},attachDispatcher(e){zn=e,this.enableProfiler()},detachDispatcher(){const e=zn;return zn=F,this.disableProfiler(),e}};function Un(e,t){Kn&&zn(e,0,t.tagName,t.idx)}function qn(e,t){Kn&&zn(e,1,t.tagName,t.idx)}function Xn(e,t){Kn&&zn(e,0,null==t?void 0:t.tagName,null==t?void 0:t.idx)}function Yn(e,t){Kn&&zn(e,1,null==t?void 0:t.tagName,null==t?void 0:t.idx)}let Jn=!1,Qn=null;function Zn(){return Qn}function er(e){Qn=e}function tr(e,t){const n=Jn,o=Qn;let i=[];return Hr(e,e.owner,(()=>{Qn=e,Un(1,e)}),(()=>{const{component:n,context:o,cmpSlots:s,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(D(l)||Rr(e),c=t,!Qt.has(c))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${W(t)}.`);e.cmpTemplate=t,o.tplCache=r(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!_(t))for(let e=0;e<t.length;e++)if($(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:r,renderer:o,renderMode:i,shadowMode:s}=e,{stylesheets:l,stylesheetToken:c}=t,a=1===i&&1===s,{hasScopedStyles:u}=r;let d,f,h;const{stylesheetToken:p,hasTokenInClass:m,hasTokenInAttribute:g}=r;m&&o.getClassList(n).remove(Bn(p)),g&&o.removeAttribute(n,Bn(p)),_(l)||0===l.length||(d=c),_(d)||(u&&(o.getClassList(n).add(Bn(d)),f=!0),a&&(o.setAttribute(n,Bn(d),""),h=!0)),r.stylesheetToken=d,r.hasTokenInClass=f,r.hasTokenInAttribute=h}(e,t);const n=Vn(e,t);o.styleVNode=0===n.length?null:jn(e,n)}var c;e.velements=[],Jn=!0,i=t.call(void 0,Fn,n,s,o.tplCache);const{styleVNode:a}=o;D(a)||T.call(i,a)}))}),(()=>{Jn=n,Qn=o,qn(1,e)})),i}function nr(e,t){if(!d(t)&&_(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!D(n);)C.call(t,ge(n)),n=n.owner;return t.reverse().join("\n\t")}(e);i(t,"wcStack",{get:()=>n})}}let rr=null;function or(e){return rr===e}function ir(e,t,n){const{component:r,callHook:o,owner:i}=e;Hr(e,i,F,(()=>{o(r,t,n)}),F)}function sr(e,t,n,r){const{callHook:o,owner:i}=e;Hr(e,i,F,(()=>{o(n,t,[r])}),F)}const lr=new Map;function cr(e){return new he((()=>{const{isDirty:t}=e;R(t)&&(ur(e),function(e){if($(e.renderer.ssr)||$(e.isScheduled))return;e.isScheduled=!0,0===Pr.length&&ce(Or);C.call(Pr,e)}(e))}))}function ar(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=Zn();let s,l=!1;return Hr(e,o,(()=>{er(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{er(i)})),l?tr(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function ur(e){e.isDirty=!0}const dr=new WeakMap;function fr(e,t){if(!H(t))throw new TypeError;let n=dr.get(t);return _(n)&&(n=function(n){sr(e,t,void 0,n)},dr.set(t,n)),n}const hr=r(null),pr=["rendered","connected","disconnected"];function mr(e,t){const{component:n,def:r,context:o}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},r,o)}let gr=0;const wr=new WeakMap;function yr(e,t,n=[]){return t.apply(e,n)}function br(e,t,n){e[t]=n}function vr(e,t){return e[t]}function Cr(e){Nr(e)}function Er(e){const t=Ar(e);Xn(7,t),1===t.state&&kr(e),Lr(t),Nr(t),Yn(7,t)}function kr(e){Sr(Ar(e))}function Sr(e){const{state:t}=e;if(2!==t){const{oar:t,tro:n}=e;n.reset();for(const e in t)t[e].reset();!function(e){R(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=hr;t&&mr(e,t);_r(e)&&function(e){const{wiredDisconnecting:t}=e.context;Hr(e,e,F,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),F)}(e);const{disconnectedCallback:n}=e.def;_(n)||(Un(5,e),ir(e,n),qn(5,e))}(e),Dr(e),function(e){const{aChildren:t}=e;$r(t)}(e)}}function Mr(e,t,n){const{mode:o,owner:i,renderer:s,tagName:l}=n,c={elm:e,def:t,idx:gr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:o,owner:i,renderer:s,children:se,aChildren:se,velements:se,cmpProps:r(null),cmpFields:r(null),cmpSlots:r(null),oar:r(null),cmpTemplate:null,renderMode:t.renderMode,shadowMode:null,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:ie,wiredConnecting:se,wiredDisconnecting:se},tro:null,component:null,cmpRoot:null,callHook:yr,setHook:br,getHook:vr};return c.shadowMode=function(e){const{def:t,renderer:n}=e,{isNativeShadowDefined:r,isSyntheticShadowDefined:o}=n;let i;if(o)if(0===t.renderMode)i=0;else if(r)if("any"===t.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!D(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=D(t)||0!==t.shadowMode?1:0}else i=1;else i=0;return i}(c),c.tro=cr(c),function(e,t){const n=rr;let r;Un(0,e),rr=e;try{const o=new t;if(rr.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(qn(0,e),rr=n,!_(r))throw nr(e,r),r}}(c,t.ctor),_r(c)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],s=Fr.get(i);if(!_(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=Wr(e,t,s),c=s.dynamic.length>0;C.call(r,(()=>{n.connect(),re.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),C.call(o,(()=>{n.disconnect(),l()}))}}}(c),c}function Tr(e,t){wr.set(e,t)}function Ar(e){return wr.get(e)}function xr(e){return wr.get(e)}function Nr(e){if($(e.isDirty)){!function(e,t){const{children:n}=e;if(e.children=t,(t.length>0||n.length>0)&&n!==t){const r=Mn(t)?qe:Xe;Hr(e,e,(()=>{Un(2,e)}),(()=>{const o=Ir(e);r(o,n,t)}),(()=>{qn(2,e)}))}1===e.state&&function(e){const{renderer:t,def:{renderedCallback:n}}=e;if($(t.ssr))return;const{rendered:r}=hr;r&&mr(e,r);_(n)||(Un(4,e),ir(e,n),qn(4,e))}(e)}(e,ar(e))}}let Pr=[];function Or(){Xn(8);const e=Pr.sort(((e,t)=>e.idx-t.idx));Pr=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{Nr(r)}catch(r){throw t+1<n&&(0===Pr.length&&ce(Or),T.apply(Pr,S.call(e,t+1))),Yn(8),r}}Yn(8)}function Lr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=hr;n&&mr(e,n),_r(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;_(r)||(Un(3,e),ir(e,r),qn(3,e))}function _r(e){return c(e.def.wire).length>0}function Dr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!_(n)){const e=xr(n);_(e)||Sr(e)}}}function $r(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];D(n)||!m(n.children)||_(n.elm)||(_(n.ctor)?$r(n.children):Sr(Ar(n.elm)))}}function Rr(e){const{children:t,renderer:n}=e,r=Ir(e);for(let e=0,o=t.length;e<o;e++){const o=t[e];D(o)||_(o.elm)||n.remove(o.elm,r)}e.children=se,Dr(e),e.velements=se}function Hr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!_(i)){nr(e,i);const n=D(t)?void 0:function(e){let t=e;for(;!D(t);){if(!_(t.def.errorCallback))return t;t=t.owner}}(t);if(_(n))throw i;Rr(e),Un(6,e);ir(n,n.def.errorCallback,[i,i.wcStack]),qn(6,e)}}}function Ir(e){return 1===e.renderMode?e.cmpRoot:e.elm}const Fr=new Map;class Br extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),o(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function Wr(e,t,n){const{method:r,adapter:o,configCallback:s,dynamic:l}=n,c=_(r)?function(e,t){const{cmpFields:n}=e;return r=>{r!==e.cmpFields[t]&&(n[t]=r,pe(e,t))}}(e,t):function(e,t){return n=>{Hr(e,e.owner,F,(()=>{t.call(e.component,n)}),F)}}(e,r);let a,u;i(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),i(c,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),Hr(e,e,F,(()=>{u=new o(c)}),F);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let r=!1;const o=new he((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),i()})))})),i=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:i,ro:o}}(e.component,s,(t=>{Hr(e,e,F,(()=>{u.update(t,a)}),F)}));return _(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=jr(r);if(_(o))return;const{elm:i,renderer:s,context:{wiredConnecting:l,wiredDisconnecting:c}}=e;C.call(l,(()=>{const e=new Br(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){C.call(c,e)}});s.dispatchEvent(i,e)}))}(e,n,(t=>{a!==t&&(a=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const Vr=new Map;function jr(e){return Vr.get(e)}function Kr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Fr.set(e,o)}function zr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Fr.set(e,o)}let Gr=!1;function Ur(e){const t={};return _(e.sanitizeHtmlContent)||(t.sanitizeHtmlContent=function(e){const t=An;return An=e,t}(e.sanitizeHtmlContent)),t}const qr=r(null),Xr=document.head||document.body||document,Yr=H(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),Jr=r(null),Qr=r(null),Zr=new WeakMap;let eo,to,no;if(function(){if("undefined"==typeof customElements)return!1;try{const e=HTMLElement;class t extends e{}return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),t),new t,!0}catch(e){return!1}}())eo=customElements.get.bind(customElements),to=customElements.define.bind(customElements),no=HTMLElement;else{const e=r(null),t=new WeakMap;to=function(n,r){if(n!==L.call(n)||e[n])throw new TypeError("Invalid Registration");e[n]=r,t.set(r,n)},eo=function(t){return e[t]},no=function e(){if(!(this instanceof e))throw new TypeError("Invalid Invocation");const{constructor:n}=this,r=t.get(n);if(!r)throw new TypeError("Invalid Construction");const o=document.createElement(r);return p(o,n.prototype),o},no.prototype=HTMLElement.prototype}const ro={ssr:!1,isNativeShadowDefined:G.$isNativeShadowRootDefined$,isSyntheticShadowDefined:u.call(Element.prototype,"$shadowToken$"),createElement:(e,t)=>_(t)?document.createElement(e):document.createElementNS(t,e),createText:e=>document.createTextNode(e),createComment:e=>document.createComment(e),insert(e,t,n){t.insertBefore(e,n)},remove(e,t){t.removeChild(e)},nextSibling:e=>e.nextSibling,attachShadow:(e,t)=>e.attachShadow(t),setText(e,t){e.nodeValue=t},getProperty:(e,t)=>e[t],setProperty(e,t,n){e[t]=n},getAttribute:(e,t,n)=>_(n)?e.getAttribute(t):e.getAttributeNS(n,t),setAttribute:(e,t,n,r)=>_(r)?e.setAttribute(t,n):e.setAttributeNS(r,t,n),removeAttribute(e,t,n){_(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)},addEventListener(e,t,n,r){e.addEventListener(t,n,r)},removeEventListener(e,t,n,r){e.removeEventListener(t,n,r)},dispatchEvent:(e,t)=>e.dispatchEvent(t),getClassList:e=>e.classList,setCSSStyleProperty(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},getBoundingClientRect:e=>e.getBoundingClientRect(),querySelector:(e,t)=>e.querySelector(t),querySelectorAll:(e,t)=>e.querySelectorAll(t),getElementsByTagName:(e,t)=>e.getElementsByTagName(t),getElementsByClassName:(e,t)=>e.getElementsByClassName(t),getChildren:e=>e.children,getChildNodes:e=>e.childNodes,getFirstChild:e=>e.firstChild,getFirstElementChild:e=>e.firstElementChild,getLastChild:e=>e.lastChild,getLastElementChild:e=>e.lastElementChild,isConnected:e=>e.isConnected,insertGlobalStylesheet(e){if(!_(qr[e]))return;qr[e]=!0;const t=document.createElement("style");t.type="text/css",t.textContent=e,Xr.appendChild(t)},insertStylesheet(e,t){Yr?function(e,t){let n=Qr[e];_(n)&&(n=new CSSStyleSheet,n.replaceSync(e),Qr[e]=n),t.adoptedStyleSheets.includes(n)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,n])}(e,t):function(e,t){let n=Zr.get(t);if(_(n)&&(n=r(null),Zr.set(t,n)),n[e])return;n[e]=!0;let o=Jr[e];_(o)?(o=document.createElement("style"),o.type="text/css",o.textContent=e,Jr[e]=o):o=o.cloneNode(!0),t.appendChild(o)}(e,t)},assertInstanceOfHTMLElement(e,n){t.invariant(e instanceof HTMLElement,n)},defineCustomElement:to,getCustomElement:eo,HTMLElement:no};const oo=Node,io=new WeakMap,so=new WeakMap;function lo(e,t){const n=t.get(e);return _(n)||n(e),e}const{appendChild:co,insertBefore:ao,removeChild:uo,replaceChild:fo}=oo.prototype;n(oo.prototype,{appendChild(e){return lo(co.call(this,e),io)},insertBefore(e,t){return lo(ao.call(this,e,t),io)},removeChild(e){return lo(uo.call(this,e),so)},replaceChild(e,t){const n=fo.call(this,e,t);return lo(n,so),lo(e,io),n}});const ho=Node;const po=new Map;function mo(e){if(e===It)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=po.get(e);return _(t)&&(t=function(e){const t=pn(e);return class extends t.bridge{constructor(){super(),Mr(this,t,{mode:"open",owner:null,tagName:this.tagName,renderer:ro})}connectedCallback(){Er(this)}disconnectedCallback(){kr(this)}}}(e),po.set(e,t)),t}return i(It,"CustomElementConstructor",{get(){return mo(this)}}),s(It),h(It.prototype),e.LightningElement=It,e.__unstable__ProfilerControl=Gn,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=jr(e);if(!_(t))throw new Error("Adapter already has a context provider.");t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),function(e,t){Vr.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:i}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{_(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if("object"!=typeof t||D(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${W(t)}".`);const n=t.is;if(!H(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const r=Tn(e,ro);let o=!1;const i=new r((r=>{Mr(r,pn(n),{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null,renderer:ro}),io.set(r,Er),so.set(r,kr),o=!0}));return o||console.error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`),i},e.getComponentConstructor=function(e){let t=null;if(e instanceof HTMLElement){const n=xr(e);_(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=pn(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,l={};for(const e in o)l[e]={config:i[e]||0,type:"any",attr:X(e)};const c={};for(const e in s)c[e]=s[e].value;return{ctor:n,name:r,props:l,methods:c}},e.isComponentConstructor=hn,e.isNodeFromTemplate=function(e){return!R(e instanceof ho)&&(!(e instanceof ShadowRoot)&&(ro.isSyntheticShadowDefined?!_(e.$shadowResolver$):e.getRootNode()instanceof ShadowRoot))},e.readonly=function(e){return Rt.getReadOnlyProxy(e)},e.register=function(e){for(let t=0;t<pr.length;++t){const n=pr[t];if(n in e){let t=hr[n];_(t)&&(hr[n]=t=[]),C.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return lr.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:o,publicMethods:s,wire:c,track:a,fields:u}=t,d=r(null),f=r(null),h=r(null),p=r(null),m=r(null),g=r(null);let w;if(!_(o))for(const e in o){const t=o[e];if(g[e]=t.config,w=l(n,e),t.config>0){if(_(w))throw new Error;w=qt(e,w)}else w=_(w)||_(w.get)?Gt(e):qt(e,w);f[e]=w,i(n,e,w)}if(_(s)||A.call(s,(e=>{if(w=l(n,e),_(w))throw new Error;d[e]=w})),!_(c))for(const e in c){const{adapter:t,method:r,config:o,dynamic:s=[]}=c[e];if(w=l(n,e),1===r){if(_(w))throw new Error;h[e]=w,Kr(w,t,o,s)}else w=Kt(e),p[e]=w,zr(w,t,o,s),i(n,e,w)}if(!_(a))for(const e in a)w=l(n,e),w=zt(e),i(n,e,w);if(!_(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(n,t);const r=!_(o)&&t in o,i=!_(a)&&t in a;r||i||(m[t]=Xt(t))}return function(e,t){Yt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return Qt.add(e),e},e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(_(ne[e])){const n=f(ne).map((e=>`"${e}"`)).join(", ");console.warn(`Failed to set the value "${t}" for the runtime feature flag "${e}" because it is undefined. Available flags: ${n}.`)}else{const n=re[e];if(!_(n))return void console.error(`Failed to set the value "${t}" for the runtime feature flag "${e}". "${e}" has already been set with the value "${n}".`);i(re,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){t.isFalse(Gr,"Hooks are already overridden, only one definition is allowed."),Ur(e),Gr=!0},e.setHooksForTest=function(e){},e.swapComponent=function(e,t){if(!re.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapStyle=function(e,t){if(!re.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapTemplate=function(e,t){if(!re.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.track=function(e){if(1===arguments.length)return Rt.getProxy(e);throw new Error},e.unwrap=function(e){const t=Rt.unwrapProxy(e);return t!==e?t:e},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0}),e}({});
9
+ */function Ve(e){return void 0===e}function je(e,t){return e.key===t.key&&e.sel===t.sel}function Ke(e){return null!=e}function ze(e,t,n){const r={};let o,i,s;for(o=t;o<=n;++o)s=e[o],Ke(s)&&(i=s.key,void 0!==i&&(r[i]=o));return r}function Ge(e,t,n,r,o){for(;r<=o;++r){const o=n[r];Ke(o)&&(o.hook.create(o),o.hook.insert(o,e,t))}}function Ue(e,t,n,r){for(;n<=r;++n){const r=t[n];Ke(r)&&r.hook.remove(r,e)}}function qe(e,t,n){let r=0,o=0,i=t.length-1,s=t[0],l=t[i];const a=n.length-1;let c,u,d,f,h=a,p=n[0],m=n[h];for(;r<=i&&o<=h;)Ke(s)?Ke(l)?Ke(p)?Ke(m)?je(s,p)?(Ye(s,p),s=t[++r],p=n[++o]):je(l,m)?(Ye(l,m),l=t[--i],m=n[--h]):je(s,m)?(Ye(s,m),m.hook.move(s,e,l.owner.renderer.nextSibling(l.elm)),s=t[++r],m=n[--h]):je(l,p)?(Ye(l,p),p.hook.move(l,e,s.elm),l=t[--i],p=n[++o]):(void 0===c&&(c=ze(t,r,i)),u=c[p.key],Ve(u)?(p.hook.create(p),p.hook.insert(p,e,s.elm),p=n[++o]):(d=t[u],Ke(d)&&(d.sel!==p.sel?(p.hook.create(p),p.hook.insert(p,e,s.elm)):(Ye(d,p),t[u]=void 0,p.hook.move(d,e,s.elm))),p=n[++o])):m=n[--h]:p=n[++o]:l=t[--i]:s=t[++r];if(r<=i||o<=h)if(r>i){let t,r=h;do{t=n[++r]}while(!Ke(t)&&r<a);f=Ke(t)?t.elm:null,Ge(e,f,n,o,h)}else Ue(e,t,r,i)}function Xe(e,t,n){const r=t.length,o=n.length;if(0===r)return void Ge(e,null,n,0,o);if(0===o)return void Ue(e,t,0,r);let i=null;for(let r=o-1;r>=0;r-=1){const o=n[r],s=t[r];o!==s&&(Ke(s)?Ke(o)?(Ye(s,o),i=o.elm):s.hook.remove(s,e):Ke(o)&&(o.hook.create(o),o.hook.insert(o,e,i),i=o.elm))}}function Ye(e,t){e!==t&&(t.elm=e.elm,t.hook.update(e,t))}const Je="undefined"!=typeof HTMLElement?HTMLElement:function(){},Qe=Je.prototype,Ze=r(null);A.call(f(z),(e=>{const t=V(Qe,e);_(t)||(Ze[e]=t)})),A.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=V(Qe,e);_(t)||(Ze[e]=t)}));const{isArray:et}=Array,{getPrototypeOf:tt,create:nt,defineProperty:rt,defineProperties:ot,isExtensible:it,getOwnPropertyDescriptor:st,getOwnPropertyNames:lt,getOwnPropertySymbols:at,preventExtensions:ct,hasOwnProperty:ut}=Object,{push:dt,concat:ft,map:ht}=Array.prototype;function pt(e){return void 0===e}function mt(e){return"function"==typeof e}const gt=new WeakMap;function wt(e,t){gt.set(e,t)}const yt=e=>gt.get(e)||e;class bt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(ut.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;pt(n)||(e.get=this.wrapGetter(n)),pt(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=st(n,t);if(!pt(r)){const n=this.wrapDescriptor(r);rt(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;ft.call(lt(t),at(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;pt(n)||ut.call(e,n)||rt(e,n,nt(null)),ct(e)}apply(e,t,n){}construct(e,t,n){}get(e,t){const{originalTarget:n,membrane:{valueObserved:r}}=this,o=n[t];return r(n,t),this.wrapValue(o)}has(e,t){const{originalTarget:n,membrane:{tagPropertyKey:r,valueObserved:o}}=this;return o(n,t),t in n||t===r}ownKeys(e){const{originalTarget:t,membrane:{tagPropertyKey:n}}=this,r=pt(n)||ut.call(t,n)?[]:[n];return dt.apply(r,lt(t)),dt.apply(r,at(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!it(e)&&(!!it(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return tt(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=st(n,t);if(pt(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},rt(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const vt=new WeakMap,Et=new WeakMap,Ct=new WeakMap,kt=new WeakMap;class St extends bt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=vt.get(e);if(!pt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(yt(this)))};return vt.set(e,r),Ct.set(r,e),r}wrapSetter(e){const t=Et.get(e);if(!pt(t))return t;const n=function(t){e.call(yt(this),yt(t))};return Et.set(e,n),kt.set(n,e),n}unwrapDescriptor(e){if(ut.call(e,"value"))e.value=yt(e.value);else{const{set:t,get:n}=e;pt(n)||(e.get=this.unwrapGetter(n)),pt(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=Ct.get(e);if(!pt(t))return t;const n=this,r=function(){return yt(e.call(n.wrapValue(this)))};return vt.set(r,e),Ct.set(e,r),r}unwrapSetter(e){const t=kt.get(e);if(!pt(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Et.set(r,e),kt.set(e,r),r}set(e,t,n){const{originalTarget:r,membrane:{valueMutated:o}}=this;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&et(r)&&o(r,t),!0}deleteProperty(e,t){const{originalTarget:n,membrane:{valueMutated:r}}=this;return delete n[t],r(n,t),!0}setPrototypeOf(e,t){}preventExtensions(e){if(it(e)){const{originalTarget:t}=this;if(ct(t),it(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!ut.call(r,t)||(rt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const Mt=new WeakMap,Tt=new WeakMap;class At extends bt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=Mt.get(e);if(!pt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(yt(this)))};return Mt.set(e,r),r}wrapSetter(e){const t=Tt.get(e);if(!pt(t))return t;const n=function(e){};return Tt.set(e,n),n}set(e,t,n){return!1}deleteProperty(e,t){return!1}setPrototypeOf(e,t){}preventExtensions(e){return!1}defineProperty(e,t,n){return!1}}const xt=Object.prototype;function Nt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(et(e))return!0;const t=tt(e);return t===xt||null===t||null===tt(t)}const Pt=(e,t)=>{},Ot=(e,t)=>{},Lt=e=>e;function _t(e){return et(e)?[]:{}}const Dt=Symbol.for("@@lockerLiveValue");function $t(e){return e}const Rt=new class{constructor(e){if(this.valueDistortion=Lt,this.valueMutated=Ot,this.valueObserved=Pt,this.valueIsObservable=Nt,this.objectGraph=new WeakMap,!pt(e)){const{valueDistortion:t,valueMutated:n,valueObserved:r,valueIsObservable:o,tagPropertyKey:i}=e;this.valueDistortion=mt(t)?t:Lt,this.valueMutated=mt(n)?n:Ot,this.valueObserved=mt(r)?r:Pt,this.valueIsObservable=mt(o)?o:Nt,this.tagPropertyKey=i}}getProxy(e){const t=yt(e),n=this.valueDistortion(t);if(this.valueIsObservable(n)){const r=this.getReactiveState(t,n);return r.readOnly===e?e:r.reactive}return n}getReadOnlyProxy(e){e=yt(e);const t=this.valueDistortion(e);return this.valueIsObservable(t)?this.getReactiveState(e,t).readOnly:t}unwrapProxy(e){return yt(e)}getReactiveState(e,t){const{objectGraph:n}=this;let r=n.get(t);if(r)return r;const o=this;return r={get reactive(){const n=new St(o,t),r=new Proxy(_t(t),n);return wt(r,e),rt(this,"reactive",{value:r}),r},get readOnly(){const n=new At(o,t),r=new Proxy(_t(t),n);return wt(r,e),rt(this,"readOnly",{value:r}),r}},n.set(t,r),r}}({valueObserved:fe,valueMutated:de,valueDistortion:$t,tagPropertyKey:Dt});function It(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!I(n))throw new TypeError;if(!I(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const t=Ar(this);if(!or(t))return me(t,e),n.call(t.elm)},set(t){const n=Ar(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,pe(n,e)),r.call(n.elm,t)}}}const Ft=function(){if(D(rr))throw new ReferenceError("Illegal constructor");const e=rr,{def:t,elm:n,renderer:r}=e,{bridge:o}=t,i=this;if(p(n,o.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return this[Dt]=void 0,Tr(i,e),Tr(n,e),1===e.renderMode&&Ht(e),this};function Ht(e){const{elm:t,mode:n,renderer:r,shadowMode:o,def:{ctor:i}}=e,s=r.attachShadow(t,{"$$lwc-synthetic-mode":1===o,delegatesFocus:Boolean(i.delegatesFocus),mode:n});e.cmpRoot=s,Tr(s,e)}Ft.prototype={constructor:Ft,dispatchEvent(e){const{elm:t,renderer:{dispatchEvent:n}}=Ar(this);return n(t,e)},addEventListener(e,t,n){const r=Ar(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,fr(r,t),n)},removeEventListener(e,t,n){const r=Ar(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,fr(r,t),n)},hasAttribute(e){const{elm:t,renderer:{getAttribute:n}}=Ar(this);return!D(n(t,e))},hasAttributeNS(e,t){const{elm:n,renderer:{getAttribute:r}}=Ar(this);return!D(r(n,t,e))},removeAttribute(e){const{elm:t,renderer:{removeAttribute:n}}=Ar(this);Se(t,e),n(t,e),ke()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=Ar(this);Se(n,t),r(n,t,e),ke()},getAttribute(e){const{elm:t,renderer:{getAttribute:n}}=Ar(this);return n(t,e)},getAttributeNS(e,t){const{elm:n,renderer:{getAttribute:r}}=Ar(this);return r(n,t,e)},setAttribute(e,t){const n=Ar(this),{elm:r,renderer:{setAttribute:o}}=n;Se(r,e),o(r,e,t),ke()},setAttributeNS(e,t,n){const r=Ar(this),{elm:o,renderer:{setAttribute:i}}=r;Se(o,t),i(o,t,n,e),ke()},getBoundingClientRect(){const e=Ar(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const{elm:e,renderer:{isConnected:t}}=Ar(this);return t(e)},get classList(){const e=Ar(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return Ar(this).cmpRoot},get shadowRoot(){return null},render(){return Ar(this).def.template},toString(){return`[object ${Ar(this).def.name}]`}};const Bt=r(null),Wt=[["children","getChildren"],["childNodes","getChildNodes"],["firstChild","getFirstChild"],["firstElementChild","getFirstElementChild"],["lastChild","getLastChild"],["lastElementChild","getLastElementChild"]];for(const[e,t]of Wt)Bt[e]={get(){const e=Ar(this),{elm:n,renderer:r}=e;return r[t](n)},configurable:!0,enumerable:!0};const Vt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of Vt)Bt[e]={value(t){const n=Ar(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};o(Ft.prototype,Bt);const jt=r(null);for(const e in Ze)jt[e]=It(e,Ze[e]);function Kt(e){return{get(){const t=Ar(this);return me(t,e),t.cmpFields[e]},set(t){const n=Ar(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,pe(n,e))},enumerable:!0,configurable:!0}}function zt(e){return{get(){const t=Ar(this);return me(t,e),t.cmpFields[e]},set(t){const n=Ar(this),r=Rt.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,pe(n,e))},enumerable:!0,configurable:!0}}function Gt(e){return{get(){const t=Ar(this);if(!or(t))return me(t,e),t.cmpProps[e]},set(t){const n=Ar(this);n.cmpProps[e]=t,pe(n,e)},enumerable:!0,configurable:!0}}o(Ft.prototype,jt),i(Ft,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class Ut extends he{constructor(e,t){super((()=>{R(this.debouncing)&&(this.debouncing=!0,ae((()=>{if($(this.debouncing)){const{value:n}=this,{isDirty:r,component:o,idx:i}=e;t.call(o,n),this.debouncing=!1,$(e.isDirty)&&R(r)&&i>0&&Er(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function qt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!I(n))throw new Error;return{get(){return n.call(this)},set(t){const n=Ar(this);if(r)if(re.ENABLE_REACTIVE_SETTER){let o=n.oar[e];_(o)&&(o=n.oar[e]=new Ut(n,r)),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function Xt(e){return{get(){const t=Ar(this);return me(t,e),t.cmpFields[e]},set(t){const n=Ar(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,pe(n,e))},enumerable:!0,configurable:!0}}const Yt=new Map;const Jt={apiMethods:ie,apiFields:ie,apiFieldsConfig:ie,wiredMethods:ie,wiredFields:ie,observedFields:ie};const Qt=new Set;function Zt(){return[]}Qt.add(Zt);const en=r(null),tn=r(null);function nn(e){let t=en[e];return _(t)&&(t=en[e]=function(){const t=Ar(this),{getHook:n}=t;return n(t.component,e)}),t}function rn(e){let t=tn[e];return _(t)&&(t=tn[e]=function(t){const n=Ar(this),{setHook:r}=n;t=Rt.getReadOnlyProxy(t),r(n.component,e,t)}),t}function on(e){return function(){const t=Ar(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,S.call(arguments))}}function sn(e,t){return function(n,r,o){if(r===o)return;const i=e[n];_(i)?_(t)||t.apply(this,arguments):Ce(this,n)&&(this[i]=o)}}function ln(e,t,n){let s;I(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),i(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const l=r(null),{attributeChangedCallback:a}=e.prototype,{observedAttributes:c=[]}=e,u=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[X(n)]=n,u[n]={get:nn(n),set:rn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:on(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:sn(l,a)},i(s,"observedAttributes",{get:()=>[...c,...f(l)]}),o(s.prototype,u),s}const an=ln(Je,a(Ze),[]);function cn(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function un(e){return I(e)&&u.call(e,"__circular__")}s(an),h(an.prototype);const dn=new WeakMap;function fn(e){const{shadowSupportMode:t,renderMode:i}=e,s=function(e){const t=Yt.get(e);return _(t)?Jt:t}(e),{apiFields:l,apiFieldsConfig:a,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=c(e);if(D(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(un(t)){const e=cn(t);t=e===t?Ft:e}return t}(e),C=E!==Ft?pn(E):mn,k=ln(C.bridge,f(l),f(u)),S=n(r(null),C.props,l),M=n(r(null),C.propsConfig,a),T=n(r(null),C.methods,u),A=n(r(null),C.wire,d,h);g=g||C.connectedCallback,w=w||C.disconnectedCallback,y=y||C.renderedCallback,b=b||C.errorCallback,v=v||C.render;let x=C.shadowSupportMode;_(t)||(x=t);let N=C.renderMode;_(i)||(N="light"===i?0:1);const P=function(e){return lr.get(e)}(e)||C.template,O=e.name||C.name;o(m,p);return{ctor:e,name:O,wire:A,props:S,propsConfig:M,methods:T,bridge:k,template:P,renderMode:N,shadowSupportMode:x,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function hn(e){if(!I(e))return!1;if(e.prototype instanceof Ft)return!0;let t=e;do{if(un(t)){const e=cn(t);if(e===t)return!0;t=e}if(t===Ft)return!0}while(!D(t)&&(t=c(t)));return!1}function pn(e){let t=dn.get(e);if(_(t)){if(un(e)){return t=pn(cn(e)),dn.set(e,t),t}if(!hn(e))throw new TypeError(`${e} is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.`);t=fn(e),dn.set(e,t)}return t}const mn={ctor:Ft,name:Ft.name,props:jt,propsConfig:ie,methods:ie,renderMode:1,shadowSupportMode:"reset",wire:ie,bridge:an,template:Zt,render:Ft.prototype.render};function gn(e,t){e.$shadowToken$=t}function wn(e,t){const{cmpTemplate:n,context:r}=t,o=null==n?void 0:n.stylesheetToken;!_(o)&&r.hasScopedStyles&&t.renderer.getClassList(e).add(o)}function yn(e,t){const{elm:n,text:r,owner:{renderer:o}}=t;e.text!==r&&o.setText(n,r)}function bn(e,t,n){const{renderer:r}=e.owner;r.insert(e.elm,t,n)}function vn(e,t){const{renderer:n}=e.owner;n.remove(e.elm,t)}function En(e,t){const{children:n,owner:r}=t,o=Mn(n)?qe:Xe;Ir(r,r.owner,H,(()=>{o(t.elm,e.children,n)}),H)}function Cn(e,t){const n=e.aChildren||e.children;t.aChildren=n;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t){const{cmpSlots:n}=e,o=e.cmpSlots=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(D(n))continue;const{data:r}=n,i=r.attrs&&r.attrs.slot||"",s=o[i]=o[i]||[];_(n.key)||(n.key=`@${i}:${n.key}`),E.call(s,n)}if(R(e.isDirty)){const t=f(n);if(t.length!==f(o).length)return void ur(e);for(let r=0,i=t.length;r<i;r+=1){const i=t[r];if(_(o[i])||n[i].length!==o[i].length)return void ur(e);const s=n[i],l=o[i];for(let t=0,n=o[i].length;t<n;t+=1)if(s[t]!==l[t])return void ur(e)}}}(t,n),e.aChildren=n,e.children=se)}function kn(e){const{elm:t,children:n}=e;for(let e=0;e<n.length;++e){const r=n[e];null!=r&&(r.hook.create(r),r.hook.insert(r,t,null))}}const Sn=new WeakMap;function Mn(e){return Sn.has(e)}function Tn(e,t){e=e.toLowerCase();let n=t.getCustomElement(e);return _(n)?(n=class extends t.HTMLElement{constructor(e){super(),I(e)&&e(this)}},t.defineCustomElement(e,n),n):n}const An=Symbol.iterator,xn={create:e=>{const{owner:t}=e,{renderer:n}=t,r=n.createText(e.text);Ln(r,t),e.elm=r},update:yn,insert:bn,move:bn,remove:vn},Nn={create:e=>{const{owner:t,text:n}=e,{renderer:r}=t,o=r.createComment(n);Ln(o,t),e.elm=o},update:yn,insert:bn,move:bn,remove:vn},Pn={create:e=>{const{sel:t,owner:n,data:{svg:r}}=e,{renderer:o}=n,i=$(r)?"http://www.w3.org/2000/svg":void 0,s=o.createElement(t,i);Ln(s,n),function(e,t){const{owner:n}=t;if(wn(e,n),1===n.shadowMode){const{data:{context:r}}=t,{stylesheetToken:o}=n.context;_(r)||_(r.lwc)||"manual"!==r.lwc.dom||function(e){e.$domManual$=!0}(e),gn(e,o)}}(s,e),e.elm=s,function(e){ye.create(e),Ae.create(e),Oe.create(e),Be.create(e),We.create(e),Re.create(e),He.create(e)}(e)},update:(e,t)=>{!function(e,t){Ae.update(e,t),Oe.update(e,t),Re.update(e,t),He.update(e,t)}(e,t),En(e,t)},insert:(e,t,n)=>{bn(e,t,n),kn(e)},move:(e,t,n)=>{bn(e,t,n)},remove:(e,t)=>{vn(e,t),function(e){const{children:t,elm:n}=e;for(let e=0,r=t.length;e<r;++e){const r=t[e];D(r)||r.hook.remove(r,n)}}(e)}},On={create:e=>{const{sel:t,owner:n}=e,{renderer:r}=n,o=Tn(t,r),i=new o((t=>{!function(e,t){if(!_(xr(e)))return;const{sel:n,mode:r,ctor:o,owner:i}=t;if(wn(e,i),1===i.shadowMode){const{stylesheetToken:t}=i.context;gn(e,t)}Mr(e,pn(o),{mode:r,owner:i,tagName:n,renderer:i.renderer})}(t,e)}));Ln(i,n),e.elm=i;const s=xr(i);if(s)Cn(e,s);else if(e.ctor!==o)throw new TypeError("Incorrect Component Constructor");!function(e){ye.create(e),Ae.create(e),Oe.create(e),Be.create(e),We.create(e),Re.create(e),He.create(e)}(e)},update:(e,t)=>{!function(e,t){Ae.update(e,t),Oe.update(e,t),Re.update(e,t),He.update(e,t)}(e,t);const n=xr(t.elm);n&&Cn(t,n),En(e,t),n&&Er(n)},insert:(e,t,n)=>{bn(e,t,n);const r=xr(e.elm);r&&Lr(r),kn(e),r&&function(e){Nr(e)}(r)},move:(e,t,n)=>{bn(e,t,n)},remove:(e,t)=>{vn(e,t);const n=xr(e.elm);n&&function(e){Sr(e)}(n)}};function Ln(e,t){const{renderer:n,renderMode:r,shadowMode:o}=t;n.isSyntheticShadowDefined&&(1!==o&&0!==r||(e.$shadowResolver$=Fr(t).$shadowResolver$))}function _n(e,t,n){const r=Zn();const{key:o}=t;return{sel:e,data:t,children:n,text:undefined,elm:undefined,key:o,hook:Pn,owner:r}}function Dn(e,t,n,r=se){const o=Zn(),{key:i}=n;const s={sel:e,data:n,children:r,text:undefined,elm:undefined,key:i,hook:On,ctor:t,owner:o,mode:"open"};return function(e){E.call(Zn().velements,e)}(s),s}const $n=new Map;let Rn=0;function In(e){var t;return t=e,Sn.set(t,1),e}let Fn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const Hn=s({s:function(e,t,n,r){_(r)||_(r[e])||0===r[e].length||(n=r[e]);const o=Zn(),{renderMode:i,shadowMode:s}=o;return 0===i?(In(n),n):(1===s&&In(n),_n("slot",t,n))},h:_n,c:Dn,i:function(e,t){const n=[];if(In(n),_(e)||null===e)return n;const r=e[An]();let o=r.next(),i=0,{value:s,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(s,i,0===i,!0===l);m(e)?E.apply(n,e):E.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];In(n);for(let r=0;r<t;r+=1){const t=e[r];m(t)?E.apply(n,t):E.call(n,t)}return n},t:function(e){return{sel:undefined,data:ie,children:undefined,text:e,elm:undefined,key:undefined,hook:xn,owner:Zn()}},d:function(e){return null==e?"":e},b:function(e){const t=Zn();if(D(t))throw new Error;const n=t;return function(t){sr(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{sel:undefined,data:ie,children:undefined,text:e,elm:undefined,key:undefined,hook:Nn,owner:Zn()}},dc:function(e,t,n,r){if(null==t)return null;if(!hn(t))throw new Error(`Invalid LWC Constructor ${W(t)} for custom element <${e}>.`);let o=$n.get(t);return _(o)&&(o=Rn++,$n.set(t,o)),n.key=`dc:${o}:${n.key}`,Dn(e,t,n,r)},ti:function(e){return e>0&&!($(e)||R(e))?0:e},gid:function(e){const t=Zn();if(_(e)||""===e)return e;if(D(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?P.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=Zn();if(_(e)||""===e)return e;if(D(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return Fn(e)}});function Bn(e){return`${e}-host`}function Wn(e,t,n){const r=[];for(let o=0;o<e.length;o++){let i=e[o];if(m(i))E.apply(r,Wn(i,t,n));else{const e=i.$scoped$,o=0===n.renderMode?!e:0===n.shadowMode,s=e||1===n.shadowMode&&1===n.renderMode?t:void 0;E.call(r,i(o,s))}}return r}function Vn(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return _(n)||0===n.length||(o=Wn(n,r,e)),o}function jn(e,t){const{renderer:n,renderMode:r,shadowMode:o}=e;if(1===r&&1===o)for(let e=0;e<t.length;e++)n.insertGlobalStylesheet(t[e]);else{if(n.ssr){const e=b.call(t,"\n");return i=e,Hn.h("style",{key:"style",attrs:{type:"text/css"}},[Hn.t(i)])}{const r=function(e){let t=e;for(;!D(t);){if(1===t.renderMode&&0===t.shadowMode)return t;t=t.owner}return t}(e),o=D(r);for(let e=0;e<t.length;e++)o?n.insertGlobalStylesheet(t[e]):n.insertStylesheet(t[e],r.cmpRoot)}}var i;return null}let Kn=!1,zn=H;const Gn={enableProfiler(){Kn=!0},disableProfiler(){Kn=!1},attachDispatcher(e){zn=e,this.enableProfiler()},detachDispatcher(){const e=zn;return zn=H,this.disableProfiler(),e}};function Un(e,t){Kn&&zn(e,0,t.tagName,t.idx)}function qn(e,t){Kn&&zn(e,1,t.tagName,t.idx)}function Xn(e,t){Kn&&zn(e,0,null==t?void 0:t.tagName,null==t?void 0:t.idx)}function Yn(e,t){Kn&&zn(e,1,null==t?void 0:t.tagName,null==t?void 0:t.idx)}let Jn=!1,Qn=null;function Zn(){return Qn}function er(e){Qn=e}function tr(e,t){const n=Jn,o=Qn;let i=[];return Ir(e,e.owner,(()=>{Qn=e,Un(1,e)}),(()=>{const{component:n,context:o,cmpSlots:s,cmpTemplate:l,tro:a}=e;a.observe((()=>{if(t!==l){if(D(l)||Rr(e),a=t,!Qt.has(a))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${W(t)}.`);e.cmpTemplate=t,o.tplCache=r(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!_(t))for(let e=0;e<t.length;e++)if($(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:r,renderer:o,renderMode:i,shadowMode:s}=e,{stylesheets:l,stylesheetToken:a}=t,c=1===i&&1===s,{hasScopedStyles:u}=r;let d,f,h;const{stylesheetToken:p,hasTokenInClass:m,hasTokenInAttribute:g}=r;m&&o.getClassList(n).remove(Bn(p)),g&&o.removeAttribute(n,Bn(p)),_(l)||0===l.length||(d=a),_(d)||(u&&(o.getClassList(n).add(Bn(d)),f=!0),c&&(o.setAttribute(n,Bn(d),""),h=!0)),r.stylesheetToken=d,r.hasTokenInClass=f,r.hasTokenInAttribute=h}(e,t);const n=Vn(e,t);o.styleVNode=0===n.length?null:jn(e,n)}var a;e.velements=[],Jn=!0,i=t.call(void 0,Hn,n,s,o.tplCache);const{styleVNode:c}=o;D(c)||T.call(i,c)}))}),(()=>{Jn=n,Qn=o,qn(1,e)})),i}function nr(e,t){if(!d(t)&&_(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!D(n);)E.call(t,ge(n)),n=n.owner;return t.reverse().join("\n\t")}(e);i(t,"wcStack",{get:()=>n})}}let rr=null;function or(e){return rr===e}function ir(e,t,n){const{component:r,callHook:o,owner:i}=e;Ir(e,i,H,(()=>{o(r,t,n)}),H)}function sr(e,t,n,r){const{callHook:o,owner:i}=e;Ir(e,i,H,(()=>{o(n,t,[r])}),H)}const lr=new Map;function ar(e){return new he((()=>{const{isDirty:t}=e;R(t)&&(ur(e),function(e){if($(e.renderer.ssr)||$(e.isScheduled))return;e.isScheduled=!0,0===Pr.length&&ae(Or);E.call(Pr,e)}(e))}))}function cr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=Zn();let s,l=!1;return Ir(e,o,(()=>{er(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{er(i)})),l?tr(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function ur(e){e.isDirty=!0}const dr=new WeakMap;function fr(e,t){if(!I(t))throw new TypeError;let n=dr.get(t);return _(n)&&(n=function(n){sr(e,t,void 0,n)},dr.set(t,n)),n}const hr=r(null),pr=["rendered","connected","disconnected"];function mr(e,t){const{component:n,def:r,context:o}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},r,o)}let gr=0;const wr=new WeakMap;function yr(e,t,n=[]){return t.apply(e,n)}function br(e,t,n){e[t]=n}function vr(e,t){return e[t]}function Er(e){Nr(e)}function Cr(e){const t=Ar(e);Xn(7,t),1===t.state&&kr(e),Lr(t),Nr(t),Yn(7,t)}function kr(e){Sr(Ar(e))}function Sr(e){const{state:t}=e;if(2!==t){const{oar:t,tro:n}=e;n.reset();for(const e in t)t[e].reset();!function(e){R(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=hr;t&&mr(e,t);_r(e)&&function(e){const{wiredDisconnecting:t}=e.context;Ir(e,e,H,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),H)}(e);const{disconnectedCallback:n}=e.def;_(n)||(Un(5,e),ir(e,n),qn(5,e))}(e),Dr(e),function(e){const{aChildren:t}=e;$r(t)}(e)}}function Mr(e,t,n){const{mode:o,owner:i,renderer:s,tagName:l}=n,a={elm:e,def:t,idx:gr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:o,owner:i,renderer:s,children:se,aChildren:se,velements:se,cmpProps:r(null),cmpFields:r(null),cmpSlots:r(null),oar:r(null),cmpTemplate:null,renderMode:t.renderMode,shadowMode:null,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:ie,wiredConnecting:se,wiredDisconnecting:se},tro:null,component:null,cmpRoot:null,callHook:yr,setHook:br,getHook:vr};return a.shadowMode=function(e){const{def:t,renderer:n}=e,{isNativeShadowDefined:r,isSyntheticShadowDefined:o}=n;let i;if(o)if(0===t.renderMode)i=0;else if(r)if("any"===t.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!D(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=D(t)||0!==t.shadowMode?1:0}else i=1;else i=0;return i}(a),a.tro=ar(a),function(e,t){const n=rr;let r;Un(0,e),rr=e;try{const o=new t;if(rr.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(qn(0,e),rr=n,!_(r))throw nr(e,r),r}}(a,t.ctor),_r(a)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],s=Hr.get(i);if(!_(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=Wr(e,t,s),a=s.dynamic.length>0;E.call(r,(()=>{n.connect(),re.ENABLE_WIRE_SYNC_EMIT||!a?i():Promise.resolve().then(i)})),E.call(o,(()=>{n.disconnect(),l()}))}}}(a),a}function Tr(e,t){wr.set(e,t)}function Ar(e){return wr.get(e)}function xr(e){return wr.get(e)}function Nr(e){if($(e.isDirty)){!function(e,t){const{children:n}=e;if(e.children=t,(t.length>0||n.length>0)&&n!==t){const r=Mn(t)?qe:Xe;Ir(e,e,(()=>{Un(2,e)}),(()=>{const o=Fr(e);r(o,n,t)}),(()=>{qn(2,e)}))}1===e.state&&function(e){const{renderer:t,def:{renderedCallback:n}}=e;if($(t.ssr))return;const{rendered:r}=hr;r&&mr(e,r);_(n)||(Un(4,e),ir(e,n),qn(4,e))}(e)}(e,cr(e))}}let Pr=[];function Or(){Xn(8);const e=Pr.sort(((e,t)=>e.idx-t.idx));Pr=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{Nr(r)}catch(r){throw t+1<n&&(0===Pr.length&&ae(Or),T.apply(Pr,S.call(e,t+1))),Yn(8),r}}Yn(8)}function Lr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=hr;n&&mr(e,n),_r(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;_(r)||(Un(3,e),ir(e,r),qn(3,e))}function _r(e){return a(e.def.wire).length>0}function Dr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!_(n)){const e=xr(n);_(e)||Sr(e)}}}function $r(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];D(n)||!m(n.children)||_(n.elm)||(_(n.ctor)?$r(n.children):Sr(Ar(n.elm)))}}function Rr(e){const{children:t,renderer:n}=e,r=Fr(e);for(let e=0,o=t.length;e<o;e++){const o=t[e];D(o)||_(o.elm)||n.remove(o.elm,r)}e.children=se,Dr(e),e.velements=se}function Ir(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!_(i)){nr(e,i);const n=D(t)?void 0:function(e){let t=e;for(;!D(t);){if(!_(t.def.errorCallback))return t;t=t.owner}}(t);if(_(n))throw i;Rr(e),Un(6,e);ir(n,n.def.errorCallback,[i,i.wcStack]),qn(6,e)}}}function Fr(e){return 1===e.renderMode?e.cmpRoot:e.elm}const Hr=new Map;class Br extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),o(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function Wr(e,t,n){const{method:r,adapter:o,configCallback:s,dynamic:l}=n,a=_(r)?function(e,t){const{cmpFields:n}=e;return r=>{r!==e.cmpFields[t]&&(n[t]=r,pe(e,t))}}(e,t):function(e,t){return n=>{Ir(e,e.owner,H,(()=>{t.call(e.component,n)}),H)}}(e,r);let c,u;i(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),i(a,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),Ir(e,e,H,(()=>{u=new o(a)}),H);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let r=!1;const o=new he((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),i()})))})),i=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:i,ro:o}}(e.component,s,(t=>{Ir(e,e,H,(()=>{u.update(t,c)}),H)}));return _(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=jr(r);if(_(o))return;const{elm:i,renderer:s,context:{wiredConnecting:l,wiredDisconnecting:a}}=e;E.call(l,(()=>{const e=new Br(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){E.call(a,e)}});s.dispatchEvent(i,e)}))}(e,n,(t=>{c!==t&&(c=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const Vr=new Map;function jr(e){return Vr.get(e)}function Kr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Hr.set(e,o)}function zr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Hr.set(e,o)}let Gr=!1;const Ur=r(null),qr=document.head||document.body||document,Xr=I(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),Yr=r(null),Jr=r(null),Qr=new WeakMap;let Zr,eo,to;if(function(){if("undefined"==typeof customElements)return!1;try{const e=HTMLElement;class t extends e{}return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),t),new t,!0}catch(e){return!1}}())Zr=customElements.get.bind(customElements),eo=customElements.define.bind(customElements),to=HTMLElement;else{const e=r(null),t=new WeakMap;eo=function(n,r){if(n!==L.call(n)||e[n])throw new TypeError("Invalid Registration");e[n]=r,t.set(r,n)},Zr=function(t){return e[t]},to=function e(){if(!(this instanceof e))throw new TypeError("Invalid Invocation");const{constructor:n}=this,r=t.get(n);if(!r)throw new TypeError("Invalid Construction");const o=document.createElement(r);return p(o,n.prototype),o},to.prototype=HTMLElement.prototype}const no={ssr:!1,isNativeShadowDefined:G.$isNativeShadowRootDefined$,isSyntheticShadowDefined:u.call(Element.prototype,"$shadowToken$"),createElement:(e,t)=>_(t)?document.createElement(e):document.createElementNS(t,e),createText:e=>document.createTextNode(e),createComment:e=>document.createComment(e),insert(e,t,n){t.insertBefore(e,n)},remove(e,t){t.removeChild(e)},nextSibling:e=>e.nextSibling,attachShadow:(e,t)=>e.attachShadow(t),setText(e,t){e.nodeValue=t},getProperty:(e,t)=>e[t],setProperty(e,t,n){e[t]=n},getAttribute:(e,t,n)=>_(n)?e.getAttribute(t):e.getAttributeNS(n,t),setAttribute:(e,t,n,r)=>_(r)?e.setAttribute(t,n):e.setAttributeNS(r,t,n),removeAttribute(e,t,n){_(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)},addEventListener(e,t,n,r){e.addEventListener(t,n,r)},removeEventListener(e,t,n,r){e.removeEventListener(t,n,r)},dispatchEvent:(e,t)=>e.dispatchEvent(t),getClassList:e=>e.classList,setCSSStyleProperty(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},getBoundingClientRect:e=>e.getBoundingClientRect(),querySelector:(e,t)=>e.querySelector(t),querySelectorAll:(e,t)=>e.querySelectorAll(t),getElementsByTagName:(e,t)=>e.getElementsByTagName(t),getElementsByClassName:(e,t)=>e.getElementsByClassName(t),getChildren:e=>e.children,getChildNodes:e=>e.childNodes,getFirstChild:e=>e.firstChild,getFirstElementChild:e=>e.firstElementChild,getLastChild:e=>e.lastChild,getLastElementChild:e=>e.lastElementChild,isConnected:e=>e.isConnected,insertGlobalStylesheet(e){if(!_(Ur[e]))return;Ur[e]=!0;const t=document.createElement("style");t.type="text/css",t.textContent=e,qr.appendChild(t)},insertStylesheet(e,t){Xr?function(e,t){let n=Jr[e];_(n)&&(n=new CSSStyleSheet,n.replaceSync(e),Jr[e]=n),t.adoptedStyleSheets.includes(n)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,n])}(e,t):function(e,t){let n=Qr.get(t);if(_(n)&&(n=r(null),Qr.set(t,n)),n[e])return;n[e]=!0;let o=Yr[e];_(o)?(o=document.createElement("style"),o.type="text/css",o.textContent=e,Yr[e]=o):o=o.cloneNode(!0),t.appendChild(o)}(e,t)},assertInstanceOfHTMLElement(e,n){t.invariant(e instanceof HTMLElement,n)},defineCustomElement:eo,getCustomElement:Zr,HTMLElement:to};const ro=Node,oo=new WeakMap,io=new WeakMap;function so(e,t){const n=t.get(e);return _(n)||n(e),e}const{appendChild:lo,insertBefore:ao,removeChild:co,replaceChild:uo}=ro.prototype;n(ro.prototype,{appendChild(e){return so(lo.call(this,e),oo)},insertBefore(e,t){return so(ao.call(this,e,t),oo)},removeChild(e){return so(co.call(this,e),io)},replaceChild(e,t){const n=uo.call(this,e,t);return so(n,io),so(e,oo),n}});const fo=Node;const ho=new Map;function po(e){if(e===Ft)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=ho.get(e);return _(t)&&(t=function(e){const t=pn(e);return class extends t.bridge{constructor(){super(),Mr(this,t,{mode:"open",owner:null,tagName:this.tagName,renderer:no})}connectedCallback(){Cr(this)}disconnectedCallback(){kr(this)}}}(e),ho.set(e,t)),t}return i(Ft,"CustomElementConstructor",{get(){return po(this)}}),s(Ft),h(Ft.prototype),e.LightningElement=Ft,e.__unstable__ProfilerControl=Gn,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=jr(e);if(!_(t))throw new Error("Adapter already has a context provider.");t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),function(e,t){Vr.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:i}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{_(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if("object"!=typeof t||D(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${W(t)}".`);const n=t.is;if(!I(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const r=Tn(e,no);let o=!1;const i=new r((r=>{Mr(r,pn(n),{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null,renderer:no}),oo.set(r,Cr),io.set(r,kr),o=!0}));return o||console.error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`),i},e.getComponentConstructor=function(e){let t=null;if(e instanceof HTMLElement){const n=xr(e);_(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=pn(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,l={};for(const e in o)l[e]={config:i[e]||0,type:"any",attr:X(e)};const a={};for(const e in s)a[e]=s[e].value;return{ctor:n,name:r,props:l,methods:a}},e.isComponentConstructor=hn,e.isNodeFromTemplate=function(e){return!R(e instanceof fo)&&(!(e instanceof ShadowRoot)&&(no.isSyntheticShadowDefined?!_(e.$shadowResolver$):e.getRootNode()instanceof ShadowRoot))},e.readonly=function(e){return Rt.getReadOnlyProxy(e)},e.register=function(e){for(let t=0;t<pr.length;++t){const n=pr[t];if(n in e){let t=hr[n];_(t)&&(hr[n]=t=[]),E.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return lr.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:o,publicMethods:s,wire:a,track:c,fields:u}=t,d=r(null),f=r(null),h=r(null),p=r(null),m=r(null),g=r(null);let w;if(!_(o))for(const e in o){const t=o[e];if(g[e]=t.config,w=l(n,e),t.config>0){if(_(w))throw new Error;w=qt(e,w)}else w=_(w)||_(w.get)?Gt(e):qt(e,w);f[e]=w,i(n,e,w)}if(_(s)||A.call(s,(e=>{if(w=l(n,e),_(w))throw new Error;d[e]=w})),!_(a))for(const e in a){const{adapter:t,method:r,config:o,dynamic:s=[]}=a[e];if(w=l(n,e),1===r){if(_(w))throw new Error;h[e]=w,Kr(w,t,o,s)}else w=Kt(e),p[e]=w,zr(w,t,o,s),i(n,e,w)}if(!_(c))for(const e in c)w=l(n,e),w=zt(e),i(n,e,w);if(!_(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(n,t);const r=!_(o)&&t in o,i=!_(c)&&t in c;r||i||(m[t]=Xt(t))}return function(e,t){Yt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return Qt.add(e),e},e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(_(ne[e])){const n=f(ne).map((e=>`"${e}"`)).join(", ");console.warn(`Failed to set the value "${t}" for the runtime feature flag "${e}" because it is undefined. Available flags: ${n}.`)}else{const n=re[e];if(!_(n))return void console.error(`Failed to set the value "${t}" for the runtime feature flag "${e}". "${e}" has already been set with the value "${n}".`);i(re,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){var n;t.isFalse(Gr,"Hooks are already overridden, only one definition is allowed."),Gr=!0,n=e.sanitizeHtmlContent,Fn=n},e.swapComponent=function(e,t){if(!re.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapStyle=function(e,t){if(!re.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapTemplate=function(e,t){if(!re.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.track=function(e){if(1===arguments.length)return Rt.getProxy(e);throw new Error},e.unwrap=function(e){const t=Rt.unwrapProxy(e);return t!==e?t:e},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0}),e}({});