lwc 2.5.6 → 2.5.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +35 -58
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +34 -58
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +2 -2
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +33 -54
  5. package/dist/engine-dom/iife/es5/engine-dom.js +34 -58
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +2 -2
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +33 -54
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +34 -58
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +2 -2
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +33 -54
  11. package/dist/engine-dom/umd/es5/engine-dom.js +34 -58
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +2 -2
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +33 -54
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +42 -66
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +2 -2
  16. package/dist/engine-server/esm/es2017/engine-server.js +43 -66
  17. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +3 -3
  18. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +3 -3
  19. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +3 -3
  20. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +3 -3
  21. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
  22. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +3 -3
  23. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +3 -3
  24. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3 -3
  25. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3 -3
  26. package/dist/wire-service/esm/es2017/wire-service.js +2 -2
  27. package/dist/wire-service/iife/es2017/wire-service.js +2 -2
  28. package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
  29. package/dist/wire-service/iife/es5/wire-service.js +2 -2
  30. package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
  31. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  32. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  33. package/dist/wire-service/umd/es5/wire-service.js +2 -2
  34. package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
  35. package/package.json +8 -8
@@ -341,7 +341,7 @@ var LWC = (function (exports) {
341
341
  CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);
342
342
  return attributeName;
343
343
  }
344
- /** version: 2.5.6 */
344
+ /** version: 2.5.7 */
345
345
 
346
346
  /*
347
347
  * Copyright (c) 2018, salesforce.com, inc.
@@ -513,7 +513,7 @@ var LWC = (function (exports) {
513
513
 
514
514
  function setFeatureFlagForTest(name, value) {
515
515
  }
516
- /** version: 2.5.6 */
516
+ /** version: 2.5.7 */
517
517
 
518
518
  /* proxy-compat-disable */
519
519
 
@@ -2391,7 +2391,9 @@ var LWC = (function (exports) {
2391
2391
  renderer = vm.renderer;
2392
2392
 
2393
2393
  return renderer[rendererMethod](elm);
2394
- }
2394
+ },
2395
+ configurable: true,
2396
+ enumerable: true
2395
2397
  };
2396
2398
  };
2397
2399
 
@@ -2410,7 +2412,10 @@ var LWC = (function (exports) {
2410
2412
  renderer = vm.renderer;
2411
2413
 
2412
2414
  return renderer[queryMethod](elm, arg);
2413
- }
2415
+ },
2416
+ configurable: true,
2417
+ enumerable: true,
2418
+ writable: true
2414
2419
  };
2415
2420
  };
2416
2421
 
@@ -3260,7 +3265,7 @@ var LWC = (function (exports) {
3260
3265
  renderMode: 1
3261
3266
  /* Shadow */
3262
3267
  ,
3263
- shadowSupportMode: "default"
3268
+ shadowSupportMode: "reset"
3264
3269
  /* Default */
3265
3270
  ,
3266
3271
  wire: EmptyObject,
@@ -3598,38 +3603,6 @@ var LWC = (function (exports) {
3598
3603
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
3599
3604
  */
3600
3605
 
3601
- /**
3602
- * EXPERIMENTAL: This function acts like a hook for Lightning Locker Service and other similar
3603
- * libraries to sanitize HTML content. This hook process the content passed via the template to
3604
- * lwc:inner-html directive.
3605
- * It is meant to be overridden with setSanitizeHtmlContentHook
3606
- */
3607
-
3608
-
3609
- var sanitizeHtmlContentHook = function sanitizeHtmlContentHook() {
3610
- // locker-service patches this function during runtime to sanitize HTML content.
3611
- throw new Error('sanitizeHtmlContent hook must be implemented.');
3612
- };
3613
- /**
3614
- * Sets the sanitizeHtmlContentHook.
3615
- *
3616
- * @param newHookImpl
3617
- * @returns oldHookImplementation.
3618
- */
3619
-
3620
-
3621
- function setSanitizeHtmlContentHook(newHookImpl) {
3622
- var currentHook = sanitizeHtmlContentHook;
3623
- sanitizeHtmlContentHook = newHookImpl;
3624
- return currentHook;
3625
- }
3626
- /*
3627
- * Copyright (c) 2018, salesforce.com, inc.
3628
- * All rights reserved.
3629
- * SPDX-License-Identifier: MIT
3630
- * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
3631
- */
3632
-
3633
3606
 
3634
3607
  var SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
3635
3608
  var SymbolIterator = Symbol.iterator;
@@ -4111,6 +4084,26 @@ var LWC = (function (exports) {
4111
4084
 
4112
4085
  markAsDynamicChildren(vnodes);
4113
4086
  return vnodes;
4087
+ }
4088
+ /**
4089
+ * EXPERIMENTAL: This function acts like a hook for Lightning Locker Service and other similar
4090
+ * libraries to sanitize HTML content. This hook process the content passed via the template to
4091
+ * lwc:inner-html directive.
4092
+ * It is meant to be overridden with setSanitizeHtmlContentHook, it throws an error by default.
4093
+ */
4094
+
4095
+
4096
+ var sanitizeHtmlContentHook = function sanitizeHtmlContentHook() {
4097
+ // locker-service patches this function during runtime to sanitize HTML content.
4098
+ throw new Error('sanitizeHtmlContent hook must be implemented.');
4099
+ };
4100
+ /**
4101
+ * Sets the sanitizeHtmlContentHook.
4102
+ */
4103
+
4104
+
4105
+ function setSanitizeHtmlContentHook(newHookImpl) {
4106
+ sanitizeHtmlContentHook = newHookImpl;
4114
4107
  } // [s]anitize [h]tml [c]ontent
4115
4108
 
4116
4109
 
@@ -5707,25 +5700,12 @@ var LWC = (function (exports) {
5707
5700
 
5708
5701
  var hooksAreSet = false;
5709
5702
 
5710
- function overrideHooks(hooks) {
5711
- var oldHooks = {};
5712
-
5713
- if (!isUndefined$1(hooks.sanitizeHtmlContent)) {
5714
- oldHooks.sanitizeHtmlContent = setSanitizeHtmlContentHook(hooks.sanitizeHtmlContent);
5715
- }
5716
-
5717
- return oldHooks;
5718
- }
5719
-
5720
5703
  function setHooks(hooks) {
5721
5704
  assert.isFalse(hooksAreSet, 'Hooks are already overridden, only one definition is allowed.');
5722
- overrideHooks(hooks);
5723
5705
  hooksAreSet = true;
5706
+ setSanitizeHtmlContentHook(hooks.sanitizeHtmlContent);
5724
5707
  }
5725
-
5726
- function setHooksForTest(hooks) {
5727
- }
5728
- /* version: 2.5.6 */
5708
+ /* version: 2.5.7 */
5729
5709
 
5730
5710
  /*
5731
5711
  * Copyright (c) 2018, salesforce.com, inc.
@@ -6276,7 +6256,7 @@ var LWC = (function (exports) {
6276
6256
  });
6277
6257
  freeze(LightningElement);
6278
6258
  seal(LightningElement.prototype);
6279
- /* version: 2.5.6 */
6259
+ /* version: 2.5.7 */
6280
6260
 
6281
6261
  exports.LightningElement = LightningElement;
6282
6262
  exports.__unstable__ProfilerControl = profilerControl;
@@ -6297,7 +6277,6 @@ var LWC = (function (exports) {
6297
6277
  exports.setFeatureFlag = setFeatureFlag;
6298
6278
  exports.setFeatureFlagForTest = setFeatureFlagForTest;
6299
6279
  exports.setHooks = setHooks;
6300
- exports.setHooksForTest = setHooksForTest;
6301
6280
  exports.swapComponent = swapComponent;
6302
6281
  exports.swapStyle = swapStyle;
6303
6282
  exports.swapTemplate = swapTemplate;
@@ -305,7 +305,7 @@
305
305
  CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);
306
306
  return attributeName;
307
307
  }
308
- /** version: 2.5.6 */
308
+ /** version: 2.5.7 */
309
309
 
310
310
  /*
311
311
  * Copyright (c) 2018, salesforce.com, inc.
@@ -485,7 +485,7 @@
485
485
  setFeatureFlag(name, value);
486
486
  }
487
487
  }
488
- /** version: 2.5.6 */
488
+ /** version: 2.5.7 */
489
489
 
490
490
  /* proxy-compat-disable */
491
491
 
@@ -3101,8 +3101,10 @@
3101
3101
  }
3102
3102
 
3103
3103
  return renderer[rendererMethod](elm);
3104
- }
3104
+ },
3105
3105
 
3106
+ configurable: true,
3107
+ enumerable: true
3106
3108
  };
3107
3109
  }
3108
3110
 
@@ -3122,8 +3124,11 @@
3122
3124
  }
3123
3125
 
3124
3126
  return renderer[queryMethod](elm, arg);
3125
- }
3127
+ },
3126
3128
 
3129
+ configurable: true,
3130
+ enumerable: true,
3131
+ writable: true
3127
3132
  };
3128
3133
  }
3129
3134
 
@@ -4281,7 +4286,7 @@
4281
4286
  if (!isUndefined$1(ctorShadowSupportMode)) {
4282
4287
  assert.invariant(ctorShadowSupportMode === "any"
4283
4288
  /* Any */
4284
- || ctorShadowSupportMode === "default"
4289
+ || ctorShadowSupportMode === "reset"
4285
4290
  /* Default */
4286
4291
  , `Invalid value for static property shadowSupportMode: '${ctorShadowSupportMode}'`);
4287
4292
  }
@@ -4443,7 +4448,7 @@
4443
4448
  renderMode: 1
4444
4449
  /* Shadow */
4445
4450
  ,
4446
- shadowSupportMode: "default"
4451
+ shadowSupportMode: "reset"
4447
4452
  /* Default */
4448
4453
  ,
4449
4454
  wire: EmptyObject,
@@ -4846,38 +4851,6 @@
4846
4851
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
4847
4852
  */
4848
4853
 
4849
- /**
4850
- * EXPERIMENTAL: This function acts like a hook for Lightning Locker Service and other similar
4851
- * libraries to sanitize HTML content. This hook process the content passed via the template to
4852
- * lwc:inner-html directive.
4853
- * It is meant to be overridden with setSanitizeHtmlContentHook
4854
- */
4855
-
4856
-
4857
- let sanitizeHtmlContentHook = () => {
4858
- // locker-service patches this function during runtime to sanitize HTML content.
4859
- throw new Error('sanitizeHtmlContent hook must be implemented.');
4860
- };
4861
- /**
4862
- * Sets the sanitizeHtmlContentHook.
4863
- *
4864
- * @param newHookImpl
4865
- * @returns oldHookImplementation.
4866
- */
4867
-
4868
-
4869
- function setSanitizeHtmlContentHook(newHookImpl) {
4870
- const currentHook = sanitizeHtmlContentHook;
4871
- sanitizeHtmlContentHook = newHookImpl;
4872
- return currentHook;
4873
- }
4874
- /*
4875
- * Copyright (c) 2018, salesforce.com, inc.
4876
- * All rights reserved.
4877
- * SPDX-License-Identifier: MIT
4878
- * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
4879
- */
4880
-
4881
4854
 
4882
4855
  const SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
4883
4856
  const SymbolIterator = Symbol.iterator;
@@ -5519,6 +5492,26 @@
5519
5492
 
5520
5493
  markAsDynamicChildren(vnodes);
5521
5494
  return vnodes;
5495
+ }
5496
+ /**
5497
+ * EXPERIMENTAL: This function acts like a hook for Lightning Locker Service and other similar
5498
+ * libraries to sanitize HTML content. This hook process the content passed via the template to
5499
+ * lwc:inner-html directive.
5500
+ * It is meant to be overridden with setSanitizeHtmlContentHook, it throws an error by default.
5501
+ */
5502
+
5503
+
5504
+ let sanitizeHtmlContentHook = () => {
5505
+ // locker-service patches this function during runtime to sanitize HTML content.
5506
+ throw new Error('sanitizeHtmlContent hook must be implemented.');
5507
+ };
5508
+ /**
5509
+ * Sets the sanitizeHtmlContentHook.
5510
+ */
5511
+
5512
+
5513
+ function setSanitizeHtmlContentHook(newHookImpl) {
5514
+ sanitizeHtmlContentHook = newHookImpl;
5522
5515
  } // [s]anitize [h]tml [c]ontent
5523
5516
 
5524
5517
 
@@ -7404,28 +7397,12 @@
7404
7397
 
7405
7398
  let hooksAreSet = false;
7406
7399
 
7407
- function overrideHooks(hooks) {
7408
- const oldHooks = {};
7409
-
7410
- if (!isUndefined$1(hooks.sanitizeHtmlContent)) {
7411
- oldHooks.sanitizeHtmlContent = setSanitizeHtmlContentHook(hooks.sanitizeHtmlContent);
7412
- }
7413
-
7414
- return oldHooks;
7415
- }
7416
-
7417
7400
  function setHooks(hooks) {
7418
7401
  assert.isFalse(hooksAreSet, 'Hooks are already overridden, only one definition is allowed.');
7419
- overrideHooks(hooks);
7420
7402
  hooksAreSet = true;
7403
+ setSanitizeHtmlContentHook(hooks.sanitizeHtmlContent);
7421
7404
  }
7422
-
7423
- function setHooksForTest(hooks) {
7424
- if (process.env.NODE_ENV !== 'production') {
7425
- return overrideHooks(hooks);
7426
- }
7427
- }
7428
- /* version: 2.5.6 */
7405
+ /* version: 2.5.7 */
7429
7406
 
7430
7407
  /*
7431
7408
  * Copyright (c) 2018, salesforce.com, inc.
@@ -8010,7 +7987,7 @@
8010
7987
  });
8011
7988
  freeze(LightningElement);
8012
7989
  seal(LightningElement.prototype);
8013
- /* version: 2.5.6 */
7990
+ /* version: 2.5.7 */
8014
7991
 
8015
7992
  exports.LightningElement = LightningElement;
8016
7993
  exports.__unstable__ProfilerControl = profilerControl;
@@ -8031,7 +8008,6 @@
8031
8008
  exports.setFeatureFlag = setFeatureFlag;
8032
8009
  exports.setFeatureFlagForTest = setFeatureFlagForTest;
8033
8010
  exports.setHooks = setHooks;
8034
- exports.setHooksForTest = setHooksForTest;
8035
8011
  exports.swapComponent = swapComponent;
8036
8012
  exports.swapStyle = swapStyle;
8037
8013
  exports.swapTemplate = swapTemplate;
@@ -1,4 +1,4 @@
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,{filter:g,find:w,indexOf:y,join:b,map:v,push:C,reduce:E,reverse:k,slice:S,splice:M,unshift:T,forEach:x}=Array.prototype,{fromCharCode:A}=String,{charCodeAt:N,replace:P,slice:O,toLowerCase:L}=String.prototype;function _(e){return void 0===e}function D(e){return null===e}function $(e){return!0===e}function R(e){return!1===e}function H(e){return"function"==typeof e}function I(e){return"string"==typeof e}function F(){}const B={}.toString;function W(e){return e&&e.toString?m(e)?b.call(v.call(e,W),","):e.toString():"object"==typeof e?B.call(e):e+""}function j(e,t){do{const n=l(e,t);if(!_(n))return n;e=a(e)}while(null!==e)}const V=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],{AriaAttrNameToPropNameMap:K,AriaPropNameToAttrNameMap:z}=(()=>{const e=r(null),t=r(null);return x.call(V,(n=>{const r=L.call(P.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),G=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),U=new Map([["accessKey","accesskey"],["readOnly","readonly"],["tabIndex","tabindex"],["bgColor","bgcolor"],["colSpan","colspan"],["rowSpan","rowspan"],["contentEditable","contenteditable"],["crossOrigin","crossorigin"],["dateTime","datetime"],["formAction","formaction"],["isMap","ismap"],["maxLength","maxlength"],["minLength","minlength"],["noValidate","novalidate"],["useMap","usemap"],["htmlFor","for"]]),q=new Map;function X(e){const t=z[e];if(!_(t))return t;const n=U.get(e);if(!_(n))return n;const r=q.get(e);if(!_(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=N.call(e,t);o+=n>=65&&n<=90?"-"+A(n+32):A(n)}return q.set(e,o),o}function Y(e){return void 0===Object.getOwnPropertyDescriptor(Element.prototype,e)}const J=new WeakMap;function Q(e){let t=J.get(e);return void 0===t&&(t={},J.set(e,t)),t}function Z(e,t){return{get(){const n=Q(this);return u.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set(n){const r=null==(o=n)?null:String(o);var o;Q(this)[e]=r,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function ee(e){const t=Z(e,z[e]);Object.defineProperty(Element.prototype,e,t)}const te=f(z);for(let e=0,t=te.length;e<t;e+=1){const t=te[e];Y(t)&&ee(t)}const ne={ENABLE_REACTIVE_SETTER:null,ENABLE_HMR:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_NON_COMPOSED_EVENTS_LEAKAGE:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_WIRE_SYNC_EMIT:null};G.lwcRuntimeFlags||Object.defineProperty(G,"lwcRuntimeFlags",{value:r(null)});const re=G.lwcRuntimeFlags;let oe=[];const ie=h(r(null)),se=h([]);function le(){const e=oe;oe=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function ce(e){0===oe.length&&Promise.resolve().then(le),C.call(oe,e)}const ae=new WeakMap;let ue=null;function de(e,t){const n=ae.get(e);if(!_(n)){const e=n[t];if(!_(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function fe(e,t){if(null===ue)return;const n=ue,o=function(e){let t=ae.get(e);if(_(t)){const n=r(null);t=n,ae.set(e,n)}return t}(e);let i=o[t];if(_(i))i=[],o[t]=i;else if(i[0]===n)return;-1===y.call(i,n)&&n.link(i)}class he{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=ue;let n;ue=this;try{e()}catch(e){n=Object(e)}finally{if(ue=t,void 0!==n)throw n}}reset(){const{listeners:e}=this,t=e.length;if(t>0){for(let n=0;n<t;n+=1){const t=e[n],r=y.call(e[n],this);M.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){C.call(e,this),C.call(this.listeners,e)}}function pe(e,t){de(e.component,t)}function me(e,t){fe(e.component,t)}function ge(e){return`<${L.call(e.tagName)}>`}function we(e){const{elm:t,data:{on:n},owner:{renderer:r}}=e;if(_(n))return;const o=e.listener=function e(t){!function(e,t){const{type:n}=e,{data:{on:r}}=t,o=r&&r[n];o&&o.call(void 0,e)}(t,e.vnode)};let i;for(i in o.vnode=e,n)r.addEventListener(t,i,o)}var ye={update:function(e,t){_(e.listener)?we(t):(t.listener=e.listener,t.listener.vnode=t)},create:we};function be(e){return`Using the \`${e}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}n(r(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:be("offsetHeight")},offsetLeft:{readOnly:!0,error:be("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:be("offsetTop")},offsetWidth:{readOnly:!0,error:be("offsetWidth")},role:{attribute:"role"}});let ve,Ce=null;function Ee(e,t){return e!==Ce||t!==ve}function ke(e,t){Ce=null,ve=void 0}function Se(e,t){Ce=e,ve=t}function Me(e,t){const{data:{attrs:n},owner:{renderer:r}}=t;if(_(n))return;let{data:{attrs:o}}=e;if(o===n)return;const i=t.elm,{setAttribute:s,removeAttribute:l}=r;let c;for(c in o=_(o)?ie:o,n){const e=n[c];o[c]!==e&&(Se(i,c),58===N.call(c,3)?s(i,c,e,"http://www.w3.org/XML/1998/namespace"):58===N.call(c,5)?s(i,c,e,"http://www.w3.org/1999/xlink"):D(e)?l(i,c):s(i,c,e),ke())}}const Te={data:{}};var xe={create:e=>Me(Te,e),update:Me};function Ae(e,t){return"input"===e&&("value"===t||"checked"===t)}function Ne(e,t){const n=t.data.props;if(_(n))return;const r=e.data.props;if(r===n)return;const o=_(r),{elm:i,sel:s,owner:{renderer:l}}=t;for(const e in n){const t=n[e];(o||t!==(Ae(s,e)?l.getProperty(i,e):r[e]))&&l.setProperty(i,e,t)}}const Pe={data:{}};var Oe={create:e=>Ne(Pe,e),update:Ne};const Le=r(null);function _e(e){if(null==e)return ie;e=I(e)?e:e+"";let t=Le[e];if(t)return t;t=r(null);let n,o=0;const i=e.length;for(n=0;n<i;n++)32===N.call(e,n)&&(n>o&&(t[O.call(e,o,n)]=!0),o=n+1);return n>o&&(t[O.call(e,o,n)]=!0),Le[e]=t,t}function De(e,t){const{elm:n,data:{className:r},owner:{renderer:o}}=t,{data:{className:i}}=e;if(i===r)return;const s=o.getClassList(n),l=_e(r),c=_e(i);let a;for(a in c)_(l[a])&&s.remove(a);for(a in l)_(c[a])&&s.add(a)}const $e={data:{}};var Re={create:e=>De($e,e),update:De};function He(e,t){const{elm:n,data:{style:r},owner:{renderer:o}}=t,{setAttribute:i,removeAttribute:s}=o;e.data.style!==r&&(I(r)&&""!==r?i(n,"style",r):s(n,"style"))}const Ie={data:{}};var Fe={create:e=>He(Ie,e),update:He};var Be={create:function(e){const{elm:t,data:{classMap:n},owner:{renderer:r}}=e;if(_(n))return;const o=r.getClassList(t);for(const e in n)o.add(e)}};var We={create:function(e){const{elm:t,data:{styleDecls:n},owner:{renderer:r}}=e;if(!_(n))for(let e=0;e<n.length;e++){const[o,i,s]=n[e];r.setCSSStyleProperty(t,o,i,s)}}};
1
+ !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:a,getPrototypeOf:c,hasOwnProperty:u,isFrozen:d,keys:f,seal:h,setPrototypeOf:p}=Object,{isArray:m}=Array,{filter:g,find:w,indexOf:y,join:b,map:v,push:E,reduce:C,reverse:k,slice:S,splice:M,unshift:T,forEach:x}=Array.prototype,{fromCharCode:A}=String,{charCodeAt:N,replace:P,slice:O,toLowerCase:L}=String.prototype;function _(e){return void 0===e}function D(e){return null===e}function $(e){return!0===e}function R(e){return!1===e}function I(e){return"function"==typeof e}function F(e){return"string"==typeof e}function H(){}const B={}.toString;function W(e){return e&&e.toString?m(e)?b.call(v.call(e,W),","):e.toString():"object"==typeof e?B.call(e):e+""}function j(e,t){do{const n=l(e,t);if(!_(n))return n;e=c(e)}while(null!==e)}const V=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],{AriaAttrNameToPropNameMap:K,AriaPropNameToAttrNameMap:z}=(()=>{const e=r(null),t=r(null);return x.call(V,(n=>{const r=L.call(P.call(n,/^aria/,(()=>"aria-")));e[r]=n,t[n]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:t}})(),G=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),U=new Map([["accessKey","accesskey"],["readOnly","readonly"],["tabIndex","tabindex"],["bgColor","bgcolor"],["colSpan","colspan"],["rowSpan","rowspan"],["contentEditable","contenteditable"],["crossOrigin","crossorigin"],["dateTime","datetime"],["formAction","formaction"],["isMap","ismap"],["maxLength","maxlength"],["minLength","minlength"],["noValidate","novalidate"],["useMap","usemap"],["htmlFor","for"]]),q=new Map;function X(e){const t=z[e];if(!_(t))return t;const n=U.get(e);if(!_(n))return n;const r=q.get(e);if(!_(r))return r;let o="";for(let t=0,n=e.length;t<n;t++){const n=N.call(e,t);o+=n>=65&&n<=90?"-"+A(n+32):A(n)}return q.set(e,o),o}function Y(e){return void 0===Object.getOwnPropertyDescriptor(Element.prototype,e)}const J=new WeakMap;function Q(e){let t=J.get(e);return void 0===t&&(t={},J.set(e,t)),t}function Z(e,t){return{get(){const n=Q(this);return u.call(n,e)?n[e]:this.hasAttribute(t)?this.getAttribute(t):null},set(n){const r=null==(o=n)?null:String(o);var o;Q(this)[e]=r,null===n?this.removeAttribute(t):this.setAttribute(t,n)},configurable:!0,enumerable:!0}}function ee(e){const t=Z(e,z[e]);Object.defineProperty(Element.prototype,e,t)}const te=f(z);for(let e=0,t=te.length;e<t;e+=1){const t=te[e];Y(t)&&ee(t)}const ne={ENABLE_REACTIVE_SETTER:null,ENABLE_HMR:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_ELEMENT_PATCH:null,ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST:null,ENABLE_NODE_LIST_PATCH:null,ENABLE_HTML_COLLECTIONS_PATCH:null,ENABLE_NODE_PATCH:null,ENABLE_NON_COMPOSED_EVENTS_LEAKAGE:null,ENABLE_MIXED_SHADOW_MODE:null,ENABLE_WIRE_SYNC_EMIT:null};G.lwcRuntimeFlags||Object.defineProperty(G,"lwcRuntimeFlags",{value:r(null)});const re=G.lwcRuntimeFlags;let oe=[];const ie=h(r(null)),se=h([]);function le(){const e=oe;oe=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function ae(e){0===oe.length&&Promise.resolve().then(le),E.call(oe,e)}const ce=new WeakMap;let ue=null;function de(e,t){const n=ce.get(e);if(!_(n)){const e=n[t];if(!_(e))for(let t=0,n=e.length;t<n;t+=1){e[t].notify()}}}function fe(e,t){if(null===ue)return;const n=ue,o=function(e){let t=ce.get(e);if(_(t)){const n=r(null);t=n,ce.set(e,n)}return t}(e);let i=o[t];if(_(i))i=[],o[t]=i;else if(i[0]===n)return;-1===y.call(i,n)&&n.link(i)}class he{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=ue;let n;ue=this;try{e()}catch(e){n=Object(e)}finally{if(ue=t,void 0!==n)throw n}}reset(){const{listeners:e}=this,t=e.length;if(t>0){for(let n=0;n<t;n+=1){const t=e[n],r=y.call(e[n],this);M.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){E.call(e,this),E.call(this.listeners,e)}}function pe(e,t){de(e.component,t)}function me(e,t){fe(e.component,t)}function ge(e){return`<${L.call(e.tagName)}>`}function we(e){const{elm:t,data:{on:n},owner:{renderer:r}}=e;if(_(n))return;const o=e.listener=function e(t){!function(e,t){const{type:n}=e,{data:{on:r}}=t,o=r&&r[n];o&&o.call(void 0,e)}(t,e.vnode)};let i;for(i in o.vnode=e,n)r.addEventListener(t,i,o)}var ye={update:function(e,t){_(e.listener)?we(t):(t.listener=e.listener,t.listener.vnode=t)},create:we};function be(e){return`Using the \`${e}\` property is an anti-pattern because it rounds the value to an integer. Instead, use the \`getBoundingClientRect\` method to obtain fractional values for the size of an element and its position relative to the viewport.`}n(r(null),{accessKey:{attribute:"accesskey"},accessKeyLabel:{readOnly:!0},className:{attribute:"class",error:"Using the `className` property is an anti-pattern because of slow runtime behavior and potential conflicts with classes provided by the owner element. Use the `classList` API instead."},contentEditable:{attribute:"contenteditable"},dataset:{readOnly:!0,error:"Using the `dataset` property is an anti-pattern because it can't be statically analyzed. Expose each property individually using the `@api` decorator instead."},dir:{attribute:"dir"},draggable:{attribute:"draggable"},dropzone:{attribute:"dropzone",readOnly:!0},hidden:{attribute:"hidden"},id:{attribute:"id"},inputMode:{attribute:"inputmode"},lang:{attribute:"lang"},slot:{attribute:"slot",error:"Using the `slot` property is an anti-pattern."},spellcheck:{attribute:"spellcheck"},style:{attribute:"style"},tabIndex:{attribute:"tabindex"},title:{attribute:"title"},translate:{attribute:"translate"},isContentEditable:{readOnly:!0},offsetHeight:{readOnly:!0,error:be("offsetHeight")},offsetLeft:{readOnly:!0,error:be("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:be("offsetTop")},offsetWidth:{readOnly:!0,error:be("offsetWidth")},role:{attribute:"role"}});let ve,Ee=null;function Ce(e,t){return e!==Ee||t!==ve}function ke(e,t){Ee=null,ve=void 0}function Se(e,t){Ee=e,ve=t}function Me(e,t){const{data:{attrs:n},owner:{renderer:r}}=t;if(_(n))return;let{data:{attrs:o}}=e;if(o===n)return;const i=t.elm,{setAttribute:s,removeAttribute:l}=r;let a;for(a in o=_(o)?ie:o,n){const e=n[a];o[a]!==e&&(Se(i,a),58===N.call(a,3)?s(i,a,e,"http://www.w3.org/XML/1998/namespace"):58===N.call(a,5)?s(i,a,e,"http://www.w3.org/1999/xlink"):D(e)?l(i,a):s(i,a,e),ke())}}const Te={data:{}};var xe={create:e=>Me(Te,e),update:Me};function Ae(e,t){return"input"===e&&("value"===t||"checked"===t)}function Ne(e,t){const n=t.data.props;if(_(n))return;const r=e.data.props;if(r===n)return;const o=_(r),{elm:i,sel:s,owner:{renderer:l}}=t;for(const e in n){const t=n[e];(o||t!==(Ae(s,e)?l.getProperty(i,e):r[e]))&&l.setProperty(i,e,t)}}const Pe={data:{}};var Oe={create:e=>Ne(Pe,e),update:Ne};const Le=r(null);function _e(e){if(null==e)return ie;e=F(e)?e:e+"";let t=Le[e];if(t)return t;t=r(null);let n,o=0;const i=e.length;for(n=0;n<i;n++)32===N.call(e,n)&&(n>o&&(t[O.call(e,o,n)]=!0),o=n+1);return n>o&&(t[O.call(e,o,n)]=!0),Le[e]=t,t}function De(e,t){const{elm:n,data:{className:r},owner:{renderer:o}}=t,{data:{className:i}}=e;if(i===r)return;const s=o.getClassList(n),l=_e(r),a=_e(i);let c;for(c in a)_(l[c])&&s.remove(c);for(c in l)_(a[c])&&s.add(c)}const $e={data:{}};var Re={create:e=>De($e,e),update:De};function Ie(e,t){const{elm:n,data:{style:r},owner:{renderer:o}}=t,{setAttribute:i,removeAttribute:s}=o;e.data.style!==r&&(F(r)&&""!==r?i(n,"style",r):s(n,"style"))}const Fe={data:{}};var He={create:e=>Ie(Fe,e),update:Ie};var Be={create:function(e){const{elm:t,data:{classMap:n},owner:{renderer:r}}=e;if(_(n))return;const o=r.getClassList(t);for(const e in n)o.add(e)}};var We={create:function(e){const{elm:t,data:{styleDecls:n},owner:{renderer:r}}=e;if(!_(n))for(let e=0;e<n.length;e++){const[o,i,s]=n[e];r.setCSSStyleProperty(t,o,i,s)}}};
2
2
  /**
3
3
  @license
4
4
  Copyright (c) 2015 Simon Friis Vindum.
@@ -6,4 +6,4 @@
6
6
  https://github.com/snabbdom/snabbdom/blob/master/LICENSE
7
7
  Code distributed by Snabbdom as part of the Snabbdom project at
8
8
  https://github.com/snabbdom/snabbdom/
9
- */function je(e){return void 0===e}function Ve(e,t){return e.key===t.key&&e.sel===t.sel}function Ke(e){return null!=e}function ze(e,t,n){const r={};let o,i,s;for(o=t;o<=n;++o)s=e[o],Ke(s)&&(i=s.key,void 0!==i&&(r[i]=o));return r}function Ge(e,t,n,r,o){for(;r<=o;++r){const o=n[r];Ke(o)&&(o.hook.create(o),o.hook.insert(o,e,t))}}function Ue(e,t,n,r){for(;n<=r;++n){const r=t[n];Ke(r)&&r.hook.remove(r,e)}}function qe(e,t,n){let r=0,o=0,i=t.length-1,s=t[0],l=t[i];const c=n.length-1;let a,u,d,f,h=c,p=n[0],m=n[h];for(;r<=i&&o<=h;)Ke(s)?Ke(l)?Ke(p)?Ke(m)?Ve(s,p)?(Ye(s,p),s=t[++r],p=n[++o]):Ve(l,m)?(Ye(l,m),l=t[--i],m=n[--h]):Ve(s,m)?(Ye(s,m),m.hook.move(s,e,l.owner.renderer.nextSibling(l.elm)),s=t[++r],m=n[--h]):Ve(l,p)?(Ye(l,p),p.hook.move(l,e,s.elm),l=t[--i],p=n[++o]):(void 0===a&&(a=ze(t,r,i)),u=a[p.key],je(u)?(p.hook.create(p),p.hook.insert(p,e,s.elm),p=n[++o]):(d=t[u],Ke(d)&&(d.sel!==p.sel?(p.hook.create(p),p.hook.insert(p,e,s.elm)):(Ye(d,p),t[u]=void 0,p.hook.move(d,e,s.elm))),p=n[++o])):m=n[--h]:p=n[++o]:l=t[--i]:s=t[++r];if(r<=i||o<=h)if(r>i){let t,r=h;do{t=n[++r]}while(!Ke(t)&&r<c);f=Ke(t)?t.elm:null,Ge(e,f,n,o,h)}else Ue(e,t,r,i)}function Xe(e,t,n){const r=t.length,o=n.length;if(0===r)return void Ge(e,null,n,0,o);if(0===o)return void Ue(e,t,0,r);let i=null;for(let r=o-1;r>=0;r-=1){const o=n[r],s=t[r];o!==s&&(Ke(s)?Ke(o)?(Ye(s,o),i=o.elm):s.hook.remove(s,e):Ke(o)&&(o.hook.create(o),o.hook.insert(o,e,i),i=o.elm))}}function Ye(e,t){e!==t&&(t.elm=e.elm,t.hook.update(e,t))}const Je="undefined"!=typeof HTMLElement?HTMLElement:function(){},Qe=Je.prototype,Ze=r(null);x.call(f(z),(e=>{const t=j(Qe,e);_(t)||(Ze[e]=t)})),x.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=j(Qe,e);_(t)||(Ze[e]=t)}));const{isArray:et}=Array,{getPrototypeOf:tt,create:nt,defineProperty:rt,defineProperties:ot,isExtensible:it,getOwnPropertyDescriptor:st,getOwnPropertyNames:lt,getOwnPropertySymbols:ct,preventExtensions:at,hasOwnProperty:ut}=Object,{push:dt,concat:ft,map:ht}=Array.prototype;function pt(e){return void 0===e}function mt(e){return"function"==typeof e}const gt=new WeakMap;function wt(e,t){gt.set(e,t)}const yt=e=>gt.get(e)||e;class bt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(ut.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;pt(n)||(e.get=this.wrapGetter(n)),pt(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=st(n,t);if(!pt(r)){const n=this.wrapDescriptor(r);rt(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;ft.call(lt(t),ct(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;pt(n)||ut.call(e,n)||rt(e,n,nt(null)),at(e)}apply(e,t,n){}construct(e,t,n){}get(e,t){const{originalTarget:n,membrane:{valueObserved:r}}=this,o=n[t];return r(n,t),this.wrapValue(o)}has(e,t){const{originalTarget:n,membrane:{tagPropertyKey:r,valueObserved:o}}=this;return o(n,t),t in n||t===r}ownKeys(e){const{originalTarget:t,membrane:{tagPropertyKey:n}}=this,r=pt(n)||ut.call(t,n)?[]:[n];return dt.apply(r,lt(t)),dt.apply(r,ct(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!it(e)&&(!!it(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return tt(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=st(n,t);if(pt(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},rt(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const vt=new WeakMap,Ct=new WeakMap,Et=new WeakMap,kt=new WeakMap;class St extends bt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=vt.get(e);if(!pt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(yt(this)))};return vt.set(e,r),Et.set(r,e),r}wrapSetter(e){const t=Ct.get(e);if(!pt(t))return t;const n=function(t){e.call(yt(this),yt(t))};return Ct.set(e,n),kt.set(n,e),n}unwrapDescriptor(e){if(ut.call(e,"value"))e.value=yt(e.value);else{const{set:t,get:n}=e;pt(n)||(e.get=this.unwrapGetter(n)),pt(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=Et.get(e);if(!pt(t))return t;const n=this,r=function(){return yt(e.call(n.wrapValue(this)))};return vt.set(r,e),Et.set(e,r),r}unwrapSetter(e){const t=kt.get(e);if(!pt(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Ct.set(r,e),kt.set(e,r),r}set(e,t,n){const{originalTarget:r,membrane:{valueMutated:o}}=this;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&et(r)&&o(r,t),!0}deleteProperty(e,t){const{originalTarget:n,membrane:{valueMutated:r}}=this;return delete n[t],r(n,t),!0}setPrototypeOf(e,t){}preventExtensions(e){if(it(e)){const{originalTarget:t}=this;if(at(t),it(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!ut.call(r,t)||(rt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const Mt=new WeakMap,Tt=new WeakMap;class xt extends bt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=Mt.get(e);if(!pt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(yt(this)))};return Mt.set(e,r),r}wrapSetter(e){const t=Tt.get(e);if(!pt(t))return t;const n=function(e){};return Tt.set(e,n),n}set(e,t,n){return!1}deleteProperty(e,t){return!1}setPrototypeOf(e,t){}preventExtensions(e){return!1}defineProperty(e,t,n){return!1}}const At=Object.prototype;function Nt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(et(e))return!0;const t=tt(e);return t===At||null===t||null===tt(t)}const Pt=(e,t)=>{},Ot=(e,t)=>{},Lt=e=>e;function _t(e){return et(e)?[]:{}}const Dt=Symbol.for("@@lockerLiveValue");function $t(e){return e}const Rt=new class{constructor(e){if(this.valueDistortion=Lt,this.valueMutated=Ot,this.valueObserved=Pt,this.valueIsObservable=Nt,this.objectGraph=new WeakMap,!pt(e)){const{valueDistortion:t,valueMutated:n,valueObserved:r,valueIsObservable:o,tagPropertyKey:i}=e;this.valueDistortion=mt(t)?t:Lt,this.valueMutated=mt(n)?n:Ot,this.valueObserved=mt(r)?r:Pt,this.valueIsObservable=mt(o)?o:Nt,this.tagPropertyKey=i}}getProxy(e){const t=yt(e),n=this.valueDistortion(t);if(this.valueIsObservable(n)){const r=this.getReactiveState(t,n);return r.readOnly===e?e:r.reactive}return n}getReadOnlyProxy(e){e=yt(e);const t=this.valueDistortion(e);return this.valueIsObservable(t)?this.getReactiveState(e,t).readOnly:t}unwrapProxy(e){return yt(e)}getReactiveState(e,t){const{objectGraph:n}=this;let r=n.get(t);if(r)return r;const o=this;return r={get reactive(){const n=new St(o,t),r=new Proxy(_t(t),n);return wt(r,e),rt(this,"reactive",{value:r}),r},get readOnly(){const n=new xt(o,t),r=new Proxy(_t(t),n);return wt(r,e),rt(this,"readOnly",{value:r}),r}},n.set(t,r),r}}({valueObserved:fe,valueMutated:de,valueDistortion:$t,tagPropertyKey:Dt});function Ht(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!H(n))throw new TypeError;if(!H(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const t=xr(this);if(!or(t))return me(t,e),n.call(t.elm)},set(t){const n=xr(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,pe(n,e)),r.call(n.elm,t)}}}const It=function(){if(D(rr))throw new ReferenceError("Illegal constructor");const e=rr,{def:t,elm:n,renderer:r}=e,{bridge:o}=t,i=this;if(p(n,o.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return this[Dt]=void 0,Tr(i,e),Tr(n,e),1===e.renderMode&&Ft(e),this};function Ft(e){const{elm:t,mode:n,renderer:r,shadowMode:o,def:{ctor:i}}=e,s=r.attachShadow(t,{"$$lwc-synthetic-mode":1===o,delegatesFocus:Boolean(i.delegatesFocus),mode:n});e.cmpRoot=s,Tr(s,e)}It.prototype={constructor:It,dispatchEvent(e){const{elm:t,renderer:{dispatchEvent:n}}=xr(this);return n(t,e)},addEventListener(e,t,n){const r=xr(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,fr(r,t),n)},removeEventListener(e,t,n){const r=xr(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,fr(r,t),n)},hasAttribute(e){const{elm:t,renderer:{getAttribute:n}}=xr(this);return!D(n(t,e))},hasAttributeNS(e,t){const{elm:n,renderer:{getAttribute:r}}=xr(this);return!D(r(n,t,e))},removeAttribute(e){const{elm:t,renderer:{removeAttribute:n}}=xr(this);Se(t,e),n(t,e),ke()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=xr(this);Se(n,t),r(n,t,e),ke()},getAttribute(e){const{elm:t,renderer:{getAttribute:n}}=xr(this);return n(t,e)},getAttributeNS(e,t){const{elm:n,renderer:{getAttribute:r}}=xr(this);return r(n,t,e)},setAttribute(e,t){const n=xr(this),{elm:r,renderer:{setAttribute:o}}=n;Se(r,e),o(r,e,t),ke()},setAttributeNS(e,t,n){const r=xr(this),{elm:o,renderer:{setAttribute:i}}=r;Se(o,t),i(o,t,n,e),ke()},getBoundingClientRect(){const e=xr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const{elm:e,renderer:{isConnected:t}}=xr(this);return t(e)},get classList(){const e=xr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return xr(this).cmpRoot},get shadowRoot(){return null},render(){return xr(this).def.template},toString(){return`[object ${xr(this).def.name}]`}};const Bt=r(null),Wt=[["children","getChildren"],["childNodes","getChildNodes"],["firstChild","getFirstChild"],["firstElementChild","getFirstElementChild"],["lastChild","getLastChild"],["lastElementChild","getLastElementChild"]];for(const[e,t]of Wt)Bt[e]={get(){const e=xr(this),{elm:n,renderer:r}=e;return r[t](n)}};const jt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of jt)Bt[e]={value(t){const n=xr(this),{elm:r,renderer:o}=n;return o[e](r,t)}};o(It.prototype,Bt);const Vt=r(null);for(const e in Ze)Vt[e]=Ht(e,Ze[e]);function Kt(e){return{get(){const t=xr(this);return me(t,e),t.cmpFields[e]},set(t){const n=xr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,pe(n,e))},enumerable:!0,configurable:!0}}function zt(e){return{get(){const t=xr(this);return me(t,e),t.cmpFields[e]},set(t){const n=xr(this),r=Rt.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,pe(n,e))},enumerable:!0,configurable:!0}}function Gt(e){return{get(){const t=xr(this);if(!or(t))return me(t,e),t.cmpProps[e]},set(t){const n=xr(this);n.cmpProps[e]=t,pe(n,e)},enumerable:!0,configurable:!0}}o(It.prototype,Vt),i(It,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class Ut extends he{constructor(e,t){super((()=>{R(this.debouncing)&&(this.debouncing=!0,ce((()=>{if($(this.debouncing)){const{value:n}=this,{isDirty:r,component:o,idx:i}=e;t.call(o,n),this.debouncing=!1,$(e.isDirty)&&R(r)&&i>0&&Cr(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function qt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!H(n))throw new Error;return{get(){return n.call(this)},set(t){const n=xr(this);if(r)if(re.ENABLE_REACTIVE_SETTER){let o=n.oar[e];_(o)&&(o=n.oar[e]=new Ut(n,r)),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function Xt(e){return{get(){const t=xr(this);return me(t,e),t.cmpFields[e]},set(t){const n=xr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,pe(n,e))},enumerable:!0,configurable:!0}}const Yt=new Map;const Jt={apiMethods:ie,apiFields:ie,apiFieldsConfig:ie,wiredMethods:ie,wiredFields:ie,observedFields:ie};const Qt=new Set;function Zt(){return[]}Qt.add(Zt);const en=r(null),tn=r(null);function nn(e){let t=en[e];return _(t)&&(t=en[e]=function(){const t=xr(this),{getHook:n}=t;return n(t.component,e)}),t}function rn(e){let t=tn[e];return _(t)&&(t=tn[e]=function(t){const n=xr(this),{setHook:r}=n;t=Rt.getReadOnlyProxy(t),r(n.component,e,t)}),t}function on(e){return function(){const t=xr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,S.call(arguments))}}function sn(e,t){return function(n,r,o){if(r===o)return;const i=e[n];_(i)?_(t)||t.apply(this,arguments):Ee(this,n)&&(this[i]=o)}}function ln(e,t,n){let s;H(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),i(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const l=r(null),{attributeChangedCallback:c}=e.prototype,{observedAttributes:a=[]}=e,u=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[X(n)]=n,u[n]={get:nn(n),set:rn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:on(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:sn(l,c)},i(s,"observedAttributes",{get:()=>[...a,...f(l)]}),o(s.prototype,u),s}const cn=ln(Je,c(Ze),[]);function an(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function un(e){return H(e)&&u.call(e,"__circular__")}s(cn),h(cn.prototype);const dn=new WeakMap;function fn(e){const{shadowSupportMode:t,renderMode:i}=e,s=function(e){const t=Yt.get(e);return _(t)?Jt:t}(e),{apiFields:l,apiFieldsConfig:c,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const C=function(e){let t=a(e);if(D(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(un(t)){const e=an(t);t=e===t?It:e}return t}(e),E=C!==It?pn(C):mn,k=ln(E.bridge,f(l),f(u)),S=n(r(null),E.props,l),M=n(r(null),E.propsConfig,c),T=n(r(null),E.methods,u),x=n(r(null),E.wire,d,h);g=g||E.connectedCallback,w=w||E.disconnectedCallback,y=y||E.renderedCallback,b=b||E.errorCallback,v=v||E.render;let A=E.shadowSupportMode;_(t)||(A=t);let N=E.renderMode;_(i)||(N="light"===i?0:1);const P=function(e){return lr.get(e)}(e)||E.template,O=e.name||E.name;o(m,p);return{ctor:e,name:O,wire:x,props:S,propsConfig:M,methods:T,bridge:k,template:P,renderMode:N,shadowSupportMode:A,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function hn(e){if(!H(e))return!1;if(e.prototype instanceof It)return!0;let t=e;do{if(un(t)){const e=an(t);if(e===t)return!0;t=e}if(t===It)return!0}while(!D(t)&&(t=a(t)));return!1}function pn(e){let t=dn.get(e);if(_(t)){if(un(e)){return t=pn(an(e)),dn.set(e,t),t}if(!hn(e))throw new TypeError(`${e} is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.`);t=fn(e),dn.set(e,t)}return t}const mn={ctor:It,name:It.name,props:Vt,propsConfig:ie,methods:ie,renderMode:1,shadowSupportMode:"default",wire:ie,bridge:cn,template:Zt,render:It.prototype.render};function gn(e,t){e.$shadowToken$=t}function wn(e,t){const{cmpTemplate:n,context:r}=t,o=null==n?void 0:n.stylesheetToken;!_(o)&&r.hasScopedStyles&&t.renderer.getClassList(e).add(o)}function yn(e,t){const{elm:n,text:r,owner:{renderer:o}}=t;e.text!==r&&o.setText(n,r)}function bn(e,t,n){const{renderer:r}=e.owner;r.insert(e.elm,t,n)}function vn(e,t){const{renderer:n}=e.owner;n.remove(e.elm,t)}function Cn(e,t){const{children:n,owner:r}=t,o=Mn(n)?qe:Xe;Hr(r,r.owner,F,(()=>{o(t.elm,e.children,n)}),F)}function En(e,t){const n=e.aChildren||e.children;t.aChildren=n;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t){const{cmpSlots:n}=e,o=e.cmpSlots=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(D(n))continue;const{data:r}=n,i=r.attrs&&r.attrs.slot||"",s=o[i]=o[i]||[];_(n.key)||(n.key=`@${i}:${n.key}`),C.call(s,n)}if(R(e.isDirty)){const t=f(n);if(t.length!==f(o).length)return void ur(e);for(let r=0,i=t.length;r<i;r+=1){const i=t[r];if(_(o[i])||n[i].length!==o[i].length)return void ur(e);const s=n[i],l=o[i];for(let t=0,n=o[i].length;t<n;t+=1)if(s[t]!==l[t])return void ur(e)}}}(t,n),e.aChildren=n,e.children=se)}function kn(e){const{elm:t,children:n}=e;for(let e=0;e<n.length;++e){const r=n[e];null!=r&&(r.hook.create(r),r.hook.insert(r,t,null))}}const Sn=new WeakMap;function Mn(e){return Sn.has(e)}function Tn(e,t){e=e.toLowerCase();let n=t.getCustomElement(e);return _(n)?(n=class extends t.HTMLElement{constructor(e){super(),H(e)&&e(this)}},t.defineCustomElement(e,n),n):n}let xn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const An=Symbol.iterator,Nn={create:e=>{const{owner:t}=e,{renderer:n}=t,r=n.createText(e.text);_n(r,t),e.elm=r},update:yn,insert:bn,move:bn,remove:vn},Pn={create:e=>{const{owner:t,text:n}=e,{renderer:r}=t,o=r.createComment(n);_n(o,t),e.elm=o},update:yn,insert:bn,move:bn,remove:vn},On={create:e=>{const{sel:t,owner:n,data:{svg:r}}=e,{renderer:o}=n,i=$(r)?"http://www.w3.org/2000/svg":void 0,s=o.createElement(t,i);_n(s,n),function(e,t){const{owner:n}=t;if(wn(e,n),1===n.shadowMode){const{data:{context:r}}=t,{stylesheetToken:o}=n.context;_(r)||_(r.lwc)||"manual"!==r.lwc.dom||function(e){e.$domManual$=!0}(e),gn(e,o)}}(s,e),e.elm=s,function(e){ye.create(e),xe.create(e),Oe.create(e),Be.create(e),We.create(e),Re.create(e),Fe.create(e)}(e)},update:(e,t)=>{!function(e,t){xe.update(e,t),Oe.update(e,t),Re.update(e,t),Fe.update(e,t)}(e,t),Cn(e,t)},insert:(e,t,n)=>{bn(e,t,n),kn(e)},move:(e,t,n)=>{bn(e,t,n)},remove:(e,t)=>{vn(e,t),function(e){const{children:t,elm:n}=e;for(let e=0,r=t.length;e<r;++e){const r=t[e];D(r)||r.hook.remove(r,n)}}(e)}},Ln={create:e=>{const{sel:t,owner:n}=e,{renderer:r}=n,o=Tn(t,r),i=new o((t=>{!function(e,t){if(!_(Ar(e)))return;const{sel:n,mode:r,ctor:o,owner:i}=t;if(wn(e,i),1===i.shadowMode){const{stylesheetToken:t}=i.context;gn(e,t)}Mr(e,pn(o),{mode:r,owner:i,tagName:n,renderer:i.renderer})}(t,e)}));_n(i,n),e.elm=i;const s=Ar(i);if(s)En(e,s);else if(e.ctor!==o)throw new TypeError("Incorrect Component Constructor");!function(e){ye.create(e),xe.create(e),Oe.create(e),Be.create(e),We.create(e),Re.create(e),Fe.create(e)}(e)},update:(e,t)=>{!function(e,t){xe.update(e,t),Oe.update(e,t),Re.update(e,t),Fe.update(e,t)}(e,t);const n=Ar(t.elm);n&&En(t,n),Cn(e,t),n&&Cr(n)},insert:(e,t,n)=>{bn(e,t,n);const r=Ar(e.elm);r&&Lr(r),kn(e),r&&function(e){Nr(e)}(r)},move:(e,t,n)=>{bn(e,t,n)},remove:(e,t)=>{vn(e,t);const n=Ar(e.elm);n&&function(e){Sr(e)}(n)}};function _n(e,t){const{renderer:n,renderMode:r,shadowMode:o}=t;n.isSyntheticShadowDefined&&(1!==o&&0!==r||(e.$shadowResolver$=Ir(t).$shadowResolver$))}function Dn(e,t,n){const r=Zn();const{key:o}=t;return{sel:e,data:t,children:n,text:undefined,elm:undefined,key:o,hook:On,owner:r}}function $n(e,t,n,r=se){const o=Zn(),{key:i}=n;const s={sel:e,data:n,children:r,text:undefined,elm:undefined,key:i,hook:Ln,ctor:t,owner:o,mode:"open"};return function(e){C.call(Zn().velements,e)}(s),s}const Rn=new Map;let Hn=0;function In(e){var t;return t=e,Sn.set(t,1),e}const Fn=s({s:function(e,t,n,r){_(r)||_(r[e])||0===r[e].length||(n=r[e]);const o=Zn(),{renderMode:i,shadowMode:s}=o;return 0===i?(In(n),n):(1===s&&In(n),Dn("slot",t,n))},h:Dn,c:$n,i:function(e,t){const n=[];if(In(n),_(e)||null===e)return n;const r=e[An]();let o=r.next(),i=0,{value:s,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(s,i,0===i,!0===l);m(e)?C.apply(n,e):C.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];In(n);for(let r=0;r<t;r+=1){const t=e[r];m(t)?C.apply(n,t):C.call(n,t)}return n},t:function(e){return{sel:undefined,data:ie,children:undefined,text:e,elm:undefined,key:undefined,hook:Nn,owner:Zn()}},d:function(e){return null==e?"":e},b:function(e){const t=Zn();if(D(t))throw new Error;const n=t;return function(t){sr(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{sel:undefined,data:ie,children:undefined,text:e,elm:undefined,key:undefined,hook:Pn,owner:Zn()}},dc:function(e,t,n,r){if(null==t)return null;if(!hn(t))throw new Error(`Invalid LWC Constructor ${W(t)} for custom element <${e}>.`);let o=Rn.get(t);return _(o)&&(o=Hn++,Rn.set(t,o)),n.key=`dc:${o}:${n.key}`,$n(e,t,n,r)},ti:function(e){return e>0&&!($(e)||R(e))?0:e},gid:function(e){const t=Zn();if(_(e)||""===e)return e;if(D(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?P.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=Zn();if(_(e)||""===e)return e;if(D(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return xn(e)}});function Bn(e){return`${e}-host`}function Wn(e,t,n){const r=[];for(let o=0;o<e.length;o++){let i=e[o];if(m(i))C.apply(r,Wn(i,t,n));else{const e=i.$scoped$,o=0===n.renderMode?!e:0===n.shadowMode,s=e||1===n.shadowMode&&1===n.renderMode?t:void 0;C.call(r,i(o,s))}}return r}function jn(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return _(n)||0===n.length||(o=Wn(n,r,e)),o}function Vn(e,t){const{renderer:n,renderMode:r,shadowMode:o}=e;if(1===r&&1===o)for(let e=0;e<t.length;e++)n.insertGlobalStylesheet(t[e]);else{if(n.ssr){const e=b.call(t,"\n");return i=e,Fn.h("style",{key:"style",attrs:{type:"text/css"}},[Fn.t(i)])}{const r=function(e){let t=e;for(;!D(t);){if(1===t.renderMode&&0===t.shadowMode)return t;t=t.owner}return t}(e),o=D(r);for(let e=0;e<t.length;e++)o?n.insertGlobalStylesheet(t[e]):n.insertStylesheet(t[e],r.cmpRoot)}}var i;return null}let Kn=!1,zn=F;const Gn={enableProfiler(){Kn=!0},disableProfiler(){Kn=!1},attachDispatcher(e){zn=e,this.enableProfiler()},detachDispatcher(){const e=zn;return zn=F,this.disableProfiler(),e}};function Un(e,t){Kn&&zn(e,0,t.tagName,t.idx)}function qn(e,t){Kn&&zn(e,1,t.tagName,t.idx)}function Xn(e,t){Kn&&zn(e,0,null==t?void 0:t.tagName,null==t?void 0:t.idx)}function Yn(e,t){Kn&&zn(e,1,null==t?void 0:t.tagName,null==t?void 0:t.idx)}let Jn=!1,Qn=null;function Zn(){return Qn}function er(e){Qn=e}function tr(e,t){const n=Jn,o=Qn;let i=[];return Hr(e,e.owner,(()=>{Qn=e,Un(1,e)}),(()=>{const{component:n,context:o,cmpSlots:s,cmpTemplate:l,tro:c}=e;c.observe((()=>{if(t!==l){if(D(l)||Rr(e),c=t,!Qt.has(c))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${W(t)}.`);e.cmpTemplate=t,o.tplCache=r(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!_(t))for(let e=0;e<t.length;e++)if($(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:r,renderer:o,renderMode:i,shadowMode:s}=e,{stylesheets:l,stylesheetToken:c}=t,a=1===i&&1===s,{hasScopedStyles:u}=r;let d,f,h;const{stylesheetToken:p,hasTokenInClass:m,hasTokenInAttribute:g}=r;m&&o.getClassList(n).remove(Bn(p)),g&&o.removeAttribute(n,Bn(p)),_(l)||0===l.length||(d=c),_(d)||(u&&(o.getClassList(n).add(Bn(d)),f=!0),a&&(o.setAttribute(n,Bn(d),""),h=!0)),r.stylesheetToken=d,r.hasTokenInClass=f,r.hasTokenInAttribute=h}(e,t);const n=jn(e,t);o.styleVNode=0===n.length?null:Vn(e,n)}var c;e.velements=[],Jn=!0,i=t.call(void 0,Fn,n,s,o.tplCache);const{styleVNode:a}=o;D(a)||T.call(i,a)}))}),(()=>{Jn=n,Qn=o,qn(1,e)})),i}function nr(e,t){if(!d(t)&&_(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!D(n);)C.call(t,ge(n)),n=n.owner;return t.reverse().join("\n\t")}(e);i(t,"wcStack",{get:()=>n})}}let rr=null;function or(e){return rr===e}function ir(e,t,n){const{component:r,callHook:o,owner:i}=e;Hr(e,i,F,(()=>{o(r,t,n)}),F)}function sr(e,t,n,r){const{callHook:o,owner:i}=e;Hr(e,i,F,(()=>{o(n,t,[r])}),F)}const lr=new Map;function cr(e){return new he((()=>{const{isDirty:t}=e;R(t)&&(ur(e),function(e){if($(e.renderer.ssr)||$(e.isScheduled))return;e.isScheduled=!0,0===Pr.length&&ce(Or);C.call(Pr,e)}(e))}))}function ar(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=Zn();let s,l=!1;return Hr(e,o,(()=>{er(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{er(i)})),l?tr(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function ur(e){e.isDirty=!0}const dr=new WeakMap;function fr(e,t){if(!H(t))throw new TypeError;let n=dr.get(t);return _(n)&&(n=function(n){sr(e,t,void 0,n)},dr.set(t,n)),n}const hr=r(null),pr=["rendered","connected","disconnected"];function mr(e,t){const{component:n,def:r,context:o}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},r,o)}let gr=0;const wr=new WeakMap;function yr(e,t,n=[]){return t.apply(e,n)}function br(e,t,n){e[t]=n}function vr(e,t){return e[t]}function Cr(e){Nr(e)}function Er(e){const t=xr(e);Xn(7,t),1===t.state&&kr(e),Lr(t),Nr(t),Yn(7,t)}function kr(e){Sr(xr(e))}function Sr(e){const{state:t}=e;if(2!==t){const{oar:t,tro:n}=e;n.reset();for(const e in t)t[e].reset();!function(e){R(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=hr;t&&mr(e,t);_r(e)&&function(e){const{wiredDisconnecting:t}=e.context;Hr(e,e,F,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),F)}(e);const{disconnectedCallback:n}=e.def;_(n)||(Un(5,e),ir(e,n),qn(5,e))}(e),Dr(e),function(e){const{aChildren:t}=e;$r(t)}(e)}}function Mr(e,t,n){const{mode:o,owner:i,renderer:s,tagName:l}=n,c={elm:e,def:t,idx:gr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:o,owner:i,renderer:s,children:se,aChildren:se,velements:se,cmpProps:r(null),cmpFields:r(null),cmpSlots:r(null),oar:r(null),cmpTemplate:null,renderMode:t.renderMode,shadowMode:null,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:ie,wiredConnecting:se,wiredDisconnecting:se},tro:null,component:null,cmpRoot:null,callHook:yr,setHook:br,getHook:vr};return c.shadowMode=function(e){const{def:t,renderer:n}=e,{isNativeShadowDefined:r,isSyntheticShadowDefined:o}=n;let i;if(o)if(0===t.renderMode)i=0;else if(r)if("any"===t.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!D(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=D(t)||0!==t.shadowMode?1:0}else i=1;else i=0;return i}(c),c.tro=cr(c),function(e,t){const n=rr;let r;Un(0,e),rr=e;try{const o=new t;if(rr.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(qn(0,e),rr=n,!_(r))throw nr(e,r),r}}(c,t.ctor),_r(c)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],s=Fr.get(i);if(!_(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=Wr(e,t,s),c=s.dynamic.length>0;C.call(r,(()=>{n.connect(),re.ENABLE_WIRE_SYNC_EMIT||!c?i():Promise.resolve().then(i)})),C.call(o,(()=>{n.disconnect(),l()}))}}}(c),c}function Tr(e,t){wr.set(e,t)}function xr(e){return wr.get(e)}function Ar(e){return wr.get(e)}function Nr(e){if($(e.isDirty)){!function(e,t){const{children:n}=e;if(e.children=t,(t.length>0||n.length>0)&&n!==t){const r=Mn(t)?qe:Xe;Hr(e,e,(()=>{Un(2,e)}),(()=>{const o=Ir(e);r(o,n,t)}),(()=>{qn(2,e)}))}1===e.state&&function(e){const{renderer:t,def:{renderedCallback:n}}=e;if($(t.ssr))return;const{rendered:r}=hr;r&&mr(e,r);_(n)||(Un(4,e),ir(e,n),qn(4,e))}(e)}(e,ar(e))}}let Pr=[];function Or(){Xn(8);const e=Pr.sort(((e,t)=>e.idx-t.idx));Pr=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{Nr(r)}catch(r){throw t+1<n&&(0===Pr.length&&ce(Or),T.apply(Pr,S.call(e,t+1))),Yn(8),r}}Yn(8)}function Lr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=hr;n&&mr(e,n),_r(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;_(r)||(Un(3,e),ir(e,r),qn(3,e))}function _r(e){return c(e.def.wire).length>0}function Dr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!_(n)){const e=Ar(n);_(e)||Sr(e)}}}function $r(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];D(n)||!m(n.children)||_(n.elm)||(_(n.ctor)?$r(n.children):Sr(xr(n.elm)))}}function Rr(e){const{children:t,renderer:n}=e,r=Ir(e);for(let e=0,o=t.length;e<o;e++){const o=t[e];D(o)||_(o.elm)||n.remove(o.elm,r)}e.children=se,Dr(e),e.velements=se}function Hr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!_(i)){nr(e,i);const n=D(t)?void 0:function(e){let t=e;for(;!D(t);){if(!_(t.def.errorCallback))return t;t=t.owner}}(t);if(_(n))throw i;Rr(e),Un(6,e);ir(n,n.def.errorCallback,[i,i.wcStack]),qn(6,e)}}}function Ir(e){return 1===e.renderMode?e.cmpRoot:e.elm}const Fr=new Map;class Br extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),o(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function Wr(e,t,n){const{method:r,adapter:o,configCallback:s,dynamic:l}=n,c=_(r)?function(e,t){const{cmpFields:n}=e;return r=>{r!==e.cmpFields[t]&&(n[t]=r,pe(e,t))}}(e,t):function(e,t){return n=>{Hr(e,e.owner,F,(()=>{t.call(e.component,n)}),F)}}(e,r);let a,u;i(c,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),i(c,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),Hr(e,e,F,(()=>{u=new o(c)}),F);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let r=!1;const o=new he((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),i()})))})),i=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:i,ro:o}}(e.component,s,(t=>{Hr(e,e,F,(()=>{u.update(t,a)}),F)}));return _(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Vr(r);if(_(o))return;const{elm:i,renderer:s,context:{wiredConnecting:l,wiredDisconnecting:c}}=e;C.call(l,(()=>{const e=new Br(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){C.call(c,e)}});s.dispatchEvent(i,e)}))}(e,n,(t=>{a!==t&&(a=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const jr=new Map;function Vr(e){return jr.get(e)}function Kr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Fr.set(e,o)}function zr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Fr.set(e,o)}let Gr=!1;function Ur(e){const t={};return _(e.sanitizeHtmlContent)||(t.sanitizeHtmlContent=function(e){const t=xn;return xn=e,t}(e.sanitizeHtmlContent)),t}const qr=r(null),Xr=document.head||document.body||document,Yr=H(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),Jr=r(null),Qr=r(null),Zr=new WeakMap;let eo,to,no;if(function(){if("undefined"==typeof customElements)return!1;try{const e=HTMLElement;class t extends e{}return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),t),new t,!0}catch(e){return!1}}())eo=customElements.get.bind(customElements),to=customElements.define.bind(customElements),no=HTMLElement;else{const e=r(null),t=new WeakMap;to=function(n,r){if(n!==L.call(n)||e[n])throw new TypeError("Invalid Registration");e[n]=r,t.set(r,n)},eo=function(t){return e[t]},no=function e(){if(!(this instanceof e))throw new TypeError("Invalid Invocation");const{constructor:n}=this,r=t.get(n);if(!r)throw new TypeError("Invalid Construction");const o=document.createElement(r);return p(o,n.prototype),o},no.prototype=HTMLElement.prototype}const ro={ssr:!1,isNativeShadowDefined:G.$isNativeShadowRootDefined$,isSyntheticShadowDefined:u.call(Element.prototype,"$shadowToken$"),createElement:(e,t)=>_(t)?document.createElement(e):document.createElementNS(t,e),createText:e=>document.createTextNode(e),createComment:e=>document.createComment(e),insert(e,t,n){t.insertBefore(e,n)},remove(e,t){t.removeChild(e)},nextSibling:e=>e.nextSibling,attachShadow:(e,t)=>e.attachShadow(t),setText(e,t){e.nodeValue=t},getProperty:(e,t)=>e[t],setProperty(e,t,n){e[t]=n},getAttribute:(e,t,n)=>_(n)?e.getAttribute(t):e.getAttributeNS(n,t),setAttribute:(e,t,n,r)=>_(r)?e.setAttribute(t,n):e.setAttributeNS(r,t,n),removeAttribute(e,t,n){_(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)},addEventListener(e,t,n,r){e.addEventListener(t,n,r)},removeEventListener(e,t,n,r){e.removeEventListener(t,n,r)},dispatchEvent:(e,t)=>e.dispatchEvent(t),getClassList:e=>e.classList,setCSSStyleProperty(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},getBoundingClientRect:e=>e.getBoundingClientRect(),querySelector:(e,t)=>e.querySelector(t),querySelectorAll:(e,t)=>e.querySelectorAll(t),getElementsByTagName:(e,t)=>e.getElementsByTagName(t),getElementsByClassName:(e,t)=>e.getElementsByClassName(t),getChildren:e=>e.children,getChildNodes:e=>e.childNodes,getFirstChild:e=>e.firstChild,getFirstElementChild:e=>e.firstElementChild,getLastChild:e=>e.lastChild,getLastElementChild:e=>e.lastElementChild,isConnected:e=>e.isConnected,insertGlobalStylesheet(e){if(!_(qr[e]))return;qr[e]=!0;const t=document.createElement("style");t.type="text/css",t.textContent=e,Xr.appendChild(t)},insertStylesheet(e,t){Yr?function(e,t){let n=Qr[e];_(n)&&(n=new CSSStyleSheet,n.replaceSync(e),Qr[e]=n),t.adoptedStyleSheets.includes(n)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,n])}(e,t):function(e,t){let n=Zr.get(t);if(_(n)&&(n=r(null),Zr.set(t,n)),n[e])return;n[e]=!0;let o=Jr[e];_(o)?(o=document.createElement("style"),o.type="text/css",o.textContent=e,Jr[e]=o):o=o.cloneNode(!0),t.appendChild(o)}(e,t)},assertInstanceOfHTMLElement(e,n){t.invariant(e instanceof HTMLElement,n)},defineCustomElement:to,getCustomElement:eo,HTMLElement:no};const oo=Node,io=new WeakMap,so=new WeakMap;function lo(e,t){const n=t.get(e);return _(n)||n(e),e}const{appendChild:co,insertBefore:ao,removeChild:uo,replaceChild:fo}=oo.prototype;n(oo.prototype,{appendChild(e){return lo(co.call(this,e),io)},insertBefore(e,t){return lo(ao.call(this,e,t),io)},removeChild(e){return lo(uo.call(this,e),so)},replaceChild(e,t){const n=fo.call(this,e,t);return lo(n,so),lo(e,io),n}});const ho=Node;const po=new Map;function mo(e){if(e===It)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=po.get(e);return _(t)&&(t=function(e){const t=pn(e);return class extends t.bridge{constructor(){super(),Mr(this,t,{mode:"open",owner:null,tagName:this.tagName,renderer:ro})}connectedCallback(){Er(this)}disconnectedCallback(){kr(this)}}}(e),po.set(e,t)),t}i(It,"CustomElementConstructor",{get(){return mo(this)}}),s(It),h(It.prototype),e.LightningElement=It,e.__unstable__ProfilerControl=Gn,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=Vr(e);if(!_(t))throw new Error("Adapter already has a context provider.");t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),function(e,t){jr.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:i}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{_(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if("object"!=typeof t||D(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${W(t)}".`);const n=t.is;if(!H(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const r=Tn(e,ro);let o=!1;const i=new r((r=>{Mr(r,pn(n),{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null,renderer:ro}),io.set(r,Er),so.set(r,kr),o=!0}));return o||console.error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`),i},e.getComponentConstructor=function(e){let t=null;if(e instanceof HTMLElement){const n=Ar(e);_(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=pn(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,l={};for(const e in o)l[e]={config:i[e]||0,type:"any",attr:X(e)};const c={};for(const e in s)c[e]=s[e].value;return{ctor:n,name:r,props:l,methods:c}},e.isComponentConstructor=hn,e.isNodeFromTemplate=function(e){return!R(e instanceof ho)&&(!(e instanceof ShadowRoot)&&(ro.isSyntheticShadowDefined?!_(e.$shadowResolver$):e.getRootNode()instanceof ShadowRoot))},e.readonly=function(e){return Rt.getReadOnlyProxy(e)},e.register=function(e){for(let t=0;t<pr.length;++t){const n=pr[t];if(n in e){let t=hr[n];_(t)&&(hr[n]=t=[]),C.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return lr.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:o,publicMethods:s,wire:c,track:a,fields:u}=t,d=r(null),f=r(null),h=r(null),p=r(null),m=r(null),g=r(null);let w;if(!_(o))for(const e in o){const t=o[e];if(g[e]=t.config,w=l(n,e),t.config>0){if(_(w))throw new Error;w=qt(e,w)}else w=_(w)||_(w.get)?Gt(e):qt(e,w);f[e]=w,i(n,e,w)}if(_(s)||x.call(s,(e=>{if(w=l(n,e),_(w))throw new Error;d[e]=w})),!_(c))for(const e in c){const{adapter:t,method:r,config:o,dynamic:s=[]}=c[e];if(w=l(n,e),1===r){if(_(w))throw new Error;h[e]=w,Kr(w,t,o,s)}else w=Kt(e),p[e]=w,zr(w,t,o,s),i(n,e,w)}if(!_(a))for(const e in a)w=l(n,e),w=zt(e),i(n,e,w);if(!_(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(n,t);const r=!_(o)&&t in o,i=!_(a)&&t in a;r||i||(m[t]=Xt(t))}return function(e,t){Yt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return Qt.add(e),e},e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(_(ne[e])){const n=f(ne).map((e=>`"${e}"`)).join(", ");console.warn(`Failed to set the value "${t}" for the runtime feature flag "${e}" because it is undefined. Available flags: ${n}.`)}else{const n=re[e];if(!_(n))return void console.error(`Failed to set the value "${t}" for the runtime feature flag "${e}". "${e}" has already been set with the value "${n}".`);i(re,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){t.isFalse(Gr,"Hooks are already overridden, only one definition is allowed."),Ur(e),Gr=!0},e.setHooksForTest=function(e){},e.swapComponent=function(e,t){if(!re.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapStyle=function(e,t){if(!re.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapTemplate=function(e,t){if(!re.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.track=function(e){if(1===arguments.length)return Rt.getProxy(e);throw new Error},e.unwrap=function(e){const t=Rt.unwrapProxy(e);return t!==e?t:e},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0})}));
9
+ */function je(e){return void 0===e}function Ve(e,t){return e.key===t.key&&e.sel===t.sel}function Ke(e){return null!=e}function ze(e,t,n){const r={};let o,i,s;for(o=t;o<=n;++o)s=e[o],Ke(s)&&(i=s.key,void 0!==i&&(r[i]=o));return r}function Ge(e,t,n,r,o){for(;r<=o;++r){const o=n[r];Ke(o)&&(o.hook.create(o),o.hook.insert(o,e,t))}}function Ue(e,t,n,r){for(;n<=r;++n){const r=t[n];Ke(r)&&r.hook.remove(r,e)}}function qe(e,t,n){let r=0,o=0,i=t.length-1,s=t[0],l=t[i];const a=n.length-1;let c,u,d,f,h=a,p=n[0],m=n[h];for(;r<=i&&o<=h;)Ke(s)?Ke(l)?Ke(p)?Ke(m)?Ve(s,p)?(Ye(s,p),s=t[++r],p=n[++o]):Ve(l,m)?(Ye(l,m),l=t[--i],m=n[--h]):Ve(s,m)?(Ye(s,m),m.hook.move(s,e,l.owner.renderer.nextSibling(l.elm)),s=t[++r],m=n[--h]):Ve(l,p)?(Ye(l,p),p.hook.move(l,e,s.elm),l=t[--i],p=n[++o]):(void 0===c&&(c=ze(t,r,i)),u=c[p.key],je(u)?(p.hook.create(p),p.hook.insert(p,e,s.elm),p=n[++o]):(d=t[u],Ke(d)&&(d.sel!==p.sel?(p.hook.create(p),p.hook.insert(p,e,s.elm)):(Ye(d,p),t[u]=void 0,p.hook.move(d,e,s.elm))),p=n[++o])):m=n[--h]:p=n[++o]:l=t[--i]:s=t[++r];if(r<=i||o<=h)if(r>i){let t,r=h;do{t=n[++r]}while(!Ke(t)&&r<a);f=Ke(t)?t.elm:null,Ge(e,f,n,o,h)}else Ue(e,t,r,i)}function Xe(e,t,n){const r=t.length,o=n.length;if(0===r)return void Ge(e,null,n,0,o);if(0===o)return void Ue(e,t,0,r);let i=null;for(let r=o-1;r>=0;r-=1){const o=n[r],s=t[r];o!==s&&(Ke(s)?Ke(o)?(Ye(s,o),i=o.elm):s.hook.remove(s,e):Ke(o)&&(o.hook.create(o),o.hook.insert(o,e,i),i=o.elm))}}function Ye(e,t){e!==t&&(t.elm=e.elm,t.hook.update(e,t))}const Je="undefined"!=typeof HTMLElement?HTMLElement:function(){},Qe=Je.prototype,Ze=r(null);x.call(f(z),(e=>{const t=j(Qe,e);_(t)||(Ze[e]=t)})),x.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=j(Qe,e);_(t)||(Ze[e]=t)}));const{isArray:et}=Array,{getPrototypeOf:tt,create:nt,defineProperty:rt,defineProperties:ot,isExtensible:it,getOwnPropertyDescriptor:st,getOwnPropertyNames:lt,getOwnPropertySymbols:at,preventExtensions:ct,hasOwnProperty:ut}=Object,{push:dt,concat:ft,map:ht}=Array.prototype;function pt(e){return void 0===e}function mt(e){return"function"==typeof e}const gt=new WeakMap;function wt(e,t){gt.set(e,t)}const yt=e=>gt.get(e)||e;class bt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(ut.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;pt(n)||(e.get=this.wrapGetter(n)),pt(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=st(n,t);if(!pt(r)){const n=this.wrapDescriptor(r);rt(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;ft.call(lt(t),at(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;pt(n)||ut.call(e,n)||rt(e,n,nt(null)),ct(e)}apply(e,t,n){}construct(e,t,n){}get(e,t){const{originalTarget:n,membrane:{valueObserved:r}}=this,o=n[t];return r(n,t),this.wrapValue(o)}has(e,t){const{originalTarget:n,membrane:{tagPropertyKey:r,valueObserved:o}}=this;return o(n,t),t in n||t===r}ownKeys(e){const{originalTarget:t,membrane:{tagPropertyKey:n}}=this,r=pt(n)||ut.call(t,n)?[]:[n];return dt.apply(r,lt(t)),dt.apply(r,at(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!it(e)&&(!!it(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return tt(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=st(n,t);if(pt(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},rt(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const vt=new WeakMap,Et=new WeakMap,Ct=new WeakMap,kt=new WeakMap;class St extends bt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=vt.get(e);if(!pt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(yt(this)))};return vt.set(e,r),Ct.set(r,e),r}wrapSetter(e){const t=Et.get(e);if(!pt(t))return t;const n=function(t){e.call(yt(this),yt(t))};return Et.set(e,n),kt.set(n,e),n}unwrapDescriptor(e){if(ut.call(e,"value"))e.value=yt(e.value);else{const{set:t,get:n}=e;pt(n)||(e.get=this.unwrapGetter(n)),pt(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=Ct.get(e);if(!pt(t))return t;const n=this,r=function(){return yt(e.call(n.wrapValue(this)))};return vt.set(r,e),Ct.set(e,r),r}unwrapSetter(e){const t=kt.get(e);if(!pt(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return Et.set(r,e),kt.set(e,r),r}set(e,t,n){const{originalTarget:r,membrane:{valueMutated:o}}=this;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&et(r)&&o(r,t),!0}deleteProperty(e,t){const{originalTarget:n,membrane:{valueMutated:r}}=this;return delete n[t],r(n,t),!0}setPrototypeOf(e,t){}preventExtensions(e){if(it(e)){const{originalTarget:t}=this;if(ct(t),it(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!ut.call(r,t)||(rt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const Mt=new WeakMap,Tt=new WeakMap;class xt extends bt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=Mt.get(e);if(!pt(t))return t;const n=this,r=function(){return n.wrapValue(e.call(yt(this)))};return Mt.set(e,r),r}wrapSetter(e){const t=Tt.get(e);if(!pt(t))return t;const n=function(e){};return Tt.set(e,n),n}set(e,t,n){return!1}deleteProperty(e,t){return!1}setPrototypeOf(e,t){}preventExtensions(e){return!1}defineProperty(e,t,n){return!1}}const At=Object.prototype;function Nt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(et(e))return!0;const t=tt(e);return t===At||null===t||null===tt(t)}const Pt=(e,t)=>{},Ot=(e,t)=>{},Lt=e=>e;function _t(e){return et(e)?[]:{}}const Dt=Symbol.for("@@lockerLiveValue");function $t(e){return e}const Rt=new class{constructor(e){if(this.valueDistortion=Lt,this.valueMutated=Ot,this.valueObserved=Pt,this.valueIsObservable=Nt,this.objectGraph=new WeakMap,!pt(e)){const{valueDistortion:t,valueMutated:n,valueObserved:r,valueIsObservable:o,tagPropertyKey:i}=e;this.valueDistortion=mt(t)?t:Lt,this.valueMutated=mt(n)?n:Ot,this.valueObserved=mt(r)?r:Pt,this.valueIsObservable=mt(o)?o:Nt,this.tagPropertyKey=i}}getProxy(e){const t=yt(e),n=this.valueDistortion(t);if(this.valueIsObservable(n)){const r=this.getReactiveState(t,n);return r.readOnly===e?e:r.reactive}return n}getReadOnlyProxy(e){e=yt(e);const t=this.valueDistortion(e);return this.valueIsObservable(t)?this.getReactiveState(e,t).readOnly:t}unwrapProxy(e){return yt(e)}getReactiveState(e,t){const{objectGraph:n}=this;let r=n.get(t);if(r)return r;const o=this;return r={get reactive(){const n=new St(o,t),r=new Proxy(_t(t),n);return wt(r,e),rt(this,"reactive",{value:r}),r},get readOnly(){const n=new xt(o,t),r=new Proxy(_t(t),n);return wt(r,e),rt(this,"readOnly",{value:r}),r}},n.set(t,r),r}}({valueObserved:fe,valueMutated:de,valueDistortion:$t,tagPropertyKey:Dt});function It(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!I(n))throw new TypeError;if(!I(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const t=xr(this);if(!or(t))return me(t,e),n.call(t.elm)},set(t){const n=xr(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,pe(n,e)),r.call(n.elm,t)}}}const Ft=function(){if(D(rr))throw new ReferenceError("Illegal constructor");const e=rr,{def:t,elm:n,renderer:r}=e,{bridge:o}=t,i=this;if(p(n,o.prototype),e.component=this,1===arguments.length){const{callHook:t,setHook:n,getHook:r}=arguments[0];e.callHook=t,e.setHook=n,e.getHook=r}return this[Dt]=void 0,Tr(i,e),Tr(n,e),1===e.renderMode&&Ht(e),this};function Ht(e){const{elm:t,mode:n,renderer:r,shadowMode:o,def:{ctor:i}}=e,s=r.attachShadow(t,{"$$lwc-synthetic-mode":1===o,delegatesFocus:Boolean(i.delegatesFocus),mode:n});e.cmpRoot=s,Tr(s,e)}Ft.prototype={constructor:Ft,dispatchEvent(e){const{elm:t,renderer:{dispatchEvent:n}}=xr(this);return n(t,e)},addEventListener(e,t,n){const r=xr(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,fr(r,t),n)},removeEventListener(e,t,n){const r=xr(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,fr(r,t),n)},hasAttribute(e){const{elm:t,renderer:{getAttribute:n}}=xr(this);return!D(n(t,e))},hasAttributeNS(e,t){const{elm:n,renderer:{getAttribute:r}}=xr(this);return!D(r(n,t,e))},removeAttribute(e){const{elm:t,renderer:{removeAttribute:n}}=xr(this);Se(t,e),n(t,e),ke()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=xr(this);Se(n,t),r(n,t,e),ke()},getAttribute(e){const{elm:t,renderer:{getAttribute:n}}=xr(this);return n(t,e)},getAttributeNS(e,t){const{elm:n,renderer:{getAttribute:r}}=xr(this);return r(n,t,e)},setAttribute(e,t){const n=xr(this),{elm:r,renderer:{setAttribute:o}}=n;Se(r,e),o(r,e,t),ke()},setAttributeNS(e,t,n){const r=xr(this),{elm:o,renderer:{setAttribute:i}}=r;Se(o,t),i(o,t,n,e),ke()},getBoundingClientRect(){const e=xr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},get isConnected(){const{elm:e,renderer:{isConnected:t}}=xr(this);return t(e)},get classList(){const e=xr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return xr(this).cmpRoot},get shadowRoot(){return null},render(){return xr(this).def.template},toString(){return`[object ${xr(this).def.name}]`}};const Bt=r(null),Wt=[["children","getChildren"],["childNodes","getChildNodes"],["firstChild","getFirstChild"],["firstElementChild","getFirstElementChild"],["lastChild","getLastChild"],["lastElementChild","getLastElementChild"]];for(const[e,t]of Wt)Bt[e]={get(){const e=xr(this),{elm:n,renderer:r}=e;return r[t](n)},configurable:!0,enumerable:!0};const jt=["getElementsByClassName","getElementsByTagName","querySelector","querySelectorAll"];for(const e of jt)Bt[e]={value(t){const n=xr(this),{elm:r,renderer:o}=n;return o[e](r,t)},configurable:!0,enumerable:!0,writable:!0};o(Ft.prototype,Bt);const Vt=r(null);for(const e in Ze)Vt[e]=It(e,Ze[e]);function Kt(e){return{get(){const t=xr(this);return me(t,e),t.cmpFields[e]},set(t){const n=xr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,pe(n,e))},enumerable:!0,configurable:!0}}function zt(e){return{get(){const t=xr(this);return me(t,e),t.cmpFields[e]},set(t){const n=xr(this),r=Rt.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,pe(n,e))},enumerable:!0,configurable:!0}}function Gt(e){return{get(){const t=xr(this);if(!or(t))return me(t,e),t.cmpProps[e]},set(t){const n=xr(this);n.cmpProps[e]=t,pe(n,e)},enumerable:!0,configurable:!0}}o(Ft.prototype,Vt),i(Ft,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class Ut extends he{constructor(e,t){super((()=>{R(this.debouncing)&&(this.debouncing=!0,ae((()=>{if($(this.debouncing)){const{value:n}=this,{isDirty:r,component:o,idx:i}=e;t.call(o,n),this.debouncing=!1,$(e.isDirty)&&R(r)&&i>0&&Er(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function qt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!I(n))throw new Error;return{get(){return n.call(this)},set(t){const n=xr(this);if(r)if(re.ENABLE_REACTIVE_SETTER){let o=n.oar[e];_(o)&&(o=n.oar[e]=new Ut(n,r)),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function Xt(e){return{get(){const t=xr(this);return me(t,e),t.cmpFields[e]},set(t){const n=xr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,pe(n,e))},enumerable:!0,configurable:!0}}const Yt=new Map;const Jt={apiMethods:ie,apiFields:ie,apiFieldsConfig:ie,wiredMethods:ie,wiredFields:ie,observedFields:ie};const Qt=new Set;function Zt(){return[]}Qt.add(Zt);const en=r(null),tn=r(null);function nn(e){let t=en[e];return _(t)&&(t=en[e]=function(){const t=xr(this),{getHook:n}=t;return n(t.component,e)}),t}function rn(e){let t=tn[e];return _(t)&&(t=tn[e]=function(t){const n=xr(this),{setHook:r}=n;t=Rt.getReadOnlyProxy(t),r(n.component,e,t)}),t}function on(e){return function(){const t=xr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,S.call(arguments))}}function sn(e,t){return function(n,r,o){if(r===o)return;const i=e[n];_(i)?_(t)||t.apply(this,arguments):Ce(this,n)&&(this[i]=o)}}function ln(e,t,n){let s;I(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},p(s,e),p(s.prototype,e.prototype),i(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const l=r(null),{attributeChangedCallback:a}=e.prototype,{observedAttributes:c=[]}=e,u=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];l[X(n)]=n,u[n]={get:nn(n),set:rn(n),enumerable:!0,configurable:!0}}for(let e=0,t=n.length;e<t;e+=1){const t=n[e];u[t]={value:on(t),writable:!0,configurable:!0}}return u.attributeChangedCallback={value:sn(l,a)},i(s,"observedAttributes",{get:()=>[...c,...f(l)]}),o(s.prototype,u),s}const an=ln(Je,a(Ze),[]);function cn(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function un(e){return I(e)&&u.call(e,"__circular__")}s(an),h(an.prototype);const dn=new WeakMap;function fn(e){const{shadowSupportMode:t,renderMode:i}=e,s=function(e){const t=Yt.get(e);return _(t)?Jt:t}(e),{apiFields:l,apiFieldsConfig:a,apiMethods:u,wiredFields:d,wiredMethods:h,observedFields:p}=s,m=e.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=c(e);if(D(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(un(t)){const e=cn(t);t=e===t?Ft:e}return t}(e),C=E!==Ft?pn(E):mn,k=ln(C.bridge,f(l),f(u)),S=n(r(null),C.props,l),M=n(r(null),C.propsConfig,a),T=n(r(null),C.methods,u),x=n(r(null),C.wire,d,h);g=g||C.connectedCallback,w=w||C.disconnectedCallback,y=y||C.renderedCallback,b=b||C.errorCallback,v=v||C.render;let A=C.shadowSupportMode;_(t)||(A=t);let N=C.renderMode;_(i)||(N="light"===i?0:1);const P=function(e){return lr.get(e)}(e)||C.template,O=e.name||C.name;o(m,p);return{ctor:e,name:O,wire:x,props:S,propsConfig:M,methods:T,bridge:k,template:P,renderMode:N,shadowSupportMode:A,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function hn(e){if(!I(e))return!1;if(e.prototype instanceof Ft)return!0;let t=e;do{if(un(t)){const e=cn(t);if(e===t)return!0;t=e}if(t===Ft)return!0}while(!D(t)&&(t=c(t)));return!1}function pn(e){let t=dn.get(e);if(_(t)){if(un(e)){return t=pn(cn(e)),dn.set(e,t),t}if(!hn(e))throw new TypeError(`${e} is not a valid component, or does not extends LightningElement from "lwc". You probably forgot to add the extend clause on the class declaration.`);t=fn(e),dn.set(e,t)}return t}const mn={ctor:Ft,name:Ft.name,props:Vt,propsConfig:ie,methods:ie,renderMode:1,shadowSupportMode:"reset",wire:ie,bridge:an,template:Zt,render:Ft.prototype.render};function gn(e,t){e.$shadowToken$=t}function wn(e,t){const{cmpTemplate:n,context:r}=t,o=null==n?void 0:n.stylesheetToken;!_(o)&&r.hasScopedStyles&&t.renderer.getClassList(e).add(o)}function yn(e,t){const{elm:n,text:r,owner:{renderer:o}}=t;e.text!==r&&o.setText(n,r)}function bn(e,t,n){const{renderer:r}=e.owner;r.insert(e.elm,t,n)}function vn(e,t){const{renderer:n}=e.owner;n.remove(e.elm,t)}function En(e,t){const{children:n,owner:r}=t,o=Mn(n)?qe:Xe;Ir(r,r.owner,H,(()=>{o(t.elm,e.children,n)}),H)}function Cn(e,t){const n=e.aChildren||e.children;t.aChildren=n;const{renderMode:o,shadowMode:i}=t;1!==i&&0!==o||(!function(e,t){const{cmpSlots:n}=e,o=e.cmpSlots=r(null);for(let e=0,n=t.length;e<n;e+=1){const n=t[e];if(D(n))continue;const{data:r}=n,i=r.attrs&&r.attrs.slot||"",s=o[i]=o[i]||[];_(n.key)||(n.key=`@${i}:${n.key}`),E.call(s,n)}if(R(e.isDirty)){const t=f(n);if(t.length!==f(o).length)return void ur(e);for(let r=0,i=t.length;r<i;r+=1){const i=t[r];if(_(o[i])||n[i].length!==o[i].length)return void ur(e);const s=n[i],l=o[i];for(let t=0,n=o[i].length;t<n;t+=1)if(s[t]!==l[t])return void ur(e)}}}(t,n),e.aChildren=n,e.children=se)}function kn(e){const{elm:t,children:n}=e;for(let e=0;e<n.length;++e){const r=n[e];null!=r&&(r.hook.create(r),r.hook.insert(r,t,null))}}const Sn=new WeakMap;function Mn(e){return Sn.has(e)}function Tn(e,t){e=e.toLowerCase();let n=t.getCustomElement(e);return _(n)?(n=class extends t.HTMLElement{constructor(e){super(),I(e)&&e(this)}},t.defineCustomElement(e,n),n):n}const xn=Symbol.iterator,An={create:e=>{const{owner:t}=e,{renderer:n}=t,r=n.createText(e.text);Ln(r,t),e.elm=r},update:yn,insert:bn,move:bn,remove:vn},Nn={create:e=>{const{owner:t,text:n}=e,{renderer:r}=t,o=r.createComment(n);Ln(o,t),e.elm=o},update:yn,insert:bn,move:bn,remove:vn},Pn={create:e=>{const{sel:t,owner:n,data:{svg:r}}=e,{renderer:o}=n,i=$(r)?"http://www.w3.org/2000/svg":void 0,s=o.createElement(t,i);Ln(s,n),function(e,t){const{owner:n}=t;if(wn(e,n),1===n.shadowMode){const{data:{context:r}}=t,{stylesheetToken:o}=n.context;_(r)||_(r.lwc)||"manual"!==r.lwc.dom||function(e){e.$domManual$=!0}(e),gn(e,o)}}(s,e),e.elm=s,function(e){ye.create(e),xe.create(e),Oe.create(e),Be.create(e),We.create(e),Re.create(e),He.create(e)}(e)},update:(e,t)=>{!function(e,t){xe.update(e,t),Oe.update(e,t),Re.update(e,t),He.update(e,t)}(e,t),En(e,t)},insert:(e,t,n)=>{bn(e,t,n),kn(e)},move:(e,t,n)=>{bn(e,t,n)},remove:(e,t)=>{vn(e,t),function(e){const{children:t,elm:n}=e;for(let e=0,r=t.length;e<r;++e){const r=t[e];D(r)||r.hook.remove(r,n)}}(e)}},On={create:e=>{const{sel:t,owner:n}=e,{renderer:r}=n,o=Tn(t,r),i=new o((t=>{!function(e,t){if(!_(Ar(e)))return;const{sel:n,mode:r,ctor:o,owner:i}=t;if(wn(e,i),1===i.shadowMode){const{stylesheetToken:t}=i.context;gn(e,t)}Mr(e,pn(o),{mode:r,owner:i,tagName:n,renderer:i.renderer})}(t,e)}));Ln(i,n),e.elm=i;const s=Ar(i);if(s)Cn(e,s);else if(e.ctor!==o)throw new TypeError("Incorrect Component Constructor");!function(e){ye.create(e),xe.create(e),Oe.create(e),Be.create(e),We.create(e),Re.create(e),He.create(e)}(e)},update:(e,t)=>{!function(e,t){xe.update(e,t),Oe.update(e,t),Re.update(e,t),He.update(e,t)}(e,t);const n=Ar(t.elm);n&&Cn(t,n),En(e,t),n&&Er(n)},insert:(e,t,n)=>{bn(e,t,n);const r=Ar(e.elm);r&&Lr(r),kn(e),r&&function(e){Nr(e)}(r)},move:(e,t,n)=>{bn(e,t,n)},remove:(e,t)=>{vn(e,t);const n=Ar(e.elm);n&&function(e){Sr(e)}(n)}};function Ln(e,t){const{renderer:n,renderMode:r,shadowMode:o}=t;n.isSyntheticShadowDefined&&(1!==o&&0!==r||(e.$shadowResolver$=Fr(t).$shadowResolver$))}function _n(e,t,n){const r=Zn();const{key:o}=t;return{sel:e,data:t,children:n,text:undefined,elm:undefined,key:o,hook:Pn,owner:r}}function Dn(e,t,n,r=se){const o=Zn(),{key:i}=n;const s={sel:e,data:n,children:r,text:undefined,elm:undefined,key:i,hook:On,ctor:t,owner:o,mode:"open"};return function(e){E.call(Zn().velements,e)}(s),s}const $n=new Map;let Rn=0;function In(e){var t;return t=e,Sn.set(t,1),e}let Fn=()=>{throw new Error("sanitizeHtmlContent hook must be implemented.")};const Hn=s({s:function(e,t,n,r){_(r)||_(r[e])||0===r[e].length||(n=r[e]);const o=Zn(),{renderMode:i,shadowMode:s}=o;return 0===i?(In(n),n):(1===s&&In(n),_n("slot",t,n))},h:_n,c:Dn,i:function(e,t){const n=[];if(In(n),_(e)||null===e)return n;const r=e[xn]();let o=r.next(),i=0,{value:s,done:l}=o;for(;!1===l;){o=r.next(),l=o.done;const e=t(s,i,0===i,!0===l);m(e)?E.apply(n,e):E.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];In(n);for(let r=0;r<t;r+=1){const t=e[r];m(t)?E.apply(n,t):E.call(n,t)}return n},t:function(e){return{sel:undefined,data:ie,children:undefined,text:e,elm:undefined,key:undefined,hook:An,owner:Zn()}},d:function(e){return null==e?"":e},b:function(e){const t=Zn();if(D(t))throw new Error;const n=t;return function(t){sr(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},co:function(e){return{sel:undefined,data:ie,children:undefined,text:e,elm:undefined,key:undefined,hook:Nn,owner:Zn()}},dc:function(e,t,n,r){if(null==t)return null;if(!hn(t))throw new Error(`Invalid LWC Constructor ${W(t)} for custom element <${e}>.`);let o=$n.get(t);return _(o)&&(o=Rn++,$n.set(t,o)),n.key=`dc:${o}:${n.key}`,Dn(e,t,n,r)},ti:function(e){return e>0&&!($(e)||R(e))?0:e},gid:function(e){const t=Zn();if(_(e)||""===e)return e;if(D(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?P.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=Zn();if(_(e)||""===e)return e;if(D(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},shc:function(e){return Fn(e)}});function Bn(e){return`${e}-host`}function Wn(e,t,n){const r=[];for(let o=0;o<e.length;o++){let i=e[o];if(m(i))E.apply(r,Wn(i,t,n));else{const e=i.$scoped$,o=0===n.renderMode?!e:0===n.shadowMode,s=e||1===n.shadowMode&&1===n.renderMode?t:void 0;E.call(r,i(o,s))}}return r}function jn(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return _(n)||0===n.length||(o=Wn(n,r,e)),o}function Vn(e,t){const{renderer:n,renderMode:r,shadowMode:o}=e;if(1===r&&1===o)for(let e=0;e<t.length;e++)n.insertGlobalStylesheet(t[e]);else{if(n.ssr){const e=b.call(t,"\n");return i=e,Hn.h("style",{key:"style",attrs:{type:"text/css"}},[Hn.t(i)])}{const r=function(e){let t=e;for(;!D(t);){if(1===t.renderMode&&0===t.shadowMode)return t;t=t.owner}return t}(e),o=D(r);for(let e=0;e<t.length;e++)o?n.insertGlobalStylesheet(t[e]):n.insertStylesheet(t[e],r.cmpRoot)}}var i;return null}let Kn=!1,zn=H;const Gn={enableProfiler(){Kn=!0},disableProfiler(){Kn=!1},attachDispatcher(e){zn=e,this.enableProfiler()},detachDispatcher(){const e=zn;return zn=H,this.disableProfiler(),e}};function Un(e,t){Kn&&zn(e,0,t.tagName,t.idx)}function qn(e,t){Kn&&zn(e,1,t.tagName,t.idx)}function Xn(e,t){Kn&&zn(e,0,null==t?void 0:t.tagName,null==t?void 0:t.idx)}function Yn(e,t){Kn&&zn(e,1,null==t?void 0:t.tagName,null==t?void 0:t.idx)}let Jn=!1,Qn=null;function Zn(){return Qn}function er(e){Qn=e}function tr(e,t){const n=Jn,o=Qn;let i=[];return Ir(e,e.owner,(()=>{Qn=e,Un(1,e)}),(()=>{const{component:n,context:o,cmpSlots:s,cmpTemplate:l,tro:a}=e;a.observe((()=>{if(t!==l){if(D(l)||Rr(e),a=t,!Qt.has(a))throw new TypeError(`Invalid template returned by the render() method on ${e}. It must return an imported template (e.g.: \`import html from "./${e.def.name}.html"\`), instead, it has returned: ${W(t)}.`);e.cmpTemplate=t,o.tplCache=r(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!_(t))for(let e=0;e<t.length;e++)if($(t[e].$scoped$))return!0;return!1}(t),function(e,t){const{elm:n,context:r,renderer:o,renderMode:i,shadowMode:s}=e,{stylesheets:l,stylesheetToken:a}=t,c=1===i&&1===s,{hasScopedStyles:u}=r;let d,f,h;const{stylesheetToken:p,hasTokenInClass:m,hasTokenInAttribute:g}=r;m&&o.getClassList(n).remove(Bn(p)),g&&o.removeAttribute(n,Bn(p)),_(l)||0===l.length||(d=a),_(d)||(u&&(o.getClassList(n).add(Bn(d)),f=!0),c&&(o.setAttribute(n,Bn(d),""),h=!0)),r.stylesheetToken=d,r.hasTokenInClass=f,r.hasTokenInAttribute=h}(e,t);const n=jn(e,t);o.styleVNode=0===n.length?null:Vn(e,n)}var a;e.velements=[],Jn=!0,i=t.call(void 0,Hn,n,s,o.tplCache);const{styleVNode:c}=o;D(c)||T.call(i,c)}))}),(()=>{Jn=n,Qn=o,qn(1,e)})),i}function nr(e,t){if(!d(t)&&_(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!D(n);)E.call(t,ge(n)),n=n.owner;return t.reverse().join("\n\t")}(e);i(t,"wcStack",{get:()=>n})}}let rr=null;function or(e){return rr===e}function ir(e,t,n){const{component:r,callHook:o,owner:i}=e;Ir(e,i,H,(()=>{o(r,t,n)}),H)}function sr(e,t,n,r){const{callHook:o,owner:i}=e;Ir(e,i,H,(()=>{o(n,t,[r])}),H)}const lr=new Map;function ar(e){return new he((()=>{const{isDirty:t}=e;R(t)&&(ur(e),function(e){if($(e.renderer.ssr)||$(e.isScheduled))return;e.isScheduled=!0,0===Pr.length&&ae(Or);E.call(Pr,e)}(e))}))}function cr(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=Zn();let s,l=!1;return Ir(e,o,(()=>{er(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),l=!0}))}),(()=>{er(i)})),l?tr(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function ur(e){e.isDirty=!0}const dr=new WeakMap;function fr(e,t){if(!I(t))throw new TypeError;let n=dr.get(t);return _(n)&&(n=function(n){sr(e,t,void 0,n)},dr.set(t,n)),n}const hr=r(null),pr=["rendered","connected","disconnected"];function mr(e,t){const{component:n,def:r,context:o}=e;for(let e=0,i=t.length;e<i;++e)t[e].call(void 0,n,{},r,o)}let gr=0;const wr=new WeakMap;function yr(e,t,n=[]){return t.apply(e,n)}function br(e,t,n){e[t]=n}function vr(e,t){return e[t]}function Er(e){Nr(e)}function Cr(e){const t=xr(e);Xn(7,t),1===t.state&&kr(e),Lr(t),Nr(t),Yn(7,t)}function kr(e){Sr(xr(e))}function Sr(e){const{state:t}=e;if(2!==t){const{oar:t,tro:n}=e;n.reset();for(const e in t)t[e].reset();!function(e){R(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=hr;t&&mr(e,t);_r(e)&&function(e){const{wiredDisconnecting:t}=e.context;Ir(e,e,H,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),H)}(e);const{disconnectedCallback:n}=e.def;_(n)||(Un(5,e),ir(e,n),qn(5,e))}(e),Dr(e),function(e){const{aChildren:t}=e;$r(t)}(e)}}function Mr(e,t,n){const{mode:o,owner:i,renderer:s,tagName:l}=n,a={elm:e,def:t,idx:gr++,state:0,isScheduled:!1,isDirty:!0,tagName:l,mode:o,owner:i,renderer:s,children:se,aChildren:se,velements:se,cmpProps:r(null),cmpFields:r(null),cmpSlots:r(null),oar:r(null),cmpTemplate:null,renderMode:t.renderMode,shadowMode:null,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:ie,wiredConnecting:se,wiredDisconnecting:se},tro:null,component:null,cmpRoot:null,callHook:yr,setHook:br,getHook:vr};return a.shadowMode=function(e){const{def:t,renderer:n}=e,{isNativeShadowDefined:r,isSyntheticShadowDefined:o}=n;let i;if(o)if(0===t.renderMode)i=0;else if(r)if("any"===t.shadowSupportMode)i=0;else{const t=function(e){let t=e.owner;for(;!D(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=D(t)||0!==t.shadowMode?1:0}else i=1;else i=0;return i}(a),a.tro=ar(a),function(e,t){const n=rr;let r;Un(0,e),rr=e;try{const o=new t;if(rr.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(qn(0,e),rr=n,!_(r))throw nr(e,r),r}}(a,t.ctor),_r(a)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],s=Hr.get(i);if(!_(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:l}=Wr(e,t,s),a=s.dynamic.length>0;E.call(r,(()=>{n.connect(),re.ENABLE_WIRE_SYNC_EMIT||!a?i():Promise.resolve().then(i)})),E.call(o,(()=>{n.disconnect(),l()}))}}}(a),a}function Tr(e,t){wr.set(e,t)}function xr(e){return wr.get(e)}function Ar(e){return wr.get(e)}function Nr(e){if($(e.isDirty)){!function(e,t){const{children:n}=e;if(e.children=t,(t.length>0||n.length>0)&&n!==t){const r=Mn(t)?qe:Xe;Ir(e,e,(()=>{Un(2,e)}),(()=>{const o=Fr(e);r(o,n,t)}),(()=>{qn(2,e)}))}1===e.state&&function(e){const{renderer:t,def:{renderedCallback:n}}=e;if($(t.ssr))return;const{rendered:r}=hr;r&&mr(e,r);_(n)||(Un(4,e),ir(e,n),qn(4,e))}(e)}(e,cr(e))}}let Pr=[];function Or(){Xn(8);const e=Pr.sort(((e,t)=>e.idx-t.idx));Pr=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{Nr(r)}catch(r){throw t+1<n&&(0===Pr.length&&ae(Or),T.apply(Pr,S.call(e,t+1))),Yn(8),r}}Yn(8)}function Lr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=hr;n&&mr(e,n),_r(e)&&function(e){const{wiredConnecting:t}=e.context;for(let e=0,n=t.length;e<n;e+=1)t[e]()}(e);const{connectedCallback:r}=e.def;_(r)||(Un(3,e),ir(e,r),qn(3,e))}function _r(e){return a(e.def.wire).length>0}function Dr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!_(n)){const e=Ar(n);_(e)||Sr(e)}}}function $r(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];D(n)||!m(n.children)||_(n.elm)||(_(n.ctor)?$r(n.children):Sr(xr(n.elm)))}}function Rr(e){const{children:t,renderer:n}=e,r=Fr(e);for(let e=0,o=t.length;e<o;e++){const o=t[e];D(o)||_(o.elm)||n.remove(o.elm,r)}e.children=se,Dr(e),e.velements=se}function Ir(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!_(i)){nr(e,i);const n=D(t)?void 0:function(e){let t=e;for(;!D(t);){if(!_(t.def.errorCallback))return t;t=t.owner}}(t);if(_(n))throw i;Rr(e),Un(6,e);ir(n,n.def.errorCallback,[i,i.wcStack]),qn(6,e)}}}function Fr(e){return 1===e.renderMode?e.cmpRoot:e.elm}const Hr=new Map;class Br extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:n}){super(e,{bubbles:!0,composed:!0}),o(this,{setNewContext:{value:t},setDisconnectedCallback:{value:n}})}}function Wr(e,t,n){const{method:r,adapter:o,configCallback:s,dynamic:l}=n,a=_(r)?function(e,t){const{cmpFields:n}=e;return r=>{r!==e.cmpFields[t]&&(n[t]=r,pe(e,t))}}(e,t):function(e,t){return n=>{Ir(e,e.owner,H,(()=>{t.call(e.component,n)}),H)}}(e,r);let c,u;i(a,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),i(a,"$$DeprecatedWiredParamsMetaKey$$",{value:l}),Ir(e,e,H,(()=>{u=new o(a)}),H);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let r=!1;const o=new he((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),i()})))})),i=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:i,ro:o}}(e.component,s,(t=>{Ir(e,e,H,(()=>{u.update(t,c)}),H)}));return _(o.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Vr(r);if(_(o))return;const{elm:i,renderer:s,context:{wiredConnecting:l,wiredDisconnecting:a}}=e;E.call(l,(()=>{const e=new Br(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){E.call(a,e)}});s.dispatchEvent(i,e)}))}(e,n,(t=>{c!==t&&(c=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const jr=new Map;function Vr(e){return jr.get(e)}function Kr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};Hr.set(e,o)}function zr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};Hr.set(e,o)}let Gr=!1;const Ur=r(null),qr=document.head||document.body||document,Xr=I(CSSStyleSheet.prototype.replaceSync)&&m(document.adoptedStyleSheets),Yr=r(null),Jr=r(null),Qr=new WeakMap;let Zr,eo,to;if(function(){if("undefined"==typeof customElements)return!1;try{const e=HTMLElement;class t extends e{}return customElements.define("lwc-test-"+Math.floor(1e6*Math.random()),t),new t,!0}catch(e){return!1}}())Zr=customElements.get.bind(customElements),eo=customElements.define.bind(customElements),to=HTMLElement;else{const e=r(null),t=new WeakMap;eo=function(n,r){if(n!==L.call(n)||e[n])throw new TypeError("Invalid Registration");e[n]=r,t.set(r,n)},Zr=function(t){return e[t]},to=function e(){if(!(this instanceof e))throw new TypeError("Invalid Invocation");const{constructor:n}=this,r=t.get(n);if(!r)throw new TypeError("Invalid Construction");const o=document.createElement(r);return p(o,n.prototype),o},to.prototype=HTMLElement.prototype}const no={ssr:!1,isNativeShadowDefined:G.$isNativeShadowRootDefined$,isSyntheticShadowDefined:u.call(Element.prototype,"$shadowToken$"),createElement:(e,t)=>_(t)?document.createElement(e):document.createElementNS(t,e),createText:e=>document.createTextNode(e),createComment:e=>document.createComment(e),insert(e,t,n){t.insertBefore(e,n)},remove(e,t){t.removeChild(e)},nextSibling:e=>e.nextSibling,attachShadow:(e,t)=>e.attachShadow(t),setText(e,t){e.nodeValue=t},getProperty:(e,t)=>e[t],setProperty(e,t,n){e[t]=n},getAttribute:(e,t,n)=>_(n)?e.getAttribute(t):e.getAttributeNS(n,t),setAttribute:(e,t,n,r)=>_(r)?e.setAttribute(t,n):e.setAttributeNS(r,t,n),removeAttribute(e,t,n){_(n)?e.removeAttribute(t):e.removeAttributeNS(n,t)},addEventListener(e,t,n,r){e.addEventListener(t,n,r)},removeEventListener(e,t,n,r){e.removeEventListener(t,n,r)},dispatchEvent:(e,t)=>e.dispatchEvent(t),getClassList:e=>e.classList,setCSSStyleProperty(e,t,n,r){e.style.setProperty(t,n,r?"important":"")},getBoundingClientRect:e=>e.getBoundingClientRect(),querySelector:(e,t)=>e.querySelector(t),querySelectorAll:(e,t)=>e.querySelectorAll(t),getElementsByTagName:(e,t)=>e.getElementsByTagName(t),getElementsByClassName:(e,t)=>e.getElementsByClassName(t),getChildren:e=>e.children,getChildNodes:e=>e.childNodes,getFirstChild:e=>e.firstChild,getFirstElementChild:e=>e.firstElementChild,getLastChild:e=>e.lastChild,getLastElementChild:e=>e.lastElementChild,isConnected:e=>e.isConnected,insertGlobalStylesheet(e){if(!_(Ur[e]))return;Ur[e]=!0;const t=document.createElement("style");t.type="text/css",t.textContent=e,qr.appendChild(t)},insertStylesheet(e,t){Xr?function(e,t){let n=Jr[e];_(n)&&(n=new CSSStyleSheet,n.replaceSync(e),Jr[e]=n),t.adoptedStyleSheets.includes(n)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,n])}(e,t):function(e,t){let n=Qr.get(t);if(_(n)&&(n=r(null),Qr.set(t,n)),n[e])return;n[e]=!0;let o=Yr[e];_(o)?(o=document.createElement("style"),o.type="text/css",o.textContent=e,Yr[e]=o):o=o.cloneNode(!0),t.appendChild(o)}(e,t)},assertInstanceOfHTMLElement(e,n){t.invariant(e instanceof HTMLElement,n)},defineCustomElement:eo,getCustomElement:Zr,HTMLElement:to};const ro=Node,oo=new WeakMap,io=new WeakMap;function so(e,t){const n=t.get(e);return _(n)||n(e),e}const{appendChild:lo,insertBefore:ao,removeChild:co,replaceChild:uo}=ro.prototype;n(ro.prototype,{appendChild(e){return so(lo.call(this,e),oo)},insertBefore(e,t){return so(ao.call(this,e,t),oo)},removeChild(e){return so(co.call(this,e),io)},replaceChild(e,t){const n=uo.call(this,e,t);return so(n,io),so(e,oo),n}});const fo=Node;const ho=new Map;function po(e){if(e===Ft)throw new TypeError("Invalid Constructor. LightningElement base class can't be claimed as a custom element.");let t=ho.get(e);return _(t)&&(t=function(e){const t=pn(e);return class extends t.bridge{constructor(){super(),Mr(this,t,{mode:"open",owner:null,tagName:this.tagName,renderer:no})}connectedCallback(){Cr(this)}disconnectedCallback(){kr(this)}}}(e),ho.set(e,t)),t}i(Ft,"CustomElementConstructor",{get(){return po(this)}}),s(Ft),h(Ft.prototype),e.LightningElement=Ft,e.__unstable__ProfilerControl=Gn,e.api=function(){throw new Error},e.buildCustomElementConstructor=function(e){return e.CustomElementConstructor},e.createContextProvider=function(e){let t=Vr(e);if(!_(t))throw new Error("Adapter already has a context provider.");t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}(),function(e,t){jr.set(e,t)}(e,t);const n=new WeakSet;return(e,r)=>{if(n.has(e))throw new Error(`Adapter was already installed on ${e}.`);n.add(e);const{consumerConnectedCallback:o,consumerDisconnectedCallback:i}=r;e.addEventListener(t,(e=>{const{setNewContext:t,setDisconnectedCallback:n}=e,r={provide(e){t(e)}};n((()=>{_(i)||i(r)})),o(r),e.stopImmediatePropagation()}))}},e.createElement=function(e,t){if("object"!=typeof t||D(t))throw new TypeError(`"createElement" function expects an object as second parameter but received "${W(t)}".`);const n=t.is;if(!I(n))throw new TypeError('"createElement" function expects an "is" option with a valid component constructor.');const r=Tn(e,no);let o=!1;const i=new r((r=>{Mr(r,pn(n),{tagName:e,mode:"closed"!==t.mode?"open":"closed",owner:null,renderer:no}),oo.set(r,Cr),io.set(r,kr),o=!0}));return o||console.error(`Unexpected tag name "${e}". This name is a registered custom element, preventing LWC to upgrade the element.`),i},e.getComponentConstructor=function(e){let t=null;if(e instanceof HTMLElement){const n=Ar(e);_(n)||(t=n.def.ctor)}return t},e.getComponentDef=function(e){const t=pn(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,l={};for(const e in o)l[e]={config:i[e]||0,type:"any",attr:X(e)};const a={};for(const e in s)a[e]=s[e].value;return{ctor:n,name:r,props:l,methods:a}},e.isComponentConstructor=hn,e.isNodeFromTemplate=function(e){return!R(e instanceof fo)&&(!(e instanceof ShadowRoot)&&(no.isSyntheticShadowDefined?!_(e.$shadowResolver$):e.getRootNode()instanceof ShadowRoot))},e.readonly=function(e){return Rt.getReadOnlyProxy(e)},e.register=function(e){for(let t=0;t<pr.length;++t){const n=pr[t];if(n in e){let t=hr[n];_(t)&&(hr[n]=t=[]),E.call(t,e[n])}}},e.registerComponent=function(e,{tmpl:t}){return lr.set(e,t),e},e.registerDecorators=function(e,t){const n=e.prototype,{publicProps:o,publicMethods:s,wire:a,track:c,fields:u}=t,d=r(null),f=r(null),h=r(null),p=r(null),m=r(null),g=r(null);let w;if(!_(o))for(const e in o){const t=o[e];if(g[e]=t.config,w=l(n,e),t.config>0){if(_(w))throw new Error;w=qt(e,w)}else w=_(w)||_(w.get)?Gt(e):qt(e,w);f[e]=w,i(n,e,w)}if(_(s)||x.call(s,(e=>{if(w=l(n,e),_(w))throw new Error;d[e]=w})),!_(a))for(const e in a){const{adapter:t,method:r,config:o,dynamic:s=[]}=a[e];if(w=l(n,e),1===r){if(_(w))throw new Error;h[e]=w,Kr(w,t,o,s)}else w=Kt(e),p[e]=w,zr(w,t,o,s),i(n,e,w)}if(!_(c))for(const e in c)w=l(n,e),w=zt(e),i(n,e,w);if(!_(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=l(n,t);const r=!_(o)&&t in o,i=!_(c)&&t in c;r||i||(m[t]=Xt(t))}return function(e,t){Yt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:h,wiredFields:p,observedFields:m}),e},e.registerTemplate=function(e){return Qt.add(e),e},e.sanitizeAttribute=function(e,t,n,r){return r},e.setFeatureFlag=function(e,t){if("boolean"==typeof t){if(_(ne[e])){const n=f(ne).map((e=>`"${e}"`)).join(", ");console.warn(`Failed to set the value "${t}" for the runtime feature flag "${e}" because it is undefined. Available flags: ${n}.`)}else{const n=re[e];if(!_(n))return void console.error(`Failed to set the value "${t}" for the runtime feature flag "${e}". "${e}" has already been set with the value "${n}".`);i(re,e,{value:t})}}else{const n=`Failed to set the value "${t}" for the runtime feature flag "${e}". Runtime feature flags can only be set to a boolean value.`;console.error(n)}},e.setFeatureFlagForTest=function(e,t){},e.setHooks=function(e){var n;t.isFalse(Gr,"Hooks are already overridden, only one definition is allowed."),Gr=!0,n=e.sanitizeHtmlContent,Fn=n},e.swapComponent=function(e,t){if(!re.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapStyle=function(e,t){if(!re.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.swapTemplate=function(e,t){if(!re.ENABLE_HMR)throw new Error("HMR is not enabled");return!1},e.track=function(e){if(1===arguments.length)return Rt.getProxy(e);throw new Error},e.unwrap=function(e){const t=Rt.unwrapProxy(e);return t!==e?t:e},e.wire=function(e,t){throw new Error},Object.defineProperty(e,"__esModule",{value:!0})}));