lwc 2.4.0 → 2.5.0

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 +117 -64
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +117 -64
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +2 -2
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +116 -63
  5. package/dist/engine-dom/iife/es5/engine-dom.js +133 -86
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +2 -2
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +130 -83
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +117 -64
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +2 -2
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +116 -63
  11. package/dist/engine-dom/umd/es5/engine-dom.js +133 -86
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +2 -2
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +130 -83
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +117 -64
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +2 -2
  16. package/dist/engine-server/esm/es2017/engine-server.js +117 -64
  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
@@ -249,6 +249,7 @@ const _globalThis = /*@__PURE__*/function () {
249
249
 
250
250
  const KEY__SHADOW_RESOLVER = '$shadowResolver$';
251
251
  const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
252
+ const KEY__SCOPED_CSS = '$scoped$';
252
253
  /*
253
254
  * Copyright (c) 2020, salesforce.com, inc.
254
255
  * All rights reserved.
@@ -338,7 +339,7 @@ function htmlPropertyToAttribute(propName) {
338
339
  CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);
339
340
  return attributeName;
340
341
  }
341
- /** version: 2.4.0 */
342
+ /** version: 2.5.0 */
342
343
 
343
344
  /*
344
345
  * Copyright (c) 2020, salesforce.com, inc.
@@ -458,7 +459,7 @@ function setFeatureFlagForTest(name, value) {
458
459
  setFeatureFlag(name, value);
459
460
  }
460
461
  }
461
- /** version: 2.4.0 */
462
+ /** version: 2.5.0 */
462
463
 
463
464
  /* proxy-compat-disable */
464
465
 
@@ -4346,6 +4347,19 @@ function observeElementChildNodes(elm) {
4346
4347
 
4347
4348
  function setElementShadowToken(elm, token) {
4348
4349
  elm.$shadowToken$ = token;
4350
+ } // Set the scope token class for *.scoped.css styles
4351
+
4352
+
4353
+ function setScopeTokenClassIfNecessary(elm, owner) {
4354
+ const {
4355
+ cmpTemplate,
4356
+ context
4357
+ } = owner;
4358
+ const token = cmpTemplate === null || cmpTemplate === void 0 ? void 0 : cmpTemplate.stylesheetToken;
4359
+
4360
+ if (!isUndefined$1(token) && context.hasScopedStyles) {
4361
+ owner.renderer.getClassList(elm).add(token);
4362
+ }
4349
4363
  }
4350
4364
 
4351
4365
  function updateNodeHook(oldVnode, vnode) {
@@ -4419,6 +4433,7 @@ function fallbackElmHook(elm, vnode) {
4419
4433
  const {
4420
4434
  owner
4421
4435
  } = vnode;
4436
+ setScopeTokenClassIfNecessary(elm, owner);
4422
4437
 
4423
4438
  if (owner.shadowMode === 1
4424
4439
  /* Synthetic */
@@ -4429,7 +4444,7 @@ function fallbackElmHook(elm, vnode) {
4429
4444
  }
4430
4445
  } = vnode;
4431
4446
  const {
4432
- shadowAttribute
4447
+ stylesheetToken
4433
4448
  } = owner.context;
4434
4449
 
4435
4450
  if (!isUndefined$1(context) && !isUndefined$1(context.lwc) && context.lwc.dom === "manual"
@@ -4441,7 +4456,7 @@ function fallbackElmHook(elm, vnode) {
4441
4456
  // into each element from the template, so they can be styled accordingly.
4442
4457
 
4443
4458
 
4444
- setElementShadowToken(elm, shadowAttribute);
4459
+ setElementShadowToken(elm, stylesheetToken);
4445
4460
  }
4446
4461
 
4447
4462
  if (process.env.NODE_ENV !== 'production') {
@@ -4530,16 +4545,17 @@ function createViewModelHook(elm, vnode) {
4530
4545
  ctor,
4531
4546
  owner
4532
4547
  } = vnode;
4548
+ setScopeTokenClassIfNecessary(elm, owner);
4533
4549
 
4534
4550
  if (owner.shadowMode === 1
4535
4551
  /* Synthetic */
4536
4552
  ) {
4537
4553
  const {
4538
- shadowAttribute
4554
+ stylesheetToken
4539
4555
  } = owner.context; // when running in synthetic shadow mode, we need to set the shadowToken value
4540
4556
  // into each element from the template, so they can be styled accordingly.
4541
4557
 
4542
- setElementShadowToken(elm, shadowAttribute);
4558
+ setElementShadowToken(elm, stylesheetToken);
4543
4559
  }
4544
4560
 
4545
4561
  const def = getComponentInternalDef(ctor);
@@ -5335,6 +5351,10 @@ var api = /*#__PURE__*/Object.freeze({
5335
5351
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
5336
5352
  */
5337
5353
 
5354
+ function makeHostToken(token) {
5355
+ return `${token}-host`;
5356
+ }
5357
+
5338
5358
  function createInlineStyleVNode(content) {
5339
5359
  return h('style', {
5340
5360
  key: 'style',
@@ -5344,59 +5364,100 @@ function createInlineStyleVNode(content) {
5344
5364
  }, [t(content)]);
5345
5365
  }
5346
5366
 
5347
- function updateSyntheticShadowAttributes(vm, template) {
5367
+ function updateStylesheetToken(vm, template) {
5348
5368
  const {
5349
5369
  elm,
5350
5370
  context,
5351
5371
  renderer,
5352
- renderMode
5372
+ renderMode,
5373
+ shadowMode
5353
5374
  } = vm;
5354
5375
  const {
5355
5376
  stylesheets: newStylesheets,
5356
- stylesheetTokens: newStylesheetTokens
5377
+ stylesheetToken: newStylesheetToken
5357
5378
  } = template;
5358
- let newTokens; // Reset the styling token applied to the host element.
5379
+ const isSyntheticShadow = renderMode === 1
5380
+ /* Shadow */
5381
+ && shadowMode === 1
5382
+ /* Synthetic */
5383
+ ;
5384
+ const {
5385
+ hasScopedStyles
5386
+ } = context;
5387
+ let newToken;
5388
+ let newHasTokenInClass;
5389
+ let newHasTokenInAttribute; // Reset the styling token applied to the host element.
5359
5390
 
5360
- const oldHostAttribute = context.hostAttribute;
5391
+ const {
5392
+ stylesheetToken: oldToken,
5393
+ hasTokenInClass: oldHasTokenInClass,
5394
+ hasTokenInAttribute: oldHasTokenInAttribute
5395
+ } = context;
5361
5396
 
5362
- if (!isUndefined$1(oldHostAttribute)) {
5363
- renderer.removeAttribute(elm, oldHostAttribute);
5397
+ if (oldHasTokenInClass) {
5398
+ renderer.getClassList(elm).remove(makeHostToken(oldToken));
5399
+ }
5400
+
5401
+ if (oldHasTokenInAttribute) {
5402
+ renderer.removeAttribute(elm, makeHostToken(oldToken));
5364
5403
  } // Apply the new template styling token to the host element, if the new template has any
5365
- // associated stylesheets.
5404
+ // associated stylesheets. In the case of light DOM, also ensure there is at least one scoped stylesheet.
5366
5405
 
5367
5406
 
5368
- if (!isUndefined$1(newStylesheets) && newStylesheets.length !== 0 && renderMode === 1
5369
- /* Shadow */
5370
- ) {
5371
- newTokens = newStylesheetTokens;
5372
- }
5407
+ if (!isUndefined$1(newStylesheets) && newStylesheets.length !== 0) {
5408
+ newToken = newStylesheetToken;
5409
+ } // Set the new styling token on the host element
5410
+
5411
+
5412
+ if (!isUndefined$1(newToken)) {
5413
+ if (hasScopedStyles) {
5414
+ renderer.getClassList(elm).add(makeHostToken(newToken));
5415
+ newHasTokenInClass = true;
5416
+ }
5373
5417
 
5374
- if (!isUndefined$1(newTokens)) {
5375
- renderer.setAttribute(elm, newTokens.hostAttribute, '');
5418
+ if (isSyntheticShadow) {
5419
+ renderer.setAttribute(elm, makeHostToken(newToken), '');
5420
+ newHasTokenInAttribute = true;
5421
+ }
5376
5422
  } // Update the styling tokens present on the context object.
5377
5423
 
5378
5424
 
5379
- context.hostAttribute = newTokens === null || newTokens === void 0 ? void 0 : newTokens.hostAttribute;
5380
- context.shadowAttribute = newTokens === null || newTokens === void 0 ? void 0 : newTokens.shadowAttribute;
5425
+ context.stylesheetToken = newToken;
5426
+ context.hasTokenInClass = newHasTokenInClass;
5427
+ context.hasTokenInAttribute = newHasTokenInAttribute;
5381
5428
  }
5382
5429
 
5383
- function evaluateStylesheetsContent(stylesheets, hostSelector, shadowSelector, nativeShadow) {
5430
+ function evaluateStylesheetsContent(stylesheets, stylesheetToken, vm) {
5384
5431
  const content = [];
5385
5432
 
5386
5433
  for (let i = 0; i < stylesheets.length; i++) {
5387
5434
  let stylesheet = stylesheets[i];
5388
5435
 
5389
5436
  if (isArray$1(stylesheet)) {
5390
- ArrayPush$1.apply(content, evaluateStylesheetsContent(stylesheet, hostSelector, shadowSelector, nativeShadow));
5437
+ ArrayPush$1.apply(content, evaluateStylesheetsContent(stylesheet, stylesheetToken, vm));
5391
5438
  } else {
5392
5439
  if (process.env.NODE_ENV !== 'production') {
5393
5440
  // in dev-mode, we support hot swapping of stylesheet, which means that
5394
5441
  // the component instance might be attempting to use an old version of
5395
5442
  // the stylesheet, while internally, we have a replacement for it.
5396
5443
  stylesheet = getStyleOrSwappedStyle(stylesheet);
5397
- }
5444
+ } // Use the actual `:host` selector if we're rendering global CSS for light DOM, or if we're rendering
5445
+ // native shadow DOM. Synthetic shadow DOM never uses `:host`.
5446
+
5447
+
5448
+ const isScopedCss = stylesheet[KEY__SCOPED_CSS];
5449
+ const useActualHostSelector = vm.renderMode === 0
5450
+ /* Light */
5451
+ ? !isScopedCss : vm.shadowMode === 0
5452
+ /* Native */
5453
+ ; // Apply the scope token only if the stylesheet itself is scoped, or if we're rendering synthetic shadow.
5398
5454
 
5399
- ArrayPush$1.call(content, stylesheet(hostSelector, shadowSelector, nativeShadow));
5455
+ const scopeToken = isScopedCss || vm.shadowMode === 1
5456
+ /* Synthetic */
5457
+ && vm.renderMode === 1
5458
+ /* Shadow */
5459
+ ? stylesheetToken : undefined;
5460
+ ArrayPush$1.call(content, stylesheet(useActualHostSelector, scopeToken));
5400
5461
  }
5401
5462
  }
5402
5463
 
@@ -5406,34 +5467,12 @@ function evaluateStylesheetsContent(stylesheets, hostSelector, shadowSelector, n
5406
5467
  function getStylesheetsContent(vm, template) {
5407
5468
  const {
5408
5469
  stylesheets,
5409
- stylesheetTokens
5470
+ stylesheetToken
5410
5471
  } = template;
5411
- const {
5412
- renderMode,
5413
- shadowMode
5414
- } = vm;
5415
5472
  let content = [];
5416
5473
 
5417
5474
  if (!isUndefined$1(stylesheets) && stylesheets.length !== 0) {
5418
- let hostSelector;
5419
- let shadowSelector; // Scoping with the tokens is only necessary for synthetic shadow. For both
5420
- // light DOM elements and native shadow, we just render the CSS as-is.
5421
-
5422
- if (renderMode === 1
5423
- /* Shadow */
5424
- && shadowMode === 1
5425
- /* Synthetic */
5426
- && !isUndefined$1(stylesheetTokens)) {
5427
- hostSelector = `[${stylesheetTokens.hostAttribute}]`;
5428
- shadowSelector = `[${stylesheetTokens.shadowAttribute}]`;
5429
- } else {
5430
- hostSelector = '';
5431
- shadowSelector = '';
5432
- }
5433
-
5434
- content = evaluateStylesheetsContent(stylesheets, hostSelector, shadowSelector, shadowMode === 0
5435
- /* Native */
5436
- );
5475
+ content = evaluateStylesheetsContent(stylesheets, stylesheetToken, vm);
5437
5476
  }
5438
5477
 
5439
5478
  return content;
@@ -5648,8 +5687,7 @@ function evaluateTemplate(vm, html) {
5648
5687
  context,
5649
5688
  cmpSlots,
5650
5689
  cmpTemplate,
5651
- tro,
5652
- shadowMode
5690
+ tro
5653
5691
  } = vm;
5654
5692
  tro.observe(() => {
5655
5693
  // Reset the cache memoizer for template when needed.
@@ -5674,15 +5712,12 @@ function evaluateTemplate(vm, html) {
5674
5712
 
5675
5713
  vm.cmpTemplate = html; // Create a brand new template cache for the swapped templated.
5676
5714
 
5677
- context.tplCache = create(null); // Update the synthetic shadow attributes on the host element if necessary.
5715
+ context.tplCache = create(null); // Set the computeHasScopedStyles property in the context, to avoid recomputing it repeatedly.
5678
5716
 
5679
- if (shadowMode === 1
5680
- /* Synthetic */
5681
- ) {
5682
- updateSyntheticShadowAttributes(vm, html);
5683
- } // Evaluate, create stylesheet and cache the produced VNode for future
5684
- // re-rendering.
5717
+ context.hasScopedStyles = computeHasScopedStyles(html); // Update the scoping token on the host element.
5685
5718
 
5719
+ updateStylesheetToken(vm, html); // Evaluate, create stylesheet and cache the produced VNode for future
5720
+ // re-rendering.
5686
5721
 
5687
5722
  const stylesheetsContent = getStylesheetsContent(vm, html);
5688
5723
  context.styleVNode = stylesheetsContent.length === 0 ? null : createStylesheet(vm, stylesheetsContent);
@@ -5724,6 +5759,22 @@ function evaluateTemplate(vm, html) {
5724
5759
 
5725
5760
  return vnodes;
5726
5761
  }
5762
+
5763
+ function computeHasScopedStyles(template) {
5764
+ const {
5765
+ stylesheets
5766
+ } = template;
5767
+
5768
+ if (!isUndefined$1(stylesheets)) {
5769
+ for (let i = 0; i < stylesheets.length; i++) {
5770
+ if (isTrue(stylesheets[i][KEY__SCOPED_CSS])) {
5771
+ return true;
5772
+ }
5773
+ }
5774
+ }
5775
+
5776
+ return false;
5777
+ }
5727
5778
  /*
5728
5779
  * Copyright (c) 2018, salesforce.com, inc.
5729
5780
  * All rights reserved.
@@ -6134,8 +6185,10 @@ function createVM(elm, def, options) {
6134
6185
  renderMode: def.renderMode,
6135
6186
  shadowMode: null,
6136
6187
  context: {
6137
- hostAttribute: undefined,
6138
- shadowAttribute: undefined,
6188
+ stylesheetToken: undefined,
6189
+ hasTokenInClass: undefined,
6190
+ hasTokenInAttribute: undefined,
6191
+ hasScopedStyles: undefined,
6139
6192
  styleVNode: null,
6140
6193
  tplCache: EmptyObject,
6141
6194
  wiredConnecting: EmptyArray,
@@ -7066,7 +7119,7 @@ function readonly(obj) {
7066
7119
 
7067
7120
  return reactiveMembrane.getReadOnlyProxy(obj);
7068
7121
  }
7069
- /* version: 2.4.0 */
7122
+ /* version: 2.5.0 */
7070
7123
 
7071
7124
  /*
7072
7125
  * Copyright (c) 2020, salesforce.com, inc.
@@ -7537,7 +7590,7 @@ function renderComponent(tagName, Ctor, props = {}) {
7537
7590
 
7538
7591
  freeze(LightningElement);
7539
7592
  seal(LightningElement.prototype);
7540
- /* version: 2.4.0 */
7593
+ /* version: 2.5.0 */
7541
7594
 
7542
7595
  exports.LightningElement = LightningElement;
7543
7596
  exports.api = api$1;
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const{assign:e,create:t,defineProperties:n,defineProperty:r,freeze:o,getOwnPropertyDescriptor:i,getOwnPropertyNames:s,getPrototypeOf:a,hasOwnProperty:l,isFrozen:c,keys:u,seal:d,setPrototypeOf:f}=Object,{isArray:p}=Array,{filter:h,find:m,indexOf:g,join:w,map:y,push:b,reduce:v,reverse:E,slice:C,splice:k,unshift:x,forEach:S}=Array.prototype,{fromCharCode:M}=String,{charCodeAt:A,replace:T,slice:P,toLowerCase:O}=String.prototype;function $(e){return void 0===e}function N(e){return null===e}function D(e){return!0===e}function L(e){return!1===e}function _(e){return"function"==typeof e}function R(e){return"string"==typeof e}function F(){}const I={}.toString;function B(e){return e&&e.toString?p(e)?w.call(y.call(e,B),","):e.toString():"object"==typeof e?I.call(e):e+""}function H(e,t){do{const n=i(e,t);if(!$(n))return n;e=a(e)}while(null!==e)}const j=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],{AriaAttrNameToPropNameMap:W,AriaPropNameToAttrNameMap:V}=(()=>{const e=t(null),n=t(null);return S.call(j,(t=>{const r=O.call(T.call(t,/^aria/,(()=>"aria-")));e[r]=t,n[t]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:n}})();function K(e){return e in W}const 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}(),q=new Set(["area","base","br","circle","col","ellipse","feBlend","feColorMatrix","feFuncR","feFuncG","feFuncB","feFuncA","feImage","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","fePointLight","embed","hr","img","input","keygen","line","link","menuitem","meta","param","rect","source","track","wbr"]);const z=new Map([["autofocus",new Set(["button","input","keygen","select","textarea"])],["autoplay",new Set(["audio","video"])],["checked",new Set(["command","input"])],["disabled",new Set(["button","command","fieldset","input","keygen","optgroup","select","textarea"])],["formnovalidate",new Set(["button"])],["hidden",new Set],["loop",new Set(["audio","bgsound","marquee","video"])],["multiple",new Set(["input","select"])],["muted",new Set(["audio","video"])],["novalidate",new Set(["form"])],["open",new Set(["details"])],["readonly",new Set(["input","textarea"])],["required",new Set(["input","select","textarea"])],["reversed",new Set(["ol"])],["selected",new Set(["option"])]]);function U(e,t){const n=z.get(e);return void 0!==n&&(0===n.size||n.has(t))}const X=new Set(["role","accesskey","class","contenteditable","contextmenu","dir","draggable","dropzone","hidden","id","itemprop","lang","slot","spellcheck","style","tabindex","title"]);function Y(e){return X.has(e)}const J=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 Z(e){const t=V[e];if(!$(t))return t;const n=J.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=A.call(e,t);o+=n>=65&&n<=90?"-"+M(n+32):M(n)}return Q.set(e,o),o}if("function"!=typeof Event&&"function"!=typeof CustomEvent){class e{}class t extends e{}n(G,{Event:{value:e,configurable:!0,writable:!0},CustomEvent:{value:t,configurable:!0,writable:!0}})}const ee={ENABLE_REACTIVE_SETTER:null,ENABLE_HMR:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_ELEMENT_PATCH: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:t(null)});const te=G.lwcRuntimeFlags;let ne=[];const re=d(t(null)),oe=d([]);function ie(){const e=ne;ne=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function se(e){0===ne.length&&Promise.resolve().then(ie),b.call(ne,e)}const ae=new WeakMap;let le=null;function ce(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 ue(e,n){if(null===le)return;const r=le,o=function(e){let n=ae.get(e);if($(n)){const r=t(null);n=r,ae.set(e,r)}return n}(e);let i=o[n];if($(i))i=[],o[n]=i;else if(i[0]===r)return;-1===g.call(i,r)&&r.link(i)}class de{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=le;let n;le=this;try{e()}catch(e){n=Object(e)}finally{if(le=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=g.call(e[n],this);k.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){b.call(e,this),b.call(this.listeners,e)}}function fe(e,t){ce(e.component,t)}function pe(e,t){ue(e.component,t)}function he(e){return`<${O.call(e.tagName)}>`}function me(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 ge={update:function(e,t){$(e.listener)?me(t):(t.listener=e.listener,t.listener.vnode=t)},create:me};function we(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.`}e(t(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:we("offsetHeight")},offsetLeft:{readOnly:!0,error:we("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:we("offsetTop")},offsetWidth:{readOnly:!0,error:we("offsetWidth")},role:{attribute:"role"}});let ye,be=null;function ve(e,t){return e!==be||t!==ye}function Ee(e,t){be=null,ye=void 0}function Ce(e,t){be=e,ye=t}function ke(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:a}=r;let l;for(l in o=$(o)?re:o,n){const e=n[l];o[l]!==e&&(Ce(i,l),58===A.call(l,3)?s(i,l,e,"http://www.w3.org/XML/1998/namespace"):58===A.call(l,5)?s(i,l,e,"http://www.w3.org/1999/xlink"):N(e)?a(i,l):s(i,l,e),Ee())}}const xe={data:{}};var Se={create:e=>ke(xe,e),update:ke};function Me(e,t){return"input"===e&&("value"===t||"checked"===t)}function Ae(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:a}}=t;for(const e in n){const t=n[e];(o||t!==(Me(s,e)?a.getProperty(i,e):r[e]))&&a.setProperty(i,e,t)}}const Te={data:{}};var Pe={create:e=>Ae(Te,e),update:Ae};const Oe=t(null);function $e(e){if(null==e)return re;e=R(e)?e:e+"";let n=Oe[e];if(n)return n;n=t(null);let r,o=0;const i=e.length;for(r=0;r<i;r++)32===A.call(e,r)&&(r>o&&(n[P.call(e,o,r)]=!0),o=r+1);return r>o&&(n[P.call(e,o,r)]=!0),Oe[e]=n,n}function Ne(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),a=$e(r),l=$e(i);let c;for(c in l)$(a[c])&&s.remove(c);for(c in a)$(l[c])&&s.add(c)}const De={data:{}};var Le={create:e=>Ne(De,e),update:Ne};function _e(e,t){const{elm:n,data:{style:r},owner:{renderer:o}}=t,{setAttribute:i,removeAttribute:s}=o;e.data.style!==r&&(R(r)&&""!==r?i(n,"style",r):s(n,"style"))}const Re={data:{}};var Fe={create:e=>_e(Re,e),update:_e};var Ie={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 Be={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
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const{assign:e,create:t,defineProperties:n,defineProperty:r,freeze:o,getOwnPropertyDescriptor:i,getOwnPropertyNames:s,getPrototypeOf:a,hasOwnProperty:l,isFrozen:c,keys:u,seal:d,setPrototypeOf:f}=Object,{isArray:p}=Array,{filter:h,find:m,indexOf:g,join:w,map:y,push:b,reduce:v,reverse:E,slice:C,splice:k,unshift:S,forEach:x}=Array.prototype,{fromCharCode:M}=String,{charCodeAt:T,replace:A,slice:P,toLowerCase:O}=String.prototype;function $(e){return void 0===e}function N(e){return null===e}function L(e){return!0===e}function D(e){return!1===e}function _(e){return"function"==typeof e}function R(e){return"string"==typeof e}function F(){}const I={}.toString;function B(e){return e&&e.toString?p(e)?w.call(y.call(e,B),","):e.toString():"object"==typeof e?I.call(e):e+""}function H(e,t){do{const n=i(e,t);if(!$(n))return n;e=a(e)}while(null!==e)}const j=["ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role"],{AriaAttrNameToPropNameMap:W,AriaPropNameToAttrNameMap:V}=(()=>{const e=t(null),n=t(null);return x.call(j,(t=>{const r=O.call(A.call(t,/^aria/,(()=>"aria-")));e[r]=t,n[t]=r})),{AriaAttrNameToPropNameMap:e,AriaPropNameToAttrNameMap:n}})();function K(e){return e in W}const 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}(),q=new Set(["area","base","br","circle","col","ellipse","feBlend","feColorMatrix","feFuncR","feFuncG","feFuncB","feFuncA","feImage","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","fePointLight","embed","hr","img","input","keygen","line","link","menuitem","meta","param","rect","source","track","wbr"]);const z=new Map([["autofocus",new Set(["button","input","keygen","select","textarea"])],["autoplay",new Set(["audio","video"])],["checked",new Set(["command","input"])],["disabled",new Set(["button","command","fieldset","input","keygen","optgroup","select","textarea"])],["formnovalidate",new Set(["button"])],["hidden",new Set],["loop",new Set(["audio","bgsound","marquee","video"])],["multiple",new Set(["input","select"])],["muted",new Set(["audio","video"])],["novalidate",new Set(["form"])],["open",new Set(["details"])],["readonly",new Set(["input","textarea"])],["required",new Set(["input","select","textarea"])],["reversed",new Set(["ol"])],["selected",new Set(["option"])]]);function U(e,t){const n=z.get(e);return void 0!==n&&(0===n.size||n.has(t))}const X=new Set(["role","accesskey","class","contenteditable","contextmenu","dir","draggable","dropzone","hidden","id","itemprop","lang","slot","spellcheck","style","tabindex","title"]);function Y(e){return X.has(e)}const J=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 Z(e){const t=V[e];if(!$(t))return t;const n=J.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=T.call(e,t);o+=n>=65&&n<=90?"-"+M(n+32):M(n)}return Q.set(e,o),o}if("function"!=typeof Event&&"function"!=typeof CustomEvent){class e{}class t extends e{}n(G,{Event:{value:e,configurable:!0,writable:!0},CustomEvent:{value:t,configurable:!0,writable:!0}})}const ee={ENABLE_REACTIVE_SETTER:null,ENABLE_HMR:null,ENABLE_INNER_OUTER_TEXT_PATCH:null,ENABLE_ELEMENT_PATCH: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:t(null)});const te=G.lwcRuntimeFlags;let ne=[];const re=d(t(null)),oe=d([]);function ie(){const e=ne;ne=[];for(let t=0,n=e.length;t<n;t+=1)e[t]()}function se(e){0===ne.length&&Promise.resolve().then(ie),b.call(ne,e)}const ae=new WeakMap;let le=null;function ce(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 ue(e,n){if(null===le)return;const r=le,o=function(e){let n=ae.get(e);if($(n)){const r=t(null);n=r,ae.set(e,r)}return n}(e);let i=o[n];if($(i))i=[],o[n]=i;else if(i[0]===r)return;-1===g.call(i,r)&&r.link(i)}class de{constructor(e){this.listeners=[],this.callback=e}observe(e){const t=le;let n;le=this;try{e()}catch(e){n=Object(e)}finally{if(le=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=g.call(e[n],this);k.call(t,r,1)}e.length=0}}notify(){this.callback.call(void 0,this)}link(e){b.call(e,this),b.call(this.listeners,e)}}function fe(e,t){ce(e.component,t)}function pe(e,t){ue(e.component,t)}function he(e){return`<${O.call(e.tagName)}>`}function me(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 ge={update:function(e,t){$(e.listener)?me(t):(t.listener=e.listener,t.listener.vnode=t)},create:me};function we(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.`}e(t(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:we("offsetHeight")},offsetLeft:{readOnly:!0,error:we("offsetLeft")},offsetParent:{readOnly:!0},offsetTop:{readOnly:!0,error:we("offsetTop")},offsetWidth:{readOnly:!0,error:we("offsetWidth")},role:{attribute:"role"}});let ye,be=null;function ve(e,t){return e!==be||t!==ye}function Ee(e,t){be=null,ye=void 0}function Ce(e,t){be=e,ye=t}function ke(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:a}=r;let l;for(l in o=$(o)?re:o,n){const e=n[l];o[l]!==e&&(Ce(i,l),58===T.call(l,3)?s(i,l,e,"http://www.w3.org/XML/1998/namespace"):58===T.call(l,5)?s(i,l,e,"http://www.w3.org/1999/xlink"):N(e)?a(i,l):s(i,l,e),Ee())}}const Se={data:{}};var xe={create:e=>ke(Se,e),update:ke};function Me(e,t){return"input"===e&&("value"===t||"checked"===t)}function Te(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:a}}=t;for(const e in n){const t=n[e];(o||t!==(Me(s,e)?a.getProperty(i,e):r[e]))&&a.setProperty(i,e,t)}}const Ae={data:{}};var Pe={create:e=>Te(Ae,e),update:Te};const Oe=t(null);function $e(e){if(null==e)return re;e=R(e)?e:e+"";let n=Oe[e];if(n)return n;n=t(null);let r,o=0;const i=e.length;for(r=0;r<i;r++)32===T.call(e,r)&&(r>o&&(n[P.call(e,o,r)]=!0),o=r+1);return r>o&&(n[P.call(e,o,r)]=!0),Oe[e]=n,n}function Ne(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),a=$e(r),l=$e(i);let c;for(c in l)$(a[c])&&s.remove(c);for(c in a)$(l[c])&&s.add(c)}const Le={data:{}};var De={create:e=>Ne(Le,e),update:Ne};function _e(e,t){const{elm:n,data:{style:r},owner:{renderer:o}}=t,{setAttribute:i,removeAttribute:s}=o;e.data.style!==r&&(R(r)&&""!==r?i(n,"style",r):s(n,"style"))}const Re={data:{}};var Fe={create:e=>_e(Re,e),update:_e};var Ie={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 Be={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 @@ This code may only be used under the MIT License found at
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 He(e){return void 0===e}function je(e,t){return e.key===t.key&&e.sel===t.sel}function We(e){return null!=e}function Ve(e,t,n){const r={};let o,i,s;for(o=t;o<=n;++o)s=e[o],We(s)&&(i=s.key,void 0!==i&&(r[i]=o));return r}function Ke(e,t,n,r,o){for(;r<=o;++r){const o=n[r];We(o)&&(o.hook.create(o),o.hook.insert(o,e,t))}}function Ge(e,t,n,r){for(;n<=r;++n){const r=t[n];We(r)&&r.hook.remove(r,e)}}function qe(e,t,n){let r=0,o=0,i=t.length-1,s=t[0],a=t[i];const l=n.length-1;let c,u,d,f,p=l,h=n[0],m=n[p];for(;r<=i&&o<=p;)We(s)?We(a)?We(h)?We(m)?je(s,h)?(Ue(s,h),s=t[++r],h=n[++o]):je(a,m)?(Ue(a,m),a=t[--i],m=n[--p]):je(s,m)?(Ue(s,m),m.hook.move(s,e,a.owner.renderer.nextSibling(a.elm)),s=t[++r],m=n[--p]):je(a,h)?(Ue(a,h),h.hook.move(a,e,s.elm),a=t[--i],h=n[++o]):(void 0===c&&(c=Ve(t,r,i)),u=c[h.key],He(u)?(h.hook.create(h),h.hook.insert(h,e,s.elm),h=n[++o]):(d=t[u],We(d)&&(d.sel!==h.sel?(h.hook.create(h),h.hook.insert(h,e,s.elm)):(Ue(d,h),t[u]=void 0,h.hook.move(d,e,s.elm))),h=n[++o])):m=n[--p]:h=n[++o]:a=t[--i]:s=t[++r];if(r<=i||o<=p)if(r>i){let t,r=p;do{t=n[++r]}while(!We(t)&&r<l);f=We(t)?t.elm:null,Ke(e,f,n,o,p)}else Ge(e,t,r,i)}function ze(e,t,n){const r=t.length,o=n.length;if(0===r)return void Ke(e,null,n,0,o);if(0===o)return void Ge(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&&(We(s)?We(o)?(Ue(s,o),i=o.elm):s.hook.remove(s,e):We(o)&&(o.hook.create(o),o.hook.insert(o,e,i),i=o.elm))}}function Ue(e,t){e!==t&&(t.elm=e.elm,t.hook.update(e,t))}const Xe="undefined"!=typeof HTMLElement?HTMLElement:function(){},Ye=Xe.prototype,Je=t(null);S.call(u(V),(e=>{const t=H(Ye,e);$(t)||(Je[e]=t)})),S.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=H(Ye,e);$(t)||(Je[e]=t)}));const{isArray:Qe}=Array,{getPrototypeOf:Ze,create:et,defineProperty:tt,defineProperties:nt,isExtensible:rt,getOwnPropertyDescriptor:ot,getOwnPropertyNames:it,getOwnPropertySymbols:st,preventExtensions:at,hasOwnProperty:lt}=Object,{push:ct,concat:ut,map:dt}=Array.prototype;function ft(e){return void 0===e}function pt(e){return"function"==typeof e}const ht=new WeakMap;function mt(e,t){ht.set(e,t)}const gt=e=>ht.get(e)||e;class wt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(lt.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;ft(n)||(e.get=this.wrapGetter(n)),ft(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=ot(n,t);if(!ft(r)){const n=this.wrapDescriptor(r);tt(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;ut.call(it(t),st(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;ft(n)||lt.call(e,n)||tt(e,n,et(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=ft(n)||lt.call(t,n)?[]:[n];return ct.apply(r,it(t)),ct.apply(r,st(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!rt(e)&&(!!rt(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return Ze(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=ot(n,t);if(ft(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},tt(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const yt=new WeakMap,bt=new WeakMap,vt=new WeakMap,Et=new WeakMap;class Ct extends wt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=yt.get(e);if(!ft(t))return t;const n=this,r=function(){return n.wrapValue(e.call(gt(this)))};return yt.set(e,r),vt.set(r,e),r}wrapSetter(e){const t=bt.get(e);if(!ft(t))return t;const n=function(t){e.call(gt(this),gt(t))};return bt.set(e,n),Et.set(n,e),n}unwrapDescriptor(e){if(lt.call(e,"value"))e.value=gt(e.value);else{const{set:t,get:n}=e;ft(n)||(e.get=this.unwrapGetter(n)),ft(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=vt.get(e);if(!ft(t))return t;const n=this,r=function(){return gt(e.call(n.wrapValue(this)))};return yt.set(r,e),vt.set(e,r),r}unwrapSetter(e){const t=Et.get(e);if(!ft(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return bt.set(r,e),Et.set(e,r),r}set(e,t,n){const{originalTarget:r,membrane:{valueMutated:o}}=this;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&Qe(r)&&o(r,t),!0}deleteProperty(e,t){const{originalTarget:n,membrane:{valueMutated:r}}=this;return delete n[t],r(n,t),!0}setPrototypeOf(e,t){}preventExtensions(e){if(rt(e)){const{originalTarget:t}=this;if(at(t),rt(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!lt.call(r,t)||(tt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const kt=new WeakMap,xt=new WeakMap;class St extends wt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=kt.get(e);if(!ft(t))return t;const n=this,r=function(){return n.wrapValue(e.call(gt(this)))};return kt.set(e,r),r}wrapSetter(e){const t=xt.get(e);if(!ft(t))return t;const n=function(e){};return xt.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 Mt=Object.prototype;function At(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(Qe(e))return!0;const t=Ze(e);return t===Mt||null===t||null===Ze(t)}const Tt=(e,t)=>{},Pt=(e,t)=>{},Ot=e=>e;function $t(e){return Qe(e)?[]:{}}const Nt=Symbol.for("@@lockerLiveValue");function Dt(e){return e}const Lt=new class{constructor(e){if(this.valueDistortion=Ot,this.valueMutated=Pt,this.valueObserved=Tt,this.valueIsObservable=At,this.objectGraph=new WeakMap,!ft(e)){const{valueDistortion:t,valueMutated:n,valueObserved:r,valueIsObservable:o,tagPropertyKey:i}=e;this.valueDistortion=pt(t)?t:Ot,this.valueMutated=pt(n)?n:Pt,this.valueObserved=pt(r)?r:Tt,this.valueIsObservable=pt(o)?o:At,this.tagPropertyKey=i}}getProxy(e){const t=gt(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=gt(e);const t=this.valueDistortion(e);return this.valueIsObservable(t)?this.getReactiveState(e,t).readOnly:t}unwrapProxy(e){return gt(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 Ct(o,t),r=new Proxy($t(t),n);return mt(r,e),tt(this,"reactive",{value:r}),r},get readOnly(){const n=new St(o,t),r=new Proxy($t(t),n);return mt(r,e),tt(this,"readOnly",{value:r}),r}},n.set(t,r),r}}({valueObserved:ue,valueMutated:ce,valueDistortion:Dt,tagPropertyKey:Nt});function _t(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!_(n))throw new TypeError;if(!_(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const t=dr(this);if(!Vn(t))return pe(t,e),n.call(t.elm)},set(t){const n=dr(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,fe(n,e)),r.call(n.elm,t)}}}const Rt=function(){if(N(Wn))throw new ReferenceError("Illegal constructor");const e=Wn,{def:t,elm:n,renderer:r}=e,{bridge:o}=t,i=this;if(f(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[Nt]=void 0,ur(i,e),ur(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,ur(s,e)}Rt.prototype={constructor:Rt,dispatchEvent(e){const{elm:t,renderer:{dispatchEvent:n}}=dr(this);return n(t,e)},addEventListener(e,t,n){const r=dr(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,Jn(r,t),n)},removeEventListener(e,t,n){const r=dr(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,Jn(r,t),n)},hasAttribute(e){const{elm:t,renderer:{getAttribute:n}}=dr(this);return!N(n(t,e))},hasAttributeNS(e,t){const{elm:n,renderer:{getAttribute:r}}=dr(this);return!N(r(n,t,e))},removeAttribute(e){const{elm:t,renderer:{removeAttribute:n}}=dr(this);Ce(t,e),n(t,e),Ee()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=dr(this);Ce(n,t),r(n,t,e),Ee()},getAttribute(e){const{elm:t,renderer:{getAttribute:n}}=dr(this);return n(t,e)},getAttributeNS(e,t){const{elm:n,renderer:{getAttribute:r}}=dr(this);return r(n,t,e)},setAttribute(e,t){const n=dr(this),{elm:r,renderer:{setAttribute:o}}=n;Ce(r,e),o(r,e,t),Ee()},setAttributeNS(e,t,n){const r=dr(this),{elm:o,renderer:{setAttribute:i}}=r;Ce(o,t),i(o,t,n,e),Ee()},getBoundingClientRect(){const e=dr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},querySelector(e){const t=dr(this),{elm:n,renderer:{querySelector:r}}=t;return r(n,e)},querySelectorAll(e){const t=dr(this),{elm:n,renderer:{querySelectorAll:r}}=t;return r(n,e)},getElementsByTagName(e){const t=dr(this),{elm:n,renderer:{getElementsByTagName:r}}=t;return r(n,e)},getElementsByClassName(e){const t=dr(this),{elm:n,renderer:{getElementsByClassName:r}}=t;return r(n,e)},get isConnected(){const{elm:e,renderer:{isConnected:t}}=dr(this);return t(e)},get classList(){const e=dr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return dr(this).cmpRoot},get shadowRoot(){return null},render(){return dr(this).def.template},toString(){return`[object ${dr(this).def.name}]`}};const It=t(null);for(const e in Je)It[e]=_t(e,Je[e]);function Bt(e){return{get(){const t=dr(this);return pe(t,e),t.cmpFields[e]},set(t){const n=dr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,fe(n,e))},enumerable:!0,configurable:!0}}function Ht(e){return{get(){const t=dr(this);return pe(t,e),t.cmpFields[e]},set(t){const n=dr(this),r=Lt.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,fe(n,e))},enumerable:!0,configurable:!0}}function jt(e){return{get(){const t=dr(this);if(!Vn(t))return pe(t,e),t.cmpProps[e]},set(t){const n=dr(this);n.cmpProps[e]=t,fe(n,e)},enumerable:!0,configurable:!0}}n(Rt.prototype,It),r(Rt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class Wt extends de{constructor(e,t){super((()=>{L(this.debouncing)&&(this.debouncing=!0,se((()=>{if(D(this.debouncing)){const{value:n}=this,{isDirty:r,component:o,idx:i}=e;t.call(o,n),this.debouncing=!1,D(e.isDirty)&&L(r)&&i>0&&sr(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function Vt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!_(n))throw new Error;return{get(){return n.call(this)},set(t){const n=dr(this);if(r)if(te.ENABLE_REACTIVE_SETTER){let o=n.oar[e];$(o)&&(o=n.oar[e]=new Wt(n,r)),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function Kt(e){return{get(){const t=dr(this);return pe(t,e),t.cmpFields[e]},set(t){const n=dr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,fe(n,e))},enumerable:!0,configurable:!0}}const Gt=new Map;const qt={apiMethods:re,apiFields:re,apiFieldsConfig:re,wiredMethods:re,wiredFields:re,observedFields:re};const zt=new Set;function Ut(){return[]}zt.add(Ut);const Xt=t(null),Yt=t(null);function Jt(e){let t=Xt[e];return $(t)&&(t=Xt[e]=function(){const t=dr(this),{getHook:n}=t;return n(t.component,e)}),t}function Qt(e){let t=Yt[e];return $(t)&&(t=Yt[e]=function(t){const n=dr(this),{setHook:r}=n;t=Lt.getReadOnlyProxy(t),r(n.component,e,t)}),t}function Zt(e){return function(){const t=dr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,C.call(arguments))}}function en(e,t){return function(n,r,o){if(r===o)return;const i=e[n];$(i)?$(t)||t.apply(this,arguments):ve(this,n)&&(this[i]=o)}}function tn(e,o,i){let s;_(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},f(s,e),f(s.prototype,e.prototype),r(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const a=t(null),{attributeChangedCallback:l}=e.prototype,{observedAttributes:c=[]}=e,d=t(null);for(let e=0,t=o.length;e<t;e+=1){const t=o[e];a[Z(t)]=t,d[t]={get:Jt(t),set:Qt(t),enumerable:!0,configurable:!0}}for(let e=0,t=i.length;e<t;e+=1){const t=i[e];d[t]={value:Zt(t),writable:!0,configurable:!0}}return d.attributeChangedCallback={value:en(a,l)},r(s,"observedAttributes",{get:()=>[...c,...u(a)]}),n(s.prototype,d),s}const nn=tn(Xe,s(Je),[]);function rn(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function on(e){return _(e)&&l.call(e,"__circular__")}o(nn),d(nn.prototype);const sn=new WeakMap;function an(r){const{shadowSupportMode:o,renderMode:i}=r,s=function(e){const t=Gt.get(e);return $(t)?qt:t}(r),{apiFields:l,apiFieldsConfig:c,apiMethods:d,wiredFields:f,wiredMethods:p,observedFields:h}=s,m=r.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=a(e);if(N(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(on(t)){const e=rn(t);t=e===t?Rt:e}return t}(r),C=E!==Rt?cn(E):un,k=tn(C.bridge,u(l),u(d)),x=e(t(null),C.props,l),S=e(t(null),C.propsConfig,c),M=e(t(null),C.methods,d),A=e(t(null),C.wire,f,p);g=g||C.connectedCallback,w=w||C.disconnectedCallback,y=y||C.renderedCallback,b=b||C.errorCallback,v=v||C.render;let T=C.shadowSupportMode;$(o)||(T=o);let P=C.renderMode;$(i)||(P="light"===i?0:1);const O=function(e){return qn.get(e)}(r)||C.template,D=r.name||C.name;n(m,h);return{ctor:r,name:D,wire:A,props:x,propsConfig:S,methods:M,bridge:k,template:O,renderMode:P,shadowSupportMode:T,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function ln(e){if(!_(e))return!1;if(e.prototype instanceof Rt)return!0;let t=e;do{if(on(t)){const e=rn(t);if(e===t)return!0;t=e}if(t===Rt)return!0}while(!N(t)&&(t=a(t)));return!1}function cn(e){let t=sn.get(e);if($(t)){if(on(e)){return t=cn(rn(e)),sn.set(e,t),t}if(!ln(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=an(e),sn.set(e,t)}return t}const un={ctor:Rt,name:Rt.name,props:It,propsConfig:re,methods:re,renderMode:1,shadowSupportMode:"default",wire:re,bridge:nn,template:Ut,render:Rt.prototype.render};function dn(e,t){e.$shadowToken$=t}function fn(e,t){const{elm:n,text:r,owner:{renderer:o}}=t;e.text!==r&&o.setText(n,r)}function pn(e,t,n){const{renderer:r}=e.owner;r.insert(e.elm,t,n)}function hn(e,t){const{renderer:n}=e.owner;n.remove(e.elm,t)}function mn(e,t){const{children:n,owner:r}=t,o=bn(n)?qe:ze;Er(r,r.owner,F,(()=>{o(t.elm,e.children,n)}),F)}function gn(e,n){const r=e.aChildren||e.children;n.aChildren=r;const{renderMode:o,shadowMode:i}=n;1!==i&&0!==o||(!function(e,n){const{cmpSlots:r}=e,o=e.cmpSlots=t(null);for(let e=0,t=n.length;e<t;e+=1){const t=n[e];if(N(t))continue;const{data:r}=t,i=r.attrs&&r.attrs.slot||"",s=o[i]=o[i]||[];$(t.key)||(t.key=`@${i}:${t.key}`),b.call(s,t)}if(L(e.isDirty)){const t=u(r);if(t.length!==u(o).length)return void Xn(e);for(let n=0,i=t.length;n<i;n+=1){const i=t[n];if($(o[i])||r[i].length!==o[i].length)return void Xn(e);const s=r[i],a=o[i];for(let t=0,n=o[i].length;t<n;t+=1)if(s[t]!==a[t])return void Xn(e)}}}(n,r),e.aChildren=r,e.children=oe)}function wn(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 yn=new WeakMap;function bn(e){return yn.has(e)}const vn=Symbol.iterator,En={create:e=>{const{owner:t}=e,{renderer:n}=t,r=n.createText(e.text);Sn(r,t),e.elm=r},update:fn,insert:pn,move:pn,remove:hn},Cn={create:e=>{const{owner:t,text:n}=e,{renderer:r}=t,o=r.createComment(n);Sn(o,t),e.elm=o},update:fn,insert:pn,move:pn,remove:hn},kn={create:e=>{const{sel:t,owner:n,data:{svg:r}}=e,{renderer:o}=n,i=D(r)?"http://www.w3.org/2000/svg":void 0,s=o.createElement(t,i);Sn(s,n),function(e,t){const{owner:n}=t;if(1===n.shadowMode){const{data:{context:r}}=t,{shadowAttribute:o}=n.context;$(r)||$(r.lwc)||"manual"!==r.lwc.dom||function(e){e.$domManual$=!0}(e),dn(e,o)}}(s,e),e.elm=s,function(e){ge.create(e),Se.create(e),Pe.create(e),Ie.create(e),Be.create(e),Le.create(e),Fe.create(e)}(e)},update:(e,t)=>{!function(e,t){Se.update(e,t),Pe.update(e,t),Le.update(e,t),Fe.update(e,t)}(e,t),mn(e,t)},insert:(e,t,n)=>{pn(e,t,n),wn(e)},move:(e,t,n)=>{pn(e,t,n)},remove:(e,t)=>{hn(e,t),function(e){const{children:t,elm:n}=e;for(let e=0,r=t.length;e<r;++e){const r=t[e];N(r)||r.hook.remove(r,n)}}(e)}},xn={create:e=>{const{sel:t,owner:n}=e,{renderer:r}=n,o=function(e,t){e=e.toLowerCase();let n=t.getCustomElement(e);return $(n)?(n=class extends t.HTMLElement{constructor(e){super(),_(e)&&e(this)}},t.defineCustomElement(e,n),n):n}(t,r),i=new o((t=>{!function(e,t){if(!$(fr(e)))return;const{sel:n,mode:r,ctor:o,owner:i}=t;if(1===i.shadowMode){const{shadowAttribute:t}=i.context;dn(e,t)}cr(e,cn(o),{mode:r,owner:i,tagName:n,renderer:i.renderer})}(t,e)}));Sn(i,n),e.elm=i;const s=fr(i);if(s)gn(e,s);else if(e.ctor!==o)throw new TypeError("Incorrect Component Constructor");!function(e){ge.create(e),Se.create(e),Pe.create(e),Ie.create(e),Be.create(e),Le.create(e),Fe.create(e)}(e)},update:(e,t)=>{!function(e,t){Se.update(e,t),Pe.update(e,t),Le.update(e,t),Fe.update(e,t)}(e,t);const n=fr(t.elm);n&&gn(t,n),mn(e,t),n&&sr(n)},insert:(e,t,n)=>{pn(e,t,n);const r=fr(e.elm);r&&gr(r),wn(e),r&&function(e){pr(e)}(r)},move:(e,t,n)=>{pn(e,t,n)},remove:(e,t)=>{hn(e,t);const n=fr(e.elm);n&&function(e){lr(e)}(n)}};function Sn(e,t){const{renderer:n,renderMode:r,shadowMode:o}=t;n.isSyntheticShadowDefined&&(1!==o&&0!==r||(e.$shadowResolver$=Cr(t).$shadowResolver$))}function Mn(e,t,n){const r=In();const{key:o}=t;return{sel:e,data:t,children:n,text:undefined,elm:undefined,key:o,hook:kn,owner:r}}function An(e,t,n,r=oe){const o=In(),{key:i}=n;const s={sel:e,data:n,children:r,text:undefined,elm:undefined,key:i,hook:xn,ctor:t,owner:o,mode:"open"};return function(e){b.call(In().velements,e)}(s),s}function Tn(e){return{sel:undefined,data:re,children:undefined,text:e,elm:undefined,key:undefined,hook:En,owner:In()}}const Pn=new Map;let On=0;function $n(e){var t;return t=e,yn.set(t,1),e}var Nn=Object.freeze({__proto__:null,h:Mn,ti:function(e){return e>0&&!(D(e)||L(e))?0:e},s:function(e,t,n,r){$(r)||$(r[e])||0===r[e].length||(n=r[e]);const o=In(),{renderMode:i,shadowMode:s}=o;return 0===i?($n(n),n):(1===s&&$n(n),Mn("slot",t,n))},c:An,i:function(e,t){const n=[];if($n(n),$(e)||null===e)return n;const r=e[vn]();let o=r.next(),i=0,{value:s,done:a}=o;for(;!1===a;){o=r.next(),a=o.done;const e=t(s,i,0===i,a);p(e)?b.apply(n,e):b.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];$n(n);for(let r=0;r<t;r+=1){const t=e[r];p(t)?b.apply(n,t):b.call(n,t)}return n},t:Tn,co:function(e){return{sel:undefined,data:re,children:undefined,text:e,elm:undefined,key:undefined,hook:Cn,owner:In()}},d:function(e){return null==e?"":e},b:function(e){const t=In();if(N(t))throw new Error;const n=t;return function(t){Gn(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},gid:function(e){const t=In();if($(e)||""===e)return e;if(N(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?T.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=In();if($(e)||""===e)return e;if(N(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},dc:function(e,t,n,r){if(null==t)return null;if(!ln(t))throw new Error(`Invalid LWC Constructor ${B(t)} for custom element <${e}>.`);let o=Pn.get(t);return $(o)&&(o=On++,Pn.set(t,o)),n.key=`dc:${o}:${n.key}`,An(e,t,n,r)},sc:$n});function Dn(e,t,n,r){const o=[];for(let i=0;i<e.length;i++){let s=e[i];p(s)?b.apply(o,Dn(s,t,n,r)):b.call(o,s(t,n,r))}return o}function Ln(e,t){const{stylesheets:n,stylesheetTokens:r}=t,{renderMode:o,shadowMode:i}=e;let s=[];if(!$(n)&&0!==n.length){let e,t;1!==o||1!==i||$(r)?(e="",t=""):(e=`[${r.hostAttribute}]`,t=`[${r.shadowAttribute}]`),s=Dn(n,e,t,0===i)}return s}function _n(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=w.call(t,"\n");return Mn("style",{key:"style",attrs:{type:"text/css"}},[Tn(e)])}{const r=function(e){let t=e;for(;!N(t);){if(1===t.renderMode&&0===t.shadowMode)return t;t=t.owner}return t}(e),o=N(r);for(let e=0;e<t.length;e++)o?n.insertGlobalStylesheet(t[e]):n.insertStylesheet(t[e],r.cmpRoot)}}return null}let Rn=!1,Fn=null;function In(){return Fn}function Bn(e){Fn=e}function Hn(e,n){const r=Rn,o=Fn;let i=[];return Er(e,e.owner,(()=>{Fn=e}),(()=>{const{component:r,context:o,cmpSlots:s,cmpTemplate:a,tro:l,shadowMode:c}=e;l.observe((()=>{if(n!==a){if(N(a)||vr(e),l=n,!zt.has(l))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: ${B(n)}.`);e.cmpTemplate=n,o.tplCache=t(null),1===c&&function(e,t){const{elm:n,context:r,renderer:o,renderMode:i}=e,{stylesheets:s,stylesheetTokens:a}=t;let l;const c=r.hostAttribute;$(c)||o.removeAttribute(n,c),$(s)||0===s.length||1!==i||(l=a),$(l)||o.setAttribute(n,l.hostAttribute,""),r.hostAttribute=null==l?void 0:l.hostAttribute,r.shadowAttribute=null==l?void 0:l.shadowAttribute}(e,n);const r=Ln(e,n);o.styleVNode=0===r.length?null:_n(e,r)}var l;e.velements=[],Rn=!0,i=n.call(void 0,Nn,r,s,o.tplCache);const{styleVNode:u}=o;N(u)||x.call(i,u)}))}),(()=>{Rn=r,Fn=o})),i}function jn(e,t){if(!c(t)&&$(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!N(n);)b.call(t,he(n)),n=n.owner;return t.reverse().join("\n\t")}(e);r(t,"wcStack",{get:()=>n})}}let Wn=null;function Vn(e){return Wn===e}function Kn(e,t,n){const{component:r,callHook:o,owner:i}=e;Er(e,i,F,(()=>{o(r,t,n)}),F)}function Gn(e,t,n,r){const{callHook:o,owner:i}=e;Er(e,i,F,(()=>{o(n,t,[r])}),F)}const qn=new Map;function zn(e){return new de((()=>{const{isDirty:t}=e;L(t)&&(Xn(e),function(e){if(D(e.renderer.ssr)||D(e.isScheduled))return;e.isScheduled=!0,0===hr.length&&se(mr);b.call(hr,e)}(e))}))}function Un(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=In();let s,a=!1;return Er(e,o,(()=>{Bn(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),a=!0}))}),(()=>{Bn(i)})),a?Hn(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Xn(e){e.isDirty=!0}const Yn=new WeakMap;function Jn(e,t){if(!_(t))throw new TypeError;let n=Yn.get(t);return $(n)&&(n=function(n){Gn(e,t,void 0,n)},Yn.set(t,n)),n}const Qn=t(null),Zn=["rendered","connected","disconnected"];function er(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 tr=0;const nr=new WeakMap;function rr(e,t,n=[]){return t.apply(e,n)}function or(e,t,n){e[t]=n}function ir(e,t){return e[t]}function sr(e){pr(e)}function ar(e){const t=dr(e);1===t.state&&function(e){lr(dr(e))}(e),gr(t),pr(t)}function lr(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){L(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=Qn;t&&er(e,t);wr(e)&&function(e){const{wiredDisconnecting:t}=e.context;Er(e,e,F,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),F)}(e);const{disconnectedCallback:n}=e.def;$(n)||Kn(e,n)}(e),yr(e),function(e){const{aChildren:t}=e;br(t)}(e)}}function cr(e,n,r){const{mode:o,owner:i,renderer:s,tagName:a}=r,l={elm:e,def:n,idx:tr++,state:0,isScheduled:!1,isDirty:!0,tagName:a,mode:o,owner:i,renderer:s,children:oe,aChildren:oe,velements:oe,cmpProps:t(null),cmpFields:t(null),cmpSlots:t(null),oar:t(null),cmpTemplate:null,renderMode:n.renderMode,shadowMode:null,context:{hostAttribute:void 0,shadowAttribute:void 0,styleVNode:null,tplCache:re,wiredConnecting:oe,wiredDisconnecting:oe},tro:null,component:null,cmpRoot:null,callHook:rr,setHook:or,getHook:ir};return l.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(;!N(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=N(t)||0!==t.shadowMode?1:0}else i=1;else i=0;return i}(l),l.tro=zn(l),function(e,t){const n=Wn;let r;Wn=e;try{const o=new t;if(Wn.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Wn=n,!$(r))throw jn(e,r),r}}(l,n.ctor),wr(l)&&function(e){const{context:t,def:{wire:n}}=e,r=t.wiredConnecting=[],o=t.wiredDisconnecting=[];for(const t in n){const i=n[t],s=kr.get(i);if(!$(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:a}=Sr(e,t,s),l=s.dynamic.length>0;b.call(r,(()=>{n.connect(),te.ENABLE_WIRE_SYNC_EMIT||!l?i():Promise.resolve().then(i)})),b.call(o,(()=>{n.disconnect(),a()}))}}}(l),l}function ur(e,t){nr.set(e,t)}function dr(e){return nr.get(e)}function fr(e){return nr.get(e)}function pr(e){if(D(e.isDirty)){!function(e,t){const{children:n}=e;if(e.children=t,(t.length>0||n.length>0)&&n!==t){const r=bn(t)?qe:ze;Er(e,e,(()=>{}),(()=>{const o=Cr(e);r(o,n,t)}),(()=>{}))}1===e.state&&function(e){const{renderer:t,def:{renderedCallback:n}}=e;if(D(t.ssr))return;const{rendered:r}=Qn;r&&er(e,r);$(n)||Kn(e,n)}(e)}(e,Un(e))}}let hr=[];function mr(){const e=hr.sort(((e,t)=>e.idx-t.idx));hr=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{pr(r)}catch(r){throw t+1<n&&(0===hr.length&&se(mr),x.apply(hr,C.call(e,t+1))),r}}}function gr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=Qn;n&&er(e,n),wr(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)||Kn(e,r)}function wr(e){return s(e.def.wire).length>0}function yr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!$(n)){const e=fr(n);$(e)||lr(e)}}}function br(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];N(n)||!p(n.children)||$(n.elm)||($(n.ctor)?br(n.children):lr(dr(n.elm)))}}function vr(e){const{children:t,renderer:n}=e,r=Cr(e);for(let e=0,o=t.length;e<o;e++){const o=t[e];N(o)||$(o.elm)||n.remove(o.elm,r)}e.children=oe,yr(e),e.velements=oe}function Er(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!$(i)){jn(e,i);const n=N(t)?void 0:function(e){let t=e;for(;!N(t);){if(!$(t.def.errorCallback))return t;t=t.owner}}(t);if($(n))throw i;vr(e);Kn(n,n.def.errorCallback,[i,i.wcStack])}}}function Cr(e){return 1===e.renderMode?e.cmpRoot:e.elm}const kr=new Map;class xr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:r}){super(e,{bubbles:!0,composed:!0}),n(this,{setNewContext:{value:t},setDisconnectedCallback:{value:r}})}}function Sr(e,t,n){const{method:o,adapter:i,configCallback:s,dynamic:a}=n,l=$(o)?function(e,t){const{cmpFields:n}=e;return r=>{r!==e.cmpFields[t]&&(n[t]=r,fe(e,t))}}(e,t):function(e,t){return n=>{Er(e,e.owner,F,(()=>{t.call(e.component,n)}),F)}}(e,o);let c,u;r(l,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),r(l,"$$DeprecatedWiredParamsMetaKey$$",{value:a}),Er(e,e,F,(()=>{u=new i(l)}),F);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let r=!1;const o=new de((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),i()})))})),i=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:i,ro:o}}(e.component,s,(t=>{Er(e,e,F,(()=>{u.update(t,c)}),F)}));return $(i.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Ar(r);if($(o))return;const{elm:i,renderer:s,context:{wiredConnecting:a,wiredDisconnecting:l}}=e;b.call(a,(()=>{const e=new xr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){b.call(l,e)}});s.dispatchEvent(i,e)}))}(e,n,(t=>{c!==t&&(c=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const Mr=new Map;function Ar(e){return Mr.get(e)}function Tr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};kr.set(e,o)}function Pr(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};kr.set(e,o)}var Or;!function(e){e.Text="text",e.Comment="comment",e.Element="element",e.ShadowRoot="shadow-root"}(Or||(Or={}));const $r=/\s+/g;function Nr(e){return new Set(e.trim().split($r))}function Dr(e){return Array.from(e).join(" ")}function Lr(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function _r(e){return{type:Or.Element,name:e,parent:null,shadowRoot:null,children:[],attributes:[],eventListeners:{}}}const Rr=t(null),Fr=new WeakMap;const Ir={ssr:!0,isNativeShadowDefined:!1,isSyntheticShadowDefined:!1,insert(e,t,n){if(null!==e.parent&&e.parent!==t){const t=e.parent.children.indexOf(e);e.parent.children.splice(t,1)}e.parent=t;const r=N(n)?-1:t.children.indexOf(n);-1===r?t.children.push(e):t.children.splice(r,0,e)},remove(e,t){const n=t.children.indexOf(e);t.children.splice(n,1)},createElement:_r,createText:e=>({type:Or.Text,value:String(e),parent:null}),createComment:e=>({type:Or.Comment,value:e,parent:null}),nextSibling(e){const{parent:t}=e;if(N(t))return null;const n=t.children.indexOf(e);return t.children[n+1]||null},attachShadow:(e,t)=>(e.shadowRoot={type:Or.ShadowRoot,children:[],mode:t.mode,delegatesFocus:!!t.delegatesFocus},e.shadowRoot),getProperty(e,t){var n,r;if(t in e)return e[t];if(e.type===Or.Element){const o=Z(t);if(U(o,e.name))return null!==(n=this.getAttribute(e,o))&&void 0!==n&&n;if(Y(o)||K(o))return this.getAttribute(e,o);if("input"===e.name&&"value"===t)return null!==(r=this.getAttribute(e,"value"))&&void 0!==r?r:""}},setProperty(e,t,n){if(t in e)return e[t]=n;if(e.type===Or.Element){const r=Z(t);if(U(r,e.name))return!0===n?this.setAttribute(e,r,""):this.removeAttribute(e,r);if(Y(r)||K(r))return this.setAttribute(e,r,n);if("input"===e.name&&"value"===r)return N(n)||$(n)?this.removeAttribute(e,"value"):this.setAttribute(e,"value",n)}},setText(e,t){e.type===Or.Text?e.value=t:e.type===Or.Element&&(e.children=[{type:Or.Text,parent:e,value:t}])},getAttribute(e,t,n=null){const r=e.attributes.find((e=>e.name===t&&e.namespace===n));return r?r.value:null},setAttribute(e,t,n,r=null){const o=e.attributes.find((e=>e.name===t&&e.namespace===r));$(o)?e.attributes.push({name:t,namespace:r,value:String(n)}):o.value=n},removeAttribute(e,t,n){e.attributes=e.attributes.filter((e=>e.name!==t&&e.namespace!==n))},getClassList(e){function t(){let t=e.attributes.find((e=>"class"===e.name&&N(e.namespace)));return $(t)&&(t={name:"class",namespace:null,value:""},e.attributes.push(t)),t}return{add(...e){const n=t(),r=Nr(n.value);e.forEach((e=>r.add(e))),n.value=Dr(r)},remove(...e){const n=t(),r=Nr(n.value);e.forEach((e=>r.delete(e))),n.value=Dr(r)}}},setCSSStyleProperty(e,t,n,r){let o=e.attributes.find((e=>"style"===e.name&&N(e.namespace)));$(o)&&(o={name:"style",namespace:null,value:""},e.attributes.push(o)),o.value=`${o.value}; ${t}: ${n}${r?" !important":""}`},isConnected:e=>!N(e.parent),insertGlobalStylesheet(){},insertStylesheet(){},addEventListener(){},removeEventListener(){},dispatchEvent:Lr("dispatchEvent"),getBoundingClientRect:Lr("getBoundingClientRect"),querySelector:Lr("querySelector"),querySelectorAll:Lr("querySelectorAll"),getElementsByTagName:Lr("getElementsByTagName"),getElementsByClassName:Lr("getElementsByClassName"),defineCustomElement(e,t,n){!function(e,t){if(e!==O.call(e)||Rr[e])throw new TypeError("Invalid Registration");Rr[e]=t,Fr.set(t,e)}(e,t)},getCustomElement:e=>Rr[e],HTMLElement:class{constructor(){const{constructor:e}=this,t=Fr.get(e);if(!t)throw new TypeError("Invalid Construction");return _r(t)}}},Br={'"':"&quot;","'":"&#x27;","<":"&lt;",">":"&gt;","&":"&amp;"};function Hr(e){return e.replace(/["'<>&]/g,(e=>Br[e]))}function jr(e){return e.map((e=>{switch(e.type){case Or.Text:return Hr(e.value);case Or.Comment:return`\x3c!--${Hr(e.value)}--\x3e`;case Or.Element:return Wr(e)}})).join("")}function Wr(e){let t="";const{name:n}=e,r=e.attributes.length?` ${o=e.attributes,o.map((e=>e.value.length?`${e.name}=${JSON.stringify(Hr(e.value))}`:e.name)).join(" ")}`:"";var o;const i=jr(e.children);return t+=`<${n}${r}>`,e.shadowRoot&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${jr(e.children)}</template>`}(e.shadowRoot)),t+=i,function(e){return q.has(e)}(n)||(t+=`</${n}>`),t}const Vr={type:Or.Element,name:"fake-root-element",parent:null,shadowRoot:null,children:[],attributes:[],eventListeners:{}};o(Rt),d(Rt.prototype),exports.LightningElement=Rt,exports.api=function(){throw new Error},exports.createContextProvider=function(e){let t=Ar(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){Mr.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()}))}},exports.getComponentDef=function(e){const t=cn(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,a={};for(const e in o)a[e]={config:i[e]||0,type:"any",attr:Z(e)};const l={};for(const e in s)l[e]=s[e].value;return{ctor:n,name:r,props:a,methods:l}},exports.isComponentConstructor=ln,exports.readonly=function(e){return Lt.getReadOnlyProxy(e)},exports.register=function(e){for(let t=0;t<Zn.length;++t){const n=Zn[t];if(n in e){let t=Qn[n];$(t)&&(Qn[n]=t=[]),b.call(t,e[n])}}},exports.registerComponent=function(e,{tmpl:t}){return qn.set(e,t),e},exports.registerDecorators=function(e,n){const o=e.prototype,{publicProps:s,publicMethods:a,wire:l,track:c,fields:u}=n,d=t(null),f=t(null),p=t(null),h=t(null),m=t(null),g=t(null);let w;if(!$(s))for(const e in s){const t=s[e];if(g[e]=t.config,w=i(o,e),t.config>0){if($(w))throw new Error;w=Vt(e,w)}else w=jt(e);f[e]=w,r(o,e,w)}if($(a)||S.call(a,(e=>{if(w=i(o,e),$(w))throw new Error;d[e]=w})),!$(l))for(const e in l){const{adapter:t,method:n,config:s,dynamic:a=[]}=l[e];if(w=i(o,e),1===n){if($(w))throw new Error;p[e]=w,Tr(w,t,s,a)}else w=Bt(e),h[e]=w,Pr(w,t,s,a),r(o,e,w)}if(!$(c))for(const e in c)w=i(o,e),w=Ht(e),r(o,e,w);if(!$(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=i(o,t),m[t]=Kt(t)}return function(e,t){Gt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:p,wiredFields:h,observedFields:m}),e},exports.registerTemplate=function(e){return zt.add(e),e},exports.renderComponent=function(e,t,n={}){if(!R(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!_(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||N(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=Ir.createElement(e);cr(r,cn(t),{mode:"open",owner:null,renderer:Ir,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r.parent=Vr,ar(r),Wr(r)},exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if($(ee[e])){const n=u(ee).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=te[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}".`);r(te,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)}},exports.setFeatureFlagForTest=function(e,t){},exports.track=function(e){if(1===arguments.length)return Lt.getProxy(e);throw new Error},exports.unwrap=function(e){const t=Lt.unwrapProxy(e);return t!==e?t:e},exports.wire=function(e,t){throw new Error};
9
+ */function He(e){return void 0===e}function je(e,t){return e.key===t.key&&e.sel===t.sel}function We(e){return null!=e}function Ve(e,t,n){const r={};let o,i,s;for(o=t;o<=n;++o)s=e[o],We(s)&&(i=s.key,void 0!==i&&(r[i]=o));return r}function Ke(e,t,n,r,o){for(;r<=o;++r){const o=n[r];We(o)&&(o.hook.create(o),o.hook.insert(o,e,t))}}function Ge(e,t,n,r){for(;n<=r;++n){const r=t[n];We(r)&&r.hook.remove(r,e)}}function qe(e,t,n){let r=0,o=0,i=t.length-1,s=t[0],a=t[i];const l=n.length-1;let c,u,d,f,p=l,h=n[0],m=n[p];for(;r<=i&&o<=p;)We(s)?We(a)?We(h)?We(m)?je(s,h)?(Ue(s,h),s=t[++r],h=n[++o]):je(a,m)?(Ue(a,m),a=t[--i],m=n[--p]):je(s,m)?(Ue(s,m),m.hook.move(s,e,a.owner.renderer.nextSibling(a.elm)),s=t[++r],m=n[--p]):je(a,h)?(Ue(a,h),h.hook.move(a,e,s.elm),a=t[--i],h=n[++o]):(void 0===c&&(c=Ve(t,r,i)),u=c[h.key],He(u)?(h.hook.create(h),h.hook.insert(h,e,s.elm),h=n[++o]):(d=t[u],We(d)&&(d.sel!==h.sel?(h.hook.create(h),h.hook.insert(h,e,s.elm)):(Ue(d,h),t[u]=void 0,h.hook.move(d,e,s.elm))),h=n[++o])):m=n[--p]:h=n[++o]:a=t[--i]:s=t[++r];if(r<=i||o<=p)if(r>i){let t,r=p;do{t=n[++r]}while(!We(t)&&r<l);f=We(t)?t.elm:null,Ke(e,f,n,o,p)}else Ge(e,t,r,i)}function ze(e,t,n){const r=t.length,o=n.length;if(0===r)return void Ke(e,null,n,0,o);if(0===o)return void Ge(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&&(We(s)?We(o)?(Ue(s,o),i=o.elm):s.hook.remove(s,e):We(o)&&(o.hook.create(o),o.hook.insert(o,e,i),i=o.elm))}}function Ue(e,t){e!==t&&(t.elm=e.elm,t.hook.update(e,t))}const Xe="undefined"!=typeof HTMLElement?HTMLElement:function(){},Ye=Xe.prototype,Je=t(null);x.call(u(V),(e=>{const t=H(Ye,e);$(t)||(Je[e]=t)})),x.call(["accessKey","dir","draggable","hidden","id","lang","spellcheck","tabIndex","title"],(e=>{const t=H(Ye,e);$(t)||(Je[e]=t)}));const{isArray:Qe}=Array,{getPrototypeOf:Ze,create:et,defineProperty:tt,defineProperties:nt,isExtensible:rt,getOwnPropertyDescriptor:ot,getOwnPropertyNames:it,getOwnPropertySymbols:st,preventExtensions:at,hasOwnProperty:lt}=Object,{push:ct,concat:ut,map:dt}=Array.prototype;function ft(e){return void 0===e}function pt(e){return"function"==typeof e}const ht=new WeakMap;function mt(e,t){ht.set(e,t)}const gt=e=>ht.get(e)||e;class wt{constructor(e,t){this.originalTarget=t,this.membrane=e}wrapDescriptor(e){if(lt.call(e,"value"))e.value=this.wrapValue(e.value);else{const{set:t,get:n}=e;ft(n)||(e.get=this.wrapGetter(n)),ft(t)||(e.set=this.wrapSetter(t))}return e}copyDescriptorIntoShadowTarget(e,t){const{originalTarget:n}=this,r=ot(n,t);if(!ft(r)){const n=this.wrapDescriptor(r);tt(e,t,n)}}lockShadowTarget(e){const{originalTarget:t}=this;ut.call(it(t),st(t)).forEach((t=>{this.copyDescriptorIntoShadowTarget(e,t)}));const{membrane:{tagPropertyKey:n}}=this;ft(n)||lt.call(e,n)||tt(e,n,et(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=ft(n)||lt.call(t,n)?[]:[n];return ct.apply(r,it(t)),ct.apply(r,st(t)),r}isExtensible(e){const{originalTarget:t}=this;return!!rt(e)&&(!!rt(t)||(this.lockShadowTarget(e),!1))}getPrototypeOf(e){const{originalTarget:t}=this;return Ze(t)}getOwnPropertyDescriptor(e,t){const{originalTarget:n,membrane:{valueObserved:r,tagPropertyKey:o}}=this;r(n,t);let i=ot(n,t);if(ft(i)){if(t!==o)return;return i={value:void 0,writable:!1,configurable:!1,enumerable:!1},tt(e,o,i),i}return!1===i.configurable&&this.copyDescriptorIntoShadowTarget(e,t),this.wrapDescriptor(i)}}const yt=new WeakMap,bt=new WeakMap,vt=new WeakMap,Et=new WeakMap;class Ct extends wt{wrapValue(e){return this.membrane.getProxy(e)}wrapGetter(e){const t=yt.get(e);if(!ft(t))return t;const n=this,r=function(){return n.wrapValue(e.call(gt(this)))};return yt.set(e,r),vt.set(r,e),r}wrapSetter(e){const t=bt.get(e);if(!ft(t))return t;const n=function(t){e.call(gt(this),gt(t))};return bt.set(e,n),Et.set(n,e),n}unwrapDescriptor(e){if(lt.call(e,"value"))e.value=gt(e.value);else{const{set:t,get:n}=e;ft(n)||(e.get=this.unwrapGetter(n)),ft(t)||(e.set=this.unwrapSetter(t))}return e}unwrapGetter(e){const t=vt.get(e);if(!ft(t))return t;const n=this,r=function(){return gt(e.call(n.wrapValue(this)))};return yt.set(r,e),vt.set(e,r),r}unwrapSetter(e){const t=Et.get(e);if(!ft(t))return t;const n=this,r=function(t){e.call(n.wrapValue(this),n.wrapValue(t))};return bt.set(r,e),Et.set(e,r),r}set(e,t,n){const{originalTarget:r,membrane:{valueMutated:o}}=this;return r[t]!==n?(r[t]=n,o(r,t)):"length"===t&&Qe(r)&&o(r,t),!0}deleteProperty(e,t){const{originalTarget:n,membrane:{valueMutated:r}}=this;return delete n[t],r(n,t),!0}setPrototypeOf(e,t){}preventExtensions(e){if(rt(e)){const{originalTarget:t}=this;if(at(t),rt(t))return!1;this.lockShadowTarget(e)}return!0}defineProperty(e,t,n){const{originalTarget:r,membrane:{valueMutated:o,tagPropertyKey:i}}=this;return t===i&&!lt.call(r,t)||(tt(r,t,this.unwrapDescriptor(n)),!1===n.configurable&&this.copyDescriptorIntoShadowTarget(e,t),o(r,t),!0)}}const kt=new WeakMap,St=new WeakMap;class xt extends wt{wrapValue(e){return this.membrane.getReadOnlyProxy(e)}wrapGetter(e){const t=kt.get(e);if(!ft(t))return t;const n=this,r=function(){return n.wrapValue(e.call(gt(this)))};return kt.set(e,r),r}wrapSetter(e){const t=St.get(e);if(!ft(t))return t;const n=function(e){};return St.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 Mt=Object.prototype;function Tt(e){if(null===e)return!1;if("object"!=typeof e)return!1;if(Qe(e))return!0;const t=Ze(e);return t===Mt||null===t||null===Ze(t)}const At=(e,t)=>{},Pt=(e,t)=>{},Ot=e=>e;function $t(e){return Qe(e)?[]:{}}const Nt=Symbol.for("@@lockerLiveValue");function Lt(e){return e}const Dt=new class{constructor(e){if(this.valueDistortion=Ot,this.valueMutated=Pt,this.valueObserved=At,this.valueIsObservable=Tt,this.objectGraph=new WeakMap,!ft(e)){const{valueDistortion:t,valueMutated:n,valueObserved:r,valueIsObservable:o,tagPropertyKey:i}=e;this.valueDistortion=pt(t)?t:Ot,this.valueMutated=pt(n)?n:Pt,this.valueObserved=pt(r)?r:At,this.valueIsObservable=pt(o)?o:Tt,this.tagPropertyKey=i}}getProxy(e){const t=gt(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=gt(e);const t=this.valueDistortion(e);return this.valueIsObservable(t)?this.getReactiveState(e,t).readOnly:t}unwrapProxy(e){return gt(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 Ct(o,t),r=new Proxy($t(t),n);return mt(r,e),tt(this,"reactive",{value:r}),r},get readOnly(){const n=new xt(o,t),r=new Proxy($t(t),n);return mt(r,e),tt(this,"readOnly",{value:r}),r}},n.set(t,r),r}}({valueObserved:ue,valueMutated:ce,valueDistortion:Lt,tagPropertyKey:Nt});function _t(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!_(n))throw new TypeError;if(!_(r))throw new TypeError;return{enumerable:o,configurable:i,get(){const t=pr(this);if(!Gn(t))return pe(t,e),n.call(t.elm)},set(t){const n=pr(this);return t!==n.cmpProps[e]&&(n.cmpProps[e]=t,fe(n,e)),r.call(n.elm,t)}}}const Rt=function(){if(N(Kn))throw new ReferenceError("Illegal constructor");const e=Kn,{def:t,elm:n,renderer:r}=e,{bridge:o}=t,i=this;if(f(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[Nt]=void 0,fr(i,e),fr(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,fr(s,e)}Rt.prototype={constructor:Rt,dispatchEvent(e){const{elm:t,renderer:{dispatchEvent:n}}=pr(this);return n(t,e)},addEventListener(e,t,n){const r=pr(this),{elm:o,renderer:{addEventListener:i}}=r;i(o,e,Zn(r,t),n)},removeEventListener(e,t,n){const r=pr(this),{elm:o,renderer:{removeEventListener:i}}=r;i(o,e,Zn(r,t),n)},hasAttribute(e){const{elm:t,renderer:{getAttribute:n}}=pr(this);return!N(n(t,e))},hasAttributeNS(e,t){const{elm:n,renderer:{getAttribute:r}}=pr(this);return!N(r(n,t,e))},removeAttribute(e){const{elm:t,renderer:{removeAttribute:n}}=pr(this);Ce(t,e),n(t,e),Ee()},removeAttributeNS(e,t){const{elm:n,renderer:{removeAttribute:r}}=pr(this);Ce(n,t),r(n,t,e),Ee()},getAttribute(e){const{elm:t,renderer:{getAttribute:n}}=pr(this);return n(t,e)},getAttributeNS(e,t){const{elm:n,renderer:{getAttribute:r}}=pr(this);return r(n,t,e)},setAttribute(e,t){const n=pr(this),{elm:r,renderer:{setAttribute:o}}=n;Ce(r,e),o(r,e,t),Ee()},setAttributeNS(e,t,n){const r=pr(this),{elm:o,renderer:{setAttribute:i}}=r;Ce(o,t),i(o,t,n,e),Ee()},getBoundingClientRect(){const e=pr(this),{elm:t,renderer:{getBoundingClientRect:n}}=e;return n(t)},querySelector(e){const t=pr(this),{elm:n,renderer:{querySelector:r}}=t;return r(n,e)},querySelectorAll(e){const t=pr(this),{elm:n,renderer:{querySelectorAll:r}}=t;return r(n,e)},getElementsByTagName(e){const t=pr(this),{elm:n,renderer:{getElementsByTagName:r}}=t;return r(n,e)},getElementsByClassName(e){const t=pr(this),{elm:n,renderer:{getElementsByClassName:r}}=t;return r(n,e)},get isConnected(){const{elm:e,renderer:{isConnected:t}}=pr(this);return t(e)},get classList(){const e=pr(this),{elm:t,renderer:{getClassList:n}}=e;return n(t)},get template(){return pr(this).cmpRoot},get shadowRoot(){return null},render(){return pr(this).def.template},toString(){return`[object ${pr(this).def.name}]`}};const It=t(null);for(const e in Je)It[e]=_t(e,Je[e]);function Bt(e){return{get(){const t=pr(this);return pe(t,e),t.cmpFields[e]},set(t){const n=pr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,fe(n,e))},enumerable:!0,configurable:!0}}function Ht(e){return{get(){const t=pr(this);return pe(t,e),t.cmpFields[e]},set(t){const n=pr(this),r=Dt.getProxy(t);r!==n.cmpFields[e]&&(n.cmpFields[e]=r,fe(n,e))},enumerable:!0,configurable:!0}}function jt(e){return{get(){const t=pr(this);if(!Gn(t))return pe(t,e),t.cmpProps[e]},set(t){const n=pr(this);n.cmpProps[e]=t,fe(n,e)},enumerable:!0,configurable:!0}}n(Rt.prototype,It),r(Rt,"CustomElementConstructor",{get(){throw new ReferenceError("The current runtime does not support CustomElementConstructor.")},configurable:!0});class Wt extends de{constructor(e,t){super((()=>{D(this.debouncing)&&(this.debouncing=!0,se((()=>{if(L(this.debouncing)){const{value:n}=this,{isDirty:r,component:o,idx:i}=e;t.call(o,n),this.debouncing=!1,L(e.isDirty)&&D(r)&&i>0&&lr(e)}})))})),this.debouncing=!1}reset(e){super.reset(),this.debouncing=!1,arguments.length>0&&(this.value=e)}}function Vt(e,t){const{get:n,set:r,enumerable:o,configurable:i}=t;if(!_(n))throw new Error;return{get(){return n.call(this)},set(t){const n=pr(this);if(r)if(te.ENABLE_REACTIVE_SETTER){let o=n.oar[e];$(o)&&(o=n.oar[e]=new Wt(n,r)),o.reset(t),o.observe((()=>{r.call(this,t)}))}else r.call(this,t)},enumerable:o,configurable:i}}function Kt(e){return{get(){const t=pr(this);return pe(t,e),t.cmpFields[e]},set(t){const n=pr(this);t!==n.cmpFields[e]&&(n.cmpFields[e]=t,fe(n,e))},enumerable:!0,configurable:!0}}const Gt=new Map;const qt={apiMethods:re,apiFields:re,apiFieldsConfig:re,wiredMethods:re,wiredFields:re,observedFields:re};const zt=new Set;function Ut(){return[]}zt.add(Ut);const Xt=t(null),Yt=t(null);function Jt(e){let t=Xt[e];return $(t)&&(t=Xt[e]=function(){const t=pr(this),{getHook:n}=t;return n(t.component,e)}),t}function Qt(e){let t=Yt[e];return $(t)&&(t=Yt[e]=function(t){const n=pr(this),{setHook:r}=n;t=Dt.getReadOnlyProxy(t),r(n.component,e,t)}),t}function Zt(e){return function(){const t=pr(this),{callHook:n,component:r}=t,o=r[e];return n(t.component,o,C.call(arguments))}}function en(e,t){return function(n,r,o){if(r===o)return;const i=e[n];$(i)?$(t)||t.apply(this,arguments):ve(this,n)&&(this[i]=o)}}function tn(e,o,i){let s;_(e)?s=class extends e{}:(s=function(){throw new TypeError("Illegal constructor")},f(s,e),f(s.prototype,e.prototype),r(s.prototype,"constructor",{writable:!0,configurable:!0,value:s}));const a=t(null),{attributeChangedCallback:l}=e.prototype,{observedAttributes:c=[]}=e,d=t(null);for(let e=0,t=o.length;e<t;e+=1){const t=o[e];a[Z(t)]=t,d[t]={get:Jt(t),set:Qt(t),enumerable:!0,configurable:!0}}for(let e=0,t=i.length;e<t;e+=1){const t=i[e];d[t]={value:Zt(t),writable:!0,configurable:!0}}return d.attributeChangedCallback={value:en(a,l)},r(s,"observedAttributes",{get:()=>[...c,...u(a)]}),n(s.prototype,d),s}const nn=tn(Xe,s(Je),[]);function rn(e){const t=e();return(null==t?void 0:t.__esModule)?t.default:t}function on(e){return _(e)&&l.call(e,"__circular__")}o(nn),d(nn.prototype);const sn=new WeakMap;function an(r){const{shadowSupportMode:o,renderMode:i}=r,s=function(e){const t=Gt.get(e);return $(t)?qt:t}(r),{apiFields:l,apiFieldsConfig:c,apiMethods:d,wiredFields:f,wiredMethods:p,observedFields:h}=s,m=r.prototype;let{connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}=m;const E=function(e){let t=a(e);if(N(t))throw new ReferenceError(`Invalid prototype chain for ${e.name}, you must extend LightningElement.`);if(on(t)){const e=rn(t);t=e===t?Rt:e}return t}(r),C=E!==Rt?cn(E):un,k=tn(C.bridge,u(l),u(d)),S=e(t(null),C.props,l),x=e(t(null),C.propsConfig,c),M=e(t(null),C.methods,d),T=e(t(null),C.wire,f,p);g=g||C.connectedCallback,w=w||C.disconnectedCallback,y=y||C.renderedCallback,b=b||C.errorCallback,v=v||C.render;let A=C.shadowSupportMode;$(o)||(A=o);let P=C.renderMode;$(i)||(P="light"===i?0:1);const O=function(e){return Un.get(e)}(r)||C.template,L=r.name||C.name;n(m,h);return{ctor:r,name:L,wire:T,props:S,propsConfig:x,methods:M,bridge:k,template:O,renderMode:P,shadowSupportMode:A,connectedCallback:g,disconnectedCallback:w,renderedCallback:y,errorCallback:b,render:v}}function ln(e){if(!_(e))return!1;if(e.prototype instanceof Rt)return!0;let t=e;do{if(on(t)){const e=rn(t);if(e===t)return!0;t=e}if(t===Rt)return!0}while(!N(t)&&(t=a(t)));return!1}function cn(e){let t=sn.get(e);if($(t)){if(on(e)){return t=cn(rn(e)),sn.set(e,t),t}if(!ln(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=an(e),sn.set(e,t)}return t}const un={ctor:Rt,name:Rt.name,props:It,propsConfig:re,methods:re,renderMode:1,shadowSupportMode:"default",wire:re,bridge:nn,template:Ut,render:Rt.prototype.render};function dn(e,t){e.$shadowToken$=t}function fn(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 pn(e,t){const{elm:n,text:r,owner:{renderer:o}}=t;e.text!==r&&o.setText(n,r)}function hn(e,t,n){const{renderer:r}=e.owner;r.insert(e.elm,t,n)}function mn(e,t){const{renderer:n}=e.owner;n.remove(e.elm,t)}function gn(e,t){const{children:n,owner:r}=t,o=vn(n)?qe:ze;kr(r,r.owner,F,(()=>{o(t.elm,e.children,n)}),F)}function wn(e,n){const r=e.aChildren||e.children;n.aChildren=r;const{renderMode:o,shadowMode:i}=n;1!==i&&0!==o||(!function(e,n){const{cmpSlots:r}=e,o=e.cmpSlots=t(null);for(let e=0,t=n.length;e<t;e+=1){const t=n[e];if(N(t))continue;const{data:r}=t,i=r.attrs&&r.attrs.slot||"",s=o[i]=o[i]||[];$(t.key)||(t.key=`@${i}:${t.key}`),b.call(s,t)}if(D(e.isDirty)){const t=u(r);if(t.length!==u(o).length)return void Jn(e);for(let n=0,i=t.length;n<i;n+=1){const i=t[n];if($(o[i])||r[i].length!==o[i].length)return void Jn(e);const s=r[i],a=o[i];for(let t=0,n=o[i].length;t<n;t+=1)if(s[t]!==a[t])return void Jn(e)}}}(n,r),e.aChildren=r,e.children=oe)}function yn(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 bn=new WeakMap;function vn(e){return bn.has(e)}const En=Symbol.iterator,Cn={create:e=>{const{owner:t}=e,{renderer:n}=t,r=n.createText(e.text);Mn(r,t),e.elm=r},update:pn,insert:hn,move:hn,remove:mn},kn={create:e=>{const{owner:t,text:n}=e,{renderer:r}=t,o=r.createComment(n);Mn(o,t),e.elm=o},update:pn,insert:hn,move:hn,remove:mn},Sn={create:e=>{const{sel:t,owner:n,data:{svg:r}}=e,{renderer:o}=n,i=L(r)?"http://www.w3.org/2000/svg":void 0,s=o.createElement(t,i);Mn(s,n),function(e,t){const{owner:n}=t;if(fn(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),dn(e,o)}}(s,e),e.elm=s,function(e){ge.create(e),xe.create(e),Pe.create(e),Ie.create(e),Be.create(e),De.create(e),Fe.create(e)}(e)},update:(e,t)=>{!function(e,t){xe.update(e,t),Pe.update(e,t),De.update(e,t),Fe.update(e,t)}(e,t),gn(e,t)},insert:(e,t,n)=>{hn(e,t,n),yn(e)},move:(e,t,n)=>{hn(e,t,n)},remove:(e,t)=>{mn(e,t),function(e){const{children:t,elm:n}=e;for(let e=0,r=t.length;e<r;++e){const r=t[e];N(r)||r.hook.remove(r,n)}}(e)}},xn={create:e=>{const{sel:t,owner:n}=e,{renderer:r}=n,o=function(e,t){e=e.toLowerCase();let n=t.getCustomElement(e);return $(n)?(n=class extends t.HTMLElement{constructor(e){super(),_(e)&&e(this)}},t.defineCustomElement(e,n),n):n}(t,r),i=new o((t=>{!function(e,t){if(!$(hr(e)))return;const{sel:n,mode:r,ctor:o,owner:i}=t;if(fn(e,i),1===i.shadowMode){const{stylesheetToken:t}=i.context;dn(e,t)}dr(e,cn(o),{mode:r,owner:i,tagName:n,renderer:i.renderer})}(t,e)}));Mn(i,n),e.elm=i;const s=hr(i);if(s)wn(e,s);else if(e.ctor!==o)throw new TypeError("Incorrect Component Constructor");!function(e){ge.create(e),xe.create(e),Pe.create(e),Ie.create(e),Be.create(e),De.create(e),Fe.create(e)}(e)},update:(e,t)=>{!function(e,t){xe.update(e,t),Pe.update(e,t),De.update(e,t),Fe.update(e,t)}(e,t);const n=hr(t.elm);n&&wn(t,n),gn(e,t),n&&lr(n)},insert:(e,t,n)=>{hn(e,t,n);const r=hr(e.elm);r&&yr(r),yn(e),r&&function(e){mr(e)}(r)},move:(e,t,n)=>{hn(e,t,n)},remove:(e,t)=>{mn(e,t);const n=hr(e.elm);n&&function(e){ur(e)}(n)}};function Mn(e,t){const{renderer:n,renderMode:r,shadowMode:o}=t;n.isSyntheticShadowDefined&&(1!==o&&0!==r||(e.$shadowResolver$=Sr(t).$shadowResolver$))}function Tn(e,t,n){const r=Hn();const{key:o}=t;return{sel:e,data:t,children:n,text:undefined,elm:undefined,key:o,hook:Sn,owner:r}}function An(e,t,n,r=oe){const o=Hn(),{key:i}=n;const s={sel:e,data:n,children:r,text:undefined,elm:undefined,key:i,hook:xn,ctor:t,owner:o,mode:"open"};return function(e){b.call(Hn().velements,e)}(s),s}function Pn(e){return{sel:undefined,data:re,children:undefined,text:e,elm:undefined,key:undefined,hook:Cn,owner:Hn()}}const On=new Map;let $n=0;function Nn(e){var t;return t=e,bn.set(t,1),e}var Ln=Object.freeze({__proto__:null,h:Tn,ti:function(e){return e>0&&!(L(e)||D(e))?0:e},s:function(e,t,n,r){$(r)||$(r[e])||0===r[e].length||(n=r[e]);const o=Hn(),{renderMode:i,shadowMode:s}=o;return 0===i?(Nn(n),n):(1===s&&Nn(n),Tn("slot",t,n))},c:An,i:function(e,t){const n=[];if(Nn(n),$(e)||null===e)return n;const r=e[En]();let o=r.next(),i=0,{value:s,done:a}=o;for(;!1===a;){o=r.next(),a=o.done;const e=t(s,i,0===i,a);p(e)?b.apply(n,e):b.call(n,e),i+=1,s=o.value}return n},f:function(e){const t=e.length,n=[];Nn(n);for(let r=0;r<t;r+=1){const t=e[r];p(t)?b.apply(n,t):b.call(n,t)}return n},t:Pn,co:function(e){return{sel:undefined,data:re,children:undefined,text:e,elm:undefined,key:undefined,hook:kn,owner:Hn()}},d:function(e){return null==e?"":e},b:function(e){const t=Hn();if(N(t))throw new Error;const n=t;return function(t){zn(n,e,n.component,t)}},k:function(e,t){switch(typeof t){case"number":case"string":return e+":"+t}},gid:function(e){const t=Hn();if($(e)||""===e)return e;if(N(e))return null;const{idx:n,shadowMode:r}=t;return 1===r?A.call(e,/\S+/g,(e=>`${e}-${n}`)):e},fid:function(e){const t=Hn();if($(e)||""===e)return e;if(N(e))return null;const{idx:n,shadowMode:r}=t;return 1===r&&/^#/.test(e)?`${e}-${n}`:e},dc:function(e,t,n,r){if(null==t)return null;if(!ln(t))throw new Error(`Invalid LWC Constructor ${B(t)} for custom element <${e}>.`);let o=On.get(t);return $(o)&&(o=$n++,On.set(t,o)),n.key=`dc:${o}:${n.key}`,An(e,t,n,r)},sc:Nn});function Dn(e){return`${e}-host`}function _n(e,t,n){const r=[];for(let o=0;o<e.length;o++){let i=e[o];if(p(i))b.apply(r,_n(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;b.call(r,i(o,s))}}return r}function Rn(e,t){const{stylesheets:n,stylesheetToken:r}=t;let o=[];return $(n)||0===n.length||(o=_n(n,r,e)),o}function Fn(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=w.call(t,"\n");return Tn("style",{key:"style",attrs:{type:"text/css"}},[Pn(e)])}{const r=function(e){let t=e;for(;!N(t);){if(1===t.renderMode&&0===t.shadowMode)return t;t=t.owner}return t}(e),o=N(r);for(let e=0;e<t.length;e++)o?n.insertGlobalStylesheet(t[e]):n.insertStylesheet(t[e],r.cmpRoot)}}return null}let In=!1,Bn=null;function Hn(){return Bn}function jn(e){Bn=e}function Wn(e,n){const r=In,o=Bn;let i=[];return kr(e,e.owner,(()=>{Bn=e}),(()=>{const{component:r,context:o,cmpSlots:s,cmpTemplate:a,tro:l}=e;l.observe((()=>{if(n!==a){if(N(a)||Cr(e),l=n,!zt.has(l))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: ${B(n)}.`);e.cmpTemplate=n,o.tplCache=t(null),o.hasScopedStyles=function(e){const{stylesheets:t}=e;if(!$(t))for(let e=0;e<t.length;e++)if(L(t[e].$scoped$))return!0;return!1}(n),function(e,t){const{elm:n,context:r,renderer:o,renderMode:i,shadowMode:s}=e,{stylesheets:a,stylesheetToken:l}=t,c=1===i&&1===s,{hasScopedStyles:u}=r;let d,f,p;const{stylesheetToken:h,hasTokenInClass:m,hasTokenInAttribute:g}=r;m&&o.getClassList(n).remove(Dn(h)),g&&o.removeAttribute(n,Dn(h)),$(a)||0===a.length||(d=l),$(d)||(u&&(o.getClassList(n).add(Dn(d)),f=!0),c&&(o.setAttribute(n,Dn(d),""),p=!0)),r.stylesheetToken=d,r.hasTokenInClass=f,r.hasTokenInAttribute=p}(e,n);const r=Rn(e,n);o.styleVNode=0===r.length?null:Fn(e,r)}var l;e.velements=[],In=!0,i=n.call(void 0,Ln,r,s,o.tplCache);const{styleVNode:c}=o;N(c)||S.call(i,c)}))}),(()=>{In=r,Bn=o})),i}function Vn(e,t){if(!c(t)&&$(t.wcStack)){const n=function(e){const t=[];let n=e;for(;!N(n);)b.call(t,he(n)),n=n.owner;return t.reverse().join("\n\t")}(e);r(t,"wcStack",{get:()=>n})}}let Kn=null;function Gn(e){return Kn===e}function qn(e,t,n){const{component:r,callHook:o,owner:i}=e;kr(e,i,F,(()=>{o(r,t,n)}),F)}function zn(e,t,n,r){const{callHook:o,owner:i}=e;kr(e,i,F,(()=>{o(n,t,[r])}),F)}const Un=new Map;function Xn(e){return new de((()=>{const{isDirty:t}=e;D(t)&&(Jn(e),function(e){if(L(e.renderer.ssr)||L(e.isScheduled))return;e.isScheduled=!0,0===gr.length&&se(wr);b.call(gr,e)}(e))}))}function Yn(e){e.tro.reset();const t=function(e){const{def:{render:t},callHook:n,component:r,owner:o}=e,i=Hn();let s,a=!1;return kr(e,o,(()=>{jn(e)}),(()=>{e.tro.observe((()=>{s=n(r,t),a=!0}))}),(()=>{jn(i)})),a?Wn(e,s):[]}(e);return e.isDirty=!1,e.isScheduled=!1,t}function Jn(e){e.isDirty=!0}const Qn=new WeakMap;function Zn(e,t){if(!_(t))throw new TypeError;let n=Qn.get(t);return $(n)&&(n=function(n){zn(e,t,void 0,n)},Qn.set(t,n)),n}const er=t(null),tr=["rendered","connected","disconnected"];function nr(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 rr=0;const or=new WeakMap;function ir(e,t,n=[]){return t.apply(e,n)}function sr(e,t,n){e[t]=n}function ar(e,t){return e[t]}function lr(e){mr(e)}function cr(e){const t=pr(e);1===t.state&&function(e){ur(pr(e))}(e),yr(t),mr(t)}function ur(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){D(e.isDirty)&&(e.isDirty=!0);e.state=2;const{disconnected:t}=er;t&&nr(e,t);br(e)&&function(e){const{wiredDisconnecting:t}=e.context;kr(e,e,F,(()=>{for(let e=0,n=t.length;e<n;e+=1)t[e]()}),F)}(e);const{disconnectedCallback:n}=e.def;$(n)||qn(e,n)}(e),vr(e),function(e){const{aChildren:t}=e;Er(t)}(e)}}function dr(e,n,r){const{mode:o,owner:i,renderer:s,tagName:a}=r,l={elm:e,def:n,idx:rr++,state:0,isScheduled:!1,isDirty:!0,tagName:a,mode:o,owner:i,renderer:s,children:oe,aChildren:oe,velements:oe,cmpProps:t(null),cmpFields:t(null),cmpSlots:t(null),oar:t(null),cmpTemplate:null,renderMode:n.renderMode,shadowMode:null,context:{stylesheetToken:void 0,hasTokenInClass:void 0,hasTokenInAttribute:void 0,hasScopedStyles:void 0,styleVNode:null,tplCache:re,wiredConnecting:oe,wiredDisconnecting:oe},tro:null,component:null,cmpRoot:null,callHook:ir,setHook:sr,getHook:ar};return l.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(;!N(t)&&0===t.renderMode;)t=t.owner;return t}(e);i=N(t)||0!==t.shadowMode?1:0}else i=1;else i=0;return i}(l),l.tro=Xn(l),function(e,t){const n=Kn;let r;Kn=e;try{const o=new t;if(Kn.component!==o)throw new TypeError("Invalid component constructor, the class should extend LightningElement.")}catch(e){r=Object(e)}finally{if(Kn=n,!$(r))throw Vn(e,r),r}}(l,n.ctor),br(l)&&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=xr.get(i);if(!$(s)){const{connector:n,computeConfigAndUpdate:i,resetConfigWatcher:a}=Tr(e,t,s),l=s.dynamic.length>0;b.call(r,(()=>{n.connect(),te.ENABLE_WIRE_SYNC_EMIT||!l?i():Promise.resolve().then(i)})),b.call(o,(()=>{n.disconnect(),a()}))}}}(l),l}function fr(e,t){or.set(e,t)}function pr(e){return or.get(e)}function hr(e){return or.get(e)}function mr(e){if(L(e.isDirty)){!function(e,t){const{children:n}=e;if(e.children=t,(t.length>0||n.length>0)&&n!==t){const r=vn(t)?qe:ze;kr(e,e,(()=>{}),(()=>{const o=Sr(e);r(o,n,t)}),(()=>{}))}1===e.state&&function(e){const{renderer:t,def:{renderedCallback:n}}=e;if(L(t.ssr))return;const{rendered:r}=er;r&&nr(e,r);$(n)||qn(e,n)}(e)}(e,Yn(e))}}let gr=[];function wr(){const e=gr.sort(((e,t)=>e.idx-t.idx));gr=[];for(let t=0,n=e.length;t<n;t+=1){const r=e[t];try{mr(r)}catch(r){throw t+1<n&&(0===gr.length&&se(wr),S.apply(gr,C.call(e,t+1))),r}}}function yr(e){const{state:t}=e;if(1===t)return;e.state=1;const{connected:n}=er;n&&nr(e,n),br(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)||qn(e,r)}function br(e){return s(e.def.wire).length>0}function vr(e){const{velements:t}=e;for(let e=t.length-1;e>=0;e-=1){const{elm:n}=t[e];if(!$(n)){const e=hr(n);$(e)||ur(e)}}}function Er(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];N(n)||!p(n.children)||$(n.elm)||($(n.ctor)?Er(n.children):ur(pr(n.elm)))}}function Cr(e){const{children:t,renderer:n}=e,r=Sr(e);for(let e=0,o=t.length;e<o;e++){const o=t[e];N(o)||$(o.elm)||n.remove(o.elm,r)}e.children=oe,vr(e),e.velements=oe}function kr(e,t,n,r,o){let i;n();try{r()}catch(e){i=Object(e)}finally{if(o(),!$(i)){Vn(e,i);const n=N(t)?void 0:function(e){let t=e;for(;!N(t);){if(!$(t.def.errorCallback))return t;t=t.owner}}(t);if($(n))throw i;Cr(e);qn(n,n.def.errorCallback,[i,i.wcStack])}}}function Sr(e){return 1===e.renderMode?e.cmpRoot:e.elm}const xr=new Map;class Mr extends CustomEvent{constructor(e,{setNewContext:t,setDisconnectedCallback:r}){super(e,{bubbles:!0,composed:!0}),n(this,{setNewContext:{value:t},setDisconnectedCallback:{value:r}})}}function Tr(e,t,n){const{method:o,adapter:i,configCallback:s,dynamic:a}=n,l=$(o)?function(e,t){const{cmpFields:n}=e;return r=>{r!==e.cmpFields[t]&&(n[t]=r,fe(e,t))}}(e,t):function(e,t){return n=>{kr(e,e.owner,F,(()=>{t.call(e.component,n)}),F)}}(e,o);let c,u;r(l,"$$DeprecatedWiredElementHostKey$$",{value:e.elm}),r(l,"$$DeprecatedWiredParamsMetaKey$$",{value:a}),kr(e,e,F,(()=>{u=new i(l)}),F);const{computeConfigAndUpdate:d,ro:f}=function(e,t,n){let r=!1;const o=new de((()=>{!1===r&&(r=!0,Promise.resolve().then((()=>{r=!1,o.reset(),i()})))})),i=()=>{let r;o.observe((()=>r=t(e))),n(r)};return{computeConfigAndUpdate:i,ro:o}}(e.component,s,(t=>{kr(e,e,F,(()=>{u.update(t,c)}),F)}));return $(i.contextSchema)||function(e,t,n){const{adapter:r}=t,o=Pr(r);if($(o))return;const{elm:i,renderer:s,context:{wiredConnecting:a,wiredDisconnecting:l}}=e;b.call(a,(()=>{const e=new Mr(o,{setNewContext(e){n(e)},setDisconnectedCallback(e){b.call(l,e)}});s.dispatchEvent(i,e)}))}(e,n,(t=>{c!==t&&(c=t,1===e.state&&d())})),{connector:u,computeConfigAndUpdate:d,resetConfigWatcher:()=>f.reset()}}const Ar=new Map;function Pr(e){return Ar.get(e)}function Or(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,method:e.value,configCallback:n,dynamic:r};xr.set(e,o)}function $r(e,t,n,r){t.adapter&&(t=t.adapter);const o={adapter:t,configCallback:n,dynamic:r};xr.set(e,o)}var Nr;!function(e){e.Text="text",e.Comment="comment",e.Element="element",e.ShadowRoot="shadow-root"}(Nr||(Nr={}));const Lr=/\s+/g;function Dr(e){return new Set(e.trim().split(Lr))}function _r(e){return Array.from(e).join(" ")}function Rr(e){return function(){throw new TypeError(`"${e}" is not supported in this environment`)}}function Fr(e){return{type:Nr.Element,name:e,parent:null,shadowRoot:null,children:[],attributes:[],eventListeners:{}}}const Ir=t(null),Br=new WeakMap;const Hr={ssr:!0,isNativeShadowDefined:!1,isSyntheticShadowDefined:!1,insert(e,t,n){if(null!==e.parent&&e.parent!==t){const t=e.parent.children.indexOf(e);e.parent.children.splice(t,1)}e.parent=t;const r=N(n)?-1:t.children.indexOf(n);-1===r?t.children.push(e):t.children.splice(r,0,e)},remove(e,t){const n=t.children.indexOf(e);t.children.splice(n,1)},createElement:Fr,createText:e=>({type:Nr.Text,value:String(e),parent:null}),createComment:e=>({type:Nr.Comment,value:e,parent:null}),nextSibling(e){const{parent:t}=e;if(N(t))return null;const n=t.children.indexOf(e);return t.children[n+1]||null},attachShadow:(e,t)=>(e.shadowRoot={type:Nr.ShadowRoot,children:[],mode:t.mode,delegatesFocus:!!t.delegatesFocus},e.shadowRoot),getProperty(e,t){var n,r;if(t in e)return e[t];if(e.type===Nr.Element){const o=Z(t);if(U(o,e.name))return null!==(n=this.getAttribute(e,o))&&void 0!==n&&n;if(Y(o)||K(o))return this.getAttribute(e,o);if("input"===e.name&&"value"===t)return null!==(r=this.getAttribute(e,"value"))&&void 0!==r?r:""}},setProperty(e,t,n){if(t in e)return e[t]=n;if(e.type===Nr.Element){const r=Z(t);if(U(r,e.name))return!0===n?this.setAttribute(e,r,""):this.removeAttribute(e,r);if(Y(r)||K(r))return this.setAttribute(e,r,n);if("input"===e.name&&"value"===r)return N(n)||$(n)?this.removeAttribute(e,"value"):this.setAttribute(e,"value",n)}},setText(e,t){e.type===Nr.Text?e.value=t:e.type===Nr.Element&&(e.children=[{type:Nr.Text,parent:e,value:t}])},getAttribute(e,t,n=null){const r=e.attributes.find((e=>e.name===t&&e.namespace===n));return r?r.value:null},setAttribute(e,t,n,r=null){const o=e.attributes.find((e=>e.name===t&&e.namespace===r));$(o)?e.attributes.push({name:t,namespace:r,value:String(n)}):o.value=n},removeAttribute(e,t,n){e.attributes=e.attributes.filter((e=>e.name!==t&&e.namespace!==n))},getClassList(e){function t(){let t=e.attributes.find((e=>"class"===e.name&&N(e.namespace)));return $(t)&&(t={name:"class",namespace:null,value:""},e.attributes.push(t)),t}return{add(...e){const n=t(),r=Dr(n.value);e.forEach((e=>r.add(e))),n.value=_r(r)},remove(...e){const n=t(),r=Dr(n.value);e.forEach((e=>r.delete(e))),n.value=_r(r)}}},setCSSStyleProperty(e,t,n,r){let o=e.attributes.find((e=>"style"===e.name&&N(e.namespace)));$(o)&&(o={name:"style",namespace:null,value:""},e.attributes.push(o)),o.value=`${o.value}; ${t}: ${n}${r?" !important":""}`},isConnected:e=>!N(e.parent),insertGlobalStylesheet(){},insertStylesheet(){},addEventListener(){},removeEventListener(){},dispatchEvent:Rr("dispatchEvent"),getBoundingClientRect:Rr("getBoundingClientRect"),querySelector:Rr("querySelector"),querySelectorAll:Rr("querySelectorAll"),getElementsByTagName:Rr("getElementsByTagName"),getElementsByClassName:Rr("getElementsByClassName"),defineCustomElement(e,t,n){!function(e,t){if(e!==O.call(e)||Ir[e])throw new TypeError("Invalid Registration");Ir[e]=t,Br.set(t,e)}(e,t)},getCustomElement:e=>Ir[e],HTMLElement:class{constructor(){const{constructor:e}=this,t=Br.get(e);if(!t)throw new TypeError("Invalid Construction");return Fr(t)}}},jr={'"':"&quot;","'":"&#x27;","<":"&lt;",">":"&gt;","&":"&amp;"};function Wr(e){return e.replace(/["'<>&]/g,(e=>jr[e]))}function Vr(e){return e.map((e=>{switch(e.type){case Nr.Text:return Wr(e.value);case Nr.Comment:return`\x3c!--${Wr(e.value)}--\x3e`;case Nr.Element:return Kr(e)}})).join("")}function Kr(e){let t="";const{name:n}=e,r=e.attributes.length?` ${o=e.attributes,o.map((e=>e.value.length?`${e.name}=${JSON.stringify(Wr(e.value))}`:e.name)).join(" ")}`:"";var o;const i=Vr(e.children);return t+=`<${n}${r}>`,e.shadowRoot&&(t+=function(e){const t=[`shadowroot="${e.mode}"`];return e.delegatesFocus&&t.push("shadowrootdelegatesfocus"),`<template ${t.join(" ")}>${Vr(e.children)}</template>`}(e.shadowRoot)),t+=i,function(e){return q.has(e)}(n)||(t+=`</${n}>`),t}const Gr={type:Nr.Element,name:"fake-root-element",parent:null,shadowRoot:null,children:[],attributes:[],eventListeners:{}};o(Rt),d(Rt.prototype),exports.LightningElement=Rt,exports.api=function(){throw new Error},exports.createContextProvider=function(e){let t=Pr(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){Ar.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()}))}},exports.getComponentDef=function(e){const t=cn(e),{ctor:n,name:r,props:o,propsConfig:i,methods:s}=t,a={};for(const e in o)a[e]={config:i[e]||0,type:"any",attr:Z(e)};const l={};for(const e in s)l[e]=s[e].value;return{ctor:n,name:r,props:a,methods:l}},exports.isComponentConstructor=ln,exports.readonly=function(e){return Dt.getReadOnlyProxy(e)},exports.register=function(e){for(let t=0;t<tr.length;++t){const n=tr[t];if(n in e){let t=er[n];$(t)&&(er[n]=t=[]),b.call(t,e[n])}}},exports.registerComponent=function(e,{tmpl:t}){return Un.set(e,t),e},exports.registerDecorators=function(e,n){const o=e.prototype,{publicProps:s,publicMethods:a,wire:l,track:c,fields:u}=n,d=t(null),f=t(null),p=t(null),h=t(null),m=t(null),g=t(null);let w;if(!$(s))for(const e in s){const t=s[e];if(g[e]=t.config,w=i(o,e),t.config>0){if($(w))throw new Error;w=Vt(e,w)}else w=jt(e);f[e]=w,r(o,e,w)}if($(a)||x.call(a,(e=>{if(w=i(o,e),$(w))throw new Error;d[e]=w})),!$(l))for(const e in l){const{adapter:t,method:n,config:s,dynamic:a=[]}=l[e];if(w=i(o,e),1===n){if($(w))throw new Error;p[e]=w,Or(w,t,s,a)}else w=Bt(e),h[e]=w,$r(w,t,s,a),r(o,e,w)}if(!$(c))for(const e in c)w=i(o,e),w=Ht(e),r(o,e,w);if(!$(u))for(let e=0,t=u.length;e<t;e++){const t=u[e];w=i(o,t),m[t]=Kt(t)}return function(e,t){Gt.set(e,t)}(e,{apiMethods:d,apiFields:f,apiFieldsConfig:g,wiredMethods:p,wiredFields:h,observedFields:m}),e},exports.registerTemplate=function(e){return zt.add(e),e},exports.renderComponent=function(e,t,n={}){if(!R(e))throw new TypeError(`"renderComponent" expects a string as the first parameter but instead received ${e}.`);if(!_(t))throw new TypeError(`"renderComponent" expects a valid component constructor as the second parameter but instead received ${t}.`);if("object"!=typeof n||N(n))throw new TypeError(`"renderComponent" expects an object as the third parameter but instead received ${n}.`);const r=Hr.createElement(e);dr(r,cn(t),{mode:"open",owner:null,renderer:Hr,tagName:e});for(const[e,t]of Object.entries(n))r[e]=t;return r.parent=Gr,cr(r),Kr(r)},exports.sanitizeAttribute=function(e,t,n,r){return r},exports.setFeatureFlag=function(e,t){if("boolean"==typeof t){if($(ee[e])){const n=u(ee).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=te[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}".`);r(te,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)}},exports.setFeatureFlagForTest=function(e,t){},exports.track=function(e){if(1===arguments.length)return Dt.getProxy(e);throw new Error},exports.unwrap=function(e){const t=Dt.unwrapProxy(e);return t!==e?t:e},exports.wire=function(e,t){throw new Error};