lwc 2.30.2 → 2.30.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +128 -41
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +128 -41
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +125 -38
  5. package/dist/engine-dom/iife/es5/engine-dom.js +156 -65
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +153 -62
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +128 -41
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +125 -38
  11. package/dist/engine-dom/umd/es5/engine-dom.js +156 -65
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +153 -62
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +120 -40
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
  16. package/dist/engine-server/esm/es2017/engine-server.js +120 -40
  17. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +7 -4
  18. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +7 -4
  19. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +2 -2
  20. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +7 -4
  21. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +7 -4
  22. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +2 -2
  23. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +7 -4
  24. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +7 -4
  25. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +2 -2
  26. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +7 -4
  27. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +7 -4
  28. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +2 -2
  29. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +7 -4
  30. package/dist/wire-service/esm/es2017/wire-service.js +2 -2
  31. package/dist/wire-service/iife/es2017/wire-service.js +2 -2
  32. package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
  33. package/dist/wire-service/iife/es5/wire-service.js +2 -2
  34. package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
  35. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  36. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  37. package/dist/wire-service/umd/es5/wire-service.js +2 -2
  38. package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
  39. package/package.json +7 -7
@@ -243,32 +243,57 @@
243
243
  const XML_NAMESPACE = 'http://www.w3.org/XML/1998/namespace';
244
244
  const SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
245
245
  const XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';
246
- /**
247
- * Map composed of properties to attributes not following the HTML property to attribute mapping
248
- * convention.
246
+
247
+ /*
248
+ * Copyright (c) 2020, salesforce.com, inc.
249
+ * All rights reserved.
250
+ * SPDX-License-Identifier: MIT
251
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
249
252
  */
250
- const NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING = new Map([
251
- ['accessKey', 'accesskey'],
252
- ['readOnly', 'readonly'],
253
- ['tabIndex', 'tabindex'],
254
- ['bgColor', 'bgcolor'],
255
- ['colSpan', 'colspan'],
256
- ['rowSpan', 'rowspan'],
257
- ['contentEditable', 'contenteditable'],
258
- ['crossOrigin', 'crossorigin'],
259
- ['dateTime', 'datetime'],
260
- ['formAction', 'formaction'],
261
- ['isMap', 'ismap'],
262
- ['maxLength', 'maxlength'],
263
- ['minLength', 'minlength'],
264
- ['noValidate', 'novalidate'],
265
- ['useMap', 'usemap'],
266
- ['htmlFor', 'for'],
267
- ]);
253
+ const CAMEL_REGEX = /-([a-z])/g;
254
+ // Convoluted map generation so that @lwc/shared remains fully tree-shakable (verify-treeshakable)
255
+ const { NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING, NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING } =
256
+ /*#__PURE__*/ (() => {
257
+ /**
258
+ * Map composed of properties to attributes not following the HTML property to attribute mapping
259
+ * convention.
260
+ */
261
+ const NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING = new Map([
262
+ ['accessKey', 'accesskey'],
263
+ ['readOnly', 'readonly'],
264
+ ['tabIndex', 'tabindex'],
265
+ ['bgColor', 'bgcolor'],
266
+ ['colSpan', 'colspan'],
267
+ ['rowSpan', 'rowspan'],
268
+ ['contentEditable', 'contenteditable'],
269
+ ['crossOrigin', 'crossorigin'],
270
+ ['dateTime', 'datetime'],
271
+ ['formAction', 'formaction'],
272
+ ['isMap', 'ismap'],
273
+ ['maxLength', 'maxlength'],
274
+ ['minLength', 'minlength'],
275
+ ['noValidate', 'novalidate'],
276
+ ['useMap', 'usemap'],
277
+ ['htmlFor', 'for'],
278
+ ]);
279
+ /**
280
+ * Inverted map with attribute name key and property name value.
281
+ */
282
+ const NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING = new Map();
283
+ NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING.forEach((value, key) => NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING.set(value, key));
284
+ return {
285
+ NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING,
286
+ NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING,
287
+ };
288
+ })();
268
289
  /**
269
290
  * Map associating previously transformed HTML property into HTML attribute.
270
291
  */
271
292
  const CACHED_PROPERTY_ATTRIBUTE_MAPPING = new Map();
293
+ /**
294
+ * Map associating previously transformed HTML attribute into HTML property.
295
+ */
296
+ const CACHED_ATTRIBUTE_PROPERTY_MAPPING = new Map();
272
297
  function htmlPropertyToAttribute(propName) {
273
298
  const ariaAttributeName = AriaPropNameToAttrNameMap[propName];
274
299
  if (!isUndefined$1(ariaAttributeName)) {
@@ -297,6 +322,23 @@
297
322
  CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);
298
323
  return attributeName;
299
324
  }
325
+ function htmlAttributeToProperty(attrName) {
326
+ const ariaPropertyName = AriaAttrNameToPropNameMap[attrName];
327
+ if (!isUndefined$1(ariaPropertyName)) {
328
+ return ariaPropertyName;
329
+ }
330
+ const specialPropertyName = NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING.get(attrName);
331
+ if (!isUndefined$1(specialPropertyName)) {
332
+ return specialPropertyName;
333
+ }
334
+ const cachedPropertyName = CACHED_ATTRIBUTE_PROPERTY_MAPPING.get(attrName);
335
+ if (!isUndefined$1(cachedPropertyName)) {
336
+ return cachedPropertyName;
337
+ }
338
+ const propertyName = StringReplace.call(attrName, CAMEL_REGEX, (g) => g[1].toUpperCase());
339
+ CACHED_ATTRIBUTE_PROPERTY_MAPPING.set(attrName, propertyName);
340
+ return propertyName;
341
+ }
300
342
 
301
343
  /*
302
344
  * Copyright (c) 2018, salesforce.com, inc.
@@ -305,9 +347,9 @@
305
347
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
306
348
  */
307
349
  // Increment whenever the LWC template compiler changes
308
- const LWC_VERSION = "2.30.2";
350
+ const LWC_VERSION = "2.30.3";
309
351
  const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
310
- /** version: 2.30.2 */
352
+ /** version: 2.30.3 */
311
353
 
312
354
  /**
313
355
  * Copyright (C) 2018 salesforce.com, inc.
@@ -389,7 +431,7 @@
389
431
  patch$1(propName);
390
432
  }
391
433
  }
392
- /** version: 2.30.2 */
434
+ /** version: 2.30.3 */
393
435
 
394
436
  /**
395
437
  * Copyright (C) 2018 salesforce.com, inc.
@@ -469,7 +511,7 @@
469
511
  setFeatureFlag(name, value);
470
512
  }
471
513
  }
472
- /** version: 2.30.2 */
514
+ /** version: 2.30.3 */
473
515
 
474
516
  /*
475
517
  * Copyright (c) 2018, salesforce.com, inc.
@@ -3621,7 +3663,7 @@
3621
3663
  * SPDX-License-Identifier: MIT
3622
3664
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
3623
3665
  */
3624
- const ColonCharCode = 58;
3666
+ const ColonCharCode$1 = 58;
3625
3667
  function patchAttributes(oldVnode, vnode, renderer) {
3626
3668
  const { attrs } = vnode.data;
3627
3669
  if (isUndefined$1(attrs)) {
@@ -3638,11 +3680,11 @@
3638
3680
  const old = oldAttrs[key];
3639
3681
  if (old !== cur) {
3640
3682
  unlockAttribute(elm, key);
3641
- if (StringCharCodeAt.call(key, 3) === ColonCharCode) {
3683
+ if (StringCharCodeAt.call(key, 3) === ColonCharCode$1) {
3642
3684
  // Assume xml namespace
3643
3685
  setAttribute(elm, key, cur, XML_NAMESPACE);
3644
3686
  }
3645
- else if (StringCharCodeAt.call(key, 5) === ColonCharCode) {
3687
+ else if (StringCharCodeAt.call(key, 5) === ColonCharCode$1) {
3646
3688
  // Assume xlink namespace
3647
3689
  setAttribute(elm, key, cur, XLINK_NAMESPACE);
3648
3690
  }
@@ -3657,6 +3699,46 @@
3657
3699
  }
3658
3700
  }
3659
3701
 
3702
+ /*
3703
+ * Copyright (c) 2018, salesforce.com, inc.
3704
+ * All rights reserved.
3705
+ * SPDX-License-Identifier: MIT
3706
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
3707
+ */
3708
+ const ColonCharCode = 58;
3709
+ function patchAttrUnlessProp(oldVnode, vnode, renderer) {
3710
+ const { data: { attrs }, elm, } = vnode;
3711
+ if (isUndefined$1(attrs)) {
3712
+ return;
3713
+ }
3714
+ const { removeAttribute, setAttribute, setProperty } = renderer;
3715
+ const oldAttrs = isNull(oldVnode) ? EmptyObject : oldVnode.data.attrs;
3716
+ for (const name in attrs) {
3717
+ const cur = attrs[name];
3718
+ const old = oldAttrs[name];
3719
+ if (old !== cur) {
3720
+ const propName = htmlAttributeToProperty(name);
3721
+ if (propName in elm) {
3722
+ setProperty(elm, name, cur);
3723
+ }
3724
+ else if (StringCharCodeAt.call(name, 3) === ColonCharCode) {
3725
+ // Assume xml namespace
3726
+ setAttribute(elm, name, cur, XML_NAMESPACE);
3727
+ }
3728
+ else if (StringCharCodeAt.call(name, 5) === ColonCharCode) {
3729
+ // Assume xlink namespace
3730
+ setAttribute(elm, name, cur, XLINK_NAMESPACE);
3731
+ }
3732
+ else if (isNull(cur) || isUndefined$1(cur)) {
3733
+ removeAttribute(elm, name);
3734
+ }
3735
+ else {
3736
+ setAttribute(elm, name, cur);
3737
+ }
3738
+ }
3739
+ }
3740
+ }
3741
+
3660
3742
  /*
3661
3743
  * Copyright (c) 2018, salesforce.com, inc.
3662
3744
  * All rights reserved.
@@ -4253,7 +4335,11 @@
4253
4335
  // value is set before type=radio.
4254
4336
  patchClassAttribute(oldVnode, vnode, renderer);
4255
4337
  patchStyleAttribute(oldVnode, vnode, renderer);
4256
- patchAttributes(oldVnode, vnode, renderer);
4338
+ if (vnode.data.external) {
4339
+ patchAttrUnlessProp(oldVnode, vnode, renderer);
4340
+ } else {
4341
+ patchAttributes(oldVnode, vnode, renderer);
4342
+ }
4257
4343
  patchProps(oldVnode, vnode, renderer);
4258
4344
  }
4259
4345
  function applyStyleScoping(elm, owner, renderer) {
@@ -4686,8 +4772,11 @@
4686
4772
  !isUndefined$1(slotset.slotAssignments) &&
4687
4773
  !isUndefined$1(slotset.slotAssignments[slotName]) &&
4688
4774
  slotset.slotAssignments[slotName].length !== 0) {
4689
- children = slotset.slotAssignments[slotName].reduce((accumulator, vnode) => {
4690
- if (vnode) {
4775
+ const newChildren = [];
4776
+ const slotAssignments = slotset.slotAssignments[slotName];
4777
+ for (let i = 0; i < slotAssignments.length; i++) {
4778
+ const vnode = slotAssignments[i];
4779
+ if (!isNull(vnode)) {
4691
4780
  const assignedNodeIsScopedSlot = isVScopedSlotFragment(vnode);
4692
4781
  // The only sniff test for a scoped <slot> element is the presence of `slotData`
4693
4782
  const isScopedSlotElement = !isUndefined$1(data.slotData);
@@ -4697,32 +4786,30 @@
4697
4786
  logError(`Mismatched slot types for ${slotName === '' ? '(default)' : slotName} slot. Both parent and child component must use standard type or scoped type for a given slot.`, slotset.owner);
4698
4787
  }
4699
4788
  // Ignore slot content from parent
4700
- return accumulator;
4789
+ continue;
4701
4790
  }
4702
4791
  // If the passed slot content is factory, evaluate it and add the produced vnodes
4703
4792
  if (assignedNodeIsScopedSlot) {
4704
4793
  const vmBeingRenderedInception = getVMBeingRendered();
4705
- let scopedSlotChildren = [];
4706
4794
  // Evaluate in the scope of the slot content's owner
4707
4795
  // if a slotset is provided, there will always be an owner. The only case where owner is
4708
4796
  // undefined is for root components, but root components cannot accept slotted content
4709
4797
  setVMBeingRendered(slotset.owner);
4710
4798
  try {
4711
- scopedSlotChildren = vnode.factory(data.slotData);
4799
+ ArrayPush$1.apply(newChildren, vnode.factory(data.slotData));
4712
4800
  }
4713
4801
  finally {
4714
4802
  setVMBeingRendered(vmBeingRenderedInception);
4715
4803
  }
4716
- return ArrayConcat$1.call(accumulator, scopedSlotChildren);
4717
4804
  }
4718
4805
  else {
4719
4806
  // If the slot content is standard type, the content is static, no additional
4720
4807
  // processing needed on the vnode
4721
- return ArrayConcat$1.call(accumulator, vnode);
4808
+ ArrayPush$1.call(newChildren, vnode);
4722
4809
  }
4723
4810
  }
4724
- return accumulator;
4725
- }, []);
4811
+ }
4812
+ children = newChildren;
4726
4813
  }
4727
4814
  const vmBeingRendered = getVMBeingRendered();
4728
4815
  const { renderMode, shadowMode } = vmBeingRendered;
@@ -6943,7 +7030,7 @@
6943
7030
  }
6944
7031
  return ctor;
6945
7032
  }
6946
- /* version: 2.30.2 */
7033
+ /* version: 2.30.3 */
6947
7034
 
6948
7035
  /*
6949
7036
  * Copyright (c) 2018, salesforce.com, inc.
@@ -7916,7 +8003,7 @@
7916
8003
  function isNull(obj) {
7917
8004
  return obj === null;
7918
8005
  }
7919
- /** version: 2.30.2 */
8006
+ /** version: 2.30.3 */
7920
8007
 
7921
8008
  /*
7922
8009
  * Copyright (c) 2018, salesforce.com, inc.
@@ -8477,7 +8564,7 @@
8477
8564
  });
8478
8565
  freeze(LightningElement);
8479
8566
  seal(LightningElement.prototype);
8480
- /* version: 2.30.2 */
8567
+ /* version: 2.30.3 */
8481
8568
 
8482
8569
  exports.LightningElement = LightningElement;
8483
8570
  exports.__unstable__ProfilerControl = profilerControl;
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).LWC={})}(this,(function(e){"use strict";var t=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:n,create:r,defineProperties:o,defineProperty:i,freeze:s,getOwnPropertyDescriptor:l,getOwnPropertyNames:c,getPrototypeOf:a,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{concat:g,copyWithin:b,fill:w,filter:y,find:v,indexOf:C,join:E,map:k,pop:S,push:M,reduce:T,reverse:A,shift:N,slice:L,some:_,sort:x,splice:O,unshift:P,forEach:D}=Array.prototype,{fromCharCode:R}=String,{charCodeAt:$,replace:I,slice:F,toLowerCase:H}=String.prototype;function B(e){return void 0===e}function W(e){return null===e}function V(e){return!0===e}function j(e){return!1===e}function U(e){return"function"==typeof e}function G(e){return"object"==typeof e}function z(e){return"string"==typeof e}function K(){}const Y={}.toString;function q(e){return e&&e.toString?m(e)?E.call(k.call(e,q),","):e.toString():"object"==typeof e?Y.call(e):e+""}function X(e,t){do{const n=l(e,t);if(!B(n))return n;e=a(e)}while(null!==e)}const J=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],{AriaAttrNameToPropNameMap:Q,AriaPropNameToAttrNameMap:Z}=(()=>{const e=r(null),t=r(null);return D.call(J,(n=>{const r=H.call(I.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),ee=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),te="http://www.w3.org/2000/svg",ne=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"]]),re=new Map;function oe(e){const t=Z[e];if(!B(t))return t;const n=ne.get(e);if(!B(n))return n;const r=re.get(e);if(!B(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=$.call(e,t);o+=n>=65&&n<=90?"-"+R(n+32):R(n)}return re.set(e,o),o}function ie(e){return void 0===l(Element.prototype,e)}const se=new WeakMap;function le(e){let t=se.get(e);return void 0===t&&(t={},se.set(e,t)),t}function ce(e,t){return{get(){const n=le(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;le(this)[e]=r,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function ae(e){const t=ce(e,Z[e]);Object.defineProperty(Element.prototype,e,t)}const ue=f(Z);for(let e=0,t=ue.length;e<t;e+=1){const t=ue[e];ie(t)&&ae(t)}const de={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null,ENABLE_LIGHT_GET_ROOT_NODE_PATCH:null,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null,ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY:null};ee.lwcRuntimeFlags||Object.defineProperty(ee,"lwcRuntimeFlags",{value:r(null)});const fe=ee.lwcRuntimeFlags;let he=[];const pe=h(r(null)),me=h([]);function ge(){const e=he;he=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function be(e){0===he.length&&Promise.resolve().then(ge),M.call(he,e)}const we=/;(?![^(]*\))/g,ye=/:(.+)/;function ve(e,t){const n={};for(const r of Object.keys(e))r!==t&&(n[r]=e[r]);return n}function Ce(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}const Ee=new WeakMap;let ke=null;function Se(e,t){const n=Ee.get(e);if(!B(n)){const e=n[t];if(!B(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function Me(e,t){if(null===ke)return;const n=ke,o=function(e){let t=Ee.get(e);if(B(t)){const n=r(null);t=n,Ee.set(e,n)}return t}(e);let i=o[t];if(B(i))i=[],o[t]=i;else if(i[0]===n)return;-1===C.call(i,n)&&n.link(i)}class Te{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=ke;let n;ke=this;try{e()}catch(e){n=Object(e)}finally{if(ke=t,void 0!==n)throw n}}reset(){const{listeners:e}=this,t=e.length;if(t>0){for(let n=0;n<t;n+=1){const t=e[n],r=C.call(e[n],this);O.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){M.call(e,this),M.call(this.listeners,e)}}function Ae(e,t){Se(e.component,t)}function Ne(e,t){Me(e.component,t)}function Le(e){return new Te(e)}function _e(e){return`<${H.call(e.tagName)}>`}function xe(e,t){if(!d(t)&&B(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!W(n);)M.call(t,_e(n)),n=n.owner;return t.reverse().join("\n\t")}(e);i(t,"wcStack",{get:()=>n})}}function Oe(e,t,n){let r=`[LWC ${e}]: ${t}`;B(n)||(r=`${r}\n${function(e){const t=[];let n="";for(;!W(e.owner);)M.call(t,n+_e(e)),e=e.owner,n+="\t";return E.call(t,"\n")}(n)}`);try{throw new Error(r)}catch(t){console[e](t)}}function Pe(e,t){Oe("error",e,t)}function De(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function Re(e){return U(e)&&u.call(e,"__circular__")}const $e="undefined"!=typeof HTMLElement?HTMLElement:function(){},Ie=$e.prototype;function Fe(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:Fe("offsetHeight")},offsetLeft:{readOnly:!0,error:Fe("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Fe("offsetTop")},offsetWidth:{readOnly:!0,error:Fe("offsetWidth")},role:{attribute:"role"}});let He,Be=null;function We(e,t){return e!==Be||t!==He}function Ve(e,t){Be=null,He=void 0}function je(e,t){Be=e,He=t}const Ue=r(null);function Ge(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n,Ae(e,t))}D.call(f(Z),(e=>{const t=X(Ie,e);B(t)||(Ue[e]=t)})),D.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=X(Ie,e);B(t)||(Ue[e]=t)}));const{isArray:ze}=Array,{prototype:Ke,getPrototypeOf:Ye,create:qe,defineProperty:Xe,isExtensible:Je,getOwnPropertyDescriptor:Qe,getOwnPropertyNames:Ze,getOwnPropertySymbols:et,preventExtensions:tt,hasOwnProperty:nt}=Object,{push:rt,concat:ot}=Array.prototype;function it(e){return void 0===e}function st(e){return"function"==typeof e}const lt=new WeakMap;function ct(e,t){lt.set(e,t)}const at=e=>lt.get(e)||e;class ut{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(nt.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;it(n)||(e.get=this.wrapGetter(n)),it(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=Qe(n,t);if(!it(r)){const n=this.wrapDescriptor(r);Xe(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;ot.call(Ze(t),et(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;it(n)||nt.call(e,n)||Xe(e,n,qe(null)),tt(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=it(n)||nt.call(t,n)?[]:[n];return rt.apply(r,Ze(t)),rt.apply(r,et(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!Je(e)&&(!!Je(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return Ye(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=Qe(n,t);if(it(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},Xe(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const dt=new WeakMap,ft=new WeakMap,ht=new WeakMap,pt=new WeakMap;class mt extends ut{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=dt.get(e);if(!it(t))return t;const n=this,r=function(){return n.wrapValue(e.call(at(this)))};return dt.set(e,r),ht.set(r,e),r}wrapSetter(e){const t=ft.get(e);if(!it(t))return t;const n=function(t){e.call(at(this),at(t))};return ft.set(e,n),pt.set(n,e),n}unwrapDescriptor(e){if(nt.call(e,"value"))e.value=at(e.value);else{const{set:t,get:n}=e;it(n)||(e.get=this.unwrapGetter(n)),it(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=ht.get(e);if(!it(t))return t;const n=this,r=function(){return at(e.call(n.wrapValue(this)))};return dt.set(r,e),ht.set(e,r),r}unwrapSetter(e){const t=pt.get(e);if(!it(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return ft.set(r,e),pt.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&&ze(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(Je(e)){const{originalTarget:t}=this;if(tt(t),Je(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!nt.call(r,t)||(Xe(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const gt=new WeakMap,bt=new WeakMap;class wt extends ut{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=gt.get(e);if(!it(t))return t;const n=this,r=function(){return n.wrapValue(e.call(at(this)))};return gt.set(e,r),r}wrapSetter(e){const t=bt.get(e);if(!it(t))return t;const n=function(e){};return bt.set(e,n),n}set(e,t,n){return!1}deleteProperty(e,t){return!1}setPrototypeOf(e,t){}preventExtensions(e){return!1}defineProperty(e,t,n){return!1}}function yt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(ze(e))return!0;const t=Ye(e);return t===Ke||null===t||null===Ye(t)}const vt=(e,t)=>{},Ct=(e,t)=>{};function Et(e){return ze(e)?[]:{}}const kt=Symbol.for("@@lockerLiveValue"),St=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=st(t)?t:Ct,this.valueObserved=st(n)?n:vt,this.valueIsObservable=st(r)?r:yt,this.tagPropertyKey=o}getProxy(e){const t=at(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=at(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return at(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(it(t)){const n=new mt(this,e);t=new Proxy(Et(e),n),ct(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(it(t)){const n=new wt(this,e);t=new Proxy(Et(e),n),ct(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:Me,valueMutated:Se,tagPropertyKey:kt});function Mt(e){return St.getReadOnlyProxy(e)}function Tt(e){return St.getProxy(e)}function At(e){e[kt]=void 0}function Nt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!U(n))throw new TypeError;if(!U(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const t=Rr(this);if(!fr(t))return Ne(t,e),n.call(t.elm)},set(t){const n=Rr(this);return Ge(n,e,t),r.call(n.elm,t)}}}const Lt=s(r(null)),_t=new WeakMap,xt=function(){if(W(dr))throw new TypeError("Illegal constructor");const e=dr,{def:t,elm:n}=e,{bridge:r}=t,o=this;if(p(n,r.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return At(this),Dr(o,e),Dr(n,e),1===e.renderMode?e.renderRoot=Ot(e):e.renderRoot=n,this};function Ot(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:i}}=e,s=i(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=s,Dr(s,e),s}xt.prototype={constructor:xt,dispatchEvent(e){const t=Rr(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=Rr(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,vr(r,t),n)},removeEventListener(e,t,n){const r=Rr(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,vr(r,t),n)},hasAttribute(e){const t=Rr(this),{elm:n,renderer:{getAttribute:r}}=t;return!W(r(n,e))},hasAttributeNS(e,t){const n=Rr(this),{elm:r,renderer:{getAttribute:o}}=n;return!W(o(r,t,e))},removeAttribute(e){const t=Rr(this),{elm:n,renderer:{removeAttribute:r}}=t;je(n,e),r(n,e),Ve()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=Rr(this);je(n,t),r(n,t,e),Ve()},getAttribute(e){const t=Rr(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=Rr(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=Rr(this),{elm:r,renderer:{setAttribute:o}}=n;je(r,e),o(r,e,t),Ve()},setAttributeNS(e,t,n){const r=Rr(this),{elm:o,renderer:{setAttribute:i}}=r;je(o,t),i(o,t,n,e),Ve()},getBoundingClientRect(){const e=Rr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=Rr(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=Rr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return Rr(this).shadowRoot},get refs(){const e=Rr(this);if(nr)return;const{refVNodes:t,hasRefVNodes:n,cmpTemplate:o}=e;if(!n)return;if(W(t))return Lt;let i=_t.get(t);if(B(i)){i=r(null);for(const e of f(t))i[e]=t[e].elm;s(i),_t.set(t,i)}return i},set refs(e){i(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=Rr(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=Rr(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=Rr(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=Rr(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=Rr(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=Rr(this);return e.renderer.getLastElementChild(e.elm)},render(){return Rr(this).def.template},toString(){return`[object ${Rr(this).def.name}]`}};const Pt=r(null),Dt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of Dt)Pt[e]={value(t){const n=Rr(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};o(xt.prototype,Pt);const Rt=r(null);for(const e in Ue)Rt[e]=Nt(e,Ue[e]);function $t(e){return{get(){const t=Rr(this);return Ne(t,e),t.cmpFields[e]},set(t){Ge(Rr(this),e,t)},enumerable:!0,configurable:!0}}o(xt.prototype,Rt),i(xt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class It extends Te{constructor(e,t){super((()=>{j(this.debouncing)&&(this.debouncing=!0,be((()=>{if(V(this.debouncing)){const{value:n}=this,{isDirty:r,component:o,idx:i}=e;t.call(o,n),this.debouncing=!1,V(e.isDirty)&&j(r)&&i>0&&Lr(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function Ft(e){return{get(){const t=Rr(this);if(!fr(t))return Ne(t,e),t.cmpProps[e]},set(t){const n=Rr(this);n.cmpProps[e]=t,Ae(n,e)},enumerable:!0,configurable:!0}}function Ht(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!U(n))throw new Error;return{get(){return n.call(this)},set(t){const n=Rr(this);if(r)if(fe.ENABLE_REACTIVE_SETTER){let o=n.oar[e];B(o)&&(o=n.oar[e]=function(e,t){return new It(e,t)}(n,r)),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function Bt(e){return{get(){const t=Rr(this);return Ne(t,e),t.cmpFields[e]},set(t){const n=Rr(this),r=Tt(t);Ge(n,e,r)},enumerable:!0,configurable:!0}}function Wt(e){return{get(){const t=Rr(this);return Ne(t,e),t.cmpFields[e]},set(t){Ge(Rr(this),e,t)},enumerable:!0,configurable:!0}}const Vt=new Map;const jt={apiMethods:pe,apiFields:pe,apiFieldsConfig:pe,wiredMethods:pe,wiredFields:pe,observedFields:pe};const Ut=new Set;function Gt(){return[]}Ut.add(Gt);const zt=r(null),Kt=r(null);function Yt(e){let t=zt[e];return B(t)&&(t=zt[e]=function(){const t=Rr(this),{getHook:n}=t;return n(t.component,e)}),t}function qt(e){let t=Kt[e];return B(t)&&(t=Kt[e]=function(t){const n=Rr(this),{setHook:r}=n;t=Mt(t),r(n.component,e,t)}),t}function Xt(e){return function(){const t=Rr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,L.call(arguments))}}function Jt(e,t){return function(n,r,o){if(r===o)return;const i=e[n];B(i)?B(t)||t.apply(this,arguments):We(this,n)&&(this[i]=o)}}function Qt(e,t,n){let s;U(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),i(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const l=r(null),{attributeChangedCallback:c}=e.prototype,{observedAttributes:a=[]}=e,u=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[oe(n)]=n,u[n]={get:Yt(n),set:qt(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:Xt(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:Jt(l,c)},i(s,"observedAttributes",{get:()=>[...a,...f(l)]}),o(s.prototype,u),s}const Zt=Qt($e,c(Ue),[]);s(Zt),h(Zt.prototype);const en=new WeakMap;function tn(e){const{shadowSupportMode:t,renderMode:i}=e,s=function(e){const t=Vt.get(e);return B(t)?jt:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:b,renderedCallback:w,errorCallback:y,render:v}=m;const C=function(e){let t=a(e);if(W(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(Re(t)){const e=De(t);t=e===t?xt:e}return t}(e),E=C!==xt?rn(C):on,k=Qt(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,b=b||E.disconnectedCallback,w=w||E.renderedCallback,y=y||E.errorCallback,v=v||E.render;let N=E.shadowSupportMode;B(t)||(N=t);let L=E.renderMode;B(i)||(L="light"===i?0:1);const _=function(e){return mr.get(e)}(e)||E.template,x=e.name||E.name;o(m,p);return{ctor:e,name:x,wire:A,props:S,propsConfig:M,methods:T,bridge:k,template:_,renderMode:L,shadowSupportMode:N,connectedCallback:g,disconnectedCallback:b,renderedCallback:w,errorCallback:y,render:v}}function nn(e){if(!U(e))return!1;if(e.prototype instanceof xt)return!0;let t=e;do{if(Re(t)){const e=De(t);if(e===t)return!0;t=e}if(t===xt)return!0}while(!W(t)&&(t=a(t)));return!1}function rn(e){let t=en.get(e);if(B(t)){if(Re(e)){return t=rn(De(e)),en.set(e,t),t}if(!nn(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=tn(e),en.set(e,t)}return t}const on={ctor:xt,name:xt.name,props:Rt,propsConfig:pe,methods:pe,renderMode:1,shadowSupportMode:"reset",wire:pe,bridge:Zt,template:Gt,render:xt.prototype.render};function sn(e){return`${e}-host`}function ln(e){return Yn.h("style",{key:"style",attrs:{type:"text/css"}},[Yn.t(e)])}function cn(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(m(s))M.apply(r,cn(s,t,n));else{const e=s.$scoped$;if(fe.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){Pe("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}const i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let c;1===n.renderMode?c=0===n.shadowMode:(B(o)&&(o=un(n)),c=W(o)||0===o.shadowMode),M.call(r,s(i,l,c))}}return r}function an(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return B(n)||0===n.length||(o=cn(n,r,e)),o}function un(e){let t=e;for(;!W(t);){if(1===t.renderMode)return t;t=t.owner}return t}function dn(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}function fn(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1===n&&1===r)for(let e=0;e<t.length;e++)o(t[e]);else{if(e.hydrated)return k.call(t,ln);{const n=function(e){const t=un(e);return W(t)||1!==t.shadowMode?t:null}(e),r=W(n)?void 0:n.shadowRoot;for(let e=0;e<t.length;e++)o(t[e],r)}}return null}function hn(e){const{type:t}=e;return 2===t||3===t}function pn(e,t){return e.key===t.key&&e.sel===t.sel}function mn(e){return 5===e.type}function gn(e){return 6===e.type}function bn(e,t){return"input"===e&&("value"===t||"checked"===t)}function wn(e,t,r){let{props:o}=t.data;const{spread:i}=t.data;if(B(o)&&B(i))return;let s;if(!W(e)){s=e.data.props;const t=e.data.spread;if(s===o&&t===i)return;B(s)&&(s=pe),B(t)||(s=n({},s,t))}B(i)||(o=n({},o,i));const l=W(e),{elm:c,sel:a}=t,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(bn(a,e)?u(c,e):s[e])&&e in s||d(c,e,t)}}const yn=r(null);function vn(e){if(null==e)return pe;e=z(e)?e:e+"";let t=yn[e];if(t)return t;t=r(null);let n,o=0;const i=e.length;for(n=0;n<i;n++)32===$.call(e,n)&&(n>o&&(t[F.call(e,o,n)]=!0),o=n+1);return n>o&&(t[F.call(e,o,n)]=!0),yn[e]=t,t}function Cn(e,t){const{elm:n,data:{on:r}}=e;if(B(r))return;const{addEventListener:o}=t;for(const e in r){o(n,e,r[e])}}function En(e,t,n,r){var o;o=t,Fn.has(o)?Bn(e,t,n,r):Wn(e,t,n,r)}function kn(e,t,n,r){var o,i;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&xn(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:i}=t;i?Wn(e.children,o,n,r):Bn(e.children,o,n,r);t.elm=o[o.length-1].elm}(e,t,n,r);break;case 2:!function(e,t,n){const r=t.elm=e.elm;Dn(e,t,n),En(e.children,t.children,r,n)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:r);break;case 3:!function(e,t,n,r){if(e.ctor!==t.ctor){const o=r.nextSibling(e.elm);An(e,n,r,!0),Mn(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;Dn(e,t,r),B(o)||$n(t,o),En(e.children,t.children,n,r),B(o)||Lr(o)}}(e,t,n,null!==(i=t.data.renderer)&&void 0!==i?i:r)}}function Sn(e,t,n,r){var o,i;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:i}=r,s=e.elm=i(e.text);_n(s,o,r),On(s,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:i}=r,s=e.elm=i(e.text);_n(s,o,r),On(s,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:i,isSyntheticShadowDefined:s}=r,l=e.elm=i(e.fragment,!0);_n(l,o,r);const{renderMode:c,shadowMode:a}=o;s&&(1!==a&&0!==c||(l.$shadowStaticNode$=!0));On(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;Tn(o,t,r,n),e.elm=o[o.length-1].elm}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:i,data:{svg:s}}=e,{createElement:l}=r,c=V(s)?te:void 0,a=e.elm=l(o,c);_n(a,i,r),Rn(a,i,r),function(e,t){var n;const{owner:r,data:{context:o}}=t;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(a,e),Dn(null,e,r),On(a,t,n,r),Tn(e.children,a,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:Mn(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function Mn(e,t,n,r){const{sel:o,owner:i}=e,{createCustomElement:s}=r;let l;let c,a;fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(c=e=>{_r(e)},a=e=>{xr(e)});const u=s(o.toLowerCase(),(t=>{l=function(e,t,n){let r=$r(e);if(!B(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;return r=Pr(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}),c,a);e.elm=u,e.vm=l,_n(u,i,r),Rn(u,i,r),l&&$n(e,l),Dn(null,e,r),On(u,t,n,r),l&&(fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||Wr(l)),Tn(e.children,u,r,null),l&&function(e){Ir(e)}(l)}function Tn(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];Ln(i)&&Sn(i,t,n,r)}}function An(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&(5===o?Nn(e.children,t,n,r):Pn(i,t,n)),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;Nn(e.children,i,n,t);break}case 3:{const{vm:t}=e;B(t)||function(e){Or(e)}(t)}}}function Nn(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];Ln(i)&&An(i,t,n,r)}}function Ln(e){return null!=e}function _n(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function xn(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function On(e,t,n,r){r.insert(e,t,n)}function Pn(e,t,n){n.remove(e,t)}function Dn(e,t,n){W(e)&&(Cn(t,n),function(e,t){const{elm:n,data:{classMap:r}}=e;if(B(r))return;const{getClassList:o}=t,i=o(n);for(const e in r)i.add(e)}(t,n),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(B(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,i,s]=r[e];o(n,t,i,s)}}(t,n)),function(e,t,n){const{elm:r,data:{className:o}}=t,i=W(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),c=vn(o),a=vn(i);let u;for(u in a)B(c[u])&&l.remove(u);for(u in c)B(a[u])&&l.add(u)}(e,t,n),function(e,t,n){const{elm:r,data:{style:o}}=t;if((W(e)?void 0:e.data.style)===o)return;const{setAttribute:i,removeAttribute:s}=n;z(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,t,n),function(e,t,n){const{attrs:r}=t.data;if(B(r))return;const o=W(e)?pe:e.data.attrs;if(o===r)return;const{elm:i}=t,{setAttribute:s,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(je(i,e),58===$.call(e,3)?s(i,e,t,"http://www.w3.org/XML/1998/namespace"):58===$.call(e,5)?s(i,e,t,"http://www.w3.org/1999/xlink"):W(t)||B(t)?l(i,e):s(i,e,t),Ve())}}(e,t,n),wn(e,t,n)}function Rn(e,t,n){const r=dn(t);if(!W(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||B(o)||(e.$shadowToken$=o)}function $n(e,t){const n=e.aChildren||e.children;t.aChildren=n;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t,n){const{cmpSlots:{slotAssignments:o}}=e,i=r(null);if(In(e,t,i),e.cmpSlots={owner:n,slotAssignments:i},j(e.isDirty)){const t=f(o);if(t.length!==f(i).length)return void wr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(B(i[r])||o[r].length!==i[r].length)return void wr(e);const s=o[r],l=i[r];for(let t=0,n=i[r].length;t<n;t+=1)if(s[t]!==l[t])return void wr(e)}}}(t,n,e.owner),e.aChildren=n,e.children=me)}function In(e,t,n){var r,o;for(let i=0,s=t.length;i<s;i+=1){const s=t[i];if(W(s))continue;if(mn(s)){In(e,s.children.slice(1,-1),n);continue}let l="";hn(s)?l=null!==(o=null===(r=s.data.attrs)||void 0===r?void 0:r.slot)&&void 0!==o?o:"":gn(s)&&(l=s.slotName);const c=n[l]=n[l]||[];M.call(c,s)}}const Fn=new WeakMap;function Hn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(Ln(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function Bn(e,t,n,r){let o=0,i=0,s=e.length-1,l=e[0],c=e[s];const a=t.length-1;let u,d,f,h,p=a,m=t[0],g=t[p],b=!1;for(;o<=s&&i<=p;)Ln(l)?Ln(c)?Ln(m)?Ln(g)?pn(l,m)?(kn(l,m,n,r),l=e[++o],m=t[++i]):pn(c,g)?(kn(c,g,n,r),c=e[--s],g=t[--p]):pn(l,g)?(kn(l,g,n,r),On(l.elm,n,r.nextSibling(c.elm),r),l=e[++o],g=t[--p]):pn(c,m)?(kn(c,m,n,r),On(m.elm,n,l.elm,r),c=e[--s],m=t[++i]):(void 0===u&&(u=Hn(e,o,s)),d=u[m.key],B(d)?(Sn(m,n,r,l.elm),m=t[++i]):(f=e[d],Ln(f)&&(f.sel!==m.sel?Sn(m,n,r,l.elm):(kn(f,m,n,r),b||(b=!0,e=[...e]),e[d]=void 0,On(f.elm,n,l.elm,r))),m=t[++i])):g=t[--p]:m=t[++i]:c=e[--s]:l=e[++o];if(o<=s||i<=p)if(o>s){let e,o=p;do{e=t[++o]}while(!Ln(e)&&o<a);h=Ln(e)?e.elm:null,Tn(t,n,r,h,i,p+1)}else Nn(e,n,r,!0,o,s+1)}function Wn(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void Tn(t,n,r,null);if(0===i)return void Nn(e,n,r,!0);let s=null;for(let o=i-1;o>=0;o-=1){const i=e[o],l=t[o];l!==i&&(Ln(i)?Ln(l)?(kn(i,l,n,r),s=l.elm):An(i,n,r,!0):Ln(l)&&(Sn(l,n,r,s),s=l.elm))}}const Vn=Symbol.iterator;function jn(e,t,n=me){const r=or(),{key:o,ref:i}=t,s={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return B(i)||Ce(r,i,s),s}function Un(e,t,n,r=me){const o=or(),{key:i,ref:s}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:i,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){M.call(or().velements,e)}(l),B(s)||Ce(o,s,l),l}function Gn(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:or()}}function zn(e){var t;return t=e,Fn.set(t,1),e}let Kn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const Yn=s({s:function(e,t,n,r){B(r)||B(r.slotAssignments)||B(r.slotAssignments[e])||0===r.slotAssignments[e].length||(n=r.slotAssignments[e].reduce(((e,n)=>{if(n){const o=gn(n);if(o!==!B(t.slotData))return e;if(o){const o=or();let i=[];ir(r.owner);try{i=n.factory(t.slotData)}finally{ir(o)}return g.call(e,i)}return g.call(e,n)}return e}),[]));const o=or(),{renderMode:i,shadowMode:s}=o;return 0===i?(zn(n),n):(1===s&&zn(n),jn("slot",t,n))},h:jn,c:Un,i:function(e,t){const n=[];if(zn(n),B(e)||null===e)return n;const r=e[Vn]();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)?M.apply(n,e):M.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];zn(n);for(let r=0;r<t;r+=1){const t=e[r];m(t)?M.apply(n,t):M.call(n,t)}return n},t:Gn,d:function(e){return null==e?"":String(e)},b:function(e){const t=or();if(W(t))throw new Error;const n=t;return function(t){pr(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:"c",owner:or()}},dc:function(e,t,n,r=me){if(null==t)return null;if(!nn(t))throw new Error(`Invalid LWC Constructor ${q(t)} for custom element <${e}>.`);return Un(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[Gn(""),...t,Gn("")],stable:n,owner:or()}},ti:function(e){return e>0&&!(V(e)||j(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:or()}},gid:function(e){const t=or();if(B(e)||""===e)return e;if(W(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?I.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=or();if(B(e)||""===e)return e;if(W(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return Kn(e)},ssf:function(e,t){return{type:6,factory:t,owner:or(),elm:void 0,sel:void 0,key:void 0,slotName:e}}});let qn=!1,Xn=K;const Jn={enableProfiler(){qn=!0},disableProfiler(){qn=!1},attachDispatcher(e){Xn=e,this.enableProfiler()},detachDispatcher(){const e=Xn;return Xn=K,this.disableProfiler(),e}};function Qn(e,t){qn&&Xn(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function Zn(e,t){qn&&Xn(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function er(e,t){qn&&Xn(e,0,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}function tr(e,t){qn&&Xn(e,1,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}let nr=!1,rr=null;function or(){return rr}function ir(e){rr=e}function sr(e){return(t,...n)=>{const o=r(null);return function(){const{context:{hasScopedStyles:r,stylesheetToken:i},shadowMode:s,renderer:l}=or(),c=!B(i),a=1===s;let u=0;if(c&&r&&(u|=1),c&&a&&(u|=2),!B(o[u]))return o[u];const d=r&&c?" "+i:"",f=r&&c?` class="${i}"`:"",h=c&&a?" "+i:"";let p="";for(let e=0,r=n.length;e<r;e++)switch(n[e]){case 0:p+=t[e]+d;break;case 1:p+=t[e]+f;break;case 2:p+=t[e]+h;break;case 3:p+=t[e]+f+h}return p+=t[t.length-1],o[u]=e(p,l),o[u]}}}const lr=sr(((e,t)=>{const{createFragment:n}=t;return n(e)})),cr=sr(((e,t)=>{const{createFragment:n,getFirstChild:r}=t;return r(n("<svg>"+e+"</svg>"))}));function ar(e,t){const n=nr,o=rr;let i=[];return zr(e,e.owner,(()=>{rr=e,Qn(1,e)}),(()=>{const{component:n,context:o,cmpSlots:s,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(W(l)||Gr(e),c=t,!Ut.has(c))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${q(t)}.`);e.cmpTemplate=t,o.tplCache=r(null),o.hasScopedStyles=ur(t),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i,renderer:{getClassList:s,removeAttribute:l,setAttribute:c}}=e,{stylesheets:a,stylesheetToken:u}=t,d=1===o&&1===i,{hasScopedStyles:f}=r;let h,p,m;const{stylesheetToken:g,hasTokenInClass:b,hasTokenInAttribute:w}=r;B(g)||(b&&s(n).remove(sn(g)),w&&l(n,sn(g))),B(a)||0===a.length||(h=u),B(h)||(f&&(s(n).add(sn(h)),p=!0),d&&(c(n,sn(h),""),m=!0)),r.stylesheetToken=h,r.hasTokenInClass=p,r.hasTokenInAttribute=m}(e,t);const n=an(e,t);o.styleVNodes=0===n.length?null:fn(e,n)}var c;const a=Boolean(t.hasRefs);e.hasRefVNodes=a,e.refVNodes=a?r(null):null,e.velements=[],nr=!0,i=t.call(void 0,Yn,n,s,o.tplCache);const{styleVNodes:u}=o;W(u)||P.apply(i,u)}))}),(()=>{nr=n,rr=o,Zn(1,e)})),i}function ur(e){const{stylesheets:t}=e;if(!B(t))for(let e=0;e<t.length;e++)if(V(t[e].$scoped$))return!0;return!1}let dr=null;function fr(e){return dr===e}function hr(e,t,n){const{component:r,callHook:o,owner:i}=e;zr(e,i,K,(()=>{o(r,t,n)}),K)}function pr(e,t,n,r){const{callHook:o,owner:i}=e;zr(e,i,K,(()=>{o(n,t,[r])}),K)}const mr=new Map;function gr(e){return Le((()=>{const{isDirty:t}=e;j(t)&&(wr(e),function(e){if(V(e.isScheduled))return;e.isScheduled=!0,0===Hr.length&&be(Br);M.call(Hr,e)}(e))}))}function br(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=or();let s,l=!1;return zr(e,o,(()=>{ir(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{ir(i)})),l?ar(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function wr(e){e.isDirty=!0}const yr=new WeakMap;function vr(e,t){if(!U(t))throw new TypeError;let n=yr.get(t);return B(n)&&(n=function(n){pr(e,t,void 0,n)},yr.set(t,n)),n}const Cr=r(null),Er=["rendered","connected","disconnected"];function kr(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 Sr=0;const Mr=new WeakMap;function Tr(e,t,n=[]){return t.apply(e,n)}function Ar(e,t,n){e[t]=n}function Nr(e,t){return e[t]}function Lr(e){Ir(e)}function _r(e){const t=Rr(e);er(7,t),1===t.state&&xr(e),Wr(t),Ir(t),tr(7,t)}function xr(e){Or(Rr(e))}function Or(e){const{state:t}=e;if(2!==t){const{oar:t,tro:n}=e;n.reset();for(const e in t)t[e].reset();!function(e){j(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=Cr;t&&kr(e,t);Vr(e)&&function(e){const{wiredDisconnecting:t}=e.context;zr(e,e,K,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),K)}(e);const{disconnectedCallback:n}=e.def;B(n)||(Qn(5,e),hr(e,n),Zn(5,e))}(e),jr(e),function(e){const{aChildren:t}=e;Ur(t)}(e)}}function Pr(e,t,n,o){const{mode:i,owner:s,tagName:l,hydrated:c}=o,a=rn(t),u={elm:e,def:a,idx:Sr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,refVNodes:null,hasRefVNodes:!1,children:me,aChildren:me,velements:me,cmpProps:r(null),cmpFields:r(null),cmpSlots:{slotAssignments:r(null)},oar:r(null),cmpTemplate:null,hydrated:Boolean(c),renderMode:a.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:pe,wiredConnecting:me,wiredDisconnecting:me},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:Tr,setHook:Ar,getHook:Nr,renderer:n};return u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let i;if(r)if(0===n.renderMode)i=0;else if(o)if(fe.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!W(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=W(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,n),u.tro=gr(u),function(e,t){const n=dr;let r;Qn(0,e),dr=e;try{const o=new t;if(dr.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Zn(0,e),dr=n,!B(r))throw xe(e,r),r}}(u,a.ctor),Vr(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],s=Kr.get(i);if(!B(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=qr(e,t,s),c=s.dynamic.length>0;M.call(r,(()=>{n.connect(),fe.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),M.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function Dr(e,t){Mr.set(e,t)}function Rr(e){return Mr.get(e)}function $r(e){return Mr.get(e)}function Ir(e){if(V(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&zr(e,e,(()=>{Qn(2,e)}),(()=>{En(r,t,n,o)}),(()=>{Zn(2,e)}));1===e.state&&Fr(e)}(e,br(e))}}function Fr(e){const{def:{renderedCallback:t}}=e,{rendered:n}=Cr;n&&kr(e,n),B(t)||(Qn(4,e),hr(e,t),Zn(4,e))}let Hr=[];function Br(){er(8);const e=Hr.sort(((e,t)=>e.idx-t.idx));Hr=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{Ir(r)}catch(r){throw t+1<n&&(0===Hr.length&&be(Br),P.apply(Hr,L.call(e,t+1))),tr(8),r}}tr(8)}function Wr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Cr;n&&kr(e,n),Vr(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;B(r)||(Qn(3,e),hr(e,r),Zn(3,e))}function Vr(e){return c(e.def.wire).length>0}function jr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!B(n)){const e=$r(n);B(e)||Or(e)}}}function Ur(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!W(n)&&!B(n.elm))switch(n.type){case 2:Ur(n.children);break;case 3:Or(Rr(n.elm));break}}}function Gr(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];W(o)||B(o.elm)||r(o.elm,n)}e.children=me,jr(e),e.velements=me}function zr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!B(i)){xe(e,i);const n=W(t)?void 0:function(e){let t=e;for(;!W(t);){if(!B(t.def.errorCallback))return t;t=t.owner}}(t);if(B(n))throw i;Gr(e),Qn(6,e);hr(n,n.def.errorCallback,[i,i.wcStack]),Zn(6,e)}}}const Kr=new Map;class Yr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),o(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function qr(e,t,n){const{method:r,adapter:o,configCallback:s,dynamic:l}=n;const c=B(r)?function(e,t){return n=>{Ge(e,t,n)}}(e,t):function(e,t){return n=>{zr(e,e.owner,K,(()=>{t.call(e.component,n)}),K)}}(e,r),a=e=>{c(e)};let u,d;i(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),i(a,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),zr(e,e,K,(()=>{d=new o(a)}),K);const{computeConfigAndUpdate:f,ro:h}=function(e,t,n){let r=!1;const o=Le((()=>{!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=>{zr(e,e,K,(()=>{d.update(t,u)}),K)}));return B(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Jr(r);if(B(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{dispatchEvent:c}}=e;M.call(s,(()=>{const e=new Yr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){M.call(l,e)}});c(i,e)}))}(e,n,(t=>{u!==t&&(u=t,1===e.state&&f())})),{connector:d,computeConfigAndUpdate:f,resetConfigWatcher:()=>h.reset()}}const Xr=new Map;function Jr(e){return Xr.get(e)}function Qr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Kr.set(e,o)}function Zr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Kr.set(e,o)}let eo=!1;function to(e){const t=br(e);e.children=t;const{renderRoot:n,renderer:{getFirstChild:r}}=e;oo(r(n),t,n,e),Fr(e)}function no(e,t,n){var r,o;let i;switch(t.type){case 0:i=function(e,t,n){var r;if(!lo(t,e,3,n))return io(e,t,n);const{setText:o}=n;return o(e,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 1:i=function(e,t,n){var r;if(!lo(t,e,8,n))return io(e,t,n);const{setProperty:o}=n;return o(e,ro,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 4:i=function(e,t,n){if(!function(e,t,n,r){const{getProperty:o,getAttribute:i}=r;if(3===o(e,"nodeType"))return!!lo(n,t,3,r)&&o(e,ro)===o(t,ro);if(8===o(e,"nodeType"))return!!lo(n,t,8,r)&&o(e,ro)===o(t,ro);if(!lo(n,t,1,r))return!1;let s=!0;if(o(e,"tagName")!==o(t,"tagName"))return!1;return o(e,"getAttributeNames").call(e).forEach((r=>{i(e,r)!==i(t,r)&&(Pe(`Mismatch hydrating element <${o(e,"tagName").toLowerCase()}>: attribute "${r}" has different values, expected "${i(e,r)}" but found "${i(t,r)}"`,n.owner),s=!1)})),s}(t.fragment,e,t,n))return io(e,t,n);return t.elm=e,e}(e,t,n);break;case 5:i=function(e,t,n){const{children:r,owner:o}=t;return oo(e,r,n.getProperty(e,"parentNode"),o),t.elm=r[r.length-1].elm}(e,t,n);break;case 2:i=function(e,t,n){if(!lo(t,e,1,n)||!co(t,e,n))return io(e,t,n);t.elm=e;const{owner:r}=t,{context:o}=t.data,i=Boolean(!B(o)&&!B(o.lwc)&&"manual"===o.lwc.dom);if(i){const{data:{props:r}}=t,{getProperty:o}=n;B(r)||B(r.innerHTML)||o(e,"innerHTML")===r.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:ve(r,"innerHTML")}))}if(so(t,n),!i){const{getFirstChild:o}=n;oo(o(e),t.children,e,r)}return e}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:i=function(e,t,n){if(!lo(t,e,1,n)||!co(t,e,n))return io(e,t,n);const{sel:r,mode:o,ctor:i,owner:s}=t,l=Pr(e,i,n,{mode:o,owner:s,tagName:r,hydrated:!0});if(t.elm=e,t.vm=l,$n(t,l),so(t,n),Wr(l),0!==l.renderMode){const{getFirstChild:r}=n;oo(r(e),t.children,e,l)}return to(l),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(i)}const ro="nodeValue";function oo(e,t,n,r){let o=e,i=null;const{renderer:s}=r;for(let e=0;e<t.length;e++){const r=t[e];W(r)||(o?(o=no(o,r,s),i=r.elm):(eo=!0,Sn(r,n,s,i),i=r.elm))}if(o){eo=!0;const{nextSibling:e}=s;do{const t=o;o=e(o),Pn(t,n,s)}while(o)}}function io(e,t,n){eo=!0;const{getProperty:r}=n,o=r(e,"parentNode");return Sn(t,o,n,e),Pn(e,o,n),t.elm}function so(e,t){Cn(e,t),wn(null,e,t)}function lo(e,t,n,r){const{getProperty:o}=r;return o(t,"nodeType")===n}function co(e,t,n){const{getProperty:r}=n;if(e.sel.toLowerCase()!==r(t,"tagName").toLowerCase())return!1;const o=function(e,t,n){const{data:{attrs:r={}}}=e;let o=!0;for(const[e,i]of Object.entries(r)){const{getAttribute:r}=n,s=r(t,e);String(i)!==s&&(o=!1)}return o}(e,t,n),i=function(e,t,n){const{data:r,owner:o}=e;let{className:i,classMap:s}=r;const{getProperty:l,getClassList:c}=n,a=dn(o),u=function(e){return 3===e.type}(e)?function(e){const{template:t}=rn(e.ctor),{stylesheetToken:n}=t;return!B(n)&&ur(t)?sn(n):null}(e):null;if(!W(a)||!W(u))if(B(i))if(B(s)){const e=[a,u],t=y.call(e,(e=>!W(e)));t.length&&(i=E.call(t," "))}else s=Object.assign(Object.assign(Object.assign({},s),W(a)?{}:{[a]:!0}),W(u)?{}:{[u]:!0});else{const e=[a,i,u],t=y.call(e,(e=>!W(e)));i=E.call(t," ")}let d=!0;const h=l(t,"className");if(B(i)||String(i)===h)if(B(s))B(i)&&""!==h&&(d=!1);else{const e=c(t);let n="";for(const t in s)n+=" "+t,e.contains(t)||(d=!1);n.trim(),e.length>f(s).length&&(d=!1)}else d=!1;return d}(e,t,n),s=function(e,t,n){const{data:{style:r,styleDecls:o}}=e,{getAttribute:i}=n,s=i(t,"style")||"";let l=!0;if(B(r)||r===s){if(!B(o)){const e=function(e){const t={},n=e.split(we);for(const e of n)if(e){const[n,r]=e.split(ye);void 0!==n&&void 0!==r&&(t[n.trim()]=r.trim())}return t}(s),t=[];for(let n=0,r=o.length;n<r;n++){const[r,i,s]=o[n];t.push(`${r}: ${i+(s?" important!":"")}`);const c=e[r];B(c)?l=!1:c.startsWith(i)?s&&!c.endsWith("!important")&&(l=!1):l=!1}f(e).length>o.length&&(l=!1),E.call(t,";")}}else l=!1;return l}(e,t,n);return o&&i&&s}let ao=!1;const uo=U(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),fo=uo&&l(document.adoptedStyleSheets,"length").writable,ho=!B(document.documentMode),po=new Map;function mo(e){const t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function go(e,t,n){const r=function(e,t){const{element:n,usedElement:r}=t;return r?ho?mo(e):n.cloneNode(!0):(t.usedElement=!0,n)}(e,n);t.appendChild(r)}function bo(e,t){let n=po.get(e);return B(n)&&(n={stylesheet:void 0,element:void 0,roots:void 0,global:!1,usedElement:!1},po.set(e,n)),t&&B(n.stylesheet)?n.stylesheet=function(e){const t=new CSSStyleSheet;return t.replaceSync(e),t}(e):!t&&B(n.element)&&(n.element=mo(e)),n}function wo(e,t){const n=bo(e,uo);let{roots:r}=n;if(B(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),uo?function(e,t,n){const{adoptedStyleSheets:r}=t,{stylesheet:o}=n;fo?r.push(o):t.adoptedStyleSheets=[...r,o]}(0,t,n):go(e,t,n)}const yo=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}}(),vo=(e,t)=>{const n=document.createElement(e);return t(n),n},Co=new Map,Eo=new WeakSet;let ko=!1;const So=(e,t)=>{const n=!B(e),r=!B(t);class o extends HTMLElement{constructor(e){super(),ko?e(this):(n||r)&&Eo.add(this)}}return n&&(o.prototype.connectedCallback=function(){Eo.has(this)||e(this)}),r&&(o.prototype.disconnectedCallback=function(){Eo.has(this)||t(this)}),o},Mo=(e,t,n,r)=>{let o=Co.get(e);if(B(o)){if(!B(customElements.get(e)))throw new Error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`);o=So(n,r),customElements.define(e,o),Co.set(e,o)}ko=!0;try{return new o(t)}finally{ko=!1}};let To,Ao;fe.ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY&&yo&&(To=function(){if(!yo)throw new Error("Custom elements are not supported in this environment.");const{HTMLElement:e}=window,{hasAttribute:t,setAttribute:n,removeAttribute:r,getAttribute:i}=e.prototype,s=new WeakMap,l=new WeakMap,c=new WeakMap,a=new WeakSet,u=new WeakSet,d=new Map,f=new Map,h=new Map,m=new Map,g=new Map,b=new Set;function w(t,n){class r extends e{constructor(e){super();const r=!B(e);if(r){if(!k(e))throw new TypeError("Failed to create custom element: the provided constructor is not a constructor.");if(!a.has(e))throw new Error(`Failed to create custom element: the provided constructor is unregistered: ${e.name}.`)}const o=r?S(e):f.get(t);B(o)?l.set(this,n):E(this,n,o)}connectedCallback(){var e;const n=s.get(this);if(B(n)){let e=m.get(t);B(e)&&m.set(t,e=new Set),e.add(this)}else null===(e=n.connectedCallback)||void 0===e||e.call(this)}disconnectedCallback(){var e;const n=s.get(this);if(B(n)){const e=m.get(t);B(e)||e.delete(this)}else null===(e=n.disconnectedCallback)||void 0===e||e.call(this)}formAssociatedCallback(e){var t;const n=s.get(this);null===(t=null==n?void 0:n.formAssociatedCallback)||void 0===t||t.call(this,e)}formDisabledCallback(e){var t;const n=s.get(this);null===(t=null==n?void 0:n.formDisabledCallback)||void 0===t||t.call(this,e)}formResetCallback(){var e;const t=s.get(this);null===(e=null==t?void 0:t.formResetCallback)||void 0===e||e.call(this)}formStateRestoreCallback(e,t){var n;const r=s.get(this);null===(n=null==r?void 0:r.formStateRestoreCallback)||void 0===n||n.call(this,e,t)}adoptedCallback(){var e;const t=s.get(this);null===(e=null==t?void 0:t.adoptedCallback)||void 0===e||e.call(this)}attributeChangedCallback(e,t,r){var o;const i=s.get(this);(n===i||(null==i?void 0:i.observedAttributes.has(e)))&&(null===(o=i.attributeChangedCallback)||void 0===o||o.apply(this,[e,t,r]))}}return r.observedAttributes=[...n.observedAttributes],r.formAssociated=n.formAssociated,u.add(r),r}function y(e,t){const{observedAttributes:n,attributeChangedCallback:r}=t;return 0===n.size||B(r)?b:new Set([...t.observedAttributes].filter((t=>!e.observedAttributes.has(t))))}function v(e){setTimeout((()=>{throw e}))}let C;function E(e,l,c){p(e,c.UserCtor.prototype),s.set(e,c),c!==l&&function(e,t,s){const l=y(t,s);if(0===l.size)return;const{attributeChangedCallback:c}=s;o(e,{setAttribute:{value:function(e,t){if(l.has(e)){const r=i.call(this,e);n.call(this,e,t);try{c.call(this,e,r,t+"")}catch(e){v(e)}}else n.call(this,e,t)},writable:!0,enumerable:!0,configurable:!0},removeAttribute:{value:function(e){if(l.has(e)){const t=i.call(this,e);r.call(this,e);try{c.call(this,e,t,null)}catch(e){v(e)}}else r.call(this,e)},writable:!0,enumerable:!0,configurable:!0}})}(e,l,c),C=e,new c.UserCtor,function(e,n,r){const o=y(n,r);if(0===y(n,r).size)return;const{attributeChangedCallback:s}=r;o.forEach((n=>{if(t.call(e,n)){const t=i.call(e,n);s.call(e,n,null,t)}}))}(e,l,c)}function k(e){return U(e)&&G(e.prototype)}function S(e){if(!k(e))throw new TypeError("The referenced constructor is not a constructor.");const t=c.get(e);return B(t)?function(e){var t;const{connectedCallback:n,disconnectedCallback:r,formAssociatedCallback:o,formDisabledCallback:i,formResetCallback:s,formStateRestoreCallback:l,adoptedCallback:c,attributeChangedCallback:a}=e.prototype,u=Boolean(e.formAssociated);return{UserCtor:e,PivotCtor:void 0,connectedCallback:n,disconnectedCallback:r,formAssociatedCallback:o,formDisabledCallback:i,formResetCallback:s,formStateRestoreCallback:l,adoptedCallback:c,attributeChangedCallback:a,observedAttributes:new Set(null!==(t=e.observedAttributes)&&void 0!==t?t:[]),formAssociated:u}}(e):t}const{customElements:M}=window,{define:T,whenDefined:A,get:N}=M;return CustomElementRegistry.prototype.define=function(e,t,n){if(n&&n.extends)throw new DOMException('NotSupportedError: "extends" key in customElements.define() options is not supported.');if(f.has(e))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${e}" has already been used with this registry`);if(!B(h.get(t)))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const r=S(t);a.add(t);let o=d.get(e);B(o)&&(o=w(e,r),T.call(M,e,o)),c.set(t,r),d.set(e,o),f.set(e,r),h.set(t,r),r.PivotCtor=o;const i=m.get(e);if(!B(i)){m.delete(e);for(const e of i){const t=l.get(e);B(t)||(l.delete(e),E(e,t,r))}}!function(e,t){const n=g.get(e);if(!B(n))for(const e of n)e(t);g.delete(e)}(e,t)},CustomElementRegistry.prototype.get=function(e){const t=N.call(M,e);if(!B(t)){const n=f.get(e);if(!B(n))return n.UserCtor;if(u.has(t))return;return t}},CustomElementRegistry.prototype.whenDefined=function(e){return A.call(M,e).then((t=>{const n=f.get(e);return B(n)?(B(t)&&(t=N.call(M,e)),u.has(t)?function(e){return new Promise((t=>{let n=g.get(e);B(n)&&(n=[],g.set(e,n)),n.push(t)}))}(e):t):n.UserCtor}))},window.HTMLElement=function(){const e=C;if(!B(e))return C=void 0,e;const{constructor:t}=this,n=h.get(t);if(B(n)||B(n.PivotCtor))throw new TypeError("Illegal constructor");const{PivotCtor:r,UserCtor:o}=n;return new r(o)},HTMLElement.prototype=e.prototype,function(e,t){e=H.call(e);let n=d.get(e);if(B(n)){const r=S(t);n=w(e,r),T.call(M,e,n),r.PivotCtor=n,c.set(t,r),d.set(e,n)}return a.add(t),n}}(),Ao=window.HTMLElement);const No=(e,t,n,r)=>{class o extends e{constructor(){super(),t(this)}}return B(n)||(o.prototype.connectedCallback=function(){n(this)}),B(r)||(o.prototype.disconnectedCallback=function(){r(this)}),o};let Lo;function _o(e){const t=function(e){var t=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});function n(e){return void 0===e}e.createFragment=void 0;if("function"==typeof HTMLTemplateElement)e.createFragment=function(e){const t=document.createElement("template");return t.innerHTML=e,t.content.firstChild};else{const t={caption:["table"],col:["colgroup","table"],colgroup:["table"],option:["select"],tbody:["table"],td:["tr","tbody","table"],th:["tr","tbody","table"],thead:["table"],tfoot:["table"],tr:["tbody","table"]},r=function(e){return(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(e)||["",""])[1].toLowerCase()};e.createFragment=function(e){const o=t[r(e)];if(!n(o))for(const t of o)e=`<${t}>${e}</${t}>`;const i=document.implementation.createHTMLDocument("");i.body.innerHTML=e;let s=i.body;if(!n(o))for(let e=0;e<o.length;e++)s=s.firstChild;return s.firstChild}}return e.addEventListener=function(e,t,n,r){e.addEventListener(t,n,r)},e.assertInstanceOfHTMLElement=function(e,n){t.invariant(e instanceof HTMLElement,n)},e.attachShadow=function(e,t){return null!==e.shadowRoot?e.shadowRoot:e.attachShadow(t)},e.cloneNode=function(e,t){return e.cloneNode(t)},e.createComment=function(e){return document.createComment(e)},e.createElement=function(e,t){return n(t)?document.createElement(e):document.createElementNS(t,e)},e.createText=function(e){return document.createTextNode(e)},e.dispatchEvent=function(e,t){return e.dispatchEvent(t)},e.getAttribute=function(e,t,r){return n(r)?e.getAttribute(t):e.getAttributeNS(r,t)},e.getBoundingClientRect=function(e){return e.getBoundingClientRect()},e.getChildNodes=function(e){return e.childNodes},e.getChildren=function(e){return e.children},e.getClassList=function(e){return e.classList},e.getElementsByClassName=function(e,t){return e.getElementsByClassName(t)},e.getElementsByTagName=function(e,t){return e.getElementsByTagName(t)},e.getFirstChild=function(e){return e.firstChild},e.getFirstElementChild=function(e){return e.firstElementChild},e.getLastChild=function(e){return e.lastChild},e.getLastElementChild=function(e){return e.lastElementChild},e.getProperty=function(e,t){return e[t]},e.insert=function(e,t,n){t.insertBefore(e,n)},e.isConnected=function(e){return e.isConnected},e.nextSibling=function(e){return e.nextSibling},e.querySelector=function(e,t){return e.querySelector(t)},e.querySelectorAll=function(e,t){return e.querySelectorAll(t)},e.remove=function(e,t){t.removeChild(e)},e.removeAttribute=function(e,t,r){n(r)?e.removeAttribute(t):e.removeAttributeNS(r,t)},e.removeEventListener=function(e,t,n,r){e.removeEventListener(t,n,r)},e.setAttribute=function(e,t,r,o){return n(o)?e.setAttribute(t,r):e.setAttributeNS(o,t,r)},e.setCSSStyleProperty=function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},e.setProperty=function(e,t,n){e[t]=n},e.setText=function(e,t){e.nodeValue=t},e}({});return Object.setPrototypeOf(t,e),t}Lo=yo?fe.ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY?function(e,t,n,r){if(B(To)||B(Ao))throw new Error("The flag ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY must be set to true to use this feature");const o=No(Ao,t,n,r);return new(To(e,o))(o)}:Mo:vo;const xo=n(_o(null),{insertStylesheet:function(e,t){B(t)?function(e){const t=bo(e,!1);t.global||(t.global=!0,go(e,document.head,t))}(e):wo(e,t)},createCustomElement:Lo,isNativeShadowDefined:ee.$isNativeShadowRootDefined$,isSyntheticShadowDefined:u.call(Element.prototype,"$shadowToken$")});function Oo(e,t,n){const r=Pr(e,t,xo,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0});for(const[t,r]of Object.entries(n))e[t]=r;return r}function Po(e,t,n={}){if(!(e instanceof Element))throw new TypeError(`"hydrateComponent" expects a valid DOM element as the first parameter but instead received ${e}.`);if(!U(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!G(n)||W(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);if($r(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{!function(e){eo=!1,Wr(e),to(e),eo&&Pe("Hydration completed with errors.",e)}(Oo(e,t,n))}catch(r){console.error("Recovering from error while hydrating: ",r),function(e,t){if(e.shadowRoot){const t=e.shadowRoot;for(;!W(t.firstChild);)t.removeChild(t.firstChild)}if("light"===t.renderMode)for(;!W(e.firstChild);)e.removeChild(e.firstChild)}(e,t),Oo(e,t,n),_r(e)}}const Do=new WeakSet;function Ro(e){var t;const n=function(e){return rn(e).bridge}(e),{observedAttributes:r}=n,{attributeChangedCallback:o}=n.prototype;return(t=class extends HTMLElement{constructor(){super(),this.isConnected?(Po(this,e,{}),Do.add(this)):Pr(this,e,xo,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){Do.has(this)?Do.delete(this):_r(this)}disconnectedCallback(){xr(this)}attributeChangedCallback(e,t,n){o.call(this,e,t,n)}}).observedAttributes=r,t}const $o=Node,Io=new WeakMap,Fo=new WeakMap;function Ho(e,t){const n=t.get(e);return B(n)||n(e),e}if(!fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE){const{appendChild:e,insertBefore:t,removeChild:r,replaceChild:o}=$o.prototype;n($o.prototype,{appendChild(t){return Ho(e.call(this,t),Io)},insertBefore(e,n){return Ho(t.call(this,e,n),Io)},removeChild(e){return Ho(r.call(this,e),Fo)},replaceChild(e,t){const n=o.call(this,e,t);return Ho(n,Fo),Ho(e,Io),n}})}const Bo=Node;const Wo=new Map;i(xt,"CustomElementConstructor",{get(){return function(e){if(e===xt)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=Wo.get(e);return B(t)&&(t=Ro(e),Wo.set(e,t)),t}(this)}}),s(xt),h(xt.prototype),e.LightningElement=xt,e.__unstable__ProfilerControl=Jn,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=Jr(e);if(!B(t))throw new Error("Adapter already has a context provider.");t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),function(e,t){Xr.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:i}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{B(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!G(t)||W(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${q(t)}".`);const n=t.is;if(!U(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const{createCustomElement:r}=xo,o=H.call(e);let i,s;return fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(i=e=>{_r(e)},s=e=>{xr(e)}),r(o,(e=>{Pr(e,n,xo,{tagName:o,mode:"closed"!==t.mode?"open":"closed",owner:null}),fe.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||(Io.set(e,_r),Fo.set(e,xr))}),i,s)},e.freezeTemplate=function(e){},e.getComponentConstructor=function(e){let t=null;if(!B(e)){const n=$r(e);B(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=rn(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:oe(e)};const c={};for(const e in s)c[e]=s[e].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=Po,e.isComponentConstructor=nn,e.isNodeFromTemplate=function(e){if(j(e instanceof Bo))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&j(u.call(a(t),"synthetic")))||xo.isSyntheticShadowDefined&&!B(e.$shadowResolver$)},e.parseFragment=lr,e.parseSVGFragment=cr,e.readonly=function(e){return Mt(e)},e.register=function(e){for(let t=0;t<Er.length;++t){const n=Er[t];if(n in e){let t=Cr[n];B(t)&&(Cr[n]=t=[]),M.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return U(e)&&mr.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:o,publicMethods:s,wire:c,track:a,fields:u}=t,d=r(null),f=r(null),h=r(null),p=r(null),m=r(null),g=r(null);let b;if(!B(o))for(const e in o){const t=o[e];if(g[e]=t.config,b=l(n,e),t.config>0){if(B(b))throw new Error;b=Ht(e,b)}else b=B(b)||B(b.get)?Ft(e):Ht(e,b);f[e]=b,i(n,e,b)}if(B(s)||D.call(s,(e=>{if(b=l(n,e),B(b))throw new Error;d[e]=b})),!B(c))for(const e in c){const{adapter:t,method:r,config:o,dynamic:s=[]}=c[e];if(b=l(n,e),1===r){if(B(b))throw new Error;h[e]=b,Qr(b,t,o,s)}else b=Wt(e),p[e]=b,Zr(b,t,o,s),i(n,e,b)}if(!B(a))for(const e in a)b=l(n,e),b=Bt(e),i(n,e,b);if(!B(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];b=l(n,t);const r=!B(o)&&t in o,i=!B(a)&&t in a;r||i||(m[t]=$t(t))}return function(e,t){Vt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return Ut.add(e),i(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return B(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=B(e)?void 0:e.shadowAttribute}}),e},e.renderer=xo,e.rendererFactory=_o,e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(B(de[e])){const n=f(de).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=fe[e];if(!B(n))return void console.error(`Failed to set the value "${t}" for the runtime feature flag "${e}". "${e}" has already been set with the value "${n}".`);i(fe,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(ao,"Hooks are already overridden, only one definition is allowed."),ao=!0,n=e.sanitizeHtmlContent,Kn=n},e.swapComponent=function(e,t){return!1},e.swapStyle=function(e,t){return!1},e.swapTemplate=function(e,t){return!1},e.track=function(e){if(1===arguments.length)return Tt(e);throw new Error},e.unwrap=function(e){return St.unwrapProxy(e)},e.wire=function(e,t){throw new Error}}));
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).LWC={})}(this,(function(e){"use strict";var t=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});const{assign:n,create:r,defineProperties:o,defineProperty:i,freeze:s,getOwnPropertyDescriptor:l,getOwnPropertyNames:c,getPrototypeOf:a,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{concat:g,copyWithin:b,fill:w,filter:y,find:v,indexOf:C,join:E,map:T,pop:k,push:S,reduce:M,reverse:A,shift:N,slice:_,some:L,sort:O,splice:x,unshift:P,forEach:R}=Array.prototype,{fromCharCode:D}=String,{charCodeAt:$,replace:I,slice:F,toLowerCase:H}=String.prototype;function B(e){return void 0===e}function W(e){return null===e}function V(e){return!0===e}function j(e){return!1===e}function U(e){return"function"==typeof e}function G(e){return"object"==typeof e}function z(e){return"string"==typeof e}function Y(){}const K={}.toString;function q(e){return e&&e.toString?m(e)?E.call(T.call(e,q),","):e.toString():"object"==typeof e?K.call(e):e+""}function X(e,t){do{const n=l(e,t);if(!B(n))return n;e=a(e)}while(null!==e)}const J=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],{AriaAttrNameToPropNameMap:Q,AriaPropNameToAttrNameMap:Z}=(()=>{const e=r(null),t=r(null);return R.call(J,(n=>{const r=H.call(I.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),ee=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),te="http://www.w3.org/XML/1998/namespace",ne="http://www.w3.org/2000/svg",re="http://www.w3.org/1999/xlink",oe=/-([a-z])/g,{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:ie,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:se}=(()=>{const e=new Map([["accessKey","accesskey"],["readOnly","readonly"],["tabIndex","tabindex"],["bgColor","bgcolor"],["colSpan","colspan"],["rowSpan","rowspan"],["contentEditable","contenteditable"],["crossOrigin","crossorigin"],["dateTime","datetime"],["formAction","formaction"],["isMap","ismap"],["maxLength","maxlength"],["minLength","minlength"],["noValidate","novalidate"],["useMap","usemap"],["htmlFor","for"]]),t=new Map;return e.forEach(((e,n)=>t.set(e,n))),{NO_STANDARD_ATTRIBUTE_PROPERTY_MAPPING:t,NO_STANDARD_PROPERTY_ATTRIBUTE_MAPPING:e}})(),le=new Map,ce=new Map;function ae(e){const t=Z[e];if(!B(t))return t;const n=se.get(e);if(!B(n))return n;const r=le.get(e);if(!B(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=$.call(e,t);o+=n>=65&&n<=90?"-"+D(n+32):D(n)}return le.set(e,o),o}function ue(e){const t=Q[e];if(!B(t))return t;const n=ie.get(e);if(!B(n))return n;const r=ce.get(e);if(!B(r))return r;const o=I.call(e,oe,(e=>e[1].toUpperCase()));return ce.set(e,o),o}function de(e){return void 0===l(Element.prototype,e)}const fe=new WeakMap;function he(e){let t=fe.get(e);return void 0===t&&(t={},fe.set(e,t)),t}function pe(e,t){return{get(){const n=he(this);return u.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set(n){const r=null==(o=n)?null:String(o);var o;he(this)[e]=r,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function me(e){const t=pe(e,Z[e]);Object.defineProperty(Element.prototype,e,t)}const ge=f(Z);for(let e=0,t=ge.length;e<t;e+=1){const t=ge[e];de(t)&&me(t)}const be={DUMMY_TEST_FLAG:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_REACTIVE_SETTER:null,ENABLE_WIRE_SYNC_EMIT:null,ENABLE_LIGHT_GET_ROOT_NODE_PATCH:null,DISABLE_LIGHT_DOM_UNSCOPED_CSS:null,ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY:null};ee.lwcRuntimeFlags||Object.defineProperty(ee,"lwcRuntimeFlags",{value:r(null)});const we=ee.lwcRuntimeFlags;let ye=[];const ve=h(r(null)),Ce=h([]);function Ee(){const e=ye;ye=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function Te(e){0===ye.length&&Promise.resolve().then(Ee),S.call(ye,e)}const ke=/;(?![^(]*\))/g,Se=/:(.+)/;function Me(e,t){const n={};for(const r of Object.keys(e))r!==t&&(n[r]=e[r]);return n}function Ae(e,t,n){const r=e.refVNodes;(!(t in r)||r[t].key<n.key)&&(r[t]=n)}const Ne=new WeakMap;let _e=null;function Le(e,t){const n=Ne.get(e);if(!B(n)){const e=n[t];if(!B(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function Oe(e,t){if(null===_e)return;const n=_e,o=function(e){let t=Ne.get(e);if(B(t)){const n=r(null);t=n,Ne.set(e,n)}return t}(e);let i=o[t];if(B(i))i=[],o[t]=i;else if(i[0]===n)return;-1===C.call(i,n)&&n.link(i)}class xe{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=_e;let n;_e=this;try{e()}catch(e){n=Object(e)}finally{if(_e=t,void 0!==n)throw n}}reset(){const{listeners:e}=this,t=e.length;if(t>0){for(let n=0;n<t;n+=1){const t=e[n],r=C.call(e[n],this);x.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){S.call(e,this),S.call(this.listeners,e)}}function Pe(e,t){Le(e.component,t)}function Re(e,t){Oe(e.component,t)}function De(e){return new xe(e)}function $e(e){return`<${H.call(e.tagName)}>`}function Ie(e,t){if(!d(t)&&B(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!W(n);)S.call(t,$e(n)),n=n.owner;return t.reverse().join("\n\t")}(e);i(t,"wcStack",{get:()=>n})}}function Fe(e,t,n){let r=`[LWC ${e}]: ${t}`;B(n)||(r=`${r}\n${function(e){const t=[];let n="";for(;!W(e.owner);)S.call(t,n+$e(e)),e=e.owner,n+="\t";return E.call(t,"\n")}(n)}`);try{throw new Error(r)}catch(t){console[e](t)}}function He(e,t){Fe("error",e,t)}function Be(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function We(e){return U(e)&&u.call(e,"__circular__")}const Ve="undefined"!=typeof HTMLElement?HTMLElement:function(){},je=Ve.prototype;function Ue(e){return`Using the \`${e}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}n(r(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:Ue("offsetHeight")},offsetLeft:{readOnly:!0,error:Ue("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:Ue("offsetTop")},offsetWidth:{readOnly:!0,error:Ue("offsetWidth")},role:{attribute:"role"}});let Ge,ze=null;function Ye(e,t){return e!==ze||t!==Ge}function Ke(e,t){ze=null,Ge=void 0}function qe(e,t){ze=e,Ge=t}const Xe=r(null);function Je(e,t,n){const{cmpFields:r}=e;n!==r[t]&&(r[t]=n,Pe(e,t))}R.call(f(Z),(e=>{const t=X(je,e);B(t)||(Xe[e]=t)})),R.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=X(je,e);B(t)||(Xe[e]=t)}));const{isArray:Qe}=Array,{prototype:Ze,getPrototypeOf:et,create:tt,defineProperty:nt,isExtensible:rt,getOwnPropertyDescriptor:ot,getOwnPropertyNames:it,getOwnPropertySymbols:st,preventExtensions:lt,hasOwnProperty:ct}=Object,{push:at,concat:ut}=Array.prototype;function dt(e){return void 0===e}function ft(e){return"function"==typeof e}const ht=new WeakMap;function pt(e,t){ht.set(e,t)}const mt=e=>ht.get(e)||e;class gt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(ct.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;dt(n)||(e.get=this.wrapGetter(n)),dt(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=ot(n,t);if(!dt(r)){const n=this.wrapDescriptor(r);nt(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;ut.call(it(t),st(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;dt(n)||ct.call(e,n)||nt(e,n,tt(null)),lt(e)}apply(e,t,n){}construct(e,t,n){}get(e,t){const{originalTarget:n,membrane:{valueObserved:r}}=this,o=n[t];return r(n,t),this.wrapValue(o)}has(e,t){const{originalTarget:n,membrane:{tagPropertyKey:r,valueObserved:o}}=this;return o(n,t),t in n||t===r}ownKeys(e){const{originalTarget:t,membrane:{tagPropertyKey:n}}=this,r=dt(n)||ct.call(t,n)?[]:[n];return at.apply(r,it(t)),at.apply(r,st(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!rt(e)&&(!!rt(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return et(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=ot(n,t);if(dt(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},nt(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const bt=new WeakMap,wt=new WeakMap,yt=new WeakMap,vt=new WeakMap;class Ct extends gt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=bt.get(e);if(!dt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(mt(this)))};return bt.set(e,r),yt.set(r,e),r}wrapSetter(e){const t=wt.get(e);if(!dt(t))return t;const n=function(t){e.call(mt(this),mt(t))};return wt.set(e,n),vt.set(n,e),n}unwrapDescriptor(e){if(ct.call(e,"value"))e.value=mt(e.value);else{const{set:t,get:n}=e;dt(n)||(e.get=this.unwrapGetter(n)),dt(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=yt.get(e);if(!dt(t))return t;const n=this,r=function(){return mt(e.call(n.wrapValue(this)))};return bt.set(r,e),yt.set(e,r),r}unwrapSetter(e){const t=vt.get(e);if(!dt(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return wt.set(r,e),vt.set(e,r),r}set(e,t,n){const{originalTarget:r,membrane:{valueMutated:o}}=this;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&Qe(r)&&o(r,t),!0}deleteProperty(e,t){const{originalTarget:n,membrane:{valueMutated:r}}=this;return delete n[t],r(n,t),!0}setPrototypeOf(e,t){}preventExtensions(e){if(rt(e)){const{originalTarget:t}=this;if(lt(t),rt(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!ct.call(r,t)||(nt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const Et=new WeakMap,Tt=new WeakMap;class kt extends gt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=Et.get(e);if(!dt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(mt(this)))};return Et.set(e,r),r}wrapSetter(e){const t=Tt.get(e);if(!dt(t))return t;const n=function(e){};return Tt.set(e,n),n}set(e,t,n){return!1}deleteProperty(e,t){return!1}setPrototypeOf(e,t){}preventExtensions(e){return!1}defineProperty(e,t,n){return!1}}function St(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(Qe(e))return!0;const t=et(e);return t===Ze||null===t||null===et(t)}const Mt=(e,t)=>{},At=(e,t)=>{};function Nt(e){return Qe(e)?[]:{}}const _t=Symbol.for("@@lockerLiveValue"),Lt=new class{constructor(e={}){this.readOnlyObjectGraph=new WeakMap,this.reactiveObjectGraph=new WeakMap;const{valueMutated:t,valueObserved:n,valueIsObservable:r,tagPropertyKey:o}=e;this.valueMutated=ft(t)?t:At,this.valueObserved=ft(n)?n:Mt,this.valueIsObservable=ft(r)?r:St,this.tagPropertyKey=o}getProxy(e){const t=mt(e);return this.valueIsObservable(t)?this.readOnlyObjectGraph.get(t)===e?e:this.getReactiveHandler(t):t}getReadOnlyProxy(e){return e=mt(e),this.valueIsObservable(e)?this.getReadOnlyHandler(e):e}unwrapProxy(e){return mt(e)}getReactiveHandler(e){let t=this.reactiveObjectGraph.get(e);if(dt(t)){const n=new Ct(this,e);t=new Proxy(Nt(e),n),pt(t,e),this.reactiveObjectGraph.set(e,t)}return t}getReadOnlyHandler(e){let t=this.readOnlyObjectGraph.get(e);if(dt(t)){const n=new kt(this,e);t=new Proxy(Nt(e),n),pt(t,e),this.readOnlyObjectGraph.set(e,t)}return t}}({valueObserved:Oe,valueMutated:Le,tagPropertyKey:_t});function Ot(e){return Lt.getReadOnlyProxy(e)}function xt(e){return Lt.getProxy(e)}function Pt(e){e[_t]=void 0}function Rt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!U(n))throw new TypeError;if(!U(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const t=Wr(this);if(!wr(t))return Re(t,e),n.call(t.elm)},set(t){const n=Wr(this);return Je(n,e,t),r.call(n.elm,t)}}}const Dt=s(r(null)),$t=new WeakMap,It=function(){if(W(br))throw new TypeError("Illegal constructor");const e=br,{def:t,elm:n}=e,{bridge:r}=t,o=this;if(p(n,r.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return Pt(this),Br(o,e),Br(n,e),1===e.renderMode?e.renderRoot=Ft(e):e.renderRoot=n,this};function Ft(e){const{elm:t,mode:n,shadowMode:r,def:{ctor:o},renderer:{attachShadow:i}}=e,s=i(t,{"$$lwc-synthetic-mode":1===r,delegatesFocus:Boolean(o.delegatesFocus),mode:n});return e.shadowRoot=s,Br(s,e),s}It.prototype={constructor:It,dispatchEvent(e){const t=Wr(this),{elm:n,renderer:{dispatchEvent:r}}=t;return r(n,e)},addEventListener(e,t,n){const r=Wr(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,Mr(r,t),n)},removeEventListener(e,t,n){const r=Wr(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,Mr(r,t),n)},hasAttribute(e){const t=Wr(this),{elm:n,renderer:{getAttribute:r}}=t;return!W(r(n,e))},hasAttributeNS(e,t){const n=Wr(this),{elm:r,renderer:{getAttribute:o}}=n;return!W(o(r,t,e))},removeAttribute(e){const t=Wr(this),{elm:n,renderer:{removeAttribute:r}}=t;qe(n,e),r(n,e),Ke()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=Wr(this);qe(n,t),r(n,t,e),Ke()},getAttribute(e){const t=Wr(this),{elm:n}=t,{getAttribute:r}=t.renderer;return r(n,e)},getAttributeNS(e,t){const n=Wr(this),{elm:r}=n,{getAttribute:o}=n.renderer;return o(r,t,e)},setAttribute(e,t){const n=Wr(this),{elm:r,renderer:{setAttribute:o}}=n;qe(r,e),o(r,e,t),Ke()},setAttributeNS(e,t,n){const r=Wr(this),{elm:o,renderer:{setAttribute:i}}=r;qe(o,t),i(o,t,n,e),Ke()},getBoundingClientRect(){const e=Wr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const e=Wr(this),{elm:t,renderer:{isConnected:n}}=e;return n(t)},get classList(){const e=Wr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return Wr(this).shadowRoot},get refs(){const e=Wr(this);if(cr)return;const{refVNodes:t,hasRefVNodes:n,cmpTemplate:o}=e;if(!n)return;if(W(t))return Dt;let i=$t.get(t);if(B(i)){i=r(null);for(const e of f(t))i[e]=t[e].elm;s(i),$t.set(t,i)}return i},set refs(e){i(this,"refs",{configurable:!0,enumerable:!0,writable:!0,value:e})},get shadowRoot(){return null},get children(){const e=Wr(this);return e.renderer.getChildren(e.elm)},get childNodes(){const e=Wr(this);return e.renderer.getChildNodes(e.elm)},get firstChild(){const e=Wr(this);return e.renderer.getFirstChild(e.elm)},get firstElementChild(){const e=Wr(this);return e.renderer.getFirstElementChild(e.elm)},get lastChild(){const e=Wr(this);return e.renderer.getLastChild(e.elm)},get lastElementChild(){const e=Wr(this);return e.renderer.getLastElementChild(e.elm)},render(){return Wr(this).def.template},toString(){return`[object ${Wr(this).def.name}]`}};const Ht=r(null),Bt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of Bt)Ht[e]={value(t){const n=Wr(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};o(It.prototype,Ht);const Wt=r(null);for(const e in Xe)Wt[e]=Rt(e,Xe[e]);function Vt(e){return{get(){const t=Wr(this);return Re(t,e),t.cmpFields[e]},set(t){Je(Wr(this),e,t)},enumerable:!0,configurable:!0}}o(It.prototype,Wt),i(It,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class jt extends xe{constructor(e,t){super((()=>{j(this.debouncing)&&(this.debouncing=!0,Te((()=>{if(V(this.debouncing)){const{value:n}=this,{isDirty:r,component:o,idx:i}=e;t.call(o,n),this.debouncing=!1,V(e.isDirty)&&j(r)&&i>0&&Dr(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function Ut(e){return{get(){const t=Wr(this);if(!wr(t))return Re(t,e),t.cmpProps[e]},set(t){const n=Wr(this);n.cmpProps[e]=t,Pe(n,e)},enumerable:!0,configurable:!0}}function Gt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!U(n))throw new Error;return{get(){return n.call(this)},set(t){const n=Wr(this);if(r)if(we.ENABLE_REACTIVE_SETTER){let o=n.oar[e];B(o)&&(o=n.oar[e]=function(e,t){return new jt(e,t)}(n,r)),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function zt(e){return{get(){const t=Wr(this);return Re(t,e),t.cmpFields[e]},set(t){const n=Wr(this),r=xt(t);Je(n,e,r)},enumerable:!0,configurable:!0}}function Yt(e){return{get(){const t=Wr(this);return Re(t,e),t.cmpFields[e]},set(t){Je(Wr(this),e,t)},enumerable:!0,configurable:!0}}const Kt=new Map;const qt={apiMethods:ve,apiFields:ve,apiFieldsConfig:ve,wiredMethods:ve,wiredFields:ve,observedFields:ve};const Xt=new Set;function Jt(){return[]}Xt.add(Jt);const Qt=r(null),Zt=r(null);function en(e){let t=Qt[e];return B(t)&&(t=Qt[e]=function(){const t=Wr(this),{getHook:n}=t;return n(t.component,e)}),t}function tn(e){let t=Zt[e];return B(t)&&(t=Zt[e]=function(t){const n=Wr(this),{setHook:r}=n;t=Ot(t),r(n.component,e,t)}),t}function nn(e){return function(){const t=Wr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,_.call(arguments))}}function rn(e,t){return function(n,r,o){if(r===o)return;const i=e[n];B(i)?B(t)||t.apply(this,arguments):Ye(this,n)&&(this[i]=o)}}function on(e,t,n){let s;U(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),i(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const l=r(null),{attributeChangedCallback:c}=e.prototype,{observedAttributes:a=[]}=e,u=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[ae(n)]=n,u[n]={get:en(n),set:tn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:nn(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:rn(l,c)},i(s,"observedAttributes",{get:()=>[...a,...f(l)]}),o(s.prototype,u),s}const sn=on(Ve,c(Xe),[]);s(sn),h(sn.prototype);const ln=new WeakMap;function cn(e){const{shadowSupportMode:t,renderMode:i}=e,s=function(e){const t=Kt.get(e);return B(t)?qt:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:b,renderedCallback:w,errorCallback:y,render:v}=m;const C=function(e){let t=a(e);if(W(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(We(t)){const e=Be(t);t=e===t?It:e}return t}(e),E=C!==It?un(C):dn,T=on(E.bridge,f(l),f(u)),k=n(r(null),E.props,l),S=n(r(null),E.propsConfig,c),M=n(r(null),E.methods,u),A=n(r(null),E.wire,d,h);g=g||E.connectedCallback,b=b||E.disconnectedCallback,w=w||E.renderedCallback,y=y||E.errorCallback,v=v||E.render;let N=E.shadowSupportMode;B(t)||(N=t);let _=E.renderMode;B(i)||(_="light"===i?0:1);const L=function(e){return Cr.get(e)}(e)||E.template,O=e.name||E.name;o(m,p);return{ctor:e,name:O,wire:A,props:k,propsConfig:S,methods:M,bridge:T,template:L,renderMode:_,shadowSupportMode:N,connectedCallback:g,disconnectedCallback:b,renderedCallback:w,errorCallback:y,render:v}}function an(e){if(!U(e))return!1;if(e.prototype instanceof It)return!0;let t=e;do{if(We(t)){const e=Be(t);if(e===t)return!0;t=e}if(t===It)return!0}while(!W(t)&&(t=a(t)));return!1}function un(e){let t=ln.get(e);if(B(t)){if(We(e)){return t=un(Be(e)),ln.set(e,t),t}if(!an(e))throw new TypeError(`${e} is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.`);t=cn(e),ln.set(e,t)}return t}const dn={ctor:It,name:It.name,props:Wt,propsConfig:ve,methods:ve,renderMode:1,shadowSupportMode:"reset",wire:ve,bridge:sn,template:Jt,render:It.prototype.render};function fn(e){return`${e}-host`}function hn(e){return er.h("style",{key:"style",attrs:{type:"text/css"}},[er.t(e)])}function pn(e,t,n){const r=[];let o;for(let i=0;i<e.length;i++){let s=e[i];if(m(s))S.apply(r,pn(s,t,n));else{const e=s.$scoped$;if(we.DISABLE_LIGHT_DOM_UNSCOPED_CSS&&!e&&0===n.renderMode){He("Unscoped CSS is not supported in Light DOM. Please use scoped CSS (*.scoped.css) instead of unscoped CSS (*.css).");continue}const i=e||1===n.shadowMode&&1===n.renderMode?t:void 0,l=0===n.renderMode?!e:0===n.shadowMode;let c;1===n.renderMode?c=0===n.shadowMode:(B(o)&&(o=gn(n)),c=W(o)||0===o.shadowMode),S.call(r,s(i,l,c))}}return r}function mn(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return B(n)||0===n.length||(o=pn(n,r,e)),o}function gn(e){let t=e;for(;!W(t);){if(1===t.renderMode)return t;t=t.owner}return t}function bn(e){const{cmpTemplate:t,context:n}=e;return n.hasScopedStyles&&(null==t?void 0:t.stylesheetToken)||null}function wn(e,t){const{renderMode:n,shadowMode:r,renderer:{insertStylesheet:o}}=e;if(1===n&&1===r)for(let e=0;e<t.length;e++)o(t[e]);else{if(e.hydrated)return T.call(t,hn);{const n=function(e){const t=gn(e);return W(t)||1!==t.shadowMode?t:null}(e),r=W(n)?void 0:n.shadowRoot;for(let e=0;e<t.length;e++)o(t[e],r)}}return null}function yn(e){const{type:t}=e;return 2===t||3===t}function vn(e,t){return e.key===t.key&&e.sel===t.sel}function Cn(e){return 5===e.type}function En(e){return 6===e.type}function Tn(e,t){return"input"===e&&("value"===t||"checked"===t)}function kn(e,t,r){let{props:o}=t.data;const{spread:i}=t.data;if(B(o)&&B(i))return;let s;if(!W(e)){s=e.data.props;const t=e.data.spread;if(s===o&&t===i)return;B(s)&&(s=ve),B(t)||(s=n({},s,t))}B(i)||(o=n({},o,i));const l=W(e),{elm:c,sel:a}=t,{getProperty:u,setProperty:d}=r;for(const e in o){const t=o[e];!l&&t===(Tn(a,e)?u(c,e):s[e])&&e in s||d(c,e,t)}}const Sn=r(null);function Mn(e){if(null==e)return ve;e=z(e)?e:e+"";let t=Sn[e];if(t)return t;t=r(null);let n,o=0;const i=e.length;for(n=0;n<i;n++)32===$.call(e,n)&&(n>o&&(t[F.call(e,o,n)]=!0),o=n+1);return n>o&&(t[F.call(e,o,n)]=!0),Sn[e]=t,t}function An(e,t){const{elm:n,data:{on:r}}=e;if(B(r))return;const{addEventListener:o}=t;for(const e in r){o(n,e,r[e])}}function Nn(e,t,n,r){var o;o=t,Un.has(o)?zn(e,t,n,r):Yn(e,t,n,r)}function _n(e,t,n,r){var o,i;if(e!==t)switch(t.type){case 0:case 1:!function(e,t,n){t.elm=e.elm,t.text!==e.text&&In(t,n)}(e,t,r);break;case 4:t.elm=e.elm;break;case 5:!function(e,t,n,r){const{children:o,stable:i}=t;i?Yn(e.children,o,n,r):zn(e.children,o,n,r);t.elm=o[o.length-1].elm}(e,t,n,r);break;case 2:!function(e,t,n){const r=t.elm=e.elm;Bn(e,t,n),Nn(e.children,t.children,r,n)}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:r);break;case 3:!function(e,t,n,r){if(e.ctor!==t.ctor){const o=r.nextSibling(e.elm);Pn(e,n,r,!0),On(t,n,o,r)}else{const n=t.elm=e.elm,o=t.vm=e.vm;Bn(e,t,r),B(o)||Vn(t,o),Nn(e.children,t.children,n,r),B(o)||Dr(o)}}(e,t,n,null!==(i=t.data.renderer)&&void 0!==i?i:r)}}function Ln(e,t,n,r){var o,i;switch(e.type){case 0:!function(e,t,n,r){const{owner:o}=e,{createText:i}=r,s=e.elm=i(e.text);$n(s,o,r),Fn(s,t,n,r)}(e,t,r,n);break;case 1:!function(e,t,n,r){const{owner:o}=e,{createComment:i}=r,s=e.elm=i(e.text);$n(s,o,r),Fn(s,t,n,r)}(e,t,r,n);break;case 4:!function(e,t,n,r){const{owner:o}=e,{cloneNode:i,isSyntheticShadowDefined:s}=r,l=e.elm=i(e.fragment,!0);$n(l,o,r);const{renderMode:c,shadowMode:a}=o;s&&(1!==a&&0!==c||(l.$shadowStaticNode$=!0));Fn(l,t,n,r)}(e,t,r,n);break;case 5:!function(e,t,n,r){const{children:o}=e;xn(o,t,r,n),e.elm=o[o.length-1].elm}(e,t,r,n);break;case 2:!function(e,t,n,r){const{sel:o,owner:i,data:{svg:s}}=e,{createElement:l}=r,c=V(s)?ne:void 0,a=e.elm=l(o,c);$n(a,i,r),Wn(a,i,r),function(e,t){var n;const{owner:r,data:{context:o}}=t;1===r.shadowMode&&"manual"===(null===(n=null==o?void 0:o.lwc)||void 0===n?void 0:n.dom)&&(e.$domManual$=!0)}(a,e),Bn(null,e,r),Fn(a,t,n,r),xn(e.children,a,r,null)}(e,t,r,null!==(o=e.data.renderer)&&void 0!==o?o:n);break;case 3:On(e,t,r,null!==(i=e.data.renderer)&&void 0!==i?i:n)}}function On(e,t,n,r){const{sel:o,owner:i}=e,{createCustomElement:s}=r;let l;let c,a;we.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(c=e=>{$r(e)},a=e=>{Ir(e)});const u=s(o.toLowerCase(),(t=>{l=function(e,t,n){let r=Vr(e);if(!B(r))return r;const{sel:o,mode:i,ctor:s,owner:l}=t;return r=Hr(e,s,n,{mode:i,owner:l,tagName:o}),r}(t,e,r)}),c,a);e.elm=u,e.vm=l,$n(u,i,r),Wn(u,i,r),l&&Vn(e,l),Bn(null,e,r),Fn(u,t,n,r),l&&(we.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||Yr(l)),xn(e.children,u,r,null),l&&function(e){jr(e)}(l)}function xn(e,t,n,r,o=0,i=e.length){for(;o<i;++o){const i=e[o];Dn(i)&&Ln(i,t,n,r)}}function Pn(e,t,n,r=!1){const{type:o,elm:i,sel:s}=e;switch(r&&(5===o?Rn(e.children,t,n,r):Hn(i,t,n)),o){case 2:{const t="slot"===s&&1===e.owner.shadowMode;Rn(e.children,i,n,t);break}case 3:{const{vm:t}=e;B(t)||function(e){Fr(e)}(t)}}}function Rn(e,t,n,r=!1,o=0,i=e.length){for(;o<i;++o){const i=e[o];Dn(i)&&Pn(i,t,n,r)}}function Dn(e){return null!=e}function $n(e,t,n){const{renderRoot:r,renderMode:o,shadowMode:i}=t,{isSyntheticShadowDefined:s}=n;s&&(1!==i&&0!==o||(e.$shadowResolver$=r.$shadowResolver$))}function In(e,t){const{elm:n,text:r}=e,{setText:o}=t;o(n,r)}function Fn(e,t,n,r){r.insert(e,t,n)}function Hn(e,t,n){n.remove(e,t)}function Bn(e,t,n){W(e)&&(An(t,n),function(e,t){const{elm:n,data:{classMap:r}}=e;if(B(r))return;const{getClassList:o}=t,i=o(n);for(const e in r)i.add(e)}(t,n),function(e,t){const{elm:n,data:{styleDecls:r}}=e;if(B(r))return;const{setCSSStyleProperty:o}=t;for(let e=0;e<r.length;e++){const[t,i,s]=r[e];o(n,t,i,s)}}(t,n)),function(e,t,n){const{elm:r,data:{className:o}}=t,i=W(e)?void 0:e.data.className;if(i===o)return;const{getClassList:s}=n,l=s(r),c=Mn(o),a=Mn(i);let u;for(u in a)B(c[u])&&l.remove(u);for(u in c)B(a[u])&&l.add(u)}(e,t,n),function(e,t,n){const{elm:r,data:{style:o}}=t;if((W(e)?void 0:e.data.style)===o)return;const{setAttribute:i,removeAttribute:s}=n;z(o)&&""!==o?i(r,"style",o):s(r,"style")}(e,t,n),t.data.external?function(e,t,n){const{data:{attrs:r},elm:o}=t;if(B(r))return;const{removeAttribute:i,setAttribute:s,setProperty:l}=n,c=W(e)?ve:e.data.attrs;for(const e in r){const t=r[e];c[e]!==t&&(ue(e)in o?l(o,e,t):58===$.call(e,3)?s(o,e,t,te):58===$.call(e,5)?s(o,e,t,re):W(t)||B(t)?i(o,e):s(o,e,t))}}(e,t,n):function(e,t,n){const{attrs:r}=t.data;if(B(r))return;const o=W(e)?ve:e.data.attrs;if(o===r)return;const{elm:i}=t,{setAttribute:s,removeAttribute:l}=n;for(const e in r){const t=r[e];o[e]!==t&&(qe(i,e),58===$.call(e,3)?s(i,e,t,te):58===$.call(e,5)?s(i,e,t,re):W(t)||B(t)?l(i,e):s(i,e,t),Ke())}}(e,t,n),kn(e,t,n)}function Wn(e,t,n){const r=bn(t);if(!W(r)){const{getClassList:t}=n;t(e).add(r)}const{stylesheetToken:o}=t.context;1!==t.shadowMode||B(o)||(e.$shadowToken$=o)}function Vn(e,t){const n=e.aChildren||e.children;t.aChildren=n;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t,n){const{cmpSlots:{slotAssignments:o}}=e,i=r(null);if(jn(e,t,i),e.cmpSlots={owner:n,slotAssignments:i},j(e.isDirty)){const t=f(o);if(t.length!==f(i).length)return void kr(e);for(let n=0,r=t.length;n<r;n+=1){const r=t[n];if(B(i[r])||o[r].length!==i[r].length)return void kr(e);const s=o[r],l=i[r];for(let t=0,n=i[r].length;t<n;t+=1)if(s[t]!==l[t])return void kr(e)}}}(t,n,e.owner),e.aChildren=n,e.children=Ce)}function jn(e,t,n){var r,o;for(let i=0,s=t.length;i<s;i+=1){const s=t[i];if(W(s))continue;if(Cn(s)){jn(e,s.children.slice(1,-1),n);continue}let l="";yn(s)?l=null!==(o=null===(r=s.data.attrs)||void 0===r?void 0:r.slot)&&void 0!==o?o:"":En(s)&&(l=s.slotName);const c=n[l]=n[l]||[];S.call(c,s)}}const Un=new WeakMap;function Gn(e,t,n){const r={};for(let o=t;o<=n;++o){const t=e[o];if(Dn(t)){const{key:e}=t;void 0!==e&&(r[e]=o)}}return r}function zn(e,t,n,r){let o=0,i=0,s=e.length-1,l=e[0],c=e[s];const a=t.length-1;let u,d,f,h,p=a,m=t[0],g=t[p],b=!1;for(;o<=s&&i<=p;)Dn(l)?Dn(c)?Dn(m)?Dn(g)?vn(l,m)?(_n(l,m,n,r),l=e[++o],m=t[++i]):vn(c,g)?(_n(c,g,n,r),c=e[--s],g=t[--p]):vn(l,g)?(_n(l,g,n,r),Fn(l.elm,n,r.nextSibling(c.elm),r),l=e[++o],g=t[--p]):vn(c,m)?(_n(c,m,n,r),Fn(m.elm,n,l.elm,r),c=e[--s],m=t[++i]):(void 0===u&&(u=Gn(e,o,s)),d=u[m.key],B(d)?(Ln(m,n,r,l.elm),m=t[++i]):(f=e[d],Dn(f)&&(f.sel!==m.sel?Ln(m,n,r,l.elm):(_n(f,m,n,r),b||(b=!0,e=[...e]),e[d]=void 0,Fn(f.elm,n,l.elm,r))),m=t[++i])):g=t[--p]:m=t[++i]:c=e[--s]:l=e[++o];if(o<=s||i<=p)if(o>s){let e,o=p;do{e=t[++o]}while(!Dn(e)&&o<a);h=Dn(e)?e.elm:null,xn(t,n,r,h,i,p+1)}else Rn(e,n,r,!0,o,s+1)}function Yn(e,t,n,r){const o=e.length,i=t.length;if(0===o)return void xn(t,n,r,null);if(0===i)return void Rn(e,n,r,!0);let s=null;for(let o=i-1;o>=0;o-=1){const i=e[o],l=t[o];l!==i&&(Dn(i)?Dn(l)?(_n(i,l,n,r),s=l.elm):Pn(i,n,r,!0):Dn(l)&&(Ln(l,n,r,s),s=l.elm))}}const Kn=Symbol.iterator;function qn(e,t,n=Ce){const r=ur(),{key:o,ref:i}=t,s={type:2,sel:e,data:t,children:n,elm:void 0,key:o,owner:r};return B(i)||Ae(r,i,s),s}function Xn(e,t,n,r=Ce){const o=ur(),{key:i,ref:s}=n;const l={type:3,sel:e,data:n,children:r,elm:undefined,key:i,ctor:t,owner:o,mode:"open",aChildren:undefined,vm:undefined};return function(e){S.call(ur().velements,e)}(l),B(s)||Ae(o,s,l),l}function Jn(e){return{type:0,sel:undefined,text:e,elm:undefined,key:undefined,owner:ur()}}function Qn(e){var t;return t=e,Un.set(t,1),e}let Zn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const er=s({s:function(e,t,n,r){if(!B(r)&&!B(r.slotAssignments)&&!B(r.slotAssignments[e])&&0!==r.slotAssignments[e].length){const o=[],i=r.slotAssignments[e];for(let e=0;e<i.length;e++){const n=i[e];if(!W(n)){const e=En(n);if(e!==!B(t.slotData))continue;if(e){const e=ur();dr(r.owner);try{S.apply(o,n.factory(t.slotData))}finally{dr(e)}}else S.call(o,n)}}n=o}const o=ur(),{renderMode:i,shadowMode:s}=o;return 0===i?(Qn(n),n):(1===s&&Qn(n),qn("slot",t,n))},h:qn,c:Xn,i:function(e,t){const n=[];if(Qn(n),B(e)||null===e)return n;const r=e[Kn]();let o=r.next(),i=0,{value:s,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(s,i,0===i,!0===l);m(e)?S.apply(n,e):S.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];Qn(n);for(let r=0;r<t;r+=1){const t=e[r];m(t)?S.apply(n,t):S.call(n,t)}return n},t:Jn,d:function(e){return null==e?"":String(e)},b:function(e){const t=ur();if(W(t))throw new Error;const n=t;return function(t){vr(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{type:1,sel:undefined,text:e,elm:undefined,key:"c",owner:ur()}},dc:function(e,t,n,r=Ce){if(null==t)return null;if(!an(t))throw new Error(`Invalid LWC Constructor ${q(t)} for custom element <${e}>.`);return Xn(e,t,n,r)},fr:function(e,t,n){return{type:5,sel:void 0,key:e,elm:void 0,children:[Jn(""),...t,Jn("")],stable:n,owner:ur()}},ti:function(e){return e>0&&!(V(e)||j(e))?0:e},st:function(e,t){return{type:4,sel:void 0,key:t,elm:void 0,fragment:e,owner:ur()}},gid:function(e){const t=ur();if(B(e)||""===e)return e;if(W(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?I.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=ur();if(B(e)||""===e)return e;if(W(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return Zn(e)},ssf:function(e,t){return{type:6,factory:t,owner:ur(),elm:void 0,sel:void 0,key:void 0,slotName:e}}});let tr=!1,nr=Y;const rr={enableProfiler(){tr=!0},disableProfiler(){tr=!1},attachDispatcher(e){nr=e,this.enableProfiler()},detachDispatcher(){const e=nr;return nr=Y,this.disableProfiler(),e}};function or(e,t){tr&&nr(e,0,t.tagName,t.idx,t.renderMode,t.shadowMode)}function ir(e,t){tr&&nr(e,1,t.tagName,t.idx,t.renderMode,t.shadowMode)}function sr(e,t){tr&&nr(e,0,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}function lr(e,t){tr&&nr(e,1,null==t?void 0:t.tagName,null==t?void 0:t.idx,null==t?void 0:t.renderMode,null==t?void 0:t.shadowMode)}let cr=!1,ar=null;function ur(){return ar}function dr(e){ar=e}function fr(e){return(t,...n)=>{const o=r(null);return function(){const{context:{hasScopedStyles:r,stylesheetToken:i},shadowMode:s,renderer:l}=ur(),c=!B(i),a=1===s;let u=0;if(c&&r&&(u|=1),c&&a&&(u|=2),!B(o[u]))return o[u];const d=r&&c?" "+i:"",f=r&&c?` class="${i}"`:"",h=c&&a?" "+i:"";let p="";for(let e=0,r=n.length;e<r;e++)switch(n[e]){case 0:p+=t[e]+d;break;case 1:p+=t[e]+f;break;case 2:p+=t[e]+h;break;case 3:p+=t[e]+f+h}return p+=t[t.length-1],o[u]=e(p,l),o[u]}}}const hr=fr(((e,t)=>{const{createFragment:n}=t;return n(e)})),pr=fr(((e,t)=>{const{createFragment:n,getFirstChild:r}=t;return r(n("<svg>"+e+"</svg>"))}));function mr(e,t){const n=cr,o=ar;let i=[];return Qr(e,e.owner,(()=>{ar=e,or(1,e)}),(()=>{const{component:n,context:o,cmpSlots:s,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(W(l)||Jr(e),c=t,!Xt.has(c))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${q(t)}.`);e.cmpTemplate=t,o.tplCache=r(null),o.hasScopedStyles=gr(t),function(e,t){const{elm:n,context:r,renderMode:o,shadowMode:i,renderer:{getClassList:s,removeAttribute:l,setAttribute:c}}=e,{stylesheets:a,stylesheetToken:u}=t,d=1===o&&1===i,{hasScopedStyles:f}=r;let h,p,m;const{stylesheetToken:g,hasTokenInClass:b,hasTokenInAttribute:w}=r;B(g)||(b&&s(n).remove(fn(g)),w&&l(n,fn(g))),B(a)||0===a.length||(h=u),B(h)||(f&&(s(n).add(fn(h)),p=!0),d&&(c(n,fn(h),""),m=!0)),r.stylesheetToken=h,r.hasTokenInClass=p,r.hasTokenInAttribute=m}(e,t);const n=mn(e,t);o.styleVNodes=0===n.length?null:wn(e,n)}var c;const a=Boolean(t.hasRefs);e.hasRefVNodes=a,e.refVNodes=a?r(null):null,e.velements=[],cr=!0,i=t.call(void 0,er,n,s,o.tplCache);const{styleVNodes:u}=o;W(u)||P.apply(i,u)}))}),(()=>{cr=n,ar=o,ir(1,e)})),i}function gr(e){const{stylesheets:t}=e;if(!B(t))for(let e=0;e<t.length;e++)if(V(t[e].$scoped$))return!0;return!1}let br=null;function wr(e){return br===e}function yr(e,t,n){const{component:r,callHook:o,owner:i}=e;Qr(e,i,Y,(()=>{o(r,t,n)}),Y)}function vr(e,t,n,r){const{callHook:o,owner:i}=e;Qr(e,i,Y,(()=>{o(n,t,[r])}),Y)}const Cr=new Map;function Er(e){return De((()=>{const{isDirty:t}=e;j(t)&&(kr(e),function(e){if(V(e.isScheduled))return;e.isScheduled=!0,0===Gr.length&&Te(zr);S.call(Gr,e)}(e))}))}function Tr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=ur();let s,l=!1;return Qr(e,o,(()=>{dr(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{dr(i)})),l?mr(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function kr(e){e.isDirty=!0}const Sr=new WeakMap;function Mr(e,t){if(!U(t))throw new TypeError;let n=Sr.get(t);return B(n)&&(n=function(n){vr(e,t,void 0,n)},Sr.set(t,n)),n}const Ar=r(null),Nr=["rendered","connected","disconnected"];function _r(e,t){const{component:n,def:r,context:o}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},r,o)}let Lr=0;const Or=new WeakMap;function xr(e,t,n=[]){return t.apply(e,n)}function Pr(e,t,n){e[t]=n}function Rr(e,t){return e[t]}function Dr(e){jr(e)}function $r(e){const t=Wr(e);sr(7,t),1===t.state&&Ir(e),Yr(t),jr(t),lr(7,t)}function Ir(e){Fr(Wr(e))}function Fr(e){const{state:t}=e;if(2!==t){const{oar:t,tro:n}=e;n.reset();for(const e in t)t[e].reset();!function(e){j(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=Ar;t&&_r(e,t);Kr(e)&&function(e){const{wiredDisconnecting:t}=e.context;Qr(e,e,Y,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),Y)}(e);const{disconnectedCallback:n}=e.def;B(n)||(or(5,e),yr(e,n),ir(5,e))}(e),qr(e),function(e){const{aChildren:t}=e;Xr(t)}(e)}}function Hr(e,t,n,o){const{mode:i,owner:s,tagName:l,hydrated:c}=o,a=un(t),u={elm:e,def:a,idx:Lr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:i,owner:s,refVNodes:null,hasRefVNodes:!1,children:Ce,aChildren:Ce,velements:Ce,cmpProps:r(null),cmpFields:r(null),cmpSlots:{slotAssignments:r(null)},oar:r(null),cmpTemplate:null,hydrated:Boolean(c),renderMode:a.renderMode,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNodes:null,tplCache:ve,wiredConnecting:Ce,wiredDisconnecting:Ce},tro:null,shadowMode:null,component:null,shadowRoot:null,renderRoot:null,callHook:xr,setHook:Pr,getHook:Rr,renderer:n};return u.shadowMode=function(e,t){const{def:n}=e,{isSyntheticShadowDefined:r,isNativeShadowDefined:o}=t;let i;if(r)if(0===n.renderMode)i=0;else if(o)if(we.ENABLE_MIXED_SHADOW_MODE)if("any"===n.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!W(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=W(t)||0!==t.shadowMode?1:0}else i=1;else i=1;else i=0;return i}(u,n),u.tro=Er(u),function(e,t){const n=br;let r;or(0,e),br=e;try{const o=new t;if(br.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(ir(0,e),br=n,!B(r))throw Ie(e,r),r}}(u,a.ctor),Kr(u)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],s=Zr.get(i);if(!B(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=to(e,t,s),c=s.dynamic.length>0;S.call(r,(()=>{n.connect(),we.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),S.call(o,(()=>{n.disconnect(),l()}))}}}(u),u}function Br(e,t){Or.set(e,t)}function Wr(e){return Or.get(e)}function Vr(e){return Or.get(e)}function jr(e){if(V(e.isDirty)){!function(e,t){const{renderRoot:n,children:r,renderer:o}=e;e.children=t,(t.length>0||r.length>0)&&r!==t&&Qr(e,e,(()=>{or(2,e)}),(()=>{Nn(r,t,n,o)}),(()=>{ir(2,e)}));1===e.state&&Ur(e)}(e,Tr(e))}}function Ur(e){const{def:{renderedCallback:t}}=e,{rendered:n}=Ar;n&&_r(e,n),B(t)||(or(4,e),yr(e,t),ir(4,e))}let Gr=[];function zr(){sr(8);const e=Gr.sort(((e,t)=>e.idx-t.idx));Gr=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{jr(r)}catch(r){throw t+1<n&&(0===Gr.length&&Te(zr),P.apply(Gr,_.call(e,t+1))),lr(8),r}}lr(8)}function Yr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Ar;n&&_r(e,n),Kr(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;B(r)||(or(3,e),yr(e,r),ir(3,e))}function Kr(e){return c(e.def.wire).length>0}function qr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!B(n)){const e=Vr(n);B(e)||Fr(e)}}}function Xr(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(!W(n)&&!B(n.elm))switch(n.type){case 2:Xr(n.children);break;case 3:Fr(Wr(n.elm));break}}}function Jr(e){const{children:t,renderRoot:n,renderer:{remove:r}}=e;for(let e=0,o=t.length;e<o;e++){const o=t[e];W(o)||B(o.elm)||r(o.elm,n)}e.children=Ce,qr(e),e.velements=Ce}function Qr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!B(i)){Ie(e,i);const n=W(t)?void 0:function(e){let t=e;for(;!W(t);){if(!B(t.def.errorCallback))return t;t=t.owner}}(t);if(B(n))throw i;Jr(e),or(6,e);yr(n,n.def.errorCallback,[i,i.wcStack]),ir(6,e)}}}const Zr=new Map;class eo extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),o(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function to(e,t,n){const{method:r,adapter:o,configCallback:s,dynamic:l}=n;const c=B(r)?function(e,t){return n=>{Je(e,t,n)}}(e,t):function(e,t){return n=>{Qr(e,e.owner,Y,(()=>{t.call(e.component,n)}),Y)}}(e,r),a=e=>{c(e)};let u,d;i(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),i(a,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),Qr(e,e,Y,(()=>{d=new o(a)}),Y);const{computeConfigAndUpdate:f,ro:h}=function(e,t,n){let r=!1;const o=De((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),i()})))})),i=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:i,ro:o}}(e.component,s,(t=>{Qr(e,e,Y,(()=>{d.update(t,u)}),Y)}));return B(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=ro(r);if(B(o))return;const{elm:i,context:{wiredConnecting:s,wiredDisconnecting:l},renderer:{dispatchEvent:c}}=e;S.call(s,(()=>{const e=new eo(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){S.call(l,e)}});c(i,e)}))}(e,n,(t=>{u!==t&&(u=t,1===e.state&&f())})),{connector:d,computeConfigAndUpdate:f,resetConfigWatcher:()=>h.reset()}}const no=new Map;function ro(e){return no.get(e)}function oo(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Zr.set(e,o)}function io(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Zr.set(e,o)}let so=!1;function lo(e){const t=Tr(e);e.children=t;const{renderRoot:n,renderer:{getFirstChild:r}}=e;uo(r(n),t,n,e),Ur(e)}function co(e,t,n){var r,o;let i;switch(t.type){case 0:i=function(e,t,n){var r;if(!po(t,e,3,n))return fo(e,t,n);const{setText:o}=n;return o(e,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 1:i=function(e,t,n){var r;if(!po(t,e,8,n))return fo(e,t,n);const{setProperty:o}=n;return o(e,ao,null!==(r=t.text)&&void 0!==r?r:null),t.elm=e,e}(e,t,n);break;case 4:i=function(e,t,n){if(!function(e,t,n,r){const{getProperty:o,getAttribute:i}=r;if(3===o(e,"nodeType"))return!!po(n,t,3,r)&&o(e,ao)===o(t,ao);if(8===o(e,"nodeType"))return!!po(n,t,8,r)&&o(e,ao)===o(t,ao);if(!po(n,t,1,r))return!1;let s=!0;if(o(e,"tagName")!==o(t,"tagName"))return!1;return o(e,"getAttributeNames").call(e).forEach((r=>{i(e,r)!==i(t,r)&&(He(`Mismatch hydrating element <${o(e,"tagName").toLowerCase()}>: attribute "${r}" has different values, expected "${i(e,r)}" but found "${i(t,r)}"`,n.owner),s=!1)})),s}(t.fragment,e,t,n))return fo(e,t,n);return t.elm=e,e}(e,t,n);break;case 5:i=function(e,t,n){const{children:r,owner:o}=t;return uo(e,r,n.getProperty(e,"parentNode"),o),t.elm=r[r.length-1].elm}(e,t,n);break;case 2:i=function(e,t,n){if(!po(t,e,1,n)||!mo(t,e,n))return fo(e,t,n);t.elm=e;const{owner:r}=t,{context:o}=t.data,i=Boolean(!B(o)&&!B(o.lwc)&&"manual"===o.lwc.dom);if(i){const{data:{props:r}}=t,{getProperty:o}=n;B(r)||B(r.innerHTML)||o(e,"innerHTML")===r.innerHTML&&(t.data=Object.assign(Object.assign({},t.data),{props:Me(r,"innerHTML")}))}if(ho(t,n),!i){const{getFirstChild:o}=n;uo(o(e),t.children,e,r)}return e}(e,t,null!==(r=t.data.renderer)&&void 0!==r?r:n);break;case 3:i=function(e,t,n){if(!po(t,e,1,n)||!mo(t,e,n))return fo(e,t,n);const{sel:r,mode:o,ctor:i,owner:s}=t,l=Hr(e,i,n,{mode:o,owner:s,tagName:r,hydrated:!0});if(t.elm=e,t.vm=l,Vn(t,l),ho(t,n),Yr(l),0!==l.renderMode){const{getFirstChild:r}=n;uo(r(e),t.children,e,l)}return lo(l),e}(e,t,null!==(o=t.data.renderer)&&void 0!==o?o:n)}return n.nextSibling(i)}const ao="nodeValue";function uo(e,t,n,r){let o=e,i=null;const{renderer:s}=r;for(let e=0;e<t.length;e++){const r=t[e];W(r)||(o?(o=co(o,r,s),i=r.elm):(so=!0,Ln(r,n,s,i),i=r.elm))}if(o){so=!0;const{nextSibling:e}=s;do{const t=o;o=e(o),Hn(t,n,s)}while(o)}}function fo(e,t,n){so=!0;const{getProperty:r}=n,o=r(e,"parentNode");return Ln(t,o,n,e),Hn(e,o,n),t.elm}function ho(e,t){An(e,t),kn(null,e,t)}function po(e,t,n,r){const{getProperty:o}=r;return o(t,"nodeType")===n}function mo(e,t,n){const{getProperty:r}=n;if(e.sel.toLowerCase()!==r(t,"tagName").toLowerCase())return!1;const o=function(e,t,n){const{data:{attrs:r={}}}=e;let o=!0;for(const[e,i]of Object.entries(r)){const{getAttribute:r}=n,s=r(t,e);String(i)!==s&&(o=!1)}return o}(e,t,n),i=function(e,t,n){const{data:r,owner:o}=e;let{className:i,classMap:s}=r;const{getProperty:l,getClassList:c}=n,a=bn(o),u=function(e){return 3===e.type}(e)?function(e){const{template:t}=un(e.ctor),{stylesheetToken:n}=t;return!B(n)&&gr(t)?fn(n):null}(e):null;if(!W(a)||!W(u))if(B(i))if(B(s)){const e=[a,u],t=y.call(e,(e=>!W(e)));t.length&&(i=E.call(t," "))}else s=Object.assign(Object.assign(Object.assign({},s),W(a)?{}:{[a]:!0}),W(u)?{}:{[u]:!0});else{const e=[a,i,u],t=y.call(e,(e=>!W(e)));i=E.call(t," ")}let d=!0;const h=l(t,"className");if(B(i)||String(i)===h)if(B(s))B(i)&&""!==h&&(d=!1);else{const e=c(t);let n="";for(const t in s)n+=" "+t,e.contains(t)||(d=!1);n.trim(),e.length>f(s).length&&(d=!1)}else d=!1;return d}(e,t,n),s=function(e,t,n){const{data:{style:r,styleDecls:o}}=e,{getAttribute:i}=n,s=i(t,"style")||"";let l=!0;if(B(r)||r===s){if(!B(o)){const e=function(e){const t={},n=e.split(ke);for(const e of n)if(e){const[n,r]=e.split(Se);void 0!==n&&void 0!==r&&(t[n.trim()]=r.trim())}return t}(s),t=[];for(let n=0,r=o.length;n<r;n++){const[r,i,s]=o[n];t.push(`${r}: ${i+(s?" important!":"")}`);const c=e[r];B(c)?l=!1:c.startsWith(i)?s&&!c.endsWith("!important")&&(l=!1):l=!1}f(e).length>o.length&&(l=!1),E.call(t,";")}}else l=!1;return l}(e,t,n);return o&&i&&s}let go=!1;const bo=U(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),wo=bo&&l(document.adoptedStyleSheets,"length").writable,yo=!B(document.documentMode),vo=new Map;function Co(e){const t=document.createElement("style");return t.type="text/css",t.textContent=e,t}function Eo(e,t,n){const r=function(e,t){const{element:n,usedElement:r}=t;return r?yo?Co(e):n.cloneNode(!0):(t.usedElement=!0,n)}(e,n);t.appendChild(r)}function To(e,t){let n=vo.get(e);return B(n)&&(n={stylesheet:void 0,element:void 0,roots:void 0,global:!1,usedElement:!1},vo.set(e,n)),t&&B(n.stylesheet)?n.stylesheet=function(e){const t=new CSSStyleSheet;return t.replaceSync(e),t}(e):!t&&B(n.element)&&(n.element=Co(e)),n}function ko(e,t){const n=To(e,bo);let{roots:r}=n;if(B(r))r=n.roots=new WeakSet;else if(r.has(t))return;r.add(t),bo?function(e,t,n){const{adoptedStyleSheets:r}=t,{stylesheet:o}=n;wo?r.push(o):t.adoptedStyleSheets=[...r,o]}(0,t,n):Eo(e,t,n)}const So=function(){if("undefined"==typeof customElements)return!1;try{const e=HTMLElement;class t extends e{}return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),t),new t,!0}catch(e){return!1}}(),Mo=(e,t)=>{const n=document.createElement(e);return t(n),n},Ao=new Map,No=new WeakSet;let _o=!1;const Lo=(e,t)=>{const n=!B(e),r=!B(t);class o extends HTMLElement{constructor(e){super(),_o?e(this):(n||r)&&No.add(this)}}return n&&(o.prototype.connectedCallback=function(){No.has(this)||e(this)}),r&&(o.prototype.disconnectedCallback=function(){No.has(this)||t(this)}),o},Oo=(e,t,n,r)=>{let o=Ao.get(e);if(B(o)){if(!B(customElements.get(e)))throw new Error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`);o=Lo(n,r),customElements.define(e,o),Ao.set(e,o)}_o=!0;try{return new o(t)}finally{_o=!1}};let xo,Po;we.ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY&&So&&(xo=function(){if(!So)throw new Error("Custom elements are not supported in this environment.");const{HTMLElement:e}=window,{hasAttribute:t,setAttribute:n,removeAttribute:r,getAttribute:i}=e.prototype,s=new WeakMap,l=new WeakMap,c=new WeakMap,a=new WeakSet,u=new WeakSet,d=new Map,f=new Map,h=new Map,m=new Map,g=new Map,b=new Set;function w(t,n){class r extends e{constructor(e){super();const r=!B(e);if(r){if(!T(e))throw new TypeError("Failed to create custom element: the provided constructor is not a constructor.");if(!a.has(e))throw new Error(`Failed to create custom element: the provided constructor is unregistered: ${e.name}.`)}const o=r?k(e):f.get(t);B(o)?l.set(this,n):E(this,n,o)}connectedCallback(){var e;const n=s.get(this);if(B(n)){let e=m.get(t);B(e)&&m.set(t,e=new Set),e.add(this)}else null===(e=n.connectedCallback)||void 0===e||e.call(this)}disconnectedCallback(){var e;const n=s.get(this);if(B(n)){const e=m.get(t);B(e)||e.delete(this)}else null===(e=n.disconnectedCallback)||void 0===e||e.call(this)}formAssociatedCallback(e){var t;const n=s.get(this);null===(t=null==n?void 0:n.formAssociatedCallback)||void 0===t||t.call(this,e)}formDisabledCallback(e){var t;const n=s.get(this);null===(t=null==n?void 0:n.formDisabledCallback)||void 0===t||t.call(this,e)}formResetCallback(){var e;const t=s.get(this);null===(e=null==t?void 0:t.formResetCallback)||void 0===e||e.call(this)}formStateRestoreCallback(e,t){var n;const r=s.get(this);null===(n=null==r?void 0:r.formStateRestoreCallback)||void 0===n||n.call(this,e,t)}adoptedCallback(){var e;const t=s.get(this);null===(e=null==t?void 0:t.adoptedCallback)||void 0===e||e.call(this)}attributeChangedCallback(e,t,r){var o;const i=s.get(this);(n===i||(null==i?void 0:i.observedAttributes.has(e)))&&(null===(o=i.attributeChangedCallback)||void 0===o||o.apply(this,[e,t,r]))}}return r.observedAttributes=[...n.observedAttributes],r.formAssociated=n.formAssociated,u.add(r),r}function y(e,t){const{observedAttributes:n,attributeChangedCallback:r}=t;return 0===n.size||B(r)?b:new Set([...t.observedAttributes].filter((t=>!e.observedAttributes.has(t))))}function v(e){setTimeout((()=>{throw e}))}let C;function E(e,l,c){p(e,c.UserCtor.prototype),s.set(e,c),c!==l&&function(e,t,s){const l=y(t,s);if(0===l.size)return;const{attributeChangedCallback:c}=s;o(e,{setAttribute:{value:function(e,t){if(l.has(e)){const r=i.call(this,e);n.call(this,e,t);try{c.call(this,e,r,t+"")}catch(e){v(e)}}else n.call(this,e,t)},writable:!0,enumerable:!0,configurable:!0},removeAttribute:{value:function(e){if(l.has(e)){const t=i.call(this,e);r.call(this,e);try{c.call(this,e,t,null)}catch(e){v(e)}}else r.call(this,e)},writable:!0,enumerable:!0,configurable:!0}})}(e,l,c),C=e,new c.UserCtor,function(e,n,r){const o=y(n,r);if(0===y(n,r).size)return;const{attributeChangedCallback:s}=r;o.forEach((n=>{if(t.call(e,n)){const t=i.call(e,n);s.call(e,n,null,t)}}))}(e,l,c)}function T(e){return U(e)&&G(e.prototype)}function k(e){if(!T(e))throw new TypeError("The referenced constructor is not a constructor.");const t=c.get(e);return B(t)?function(e){var t;const{connectedCallback:n,disconnectedCallback:r,formAssociatedCallback:o,formDisabledCallback:i,formResetCallback:s,formStateRestoreCallback:l,adoptedCallback:c,attributeChangedCallback:a}=e.prototype,u=Boolean(e.formAssociated);return{UserCtor:e,PivotCtor:void 0,connectedCallback:n,disconnectedCallback:r,formAssociatedCallback:o,formDisabledCallback:i,formResetCallback:s,formStateRestoreCallback:l,adoptedCallback:c,attributeChangedCallback:a,observedAttributes:new Set(null!==(t=e.observedAttributes)&&void 0!==t?t:[]),formAssociated:u}}(e):t}const{customElements:S}=window,{define:M,whenDefined:A,get:N}=S;return CustomElementRegistry.prototype.define=function(e,t,n){if(n&&n.extends)throw new DOMException('NotSupportedError: "extends" key in customElements.define() options is not supported.');if(f.has(e))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${e}" has already been used with this registry`);if(!B(h.get(t)))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const r=k(t);a.add(t);let o=d.get(e);B(o)&&(o=w(e,r),M.call(S,e,o)),c.set(t,r),d.set(e,o),f.set(e,r),h.set(t,r),r.PivotCtor=o;const i=m.get(e);if(!B(i)){m.delete(e);for(const e of i){const t=l.get(e);B(t)||(l.delete(e),E(e,t,r))}}!function(e,t){const n=g.get(e);if(!B(n))for(const e of n)e(t);g.delete(e)}(e,t)},CustomElementRegistry.prototype.get=function(e){const t=N.call(S,e);if(!B(t)){const n=f.get(e);if(!B(n))return n.UserCtor;if(u.has(t))return;return t}},CustomElementRegistry.prototype.whenDefined=function(e){return A.call(S,e).then((t=>{const n=f.get(e);return B(n)?(B(t)&&(t=N.call(S,e)),u.has(t)?function(e){return new Promise((t=>{let n=g.get(e);B(n)&&(n=[],g.set(e,n)),n.push(t)}))}(e):t):n.UserCtor}))},window.HTMLElement=function(){const e=C;if(!B(e))return C=void 0,e;const{constructor:t}=this,n=h.get(t);if(B(n)||B(n.PivotCtor))throw new TypeError("Illegal constructor");const{PivotCtor:r,UserCtor:o}=n;return new r(o)},HTMLElement.prototype=e.prototype,function(e,t){e=H.call(e);let n=d.get(e);if(B(n)){const r=k(t);n=w(e,r),M.call(S,e,n),r.PivotCtor=n,c.set(t,r),d.set(e,n)}return a.add(t),n}}(),Po=window.HTMLElement);const Ro=(e,t,n,r)=>{class o extends e{constructor(){super(),t(this)}}return B(n)||(o.prototype.connectedCallback=function(){n(this)}),B(r)||(o.prototype.disconnectedCallback=function(){r(this)}),o};let Do;function $o(e){const t=function(e){var t=Object.freeze({__proto__:null,invariant:function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},isTrue:function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},isFalse:function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},fail:function(e){throw new Error(e)}});function n(e){return void 0===e}e.createFragment=void 0;if("function"==typeof HTMLTemplateElement)e.createFragment=function(e){const t=document.createElement("template");return t.innerHTML=e,t.content.firstChild};else{const t={caption:["table"],col:["colgroup","table"],colgroup:["table"],option:["select"],tbody:["table"],td:["tr","tbody","table"],th:["tr","tbody","table"],thead:["table"],tfoot:["table"],tr:["tbody","table"]},r=function(e){return(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(e)||["",""])[1].toLowerCase()};e.createFragment=function(e){const o=t[r(e)];if(!n(o))for(const t of o)e=`<${t}>${e}</${t}>`;const i=document.implementation.createHTMLDocument("");i.body.innerHTML=e;let s=i.body;if(!n(o))for(let e=0;e<o.length;e++)s=s.firstChild;return s.firstChild}}return e.addEventListener=function(e,t,n,r){e.addEventListener(t,n,r)},e.assertInstanceOfHTMLElement=function(e,n){t.invariant(e instanceof HTMLElement,n)},e.attachShadow=function(e,t){return null!==e.shadowRoot?e.shadowRoot:e.attachShadow(t)},e.cloneNode=function(e,t){return e.cloneNode(t)},e.createComment=function(e){return document.createComment(e)},e.createElement=function(e,t){return n(t)?document.createElement(e):document.createElementNS(t,e)},e.createText=function(e){return document.createTextNode(e)},e.dispatchEvent=function(e,t){return e.dispatchEvent(t)},e.getAttribute=function(e,t,r){return n(r)?e.getAttribute(t):e.getAttributeNS(r,t)},e.getBoundingClientRect=function(e){return e.getBoundingClientRect()},e.getChildNodes=function(e){return e.childNodes},e.getChildren=function(e){return e.children},e.getClassList=function(e){return e.classList},e.getElementsByClassName=function(e,t){return e.getElementsByClassName(t)},e.getElementsByTagName=function(e,t){return e.getElementsByTagName(t)},e.getFirstChild=function(e){return e.firstChild},e.getFirstElementChild=function(e){return e.firstElementChild},e.getLastChild=function(e){return e.lastChild},e.getLastElementChild=function(e){return e.lastElementChild},e.getProperty=function(e,t){return e[t]},e.insert=function(e,t,n){t.insertBefore(e,n)},e.isConnected=function(e){return e.isConnected},e.nextSibling=function(e){return e.nextSibling},e.querySelector=function(e,t){return e.querySelector(t)},e.querySelectorAll=function(e,t){return e.querySelectorAll(t)},e.remove=function(e,t){t.removeChild(e)},e.removeAttribute=function(e,t,r){n(r)?e.removeAttribute(t):e.removeAttributeNS(r,t)},e.removeEventListener=function(e,t,n,r){e.removeEventListener(t,n,r)},e.setAttribute=function(e,t,r,o){return n(o)?e.setAttribute(t,r):e.setAttributeNS(o,t,r)},e.setCSSStyleProperty=function(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},e.setProperty=function(e,t,n){e[t]=n},e.setText=function(e,t){e.nodeValue=t},e}({});return Object.setPrototypeOf(t,e),t}Do=So?we.ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY?function(e,t,n,r){if(B(xo)||B(Po))throw new Error("The flag ENABLE_SCOPED_CUSTOM_ELEMENT_REGISTRY must be set to true to use this feature");const o=Ro(Po,t,n,r);return new(xo(e,o))(o)}:Oo:Mo;const Io=n($o(null),{insertStylesheet:function(e,t){B(t)?function(e){const t=To(e,!1);t.global||(t.global=!0,Eo(e,document.head,t))}(e):ko(e,t)},createCustomElement:Do,isNativeShadowDefined:ee.$isNativeShadowRootDefined$,isSyntheticShadowDefined:u.call(Element.prototype,"$shadowToken$")});function Fo(e,t,n){const r=Hr(e,t,Io,{mode:"open",owner:null,tagName:e.tagName.toLowerCase(),hydrated:!0});for(const[t,r]of Object.entries(n))e[t]=r;return r}function Ho(e,t,n={}){if(!(e instanceof Element))throw new TypeError(`"hydrateComponent" expects a valid DOM element as the first parameter but instead received ${e}.`);if(!U(t))throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if(!G(n)||W(n))throw new TypeError(`"hydrateComponent" expects an object as the third parameter but instead received ${n}.`);if(Vr(e))console.warn('"hydrateComponent" expects an element that is not hydrated.',e);else try{!function(e){so=!1,Yr(e),lo(e),so&&He("Hydration completed with errors.",e)}(Fo(e,t,n))}catch(r){console.error("Recovering from error while hydrating: ",r),function(e,t){if(e.shadowRoot){const t=e.shadowRoot;for(;!W(t.firstChild);)t.removeChild(t.firstChild)}if("light"===t.renderMode)for(;!W(e.firstChild);)e.removeChild(e.firstChild)}(e,t),Fo(e,t,n),$r(e)}}const Bo=new WeakSet;function Wo(e){var t;const n=function(e){return un(e).bridge}(e),{observedAttributes:r}=n,{attributeChangedCallback:o}=n.prototype;return(t=class extends HTMLElement{constructor(){super(),this.isConnected?(Ho(this,e,{}),Bo.add(this)):Hr(this,e,Io,{mode:"open",owner:null,tagName:this.tagName})}connectedCallback(){Bo.has(this)?Bo.delete(this):$r(this)}disconnectedCallback(){Ir(this)}attributeChangedCallback(e,t,n){o.call(this,e,t,n)}}).observedAttributes=r,t}const Vo=Node,jo=new WeakMap,Uo=new WeakMap;function Go(e,t){const n=t.get(e);return B(n)||n(e),e}if(!we.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE){const{appendChild:e,insertBefore:t,removeChild:r,replaceChild:o}=Vo.prototype;n(Vo.prototype,{appendChild(t){return Go(e.call(this,t),jo)},insertBefore(e,n){return Go(t.call(this,e,n),jo)},removeChild(e){return Go(r.call(this,e),Uo)},replaceChild(e,t){const n=o.call(this,e,t);return Go(n,Uo),Go(e,jo),n}})}const zo=Node;const Yo=new Map;i(It,"CustomElementConstructor",{get(){return function(e){if(e===It)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=Yo.get(e);return B(t)&&(t=Wo(e),Yo.set(e,t)),t}(this)}}),s(It),h(It.prototype),e.LightningElement=It,e.__unstable__ProfilerControl=rr,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=ro(e);if(!B(t))throw new Error("Adapter already has a context provider.");t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),function(e,t){no.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:i}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{B(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if(!G(t)||W(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${q(t)}".`);const n=t.is;if(!U(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const{createCustomElement:r}=Io,o=H.call(e);let i,s;return we.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE&&(i=e=>{$r(e)},s=e=>{Ir(e)}),r(o,(e=>{Hr(e,n,Io,{tagName:o,mode:"closed"!==t.mode?"open":"closed",owner:null}),we.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE||(jo.set(e,$r),Uo.set(e,Ir))}),i,s)},e.freezeTemplate=function(e){},e.getComponentConstructor=function(e){let t=null;if(!B(e)){const n=Vr(e);B(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=un(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,l={};for(const e in o)l[e]={config:i[e]||0,type:"any",attr:ae(e)};const c={};for(const e in s)c[e]=s[e].value;return{ctor:n,name:r,props:l,methods:c}},e.hydrateComponent=Ho,e.isComponentConstructor=an,e.isNodeFromTemplate=function(e){if(j(e instanceof zo))return!1;if(e instanceof ShadowRoot)return!1;const t=e.getRootNode();return!!(t instanceof ShadowRoot&&j(u.call(a(t),"synthetic")))||Io.isSyntheticShadowDefined&&!B(e.$shadowResolver$)},e.parseFragment=hr,e.parseSVGFragment=pr,e.readonly=function(e){return Ot(e)},e.register=function(e){for(let t=0;t<Nr.length;++t){const n=Nr[t];if(n in e){let t=Ar[n];B(t)&&(Ar[n]=t=[]),S.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return U(e)&&Cr.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:o,publicMethods:s,wire:c,track:a,fields:u}=t,d=r(null),f=r(null),h=r(null),p=r(null),m=r(null),g=r(null);let b;if(!B(o))for(const e in o){const t=o[e];if(g[e]=t.config,b=l(n,e),t.config>0){if(B(b))throw new Error;b=Gt(e,b)}else b=B(b)||B(b.get)?Ut(e):Gt(e,b);f[e]=b,i(n,e,b)}if(B(s)||R.call(s,(e=>{if(b=l(n,e),B(b))throw new Error;d[e]=b})),!B(c))for(const e in c){const{adapter:t,method:r,config:o,dynamic:s=[]}=c[e];if(b=l(n,e),1===r){if(B(b))throw new Error;h[e]=b,oo(b,t,o,s)}else b=Yt(e),p[e]=b,io(b,t,o,s),i(n,e,b)}if(!B(a))for(const e in a)b=l(n,e),b=zt(e),i(n,e,b);if(!B(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];b=l(n,t);const r=!B(o)&&t in o,i=!B(a)&&t in a;r||i||(m[t]=Vt(t))}return function(e,t){Kt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return Xt.add(e),i(e,"stylesheetTokens",{enumerable:!0,configurable:!0,get(){const{stylesheetToken:e}=this;return B(e)?e:{hostAttribute:`${e}-host`,shadowAttribute:e}},set(e){this.stylesheetToken=B(e)?void 0:e.shadowAttribute}}),e},e.renderer=Io,e.rendererFactory=$o,e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(B(be[e])){const n=f(be).map((e=>`"${e}"`)).join(", ");console.warn(`Failed to set the value "${t}" for the runtime feature flag "${e}" because it is undefined. Available flags: ${n}.`)}else{const n=we[e];if(!B(n))return void console.error(`Failed to set the value "${t}" for the runtime feature flag "${e}". "${e}" has already been set with the value "${n}".`);i(we,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){var n;t.isFalse(go,"Hooks are already overridden, only one definition is allowed."),go=!0,n=e.sanitizeHtmlContent,Zn=n},e.swapComponent=function(e,t){return!1},e.swapStyle=function(e,t){return!1},e.swapTemplate=function(e,t){return!1},e.track=function(e){if(1===arguments.length)return xt(e);throw new Error},e.unwrap=function(e){return Lt.unwrapProxy(e)},e.wire=function(e,t){throw new Error}}));